code
stringlengths
0
56.1M
repo_name
stringlengths
3
57
path
stringlengths
2
176
language
stringclasses
672 values
license
stringclasses
8 values
size
int64
0
56.8M
:: Retrieve <<if $returnTo is "Pit">> <<for $k to 0; $k < $fighterIDs.length; $k++>> <<if $activeSlave.ID == $fighterIDs[$k]>> <<set $dump to $fighterIDs.pluck([$k], [$k])>> <<set $k -= 1>> <</if>> <</for>> <<goto "Pit">> <<else>> <<if $returnTo is "Coursing Association">> <<set $Lurcher to 0>> <<goto "Coursing Association">> <<else>> <<if $returnTo is "Arcade">> <<set $activeSlave.assignment to "work a glory hole">> <<elseif $returnTo is "Head Girl Suite">> <<set $activeSlave.assignment to "rest">> <<elseif $returnTo is "Master Suite">> <<set $activeSlave.assignment to "please you">> <<elseif $returnTo is "Clinic">> <<set $activeSlave.assignment to "rest">> <<elseif $returnTo is "Spa">> <<set $activeSlave.assignment to "rest">> <<elseif $returnTo is "Cellblock">> <<set $activeSlave.assignment to "stay confined">> <<elseif $returnTo is "Schoolroom">> <<set $activeSlave.assignment to "take classes">> <<elseif $returnTo is "Servants' Quarters">> <<set $activeSlave.assignment to "be a servant">> <<elseif $returnTo is "Dairy">> <<set $activeSlave.assignment to "get milked">> <<if $dairyRestraintsSetting > 1>> <<set $activeSlave.collar to "none">> <<set $activeSlave.clothes to "no clothing">> <<set $activeSlave.buttplug to "none">> <<set $activeSlave.vaginalAccessory to "none">> <</if>> <<elseif $returnTo is "Brothel">> <<set $activeSlave.assignment to "whore">> <<elseif $returnTo is "Club">> <<set $activeSlave.assignment to "serve the public">> <</if>> <<set $activeSlave.assignmentVisible to 1>> <<set $activeSlave.choosesOwnAssignment to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $activeSlave.ID == $slaves[$i].ID>> <<set $slaves[$i] to $activeSlave>><<break>> <</if>> <</for>> <<goto $returnTo>> <</if>> <</if>>
r3d/fc
src/uncategorized/retrieve.tw
tw
bsd-3-clause
1,784
:: RIE Eligibility Check <<silently>> <<set $eventSlave = 0>> <<set $eligibleSlaves = []>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].assignmentVisible == 1>> <<if $slaves[$i].fuckdoll == 0>> <<set $eligibleSlaves.push($slaves[$i])>> <</if>> <</if>> <</for>> <<if $eligibleSlaves.length == 0>> <<goto "Next Week">> <<elseif $hostageRescued == 1>> <<goto "P hostage acquisition">> <<else>> <<set $eventSlave = 0>> <<goto "Random Individual Event">> <</if>> <</silently>>
r3d/fc
src/uncategorized/rieEligibilityCheck.tw
tw
bsd-3-clause
503
:: Rules Autosurgery [nobr] <<set $surgeries = []>> <<for _r to $defaultRules.length-1; _r >= 0; _r-->> <<set _currentRule to $defaultRules[_r]>> <<if (def _currentRule) && (_currentRule.autoSurgery != 0)>> <<set $thisSurgery to _currentRule.surgery>> <<set _temp to lastLactationSurgeryRule($slaves[$i], $defaultRules)>> <<if _temp != null>> <<set $thisSurgery.lactation = _temp.surgery.lactation>> <</if>> <<set _temp to lastLipSurgeryRule($slaves[$i], $defaultRules)>> <<if _temp != null>> <<set $thisSurgery.lips = _temp.surgery.lips>> <</if>> <<set _temp to lastButtSurgeryRule($slaves[$i], $defaultRules)>> <<if _temp != null>> <<set $thisSurgery.butt = _temp.surgery.butt>> <</if>> <<set _temp to lastBoobSurgeryRule($slaves[$i], $defaultRules)>> <<if _temp != null>> <<set $thisSurgery.boobs = _temp.surgery.boobs>> <</if>> <<if ($thisSurgery.hips isnot "no default setting") && ($thisSurgery.butt isnot "no default setting")>> <<if $slaves[$i].hips < -1>> <<if $thisSurgery.butt > 2>> <<set $thisSurgery.butt to 2>> <</if>> <<elseif $slaves[$i].hips < 0>> <<if $thisSurgery.butt > 4>> <<set $thisSurgery.butt to 4>> <</if>> <<elseif $slaves[$i].hips > 0>> <<if $thisSurgery.butt > 8>> <<set $thisSurgery.butt to 8>> <</if>> <<elseif $slaves[$i].hips > 1>> <<else>> <<if $thisSurgery.butt > 6>> <<set $thisSurgery.butt to 6>> <</if>> <</if>> <</if>> <<break>> <</if>> <</for>> <<if ndef $thisSurgery>> <<set $thisSurgery to {lactation: "no default setting", cosmetic: 0, accent: "no default setting", shoulders: "no default setting", shouldersImplant: "no default setting", boobs: "no default setting", hips: "no default setting", hipsImplant: "no default setting", butt: "no default setting", faceShape: "no default setting", lips: "no default setting", holes: 0}>> <</if>> <<set $seed to 0>> <<for $seed == 0>> <<if ($slaves[$i].health <= 20)>> <<set $seed = 1>> <<else>> <<if ($slaves[$i].lactation == 2) && ($thisSurgery.lactation == 0)>> <<set $surgeries.push("surgery to remove her lactation implants")>> <<set $slaves[$i].lactation to 0>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].lactation != 2) && ($thisSurgery.lactation == 1)>> <<set $surgeries.push("lactation inducing implanted drugs")>> <<set $slaves[$i].lactation to 2>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].anus > 3) && ($thisSurgery.cosmetic > 0)>> <<set $surgeries.push("a restored anus")>> <<set $slaves[$i].anus to 3>> <<if $slaves[$i].analSkill > 10>> <<set $slaves[$i].analSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].vagina > 3) && ($thisSurgery.cosmetic > 0)>> <<set $surgeries.push("a restored pussy")>> <<set $slaves[$i].vagina to 3>> <<if $slaves[$i].vaginalSkill > 10>> <<set $slaves[$i].vaginalSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].faceImplant == 0) && ($slaves[$i].face < 3) && ($thisSurgery.cosmetic != 0)>> <<set $surgeries.push("a nicer face")>> <<if $slaves[$i].faceShape is "masculine">><<set $slaves[$i].faceShape to "androgynous">><</if>> <<set $slaves[$i].faceImplant to 1>> <<set $slaves[$i].face += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].ageImplant != 1) && ($slaves[$i].physicalAge >= 25) && ($thisSurgery.cosmetic != 0)>> <<set $surgeries.push("an age lift")>> <<set $slaves[$i].ageImplant to 1>> <<if $slaves[$i].visualAge > 80>> <<set $slaves[$i].visualAge -= 40>> <<elseif $slaves[$i].visualAge >= 70>> <<set $slaves[$i].visualAge -= 30>> <<elseif $slaves[$i].visualAge > 50>> <<set $slaves[$i].visualAge -= 20>> <<elseif $slaves[$i].visualAge > 36>> <<set $slaves[$i].visualAge -= 10>> <<else>> <<set $slaves[$i].visualAge -= 5>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].voice == 1) && ($slaves[$i].voiceImplant == 0) && ($thisSurgery.cosmetic != 0)>> <<set $surgeries.push("a feminine voice")>> <<set $slaves[$i].voice += 1>> <<set $slaves[$i].voiceImplant += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].waist == 0) && ($thisSurgery.cosmetic != 0)>> <<set $surgeries.push("a narrower waist")>> <<set $slaves[$i].waist to 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif (($slaves[$i].boobShape == "saggy") || ($slaves[$i].boobShape == "downward-facing")) && ($thisSurgery.cosmetic != 0)>> <<set $surgeries.push("a breast lift")>> <<set $slaves[$i].boobShape = "normal">> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif (($slaves[$i].boobShape == "normal") || ($slaves[$i].boobShape == "wide-set")) && ($thisSurgery.cosmetic != 0)>> <<if $slaves[$i].boobs > 800>> <<set $slaves[$i].boobShape = "torpedo-shaped">> <<else>> <<set $slaves[$i].boobShape = "perky">> <</if>> <<set $surgeries.push("more interestingly shaped breasts")>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($thisSurgery.lips == 0) && ($slaves[$i].lipsImplant > 0)>> <<set $surgeries.push("surgery to remove her lip implants")>> <<set $slaves[$i].lips -= $slaves[$i].lipsImplant>> <<set $slaves[$i].lipsImplant = 0>> <<if $slaves[$i].oralSkill > 10>> <<set $slaves[$i].oralSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].lips <= 95) && ($slaves[$i].lips < $thisSurgery.lips)>> <<if $thisSurgery.lips isnot "no default setting">> <<set $surgeries.push("bigger lips")>> <<set $slaves[$i].lipsImplant += 10>> <<set $slaves[$i].lips += 10>> <<if $slaves[$i].oralSkill > 10>> <<set $slaves[$i].oralSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].faceImplant == 1) && ($slaves[$i].face < 3) && ($thisSurgery.cosmetic is 2)>> <<set $surgeries.push("a nicer face")>> <<if $slaves[$i].faceShape is "masculine">><<set $slaves[$i].faceShape to "androgynous">><</if>> <<set $slaves[$i].faceImplant to 2>> <<set $slaves[$i].face += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].faceImplant > 0) && ($slaves[$i].face < 3) && ($surgeryUpgrade == 1) && ($thisSurgery.cosmetic is 2)>> <<set $surgeries.push("a nicer face")>> <<if $slaves[$i].faceShape is "masculine">><<set $slaves[$i].faceShape to "androgynous">><</if>> <<set $slaves[$i].faceImplant to 2>> <<set $slaves[$i].face += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].waist == 1) && ($thisSurgery.cosmetic is 2) && ($seeExtreme == 1)>> <<set $surgeries.push("a narrower waist")>> <<set $slaves[$i].waist to 2>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 30.5>><<else>><<set $slaves[$i].health -= 4>><</if>> <<elseif ($slaves[$i].voice < 3) && ($slaves[$i].voiceImplant == 0) && ($thisSurgery.cosmetic is 2)>> <<set $surgeries.push("a bimbo's voice")>> <<set $slaves[$i].voice += 1>> <<set $slaves[$i].voiceImplant += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($thisSurgery.butt == 0) && ($slaves[$i].buttImplant > 0)>> <<set $surgeries.push("surgery to remove her butt implants")>> <<set $slaves[$i].butt -= $slaves[$i].buttImplant>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($thisSurgery.boobs == 0) && ($slaves[$i].boobsImplant > 0)>> <<set $surgeries.push("surgery to remove her boob implants")>> <<set $slaves[$i].boobs -= $slaves[$i].boobsImplant>> <<set $slaves[$i].boobsImplant = 0>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].butt <= 3) && ($slaves[$i].butt < $thisSurgery.butt)>> <<if $thisSurgery.butt isnot "no default setting">> <<set $surgeries.push("a bigger butt")>> <<set $slaves[$i].buttImplant to 1>> <<set $slaves[$i].butt += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].boobs <= 600) && ($slaves[$i].lactation < 2) && ($slaves[$i].boobs+400 <= $thisSurgery.boobs)>> <<if $thisSurgery.boobs isnot "no default setting">> <<set $surgeries.push("bigger boobs")>> <<set $slaves[$i].boobsImplant += 400>> <<set $slaves[$i].boobs += 400>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">> <<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].boobs <= 600) && ($slaves[$i].lactation < 2) && ($slaves[$i].boobs+200 <= $thisSurgery.boobs)>> <<if $thisSurgery.boobs isnot "no default setting">> <<set $surgeries.push("modestly bigger boobs")>> <<set $slaves[$i].boobsImplant += 200>> <<set $slaves[$i].boobs += 200>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].butt <= 5) && ($slaves[$i].butt < $thisSurgery.butt)>> <<if $thisSurgery.butt isnot "no default setting">> <<set $surgeries.push("a bigger butt")>> <<set $slaves[$i].buttImplant to 1>> <<set $slaves[$i].butt += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].boobs <= 2000) && ($slaves[$i].lactation < 2) && ($slaves[$i].boobs+400 < $thisSurgery.boobs)>> <<if $thisSurgery.boobs isnot "no default setting">> <<set $surgeries.push("bigger boobs")>> <<set $slaves[$i].boobsImplant += 400>> <<set $slaves[$i].boobs += 400>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].anus > 0) && ($surgeryUpgrade == 1) && ($thisSurgery.holes is 2)>> <<set $surgeries.push("a virgin anus")>> <<set $slaves[$i].anus to 0>> <<if $slaves[$i].analSkill > 10>> <<set $slaves[$i].analSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].vagina > 0) && ($surgeryUpgrade == 1) && ($thisSurgery.holes == 2)>> <<set $surgeries.push("a virgin pussy")>> <<set $slaves[$i].vagina to 0>> <<if $slaves[$i].vaginalSkill > 10>> <<set $slaves[$i].vaginalSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].anus > 1) && ($thisSurgery.holes == 1)>> <<set $surgeries.push("a tighter anus")>> <<set $slaves[$i].anus to 1>> <<if $slaves[$i].analSkill > 10>> <<set $slaves[$i].analSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].vagina > 1) && ($thisSurgery.holes == 1)>> <<set $surgeries.push("a tighter pussy")>> <<set $slaves[$i].vagina to 1>> <<if $slaves[$i].vaginalSkill > 10>> <<set $slaves[$i].vaginalSkill -= 10>> <</if>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <<elseif ($slaves[$i].butt <= 8) && ($slaves[$i].butt < $thisSurgery.butt)>> <<if $thisSurgery.butt isnot "no default setting">> <<set $surgeries.push("a bigger butt")>> <<set $slaves[$i].buttImplant to 1>> <<set $slaves[$i].butt += 1>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<elseif ($slaves[$i].boobs <= 9000) && ($slaves[$i].lactation < 2) && ($slaves[$i].boobs < $thisSurgery.boobs)>> <<if $thisSurgery.boobs isnot "no default setting">> <<set $surgeries.push("bigger boobs")>> <<set $slaves[$i].boobsImplant += 200>> <<set $slaves[$i].boobs += 200>> <<set $cash -= $surgeryCost>> <<if $PC.career is "medicine">><<set $slaves[$i].health -= 5>><<else>><<set $slaves[$i].health -= 10>><</if>> <</if>> <<else>> <<set $seed = 1>> <</if>> <</if>> <</for>> <<if $surgeries.length > 0>> <<set $surgeriesDisplay to "">> <<for $j to 0; $j < $surgeries.length; $j++>> <<set $seed to $surgeries[$j]>> <<set $surgeriesDisplay to ($surgeriesDisplay + $seed)>> <<if $j < $surgeries.length-2>> <<set $surgeriesDisplay to ($surgeriesDisplay + ", ")>> <<elseif $j < $surgeries.length-1>> <<if $surgeries.length > 2>> <<set $surgeriesDisplay to ($surgeriesDisplay + ", and ")>> <<else>> <<set $surgeriesDisplay to ($surgeriesDisplay + " and ")>> <</if>> <</if>> <</for>> <<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>>, ordered to apply surgery, gives $slaves[$i].slaveName @@color:lime;$surgeriesDisplay.@@ <</if>>
r3d/fc
src/uncategorized/rulesAutosurgery.tw
tw
bsd-3-clause
14,484
:: Rules Facility Remove <<nobr>> <<if _currentRule.facilityRemove>> <<switch _currentRule.assignFacility>> <<case "brothel">> <<if $activeSlave.assignment is "work in the brothel">> <<if ($Madam == 0) || ($Madam.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $brothelName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "club">> <<if $activeSlave.assignment is "serve in the club">> <<if ($DJ == 0) || ($DJ.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $clubName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "dairy">> <<if $activeSlave.assignment is "work in the dairy">> <<if ($Milkmaid == 0) || ($Milkmaid.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $dairyName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "arcade">> <<if $activeSlave.assignment is "be confined in the arcade">> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $arcadeName and has been assigned to $activeSlave.assignment <</if>> <<case "spa">> <<if $activeSlave.assignment is "rest in the spa">> <<if ($Attendant == 0) || ($Attendant.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $spaName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "clinic">> <<if $activeSlave.assignment is "get treatment in the clinic">> <<if ($Nurse == 0) || ($Nurse.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $clinicName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "mastersuite">> <<if $activeSlave.assignment is "serve in the master suite">> <<if ($Concubine == 0) || ($Concubine.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $masterSuiteName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "hgsuite">> <<if $activeSlave.assignment is "live with your Head Girl">> <<if ($HeadGirl == 0) || ($HeadGirl.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $HGSuiteName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "servantsquarters">> <<if $activeSlave.assignment is "work as a servant">> <<if ($Stewardess == 0) || ($Stewardess.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $servantsQuartersName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "schoolroom">> <<if $activeSlave.assignment is "learn in the schoolroom">> <<if ($Schoolteacher == 0) || ($Schoolteacher.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $schoolroomName and has been assigned to $activeSlave.assignment <</if>> <</if>> <<case "cellblock">> <<if $activeSlave.assignment is "be confined in the cellblock">> <<if ($Wardeness == 0) || ($Wardeness.ID != $activeSlave.ID)>> <<set $activeSlave.assignment to _currentRule.removalAssignment>> <<set $activeSlave.assignmentVisible to 1>> <br>$activeSlave.slaveName has been removed from $cellblockName and has been assigned to $activeSlave.assignment <</if>> <</if>> <</switch>> <</if>> <</nobr>>
r3d/fc
src/uncategorized/rulesFacilityRemove.tw
tw
bsd-3-clause
4,481
:: Rules Slave Deselect Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Select">> <<if ruleSlaveSelected($activeSlave, $currentRule)>> <<set $dump to $currentRule.selectedSlaves.pluck($activeSlave.ID)>> <</if>> <<goto "Rules Slave Select">> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveDeselectWorkaround.tw
tw
bsd-3-clause
296
:: Rules Slave Exclude <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Assistant">> <<if ndef $currentRule.excludedSlaves>> <<set $currentRule.excludedSlaves to []>> <</if ndef>> <<if ($currentRule.selectedSlaves.length < 1) && ($currentRule.excludedSlaves.length < 1)>> No slaves excluded from Rule $r <br><br> <<set $Flag to 0>> Exclude selected slaves from rule $r: <<include "Slave Summary">> <<else>> Slaves excluded from Rule $r: <<set $Flag to 1>> <<include "Slave Summary">> <br><br> Exclude selected slaves from rule $r: <<set $Flag to 0>> <<include "Slave Summary">> <br>[[Do not exclude any slaves|Rules Slave Exclude][$currentRule.excludeSlaves to []]] <</if>> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveExclude.tw
tw
bsd-3-clause
722
:: Rules Slave Exclude Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Exclude">> <<if !ruleSlaveExcluded($activeSlave, $currentRule)>> <<set $currentRule.excludedSlaves.push($activeSlave.ID)>> <<if ruleSlaveSelected($activeSlave, $currentRule)>> <<set $dump to $currentRule.selectedSlaves.pluck($activeSlave.ID)>> <</if>> <</if>> <<goto "Rules Slave Exclude">> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveExcludeWorkaround.tw
tw
bsd-3-clause
424
:: Rules Slave NoExclude Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Exclude">> <<if ruleSlaveExcluded($activeSlave, $currentRule)>> <<set $dump to $currentRule.excludedSlaves.pluck($activeSlave.ID)>> <</if>> <<goto "Rules Slave Exclude">> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveNoExcludeWorkaround.tw
tw
bsd-3-clause
299
:: Rules Slave Select <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Assistant">> <<if ndef $currentRule.selectedSlaves>> <<set $currentRule.selectedSlaves to []>> <</if ndef>> <<if ((ndef $currentRule.selectedSlaves) || ($currentRule.selectedSlaves.length < 1)) && ((ndef $currentRule.excludedSlaves) || ($currentRule.excludedSlaves.length < 1))>> Rule $r currently applied to all slaves. <br><br> <<set $Flag to 0>> Apply rule $r to selected slaves: <<include "Slave Summary">> <<elseif ($currentRule.selectedSlaves.length < 1) && ($currentRule.excludedSlaves.length > 0)>> Rule $r currently applied to all slaves except excluded slaves. <br><br> <<set $Flag to 0>> Apply rule $r to selected slaves: <<include "Slave Summary">> <<else>> Rule $r currently applied to: <<set $Flag to 1>> <<include "Slave Summary">> <br><br> Apply rule $r to selected slaves: <<set $Flag to 0>> <<include "Slave Summary">> <br>[[Apply to all slaves|Rules Slave Select][$currentRule.selectedSlaves to []]] <</if>> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveSelect.tw
tw
bsd-3-clause
1,054
:: Rules Slave Select Workaround <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Rules Slave Select">> <<if !ruleSlaveSelected($activeSlave, $currentRule)>> <<set $currentRule.selectedSlaves.push($activeSlave.ID)>> <<if ruleSlaveExcluded($activeSlave, $currentRule)>> <<set $dump to $currentRule.excludedSlaves.pluck($activeSlave.ID)>> <</if>> <</if>> <<goto "Rules Slave Select">> <</nobr>>
r3d/fc
src/uncategorized/rulesSlaveSelectWorkaround.tw
tw
bsd-3-clause
421
:: SA be your Head Girl [nobr] <<set $HGTimeInGrade += 1>> <<if $arcologies[0].FSEgyptianRevivalistLaw == 0>> helps manage your other slaves. She helps them when they try and fail, and punishes them when they fail to try. <<else>> serves as your Consort. Though she is still your slave, her status is scarcely below that of a citizen. She @@color:green;contributes to your reputation@@ just like a Concubine, and she is @@color:hotpink;conscious@@ of the @@color:mediumaquamarine;trust@@ you place in her. <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<silently>> <<include "SA please you">> <</silently>> <<if $slaves[$i].relationship > 4>> <<if $familyTesting == 1>> <<if $slaves[$i].relationshipTarget is $Concubine.ID>> <<if totalRelatives($slaves[$i]) > 0>> <<if $Concubine.mother == $slaves[$i].ID || $Concubine.father == $slaves[$i].ID>> Your Concubine is your Consort's daughter-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<elseif $slaves[$i].mother == $Concubine.ID>> Your Concubine is your Consort's mother-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<elseif $slaves[$i].father == $Concubine.ID>> Your Concubine is your Consort's father-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<elseif areSisters($slaves[$i], $Concubine) == 1>> Your Concubine is your Consort's twin-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<elseif areSisters($slaves[$i], $Concubine) == 2>> Your Concubine is your Consort's sister-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<elseif areSisters($slaves[$i], $Concubine) == 3>> Your Concubine is your Consort's half-sister-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<else>> //Shit went wrong! Post this in a bug report!// This is @@color:red;NOT as it should be.@@ <<set $rep += 100>> <</if>> <<else>> Your Consort and your Concubine are wives to each other and to Pharaoh. This is @@color:green;as it should be.@@ <<set $rep += 100>> <</if>> <<else>> <<if totalRelatives($slaves[$i]) > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$i].relationshipTarget is $slaves[$j].ID>> <<if $slaves[$j].mother == $slaves[$i].ID || $slaves[$j].father == $slaves[$i].ID>> Your Consort has a daughter-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <<elseif $slaves[$i].mother == $slaves[$j].ID>> Your Consort has a mother-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <<elseif $slaves[$i].father == $slaves[$j].ID>> Your Consort has a father-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <<elseif areSisters($slaves[$i], $slaves[$j]) == 1>> Your Consort has a twin-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <<elseif areSisters($slaves[$i], $slaves[$j]) == 2>> Your Consort has a sister-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <<elseif areSisters($slaves[$i], $slaves[$j]) == 3>> Your Consort has a half-sister-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <</if>> <<break>> <</if>> <</for>> <</if>> <</if>> <<else>> <<if $slaves[$i].relationshipTarget is $Concubine.ID>> <<if $slaves[$i].relationTarget is $Concubine.ID>> Your Concubine is your Consort's $slaves[$i].relation-wife. Truly, $arcologies[0].name looks up to you @@color:green;as children to a father.@@ <<set $rep += 250>> <<else>> Your Consort and your Concubine are wives to each other and to Pharaoh. This is @@color:green;as it should be.@@ <<set $rep += 100>> <</if>> <<elseif $slaves[$i].relationshipTarget is $slaves[$i].relationTarget>> Your Consort has a $slaves[$i].relation-wife. This is @@color:green;as it should be.@@ <<set $rep += 100>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].livingRules is "luxurious") && ($HGSuite == 1)>> Being continually trusted with this position @@color:hotpink;increases her devotion to you,@@ and encourages her to @@color:mediumaquamarine;trust you in turn;@@ she's also @@color:hotpink;grateful@@ for her nice suite, which makes her one of the best provided for slaves in the Free Cities. <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].trust += 4>> <<elseif ($slaves[$i].livingRules is "luxurious")>> Being continually trusted with this position @@color:hotpink;increases her devotion to you@@ and encourages her to @@color:mediumaquamarine;trust you in turn.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].trust += 4>> <<elseif ($HGSuite == 1)>> She's @@color:hotpink;grateful@@ for her nice suite, which makes her one of the best provided for slaves in the Free Cities. Being continually trusted with this position encourages her to @@color:mediumaquamarine;trust you in turn.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 4>> <<else>> Being continually trusted with this position @@color:hotpink;slightly increases her devotion to you,@@ though she harbors some doubts because she isn't allowed a room of her own to set her apart from the other slaves. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($personalAttention is "HG")>> You're cooperating with her this week, working with $assistantName to free up some of her time so she can target more slaves in need of individual attention. <<if ($slaves[$i].trust > 95)>> She is so trusting of you that she can act as your own right hand, allowing her to oversee your slaves with remarkable efficiency. <<else>> This arrangement @@color:mediumaquamarine;builds trust@@ between you. <<set $slaves[$i].trust += 2>> <</if>> <</if>> <<if ($HGFormality == 0)>> <<if ($slaves[$i].trust > 95)>> Every so often, when you're alone, she calls you <<if $PC.title == 1>>Sir<<else>>Ma'am<</if>>. She treats your permission to do this as a sacred thing, and @@color:hotpink;loves you for it.@@ <<set $slaves[$i].devotion += 1>> <<else>> Your permission to be informal in private @@color:mediumorchid;confuses her@@ a little, since she isn't perfectly confident enough to be comfortable with the idea. <<set $slaves[$i].devotion -= 1>> <</if>> <</if>> <<if $slaves[$i].fetishKnown == 1>> <<if $slaves[$i].fetish is "dom">> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength <= 95)>> Having all the slaves look up to and obey her advances her @@color:lightcoral;dominant tendencies.@@ <<set $slaves[$i].fetishStrength += 4>> <</if>> <</if>> <<elseif $slaves[$i].fetishStrength > random(20,40)>> The sheer variety of sexual situations she sees and participates in @@color:pink;broaden her sexual interests@@ and incline her to take a dominant sexual role. <<set $slaves[$i].fetishStrength -= 4>> <<else>> Having all the slaves look up to and obey her affects her sexuality, turning her into a @@color:lightcoral;bit of a dominatrix.@@ <<set $slaves[$i].fetish = "dom">> <<set $slaves[$i].fetishStrength == 20>> <</if>> <<else>> <<if random(1,3) == 1>> Having all the slaves look up to and obey her affects her sexuality, turning her into a @@color:lightcoral;bit of a dominatrix.@@ <<set $slaves[$i].fetish = "dom">> <<set $slaves[$i].fetishStrength == 20>> <<set $slaves[$i].fetishKnown = 1>> <</if>> <</if>> <<if $slaves[$i].prestige == 0>> <<if $HGTimeInGrade+($slaves[$i].intelligence*5)+($slaves[$i].devotion/10)+($slaves[$i].trust/10) > 50>> $slaves[$i].slaveName has rendered such long and competent service as your Head Girl that many of your citizens have come to rely on her word as an extension of yours, trusting that if she does something, it's because you trust her to. @@color:green;She has become prestigious on her own merits, a remarkable achievement for a slave!@@ <<set $slaves[$i].prestige += 1>> <<set $slaves[$i].prestigeDesc to "Many citizens respect her long and able service as your Head Girl.">> <</if>> <</if>>
r3d/fc
src/uncategorized/saBeYourHeadGirl.tw
tw
bsd-3-clause
8,402
:: SA chooses own clothes [nobr] <<set $bellyAccessory to $slaves[$i].bellyAccessory>> <<if ($slaves[$i].devotion <= 20)>> and uses the ability to select outfits to cover up with comfortable cut-offs and a t-shirt, <<set $slaves[$i].clothes to "cutoffs and a t-shirt">> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].heels == 0)>> and wears comfortable flats, <<set $slaves[$i].shoes to "flats">> <<else>> and angrily wears the heels she needs to walk, <<set $slaves[$i].shoes to "heels">> <</if>> <</if>> @@color:mediumorchid;increasing her independence.@@ <<else>> She @@color:hotpink;loves@@ being able to dress herself, <<if ($arcologies[0].FSEgyptianRevivalist > 0)>> dons a wesekh to support your ancient Egyptian pretensions, <<set $slaves[$i].collar to "ancient Egyptian">> <</if>> <<if ($arcologies[0].FSRepopulationFocus > 0) && ($slaves[$i].preg <= 10) && ($slaves[$i].bellyImplant < 2000) && ($slaves[$i].inflation == 0) && $slaves[$i].sexualFlaw != "breeder">> straps on a fake pregnant belly to fit in with all the other pregnant girls, <<set $slaves[$i].bellyAccessory to "a large empathy belly">> <<elseif ($slaves[$i].preg <= 10) && $slaves[$i].inflation == 0 && ($slaves[$i].bellyImplant < 2000) && ($slaves[$i].fetish is "pregnancy") && ($clothesBoughtBelly == 1 || $cheatMode == 1 || $arcologies[0].FSRepopulationFocus != "unset") && $slaves[$i].sexualFlaw != "breeder">> <<if ($slaves[$i].fetishStrength <= 30)>> <<set $bellySeed to random(1,3)>> <<if $bellySeed == 1>> straps on a 1st trimester belly to satisfy her curiosity, <<set $slaves[$i].bellyAccessory to "a small empathy belly">> <<elseif $bellySeed is 2>> straps on a 2nd trimester belly to satisfy her curiosity, <<set $slaves[$i].bellyAccessory to "a medium empathy belly">> <<else>> straps on a 3rd trimester belly to satisfy her curiosity, <<set $slaves[$i].bellyAccessory to "a large empathy belly">> <</if>> <<elseif ($slaves[$i].fetishStrength < 60)>> straps on a 3rd trimester belly to satisfy her pregnancy fetish, <<set $slaves[$i].bellyAccessory to "a large empathy belly">> <<elseif ($slaves[$i].fetishStrength > 95)>> straps on the largest belly she can find to satisfy her pregnancy fetish, <<set $slaves[$i].bellyAccessory to "a huge empathy belly">> <</if>> <<elseif ($fakeBellies.contains($bellyAccessory)) && ($slaves[$i].fetish != "pregnancy")>> removes her fake belly, since she dislikes it, <<set $slaves[$i].bellyAccessory to "none">> <<elseif ($fakeBellies.contains($bellyAccessory)) && ($slaves[$i].sexualFlaw == "breeder")>> pulls her fake belly off, disgusted by it, <<set $slaves[$i].bellyAccessory to "none">> <</if>> <<if ($arcologies[0].FSChattelReligionist > 0)>> and wears a chattel habit to conform to your arcology's culture. <<set $slaves[$i].clothes to "a chattel habit">> <<elseif ($arcologies[0].FSEgyptianRevivalist > 0) && (random(1,3) == 1)>> and complements it with golden bangles, since no clothing is necessary for a sex slave in your warm and sunny arcology. <<set $slaves[$i].clothes to "slutty jewelry">> <<elseif ($arcologies[0].FSRomanRevivalist > 0) && (random(1,3) == 1)>> and wears a toga to take part in your Roman revivalism. <<set $slaves[$i].clothes to "a toga">> <<elseif ($arcologies[0].FSEdoRevivalist > 0) && (random(1,3) == 1)>> and wears a kimono, overjoyed that such lovely clothing is now appropriate. <<set $slaves[$i].clothes to "a kimono">> <<elseif ($arcologies[0].FSArabianRevivalist > 0) && (random(1,3) == 1)>> and wears a harem outfit to look like a slave girl fit for a Sultan. <<set $slaves[$i].clothes to "harem gauze">> <<elseif ($arcologies[0].FSChineseRevivalist > 0) && (random(1,3) == 1)>> and wears a brief qipao to show off and look Chinese at the same time. <<set $slaves[$i].clothes to "a slutty qipao">> <<elseif ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>> and wears a cheerleader outfit to look like a hot slut. <<set $slaves[$i].clothes to "a cheerleader outfit">> <<elseif ($arcologies[0].FSGenderFundamentalist > 0) && (random(1,3) == 1)>> and wears a bunny outfit to look like a slut from the glory days. <<set $slaves[$i].clothes to "a bunny outfit">> <<elseif ($arcologies[0].FSPaternalist > 0) && (random(1,3) == 1)>> and wears conservative clothing, as permitted by your paternalism. <<set $slaves[$i].clothes to "conservative clothing">> <<elseif ($arcologies[0].FSMaturityPreferentialist > 0) && (random(1,3) == 1) && ($slaves[$i].visualAge >= 30)>> and wears a slutty suit to look like the ideal horny older woman. <<set $slaves[$i].clothes to "slutty business attire">> <<elseif ($arcologies[0].FSYouthPreferentialist > 0) && (random(1,3) == 1)>> and wears a schoolgirl outfit to look younger. <<set $slaves[$i].clothes to "a schoolgirl outfit">> <<elseif ($arcologies[0].FSDegradationist > 0) && (random(1,3) == 1)>> and wears chains, to degrade herself as required by your societal goals. <<set $slaves[$i].clothes to "chains">> <<elseif ($arcologies[0].FSPhysicalIdealist > 0) && (random(1,3) == 1)>> and coats herself in body oil to show off how she's part of your physical idealism. <<set $slaves[$i].clothes to "body oil">> <<elseif ($arcologies[0].FSPastoralist > 0) && (random(1,3) == 1)>> and wears Western clothing, since she thinks it fits with pastoralism. <<set $slaves[$i].clothes to "Western clothing">> <<elseif ($arcologies[0].FSBodyPurist > 0) && (random(1,3) == 1)>> and wears a leotard to show off the purity of her body. <<set $slaves[$i].clothes to "a leotard">> <<elseif ($slaves[$i].behavioralQuirk is "sinful") and (random(1,3) == 1)>> and dresses up like a succubus because it makes her feel naughty. <<set $slaves[$i].clothes to "a succubus outfit">> <<elseif ($slaves[$i].assignment is "guard you")>> <<if random(1,2) == 1>> and wears a bodysuit to show off her curves without hindering her deadliness. <<set $slaves[$i].clothes to "a comfortable bodysuit">> <<else>> and wears a military uniform to look the part of the honor guard. <<set $slaves[$i].clothes to "a military uniform">> <</if>> <<elseif ($slaves[$i].assignment is "be the Nurse")>> and wears a nice nurse outfit to look professional before her patients. <<set $slaves[$i].clothes to "a nice nurse outfit">> <<elseif ($slaves[$i].assignment is "be your Recruiter")>> and wears a flattering mini dress to appear sexy and carefree before those desperately seeking a better life. <<set $slaves[$i].clothes to "a mini dress">> <<elseif ($slaves[$i].assignment is "be the Madam")>> and wears a slutty suit to entice and arouse while still looking managerial. <<set $slaves[$i].clothes to "slutty business attire">> <<elseif ($slaves[$i].assignment is "be the DJ")>> and wears clubslut netting to look like the perfect easy club girl. <<set $slaves[$i].clothes to "clubslut netting">> <<elseif ($slaves[$i].assignment is "be the Milkmaid")>> and wears a sturdy maid outfit, since anything else might be damaged by her hard work with the cows. <<set $slaves[$i].clothes to "a nice maid outfit">> <<elseif ($slaves[$i].assignment is "be the Collectrix")>> and wears a slutty nurse outfit to help keep her charges hard. <<set $slaves[$i].clothes to "a slutty nurse outfit">> <<elseif ($slaves[$i].assignment is "be your Head Girl")>> and wears a handsome suit to give her that extra touch of authority. <<set $slaves[$i].clothes to "nice business attire">> <<elseif ($slaves[$i].assignment is "be the Schoolteacher")>> and wears a schoolgirl outfit to help keep her charges on task. <<set $slaves[$i].clothes to "a schoolgirl outfit">> <<elseif ($slaves[$i].assignment is "be the Attendant")>> and wears a string bikini, since it's all she can wear that won't be ruined by all the moisture in the spa. <<set $slaves[$i].clothes to "a string bikini">> <<elseif ($slaves[$i].assignment is "be the Wardeness")>> and dons battledress, the better to intimidate the prisoners. <<set $slaves[$i].clothes to "battledress">> <<elseif ($slaves[$i].assignment is "be your concubine")>> and goes naked, since it's her honored role to be the chief object of your desire. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "submissive")>> <<if random(1,2) == 1>> and wears restrictive latex to encourage others to dominate her. <<set $slaves[$i].clothes to "restrictive latex">> <<else>> and wears shibari ropes to encourage others to dominate her. <<set $slaves[$i].clothes to "shibari ropes">> <</if>> <<elseif ($slaves[$i].fetishKnown == 1) and ($slaves[$i].fetish is "dom")>> <<if random(1,2) == 1>> and wears a handsome suit, since she likes other slaves to look up to her. <<set $slaves[$i].clothes to "nice business attire">> <<else>> and wears a full body latex catsuit to look the part of the whip cracking domme. <<set $slaves[$i].clothes to "a latex catsuit">> <</if>> <<elseif ($slaves[$i].fetishKnown == 1) and ($slaves[$i].fetish is "masochist")>> and wears painfully restrictive bondage gear, since she likes the torment. <<set $slaves[$i].clothes to "uncomfortable straps">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "sadist")>> and wears an elegant gown, since she thinks it makes her look the part of the femme fatale. <<set $slaves[$i].clothes to "a slave gown">> <<elseif ($slaves[$i].attrKnown == 1) && ($slaves[$i].attrXY > 85)>> and wears a schoolgirl outfit to show off a some T&A to attract boys. <<set $slaves[$i].clothes to "a schoolgirl outfit">> <<elseif ($slaves[$i].attrKnown == 1) && ($slaves[$i].attrXX > 85)>> and wears a fashionable gown, since girls appreciate nice clothes. <<set $slaves[$i].clothes to "a slave gown">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "cumslut")>> and wears cut-offs and a t-shirt, because the fun yet relatively conservative outfit seems to encourage others to ask her for blowjobs. <<set $slaves[$i].clothes to "cutoffs and a t-shirt">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "humiliation")>> and wears leather straps with rings over her private parts because she enjoys the embarrassment such a humiliating outfit causes her. <<set $slaves[$i].clothes to "uncomfortable straps">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "buttslut")>> and wears nothing other than slutty bangles, because she likes to catch the eye without putting anything between cocks and her rear end. <<set $slaves[$i].clothes to "slutty jewelry">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "mindbroken")>> or would, if she were competent or sane. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "pregnancy")>> and wears a short maid dress, because she wants to look motherly and fuckable at the same time. <<set $slaves[$i].clothes to "a slutty maid outfit">> <<elseif ($slaves[$i].energy > 95)>> but goes nude, since as a nympho she gets plenty of attention anyway, and considers clothes an unnecessary hindrance. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($slaves[$i].assignment is "rest")>> and wears a comfortable t-shirt and cutoffs to relax. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($slaves[$i].assignment is "be a subordinate slave")>> but gives up and goes naked after the other slaves constantly tear whatever she's wearing off her. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($slaves[$i].assignment is "work a glory hole")>> but doesn't bother wearing anything, since no one can see her clothing when she's immured inside a glory hole. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($slaves[$i].assignment is "take classes") || ($slaves[$i].assignment is "learn in the schoolroom")>> and wears a schoolgirl outfit, since it seems most appropriate. <<set $slaves[$i].clothes to "a schoolgirl outfit">> <<elseif (($slaves[$i].assignment is "whore") || ($slaves[$i].assignment is "work in the brothel")) && ($clothesBoughtMaternityLingerie == 1 || $arcologies[0].FSRepopulationFocus != "unset")>> and wears pretty lingerie to show off her merchandise and accentuate her pregnancy while still looking a little classy. <<set $slaves[$i].clothes to "attractive lingerie for a pregnant woman">> <<elseif ($slaves[$i].assignment is "whore") || ($slaves[$i].assignment is "work in the brothel")>> and wears pretty lingerie to show off her merchandise and still look a little classy. <<set $slaves[$i].clothes to "attractive lingerie">> <<elseif ($slaves[$i].assignment is "serve the public") || ($slaves[$i].assignment is "serve in the club")>> and wears string lingerie to look fun and fuckable. <<set $slaves[$i].clothes to "a string bikini">> <<elseif ($slaves[$i].assignment is "get milked") || ($slaves[$i].assignment is "work in the dairy")>> and wears sturdy lingerie to offer the best support to her sore, milk-filled udders. <<set $slaves[$i].clothes to "attractive lingerie">> <<elseif ($slaves[$i].assignment is "get cockmilked") || ($slaves[$i].assignment is "work in the collection facility")>> and wears a slutty maid outfit to let her sore private parts breathe a little. <<set $slaves[$i].clothes to "a slutty maid outfit">> <<elseif ($slaves[$i].assignment is "be a servant") || ($slaves[$i].assignment is "work as a servant")>> and wears a sturdy maid outfit, since anything else might be damaged by her hard work around the penthouse. <<set $slaves[$i].clothes to "a nice maid outfit">> <<elseif bigBelly($slaves[$i])>> <<if random(1,2) == 1>> and wears pretty lingerie to show off her merchandise while giving her big belly plenty of room to hang free. <<set $slaves[$i].clothes to "attractive lingerie">> <<elseif ($clothesBoughtMaternityLingerie == 1 || $arcologies[0].FSRepopulationFocus != "unset") && $slaves[$i].energy > 90>> and wears pretty lingerie to show off her merchandise and accentuate her pregnancy while giving it plenty of room to hang free. <<set $slaves[$i].clothes to "attractive lingerie for a pregnant woman">> <<elseif ($clothesBoughtMaternityDress == 1 || $arcologies[0].FSRepopulationFocus != "unset")>> and wears a conservative dress with plenty of give for her belly to stretch it. <<set $slaves[$i].clothes to "a maternity dress">> <<else>> and wears string lingerie to look fun and fuckable while giving her big belly plenty of room to hang free. <<set $slaves[$i].clothes to "a string bikini">> <</if>> <<else>> and wears string lingerie to show off her body. <<set $slaves[$i].clothes to "a string bikini">> <</if>> <<if $arcologies[0].FSRestart != "unset">> <<if $slaves[$i].choosesOwnChastity == 1>> <<if $slaves[$i].vagina > -1 && $slaves[$i].breedingMark == 1 && ($slaves[$i].vaginalAccessory == "chastity belt" || $slaves[$i].vaginalAccessory == "combined chastity")>> She unfastens her chastity belt knowing full well her role in life is to carry her <<if def $PC.customTitle>><<print $PC.customTitle>>'s<<elseif $PC.title != 0>>Master's<<else>>Mistress'<</if>> children. <<set $slaves[$i].vaginalAccessory to "none">> <<elseif $slaves[$i].vagina > -1 && $slaves[$i].ovaries == 1 && $slaves[$i].preg == 0 && $slaves[$i].vaginalAccessory != "chastity belt">> She also affixes a chastity belt over her vagina to discourage use of her reproductive organ. <<set $slaves[$i].vaginalAccessory to "chastity belt">> <<elseif $slaves[$i].vagina > -1 && ($slaves[$i].ovaries == 0 || $slaves[$i].preg < -1) && $slaves[$i].vaginalAccessory == "chastity belt">> She removes her chastity belt since no matter how hard someone tries, she can never become pregnant. <<set $slaves[$i].vaginalAccessory to "none">> <</if>> <<if $slaves[$i].dick > 0 && $slaves[$i].balls > 0 && $slaves[$i].dickAccessory != "chastity">> She also affixes a chastity cage onto her dick to discourage use of her reproductive organ. <<set $slaves[$i].dickAccessory to "chastity">> <<elseif $slaves[$i].dick > 0 && $slaves[$i].balls == 0 && $slaves[$i].dickAccessory == "chastity">> She removes her chastity cage since even if she could get erect, she only shoots blanks. <<set $slaves[$i].dickAccessory to "none">> <</if>> <</if>> <</if>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "dom")>> She wears boots to look like a proper dominant. <<set $slaves[$i].shoes to "boots">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "sadist")>> She wears boots, since she thinks they make her look dangerous. <<set $slaves[$i].shoes to "boots">> <<elseif ($slaves[$i].heels == 1)>> She wears the heels she needs to walk. <<set $slaves[$i].shoes to "heels">> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "none")>> She wears comfortable flats, since she doesn't have a fetish to show off. <<set $slaves[$i].shoes to "flats">> <<else>> She wears heels to strut her stuff. <<set $slaves[$i].shoes to "heels">> <</if>> <</if>> <</if>>
r3d/fc
src/uncategorized/saChoosesOwnClothes.tw
tw
bsd-3-clause
17,101
:: SA chooses own job [nobr] <<if ($slaves[$i].assignment is "choose her own job")>> is allowed to select her own job this week. She watches your other slaves to decide what to do, @@color:hotpink;happy@@ to be permitted a choice and a little more @@color:mediumaquamarine;confident@@ than if you had just given her orders. She <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust >= -20)>> chooses to rest, taking advantage of your permission to choose her own assignment to @@color:mediumorchid;remain indolent.@@ <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<set $slaves[$i].devotion -= 5>> <<elseif ($slaves[$i].health < 20)>> <<if $clinic > 0>> is unhealthy, so she goes to get treatment at $clinicName. <<set $slaves[$i].assignment to "get treatment in the clinic">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is unhealthy, so she chooses to rest. <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif (($slaves[$i].devotion < 45) || ($slaves[$i].trust < 45)) && (($slaves[$i].sexualFlaw != "none") || ($slaves[$i].behavioralFlaw != "none")) && ($Attendant != 0)>> could use some counseling, so she chooses to visit $spaName. <<set $slaves[$i].assignment to "rest in the spa">> <<set $slaves[$i].assignmentVisible to 0>> <<elseif ($slaves[$i].intelligenceImplant != 1)>> <<if $schoolroom > 0>> is uneducated, so she sits herself down in $schoolroomName. <<set $slaves[$i].assignment to "learn in the schoolroom">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is uneducated, so she sits herself down to learn. <<set $slaves[$i].assignment to "take classes">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].devotion <= 50) and canWalk($slaves[$i])>> <<if $servantsQuarters > 0>> is obedient but not devoted, so she chooses to work from $servantsQuartersName since it's the least sexually demanding job available. <<set $slaves[$i].assignment to "work as a servant">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is obedient but not devoted, so she chooses to work as a servant since it's the least sexually demanding job available. <<set $slaves[$i].assignment to "be a servant">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].relationship is -1)>> relies on promiscuity to fulfill her emotional needs, <<if ($cash > 10000)>> and doesn't mind being a whore, so she prostitutes herself <<if $brothel > 0>> in $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> on the streets. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> so she eagerly decides to slut around <<if $club > 0>> in $clubName. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> on the streets. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>> <<elseif ($slaves[$i].relationship is -2)>> is emotionally bonded to you, <<if ($slaves[$i].behavioralQuirk is "insecure")>> but insecure, so she chooses to make you money by prostituting herself <<if $brothel > 0>> in $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> on the streets. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].behavioralQuirk is "advocate")>> and an advocate for slavery, so she chooses to burnish your reputation by slutting it up <<if $club > 0>> in $clubName. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> on the streets. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].energy > 60)>> and she thinks of little but sex with you, <<if $masterSuite > 0>> so she heads straight to $masterSuiteName. <<set $slaves[$i].assignment to "serve in the master suite">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> so she cheerfully designates herself one of your fucktoys. <<set $slaves[$i].assignment to "please you">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> so she chooses to work <<if $servantsQuarters > 0>> from $servantsQuartersName <<set $slaves[$i].assignment to "work as a servant">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> as a servant <<set $slaves[$i].assignment to "be a servant">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> to make your penthouse as clean and homelike as possible. <</if>> <<elseif ($slaves[$i].relationship is -3)>> is married to you, <<if ($slaves[$i].energy > 60)>> and she thinks of little but sex with you, <<if $masterSuite > 0>> so she heads straight to $masterSuiteName. <<set $slaves[$i].assignment to "serve in the master suite">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> so she cheerfully designates herself one of your fucktoys. <<set $slaves[$i].assignment to "please you">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> so she chooses to work <<if $servantsQuarters > 0>> from $servantsQuartersName <<set $slaves[$i].assignment to "work as a servant">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> as a servant <<set $slaves[$i].assignment to "be a servant">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> to make your penthouse as clean and homelike as possible. <</if>> <<elseif ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetish is "submissive") and canWalk($slaves[$i])>> <<if $servantsQuarters > 0>> thinks she belongs at the bottom of the penthouse hierarchy, so she goes to live in $servantsQuartersName. <<set $slaves[$i].assignment to "work as a servant">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> thinks she belongs at the bottom of the penthouse hierarchy, so she decides she should be a servant. <<set $slaves[$i].assignment to "be a servant">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].fetish is "dom") || ($slaves[$i].fetish is "sadist")>> <<if $club > 0>> is self-confident, so she decides to work in $clubName. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is self-confident, so she decides to work as a public servant. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].fetish is "masochist")>> <<if $brothel > 0>> enjoys abuse, so she hurries down to $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> enjoys abuse, so she decides to become a whore. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].fetish is "cumslut")>> <<if $brothel > 0>> hurries down to $brothelName to suck cocks. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to become a whore, mostly to suck cock. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].fetish is "humiliation")>> <<if $brothel > 0>> chooses $brothelName, since it's even more embarrassing to be a whore than a club slut. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> chooses to whore, since it's even more embarrassing to be a whore than to be a public servant. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].fetish is "buttslut")>> <<if ($slaves[$i].balls > 0)>> <<if ($dairy > 0) && ($dairyRestraintsSetting < 2)>> chooses confinement in $dairyName, since all she'll be expected to do is make cum by orgasming to buttsex. <<set $slaves[$i].assignment to "work in the dairy">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> chooses to get milked, since all she'll be expected to do is make cum by orgasming to buttsex. <<set $slaves[$i].assignment to "get milked">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> <<if $brothel > 0>> chooses $brothelName, since whores get buttfucked more than anyone else. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> chooses to whore, since whores get buttfucked more than anyone else. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "pregnancy")>> <<if ($slaves[$i].lactation > 0)>> <<if $dairy > 0>> heads down to $dairyName to be around other lactating girls. <<set $slaves[$i].assignment to "work in the dairy">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to get milked, since she's already lactating. <<set $slaves[$i].assignment to "get milked">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].preg > -2) && ($slaves[$i].preg < 1) && ($PC.dick == 1)>> <<if $masterSuite > 0>> heads straight to $masterSuiteName, in the hope you'll get her pregnant. <<set $slaves[$i].assignment to "serve in the master suite">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> chooses to be your fucktoy, in the hope you'll get her pregnant. <<set $slaves[$i].assignment to "please you">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].preg > 0)>> <<if $masterSuite > 0>> heads straight to $masterSuiteName to share the intimacy of her pregnant body with you. <<set $slaves[$i].assignment to "serve in the master suite">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> chooses to be your fucktoy to share the intimacy of her pregnant body with you. <<set $slaves[$i].assignment to "please you">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> <<if $brothel > 0>> can't indulge her fetish by getting pregnant herself, so she just heads down to $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> can't indulge her fetish by getting pregnant herself, so she glumly decides to be a whore. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "boobs")>> <<if ($slaves[$i].lactation > 0)>> <<if $dairy > 0>> heads down to $dairyName for all the attention that'll be lavished on her nipples. <<set $slaves[$i].assignment to "work in the dairy">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to get milked, since she loves getting off to it. <<set $slaves[$i].assignment to "get milked">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> <<if $club > 0>> decides to work in $clubName so she can show off her bare breasts. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to work as a public servant so she can show off her bare breasts. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>> <<elseif ($slaves[$i].attrXX > 85)>> <<if $club > 0>> decides to work in $clubName so she can hit on hot girls. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to work as a public servant so she can hit on hot girls. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].attrXY > 85)>> <<if $club > 0>> decides to work in $clubName so she can hit on cute boys. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to work as a public servant so she can hit on cute boys. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].energy > 95)>> <<if $brothel > 0>> decides to help those of your girls who mind taking dick all day by working in $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to help those of your girls who mind taking dick all day by working as a whore. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($arcologies[0].FSChattelReligionist > 0)>> <<if $brothel > 0>> is a pure and faithful slave, so she sells her body in the holy brothel. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is a pure and faithful slave, so she sells her body as a holy prostitute. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($arcologies[0].FSEgyptianRevivalist > 0)>> <<if $masterSuite > 0>> is a devoted slave, so she immediately joins your harem. <<set $slaves[$i].assignment to "serve in the master suite">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is a devoted slave, so she immediately joins your harem. <<set $slaves[$i].assignment to "please you">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($arcologies[0].FSRomanRevivalist > 0)>> <<if $brothel > 0>> is a devoted slave, so she decides she can best serve the state by raising money for the treasury, by selling her body in $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> is a devoted slave, so she decides she can best serve the state by raising money for the treasury, by selling her body as a prostitute. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($arcologies[0].FSPaternalist > 0)>> <<if $brothel > 0>> decides to work in $brothelName, a respectable position for a slave in this enlightened arcology. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to be a whore, a respectable position for a slave in this enlightened arcology. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($arcologies[0].FSPastoralist > 0)>> <<if ($slaves[$i].lactation > 0)>> <<if $dairy > 0>> hurries to join your herd of dairy cows. <<set $slaves[$i].assignment to "work in the dairy">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> hurries to join your herd of cows. <<set $slaves[$i].assignment to "get milked">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> <<if $brothel > 0>> decides to work in $brothelName to help raise money to get more girls lactating properly. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to prostitute herself to help raise money to get more girls lactating properly. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>> <<else>> <<if ($slaves[$i].whoreSkill > $slaves[$i].entertainSkill)>> <<if $brothel > 0>> decides to work in $brothelName, since she thinks herself a better whore than a public slut. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to whore, since she thinks herself a better whore than a public slut. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<elseif ($slaves[$i].entertainSkill >= $slaves[$i].whoreSkill)>> <<if $club > 0>> decides to be a club girl, since she thinks herself a better public slut than a whore. <<set $slaves[$i].assignment to "serve in the club">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to serve the public, since she thinks herself a better public slut than a whore. <<set $slaves[$i].assignment to "serve the public">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> <<if $brothel > 0>> decides to join her sisters and work in $brothelName. <<set $slaves[$i].assignment to "work in the brothel">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> decides to prostitute herself to help you upgrade $arcologies[0].name and improve everyone's life. <<set $slaves[$i].assignment to "whore">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].assignment is "choose her own job")>> <<if canWalk($slaves[$i])>> <<if $servantsQuarters > 0>> isn't strongly inclined towards any other assignment, so she goes to live in $servantsQuartersName. <<set $slaves[$i].assignment to "work as a servant">> <<set $slaves[$i].assignmentVisible to 0>> <<else>> isn't strongly inclined towards any other assignment, so she decides to work as a servant. <<set $slaves[$i].assignment to "be a servant">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <<else>> isn't strongly inclined towards an assignment, and can't be a servant without arms and legs, so she just rests. <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <</if>> <</if>>
r3d/fc
src/uncategorized/saChoosesOwnJob.tw
tw
bsd-3-clause
17,700
:: SA devotion [nobr] &nbsp;&nbsp;&nbsp;&nbsp; <<if $slaves[$i].fetish is "mindbroken">> <<else>> <<if $slaves[$i].fuckdoll == 0>> <<set $energyPlus to 0>> <<if $slaves[$i].origin is "You were acquainted with her before you were an arcology owner; your rival tried to use her to manipulate you, but you rescued her.">> <<if ($rivalryDuration <= 10 or $rivalryFS is "Racial Supremacism" or $rivalryFS is "Paternalism")>> You @@color:mediumaquamarine;saved $slaves[$i].slaveName from a living nightmare@@ under your rival's rule. She @@color:hotpink;tries her best to adapt to her savior's wishes@@. <<set $slaves[$i].devotion += 2.0>> <<set $slaves[$i].trust += 2.0>> <<elseif $hostageGiveIn == 1>> Since you are @@color:mediumaquamarine;indulging@@ $slaves[$i].slaveName's desires, she @@color:hotpink;likes you more@@. <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<elseif $rivalryDuration > 20 and $slaves[$i].devotion < 5>> <<if $personalAttention is $slaves[$i].ID>> You took everything from $slaves[$i].slaveName and @@color:mediumorchid;she hates you for it@@. Since you won't give her what she wants, she @@color:gold;refuses to trust you@@. Since you are putting such a personal touch into her care, she can't find it in her to rebel as strongly. <<set $slaves[$i].devotion -= 1.0>> <<set $slaves[$i].trust -= 1.0>> <<else>> You took everything from $slaves[$i].slaveName and @@color:mediumorchid;she hates you for it@@. Since you won't give her what she wants, she @@color:gold;refuses to trust you at all@@. <<set $slaves[$i].devotion -= 8.0>> <<set $slaves[$i].trust -= 8.0>> <</if>> <<elseif $rivalryDuration > 10 and $slaves[$i].devotion < 5>> <<if $personalAttention is $slaves[$i].ID>> She is @@color:gold;horrified by you@@. Your rival taught her a great deal about slave life in your arcology and indulged her deepest fantasies. $slaves[$i].slaveName considers being your pet @@color:mediumorchid;a fate worse than death@@. Since you are putting such a personal touch into her care, maybe you aren't the monster she thought you were. She can't find it in her to hate and fear you as much. <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <<else>> She is @@color:gold;horrified by you@@. Your rival taught her a great deal about slave life in your arcology and indulged her deepest fantasies. $slaves[$i].slaveName considers being your pet @@color:mediumorchid;a fate worse than death@@. <<set $slaves[$i].devotion -= 15.0>> <<set $slaves[$i].trust -= 15.0>> <</if>> <</if>> <</if>> <<if $PC.preg >= 20 && $PC.career != "escort">> <<if $slaves[$i].devotion > 60>> <<if $PC.pregMood == 2>> She is devoted to you and does her best to satisfy your demanding, hormone driven libido, no matter what you want from her. Her efforts to give herself you to @@color:hotpink;further her submission@@ to you. <<set $slaves[$i].devotion += 2>> <<elseif $PC.pregMood == 1>> She is devoted to you and tries her best to accommodate your needs and desires. Your hormonal mothering @@color:mediumaquamarine;leaves her slightly more trusting@@ of you. <<set $slaves[$i].trust += 2>> <<else>> She is devoted to you and tries her best to accommodate your needs and desires. <</if>> <<else>> <<if $PC.pregMood == 2>> She is @@color:gold;horrified@@ of your aggressive sexual advances, forcing her @@color:hotpink;bend to your will@@ or face punishment at the hands of a hormonal pregnant woman. <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].trust -= 4>> <<elseif $PC.pregMood == 1>> She happily @@color:mediumorchid;takes advantage@@ of your hormone induced kindness, though your care @@color:mediumaquamarine;builds her trust in you.@@ <<set $slaves[$i].devotion -= 4>> <<set $slaves[$i].trust += 4>> <<else>> She takes note of your gravid form and @@color:mediumorchid;begins testing just how much she can get away with@@ while she can. <<set $slaves[$i].devotion -= 3>> <</if>> <</if>> <<elseif $PC.preg >= 16>> <<if $slaves[$i].devotion > 60>> <<if $PC.pregMood == 2>> She is devoted to you and does her best to satisfy your demanding, hormonal driven libido, no matter what you want from her. Her efforts to give herself you to @@color:hotpink;further her submission@@ to you. <<set $slaves[$i].devotion += 2>> <<elseif $PC.pregMood == 1>> She is devoted to you and tries her best to accommodate your needs and desires. Your hormonal mothering @@color:mediumaquamarine;leaves her slightly more trusting@@ of you. <<set $slaves[$i].trust += 2>> <<else>> She is devoted to you and tries her best to accommodate your needs and desires. <</if>> <<else>> <<if $PC.pregMood == 2>> She is @@color:gold;horrified@@ of your aggressive sexual advances, forcing her @@color:hotpink;bend to your will@@ or face punishment at the hands of a hormonal pregnant woman. <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].trust -= 4>> <<elseif $PC.pregMood == 1>> She happily @@color:mediumorchid;takes advantage@@ of your hormone induced kindness, though your care @@color:mediumaquamarine;builds her trust in you.@@ <<set $slaves[$i].devotion -= 4>> <<set $slaves[$i].trust += 4>> <<else>> She takes note of your gravid form and @@color:mediumorchid;begins testing just how much she can get away with@@ while she can. <<set $slaves[$i].devotion -= 3>> <</if>> <</if>> <</if>> <<if $slaves[$i].dick > 0 && canAchieveErection($slaves[$i]) && $PC.preg >= 18>> <<if $PC.pregMood == 2>> <<set $slaves[$i].penetrativeCount += 7>> <<else>> <<set $slaves[$i].penetrativeCount += 3>> <</if>> <</if>> <<if $slaves[$i].devotion <= 95>> <<if $slaves[$i].devotion <= 20>> <<if $slaves[$i].devotion >= -50>> <<if $slaves[$i].trust > 20>> $slaves[$i].slaveName does not like you and believes that you will not punish her severely, and her @@color:mediumorchid;regard for you is severely reduced@@ by this lack of respect. <<set $slaves[$i].trust -= 4>> <<elseif $slaves[$i].trust >= -20>> $slaves[$i].slaveName neither likes nor fears you, and her @@color:mediumorchid;regard for you is reduced@@ by this lack of respect. <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <</if>> <<if $slaves[$i].intelligence != 0>> <<if $slaves[$i].intelligence >= 3>> <<if $personalAttention is $slaves[$i].ID>> $slaves[$i].slaveName's @@color:deepskyblue;brilliant mind@@ strongly resists slavery, but since you are giving her personal attention you are able to compensate for her genius. <<else>> <<if $slaves[$i].trust < -20>> $slaves[$i].slaveName's @@color:deepskyblue;brilliant mind@@ strongly resists slavery, but she fears you deeply enough that she consciously forces herself to obey out of self-preservation. <<else>> $slaves[$i].slaveName's @@color:deepskyblue;brilliant mind@@ strongly @@color:mediumorchid;resists@@ slavery and encourages her to @@color:gold;fear you.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <<elseif $slaves[$i].intelligence >= 2>> <<if $personalAttention is $slaves[$i].ID>> $slaves[$i].slaveName's @@color:deepskyblue;highly acute mind@@ naturally resists slavery, but since you are giving her personal attention you are able to compensate for her intelligence. <<else>> <<if $slaves[$i].trust < -20>> $slaves[$i].slaveName's @@color:deepskyblue;highly acute mind@@ naturally resists slavery, but she fears you deeply enough that she consciously forces herself to obey out of self-preservation. <<else>> $slaves[$i].slaveName's @@color:deepskyblue;highly acute mind@@ naturally @@color:mediumorchid;resists@@ slavery and encourages her to @@color:gold;fear you.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <<elseif $slaves[$i].intelligence >= 1>> <<if $personalAttention is $slaves[$i].ID>> $slaves[$i].slaveName's @@color:deepskyblue;intelligent mind@@ naturally resists slavery, but since you are giving her personal attention you are able to compensate for her cleverness. <<else>> <<if $slaves[$i].trust < -20>> $slaves[$i].slaveName's @@color:deepskyblue;intelligent mind@@ naturally resists slavery, but she fears you deeply enough that she consciously forces herself to obey out of self-preservation. <<else>> $slaves[$i].slaveName's @@color:deepskyblue;intelligent mind@@ naturally @@color:mediumorchid;resists@@ slavery. <<set $slaves[$i].devotion -= 2>> <</if>> <</if>> <<elseif $slaves[$i].intelligence <= -3>> $slaves[$i].slaveName's @@color:orangered;moronic mind@@ naturally @@color:hotpink;accepts@@ slavery, and she's imbecile enough to instinctively @@color:mediumaquamarine;trust you@@ to know what's best for her. <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<elseif $slaves[$i].intelligence <= -2>> $slaves[$i].slaveName's @@color:orangered;idiotic mind@@ naturally @@color:hotpink;accepts@@ slavery, and she's stupid enough to instinctively @@color:mediumaquamarine;trust you@@ to know what's best. <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<elseif $slaves[$i].intelligence <= -1>> $slaves[$i].slaveName's @@color:orangered;unintelligent mind@@ naturally @@color:hotpink;accepts@@ slavery. <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <</if>> <<if ($arcologies[0].FSPaternalistLaw == 1)>> The totally paternalistic society of your arcology encourages her to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].trust += 1>> <<elseif ($arcologies[0].FSPaternalist >= random(1,120))>> The paternalistic culture of your arcology encourages her to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].trust += 1>> <</if>> <<if ($arcologies[0].FSChattelReligionistLaw == 1)>> Your status as the prophet of your theocratic arcology encourages her to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].trust += 1>> <<elseif ($arcologies[0].FSChattelReligionist >= random(1,120))>> Your arcology's omnipresent religion encourages her to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].trust += 1>> <</if>> <<if ($arcologies[0].FSRestart != "unset")>> <<if $slaves[$i].preg > 5 and $slaves[$i].devotion < 20>> Being pregnant in a society that loathes slave breeding fills her with @@color:gold;fear@@ for herself and her unborn child. <<set $slaves[$i].trust -= 10>> <</if>> <</if>> <<if $arcologies[0].FSChattelReligionistCreed == 1>> <<if $nicaeaFocus == "slaves">> The creed of $nicaeaName @@color:hotpink;focuses on slaves@@ and is repeated constantly all around her. <<set $slaves[$i].devotion += $nicaeaPower>> <</if>> <</if>> /* INDENTURE MENTAL EFFECTS */ <<if ($slaves[$i].indenture > -1)>> <<if $slaves[$i].indenture <= 52>> She knows that it's less than a year until her indenture ends. <<if $slaves[$i].devotion > 95>> Since she loves you, she has mixed feelings about the prospect. <<elseif $slaves[$i].devotion >= -20>> The prospect of freedom @@color:hotpink;encourages her to submit to your orders@@ and @@color:mediumaquamarine;encourages her to be optimistic.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> The prospect of freedom encourages her to @@color:mediumaquamarine;tolerate anything.@@ <<set $slaves[$i].trust += 2>> <</if>> <<else>> The fact that she is an indentured servant, not a permanent slave, is never truly far from her mind. <<if $slaves[$i].devotion > 95>> Since she loves you, she has mixed feelings about eventual freedom. <<elseif $slaves[$i].devotion >= -20>> The prospect of eventual freedom @@color:hotpink;cheers her up@@ and @@color:mediumaquamarine;makes her optimistic.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> The prospect of eventual freedom works to make the indignities of slavery @@color:mediumaquamarine;weigh lightly@@ on her. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<if $slaves[$i].devotion <= 20>> <<if $slaves[$i].indentureRestrictions >= 2>> She's also @@color:mediumaquamarine;able to rely on the protection@@ of her indenture. <<set $slaves[$i].trust += 1>> <<elseif $slaves[$i].indentureRestrictions > 1>> She's also @@color:mediumaquamarine;able to trust the restrictions@@ that her indenture places on her treatment. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<elseif $seeAge == 1>> /* RETIREMENT */ <<if $slaves[$i].actualAge >= $retirementAge-5 && $PhysicalRetirementAgePolicy != 1>> <<if ($CitizenRetirement == 1)>> <<if $slaves[$i].actualAge >= $retirementAge-1>> She knows that it's less than a year until her retirement from sexual slavery into citizenship. <<if $slaves[$i].devotion > 95>> Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. It's her favorite subject, and her strong feelings about it <<if $arcologies[0].FSPaternalist != "unset">> advances paternalistic ideals and @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep*2*($arcologies[0].FSPaternalist/$FSLockinLevel)>> <<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>> <<else>> @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep*2>> <</if>> <<elseif $slaves[$i].devotion >= -20>> The prospect of manumission @@color:hotpink;encourages her to submit to slavery@@ and @@color:mediumaquamarine;encourages her to be optimistic.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> The prospect of manumission encourages her to @@color:mediumaquamarine;tolerate anything.@@ <<set $slaves[$i].trust += 2>> <</if>> <<else>> Her retirement from sexual slavery into citizenship is on the horizon. <<if $slaves[$i].devotion > 95>> Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. This <<if $arcologies[0].FSPaternalist != "unset">> advances paternalistic ideals and @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel)>> <<set $arcologies[0].FSPaternalist += 0.05*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>> <<else>> @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep>> <</if>> <<elseif $slaves[$i].devotion >= -20>> The prospect of manumission @@color:hotpink;cheers her up@@ and @@color:mediumaquamarine;makes her optimistic.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> The prospect of manumission works to make the indignities of slavery @@color:mediumaquamarine;weigh lightly@@ on her. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<elseif ($BioreactorRetirement == 1)>> <<if $slaves[$i].actualAge >= $retirementAge-1>> She knows that it's less than a year until her permanent inclusion in the arcology's milk production systems. <<if $slaves[$i].devotion > 95>> Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation. <<elseif $slaves[$i].devotion > 20>> To put it mildly, @@color:gold;she is terrified.@@ <<set $slaves[$i].trust -= 3>> <<else>> She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<else>> She knows that her permanent inclusion in the arcology's milk production systems is not far off. <<if $slaves[$i].devotion > 95>> Since she loves you, she tries not to think about it, though she occasionally seems preoccupied. <<elseif $slaves[$i].devotion > 20>> The prospect @@color:gold;scares her.@@ <<set $slaves[$i].trust -= 2>> <<else>> The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <<elseif ($ArcadeRetirement == 1)>> <<if $slaves[$i].actualAge >= $retirementAge-1>> She knows that it's less than a year until she is to be permanently encased in a bodysuit with holes for nothing but dick. <<if $slaves[$i].devotion > 95>> Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation. <<elseif $slaves[$i].devotion > 20>> To put it mildly, @@color:gold;she is terrified.@@ <<set $slaves[$i].trust -= 3>> <<else>> She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<else>> She knows that her ultimate fate as a Fuckdoll is not far off. <<if $slaves[$i].devotion > 95>> Since she loves you, she tries not to think about it, though she occasionally seems preoccupied. <<elseif $slaves[$i].devotion > 20>> The prospect @@color:gold;scares her.@@ <<set $slaves[$i].trust -= 2>> <<else>> The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <</if>> <<elseif $slaves[$i].physicalAge >= $retirementAge-5 && $PhysicalRetirementAgePolicy == 1>> <<if ($CitizenRetirement == 1)>> <<if $slaves[$i].physicalAge >= $retirementAge-1>> She knows that it's less than a year until her retirement from sexual slavery into citizenship. <<if $slaves[$i].devotion > 95>> Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. It's her favorite subject, and her strong feelings about it <<if $arcologies[0].FSPaternalist != "unset">> advances paternalistic ideals and @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep*2*($arcologies[0].FSPaternalist/$FSLockinLevel)>> <<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>> <<else>> @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep*2>> <</if>> <<elseif $slaves[$i].devotion >= -20>> The prospect of manumission @@color:hotpink;encourages her to submit to slavery@@ and @@color:mediumaquamarine;encourages her to be optimistic.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> The prospect of manumission encourages her to @@color:mediumaquamarine;tolerate anything.@@ <<set $slaves[$i].trust += 2>> <</if>> <<else>> Her retirement from sexual slavery into citizenship is on the horizon. <<if $slaves[$i].devotion > 95>> Since she loves you, she has mixed feelings about the prospect, but she prefers to think of it as your way of looking after her. This <<if $arcologies[0].FSPaternalist != "unset">> advances paternalistic ideals and @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel)>> <<set $arcologies[0].FSPaternalist += 0.05*$FSSingleSlaveRep*$slaves[$i].pornFameSpending>> <<else>> @@color:green;improves your reputation.@@ <<set $repGain += $FSSingleSlaveRep>> <</if>> <<elseif $slaves[$i].devotion >= -20>> The prospect of manumission @@color:hotpink;cheers her up@@ and @@color:mediumaquamarine;makes her optimistic.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> The prospect of manumission works to make the indignities of slavery @@color:mediumaquamarine;weigh lightly@@ on her. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<elseif ($BioreactorRetirement == 1)>> <<if $slaves[$i].physicalAge >= $retirementAge-1>> She knows that it's less than a year until her permanent inclusion in the arcology's milk production systems. <<if $slaves[$i].devotion > 95>> Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation. <<elseif $slaves[$i].devotion > 20>> To put it mildly, @@color:gold;she is terrified.@@ <<set $slaves[$i].trust -= 3>> <<else>> She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<else>> She knows that her permanent inclusion in the arcology's milk production systems is not far off. <<if $slaves[$i].devotion > 95>> Since she loves you, she tries not to think about it, though she occasionally seems preoccupied. <<elseif $slaves[$i].devotion > 20>> The prospect @@color:gold;scares her.@@ <<set $slaves[$i].trust -= 2>> <<else>> The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <<elseif ($ArcadeRetirement == 1)>> <<if $slaves[$i].physicalAge >= $retirementAge-1>> She knows that it's less than a year until she is to be permanently encased in a bodysuit with holes for nothing but dick. <<if $slaves[$i].devotion > 95>> Since she loves you, she desperately tries not to think about it, though she occasionally bursts into tears without provocation. <<elseif $slaves[$i].devotion > 20>> To put it mildly, @@color:gold;she is terrified.@@ <<set $slaves[$i].trust -= 3>> <<else>> She is filled with @@color:gold;terror@@ and @@color:mediumorchid;horror.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<else>> She knows that her ultimate fate as a Fuckdoll is not far off. <<if $slaves[$i].devotion > 95>> Since she loves you, she tries not to think about it, though she occasionally seems preoccupied. <<elseif $slaves[$i].devotion > 20>> The prospect @@color:gold;scares her.@@ <<set $slaves[$i].trust -= 2>> <<else>> The prospect @@color:gold;scares@@ and @@color:mediumorchid;disgusts her.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <</if>> <</if>> <<if ($CitizenRetirement == 1)>> <<if ($slaves[$i].devotion <= 95) || ($slaves[$i].trust <= 95)>> <<if $SexMilestoneRetirement == 1>> <<if $slaves[$i].oralCount + $slaves[$i].analCount + $slaves[$i].vaginalCount + $slaves[$i].penetrativeCount + $slaves[$i].mammaryCount >= $retirementSex*0.8>> <<if $slaves[$i].devotion >= -20>> She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> She does her best to @@color:mediumaquamarine;stay strong,@@ <<set $slaves[$i].trust += 1>> <</if>> since she knows that her freedom is only a few thousand dicks away. <</if>> <</if>> <<if $MilkMilestoneRetirement == 1>> <<if $slaves[$i].milk >= $retirementMilk*0.8>> <<if $slaves[$i].devotion >= -20>> She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> She does her best to @@color:mediumaquamarine;stay strong,@@ <<set $slaves[$i].trust += 1>> <</if>> since she knows she will be free if her udders can gush just a bit more cream. <</if>> <</if>> <<if $BirthsMilestoneRetirement == 1>> <<if $slaves[$i].births >= $retirementBirths*0.6>> <<if $slaves[$i].devotion >= -20>> She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> She does her best to @@color:mediumaquamarine;stay strong,@@ <<set $slaves[$i].trust += 1>> <</if>> since she knows she only has to successfully breed a little more to be free. <</if>> <</if>> <<if $KillsMilestoneRetirement == 1>> <<if $slaves[$i].pitkills >= $retirementKills*0.6>> <<if $slaves[$i].devotion >= -20>> She's @@color:hotpink;more obedient@@ and @@color:mediumaquamarine;more tolerant,@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<else>> She does her best to @@color:mediumaquamarine;stay strong,@@ <<set $slaves[$i].trust += 1>> <</if>> since she knows just a bit more murder in the pit will win her freedom. <</if>> <</if>> <</if>> <</if>> <</if>> /* CLOSES RETIREMENT */ <<if $slaves[$i].assignmentVisible == 1>> <<if $personalAttention == "sex">> <<if $freeSexualEnergy > 0>> <<if $freeSexualEnergy == 3>> She gets a lot of sexual attention from you, since you don't have nearly enough dedicated fucktoys to sate your libido, and this @@color:hotpink;<<if $slaves[$i].devotion > 50>>intensifies her love for you<<else>>forces her to get used to sex slavery<</if>>.@@ <<elseif $freeSexualEnergy == 2>> She receives some sexual attention from you, since you don't have enough dedicated fucktoys to sate your libido, and this @@color:hotpink;<<if $slaves[$i].devotion > 50>>builds her closeness to you<<else>>gets her used to being your sex slave<</if>>.@@ <<else>> She receives occasional sexual attention from you, since you barely have enough dedicated fucktoys to sate your libido, @@color:hotpink;<<if $slaves[$i].devotion > 50>>making her feel closer to you<<else>>keeping her aware she's your sex slave<</if>>.@@ <</if>> <<set $slaves[$i].devotion += $freeSexualEnergy>> <<set $slaves[$i].oralCount += $freeSexualEnergy>> <<set $oralTotal += $freeSexualEnergy>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $freeSexualEnergy>> <<set $vaginalTotal += $freeSexualEnergy>> <</if>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $freeSexualEnergy>> <<set $analTotal += $freeSexualEnergy>> <</if>> <</if>> <</if>> <</if>> /* COLLECTIVE SPIRIT IMPACTS */ <<set _collectiveTrustEffect = 0>> <<set _collectiveDevotionEffect = 0>> <<if $enduringDevotion > 50>> <<if $slaves[$i].devotion >= -20>> <<if $slaves[$i].devotion <= 20>> <<set _collectiveDevotionEffect = 1, $slaves[$i].devotion += 1>> <<if $slaves[$i].assignmentVisible == 1>><<set $slaves[$i].devotion += 1>><</if>> <</if>> <</if>> <<elseif $enduringDevotion <= 0>> <<if $slaves[$i].devotion <= 20>> <<set _collectiveDevotionEffect = -1, $slaves[$i].devotion -= 1>> <<if $slaves[$i].assignmentVisible == 1>><<set $slaves[$i].devotion -= 1>><</if>> <</if>> <</if>> <<if $enduringTrust > 50>> <<if $slaves[$i].trust >= -20>> <<if $slaves[$i].trust <= 20>> <<set _collectiveTrustEffect = 1, $slaves[$i].trust += 1>> <<if $slaves[$i].assignmentVisible == 1>><<set $slaves[$i].trust += 1>><</if>> <</if>> <</if>> <<elseif $enduringTrust <= 0>> <<if $slaves[$i].trust <= 20>> <<set _collectiveTrustEffect = -1, $slaves[$i].trust -= 1>> <<if $slaves[$i].assignmentVisible == 1>><<set $slaves[$i].trust -= 1>><</if>> <</if>> <</if>> <<if _collectiveDevotionEffect == 1>> <<if _collectiveTrustEffect == 1>> Since she's ambivalent and fearful, the @@color:hotpink;collective devotion@@ @@color:mediumaquamarine;and trust@@ of your slaves affect her slightly. <<elseif _collectiveTrustEffect == 0>> Since she's ambivalent about you, the @@color:hotpink;collective devotion@@ your slaves feel for you affects her slightly. <<else>> Since she's ambivalent about you, the @@color:hotpink;collective devotion@@ your slaves feel for you affects her slightly, but their @@color:gold;general fear@@ affects her too. <</if>> <<elseif _collectiveDevotionEffect == 0>> <<if _collectiveTrustEffect == 1>> Since she's fearful of you, the @@color:mediumaquamarine;collective trust@@ your slaves place in you affects her slightly. <<elseif _collectiveTrustEffect == -1>> Since she doesn't trust you, the @@color:gold;collective fear@@ your slaves feel for you affects her slightly. <</if>> <<else>> <<if _collectiveTrustEffect == 1>> The @@color:mediumorchid;collective anger@@ your slaves feel reinforces her own feelings, but their @@color:mediumaquamarine;collective trust@@ also affects her slightly. <<elseif _collectiveTrustEffect == 0>> The @@color:mediumorchid;collective anger@@ your slaves feel reinforces her own feelings. <<else>> The @@color:mediumorchid;collective anger@@ @@color:gold;and fear@@ your slaves feel reinforce her own feelings. <</if>> <</if>> <<if $slaves[$i].assignmentVisible == 1>> <<if ($arcade != 0) || (($dairy != 0) && ($dairyRestraintsSetting >= 2))>> <<if $slaves[$i].devotion <= 95>> She knows about <<if $arcade != 0>>$arcadeName<<if ($dairy != 0) && ($dairyRestraintsSetting >= 2)>> and $dairyName<</if>><<else>>$dairyName<</if>>, and @@color:gold;fears@@ that you might send her there. <<set $slaves[$i].trust -= 1>> <<else>> She knows some of your other slaves meet terrible, industrial fates, but she loves you so much that she tries not to think about it. <</if>> <</if>> <</if>> /* STAT CROSSOVERS */ <<if $slaves[$i].trust >= -20>> <<if $slaves[$i].devotion > 95>> <<if $slaves[$i].trust <= 20>> $slaves[$i].slaveName loves you, so she finds herself @@color:mediumaquamarine;fearing you a little less.@@ <<set $slaves[$i].trust += 1>> <<elseif $slaves[$i].trust <= 50>> $slaves[$i].slaveName loves you, so she finds herself @@color:mediumaquamarine;trusting you a little more.@@ <<set $slaves[$i].trust += 1>> <</if>> <<elseif $slaves[$i].devotion > 60>> <<if $slaves[$i].trust <= 20>> $slaves[$i].slaveName is devoted to you, so she finds herself @@color:mediumaquamarine;fearing you a little less.@@ <<set $slaves[$i].trust += 1>> <</if>> <<elseif $slaves[$i].devotion < -50>> <<if $slaves[$i].trust > 20>> <<if $slaves[$i].trust <= 95>> $slaves[$i].slaveName hates you, so she finds herself @@color:gold;trusting you a little less.@@ <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <</if>> <</if>> <<if $slaves[$i].trust > 95>> <<if $slaves[$i].devotion <= 20>> $slaves[$i].slaveName trusts you implicitly, so she finds herself @@color:hotpink;hating you a little less.@@ <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].devotion <= 50>> $slaves[$i].slaveName trusts you implicitly, so she finds herself @@color:hotpink;liking you a little more.@@ <<set $slaves[$i].devotion += 1>> <</if>> <<elseif $slaves[$i].trust > 50>> <<if $slaves[$i].devotion <= 20>> $slaves[$i].slaveName trusts you, so she finds herself @@color:hotpink;hating you a little less.@@ <<set $slaves[$i].devotion += 1>> <</if>> <<elseif $slaves[$i].trust < -50>> <<if $slaves[$i].devotion >= -20>> <<if $slaves[$i].devotion <= 50>> $slaves[$i].slaveName is so terrified of you that she tries desperately to avoid punishment, @@color:hotpink;which is sometimes indistinguishable from devotion.@@ <<set $slaves[$i].devotion += 2>> <</if>> <</if>> <<elseif $slaves[$i].trust < -20>> <<if $slaves[$i].devotion > 20>> <<if $slaves[$i].devotion <= 50>> $slaves[$i].slaveName is scared of you, but not truly terrified, so she feels safe in @@color:mediumorchid;hating the worst parts of being your sex slave.@@ <<set $slaves[$i].devotion -= 2>> <</if>> <</if>> <</if>> <<if ($slaves[$i].career is "a slave since birth")>> <<if ($slaves[$i].devotion <= 95)>> The tank's imprinting systems left a @@color:hotpink;deep, subconscious desire@@ to serve her owner. <</if>> <</if>> <<if ($slaves[$i].sexualQuirk is "unflinching")>> <<if ($slaves[$i].devotion <= 95)>> <<if ($slaves[$i].devotion < $slaves[$i].oldDevotion)>> Her unflinching nature leads her to forget some of the unpleasant things she's experienced this week, @@color:hotpink;reducing their impact on her feelings about you.@@ <<set $slaves[$i].devotion += ($slaves[$i].oldDevotion - $slaves[$i].devotion)/2>> <</if>> <</if>> <</if>> /* CAPS ON DEVOTION GAIN */ <<if $slaves[$i].devotion >= -20>> <<if $slaves[$i].devotion >= ($slaves[$i].oldDevotion+5)>> <<if $arcologies[0].FSChattelReligionist >= random(1,100)>> The natural resilience of her mind is overcome by the omnipresent combination of faith and servitude in $arcologies[0].name, and she does not resist her progress down the path towards total subservience. <<elseif $personalAttention is $slaves[$i].ID>> She gained so much regard for you this week that her natural reaction is to rebound a little, but since you're giving her personal attention, your charismatic presence prevents this. <<elseif $slaves[$i].devotion < 95>> So many things served to drive her into subservience this week that her mind @@color:mediumorchid;rebounds a little.@@ <<set $slaves[$i].devotion to ($slaves[$i].oldDevotion+5)>> <</if>> <</if>> <<else>> <<if $slaves[$i].devotion >= ($slaves[$i].oldDevotion+5)>> <<if $slaves[$i].behavioralFlaw is "arrogant">> Though she made progress this week, @@color:mediumorchid;it is limited by her arrogance.@@ <<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>> <<elseif ($slaves[$i].behavioralFlaw is "bitchy") && canTalk($slaves[$i])>> Though she made progress this week, @@color:mediumorchid;it is limited by the independence she regains by making snide comments.@@ <<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>> <<elseif $slaves[$i].behavioralFlaw is "devout">> Though she made progress this week, @@color:mediumorchid;it is limited by the independence she regains through reliance on her faith.@@ <<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>> <<elseif $slaves[$i].behavioralFlaw is "liberated">> Though she made progress this week, @@color:mediumorchid;it is limited by the independence she retains due to her moral convictions that this is wrong.@@ <<set $slaves[$i].devotion = ($slaves[$i].oldDevotion+5)>> <</if>> <</if>> <</if>> /* CAPS ON TRUST GAIN */ <<if $slaves[$i].trust > -20>> <<if $slaves[$i].trust >= ($slaves[$i].oldTrust+5)>> <<if $arcologies[0].FSChattelReligionist >= random(1,100)>> Any natural doubts she harbors are overcome by her belief in Chattel Religionism, and she does not resist her progress down the path towards total trust in you. <<elseif $personalAttention is $slaves[$i].ID>> She gained so much trust in you this week that her natural reaction is to doubt herself, but since you're giving her personal attention, she decides to trust her understanding of your will. <<elseif $slaves[$i].trust < 95>> She gained so much trust in you this week that she @@color:gold;draws back a little@@ out of self-doubt. <<set $slaves[$i].trust = ($slaves[$i].oldTrust+5)>> <</if>> <</if>> <<else>> <<if $slaves[$i].trust >= ($slaves[$i].oldTrust+5)>> <<if ($slaves[$i].behavioralFlaw is "odd") && ($slaves[$i].collar != "shock punishment")>> Though she made progress this week, @@color:gold;it is limited by her preoccupation with her own oddities.@@ <<set $slaves[$i].trust = ($slaves[$i].oldTrust+5)>> <</if>> <</if>> <</if>> <<if ($slaves[$i].devotion > 100) && ($slaves[$i].trust > 100) && ($slaves[$i].energy > 75)>> Her perfect devotion and trust @@color:green;improve your reputation.@@ <<set $repGain += 10*($slaves[$i].trust-100)>> <<set $slaves[$i].devotion = 100>> <<set $repGain += 10*($slaves[$i].trust-100)>> <<set $slaves[$i].trust = 100>> <<else>> <<if ($slaves[$i].devotion > 100)>> <<if ($slaves[$i].trust < 100) && ($slaves[$i].trust >= -20)>> <<set $slaves[$i].trust += Math.trunc(($slaves[$i].devotion-100)*5)/10>> <<elseif $slaves[$i].energy <= 50>> <<set $energyPlus += Math.trunc($slaves[$i].devotion-100)>> <<else>> Her extreme devotion @@color:green;improved your reputation.@@ <<set $repGain += 10*($slaves[$i].devotion-100)>> <</if>> <<set $slaves[$i].devotion = 100>> <<elseif $slaves[$i].devotion > 95>> <<set $slaves[$i].devotion = 100>> <<elseif ($slaves[$i].devotion < -95)>> <<set $slaves[$i].devotion = -100>> <</if>> <<if ($slaves[$i].trust > 100)>> <<if $slaves[$i].devotion <= 100>> <<set $slaves[$i].devotion += Math.trunc($slaves[$i].trust)>> <<elseif $slaves[$i].energy <= 50>> <<set $energyPlus += Math.trunc($slaves[$i].trust-100)>> <<else>> Her extreme trust @@color:green;improved your reputation.@@ <<set $repGain += 25*($slaves[$i].trust-100)>> <</if>> <<set $slaves[$i].trust = 100>> <<elseif $slaves[$i].trust > 95>> <<set $slaves[$i].trust = 100>> <<elseif ($slaves[$i].trust < -95)>> <<set $slaves[$i].trust = -100>> <</if>> <</if>> <<if ($energyPlus > 0)>> Her confidence in her sexuality @@color:green;improved her low sex drive.@@ <<set $slaves[$i].energy += $energyPlus>> <</if>> <<if ($slaves[$i].devotion > 95)>> $slaves[$i].slaveName's @@color:magenta;worshipfulness is beyond improvement,@@ and her <<elseif ($slaves[$i].devotion > 50) && ($slaves[$i].devotion > $slaves[$i].oldDevotion)>> $slaves[$i].slaveName's @@color:hotpink;devotion increased@@ and her <<elseif ($slaves[$i].devotion > 50) && ($slaves[$i].devotion is $slaves[$i].oldDevotion)>> $slaves[$i].slaveName's @@color:yellow;devotion did not change@@ and her <<elseif ($slaves[$i].devotion > 50)>> $slaves[$i].slaveName's @@color:mediumorchid;devotion dropped@@ and her <<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].devotion > $slaves[$i].oldDevotion)>> $slaves[$i].slaveName's @@color:hotpink;regard for you increased@@ and her <<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].devotion is $slaves[$i].oldDevotion)>> $slaves[$i].slaveName's @@color:yellow;regard for you did not change@@ and her <<elseif ($slaves[$i].devotion >= -20)>> $slaves[$i].slaveName's @@color:mediumorchid;regard for you dropped@@ and her <<elseif ($slaves[$i].devotion > $slaves[$i].oldDevotion)>> $slaves[$i].slaveName's @@color:hotpink;resistance dropped@@ and her <<elseif ($slaves[$i].devotion is $slaves[$i].oldDevotion)>> $slaves[$i].slaveName's @@color:yellow;resistance did not change@@ and her <<else>> $slaves[$i].slaveName's @@color:mediumorchid;resistance increased@@ and her <</if>> <<if ($slaves[$i].trust > 95)>> @@color:seagreen;trust in you is total.@@ <<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust > $slaves[$i].oldTrust)>> @@color:mediumaquamarine;trust improved@@ this week. <<elseif ($slaves[$i].trust > 20) && ($slaves[$i].trust is $slaves[$i].oldTrust)>> @@color:yellow;trust did not change@@ this week. <<elseif ($slaves[$i].trust > 20)>> @@color:gold;trust dropped@@ this week. <<elseif ($slaves[$i].trust > $slaves[$i].oldTrust)>> @@color:mediumaquamarine;fear dropped@@ this week. <<elseif ($slaves[$i].trust is $slaves[$i].oldTrust)>> @@color:yellow;fear did not change@@ this week. <<else>> @@color:gold;fear increased@@ this week. <</if>> <<if ($slaves[$i].devotion > 50) && ($slaves[$i].oldDevotion <= 50)>> @@color:green;She has gone from accepting her position to being devoted to you!@@ <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion > 20) && ($slaves[$i].oldDevotion <= 20)>> @@color:green;She has gone from being ambivalent toward you to accepting your ownership of her!@@ <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].oldDevotion < -20)>> @@color:green;She has gone from disliking you to being ambivalent about you!@@ <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion >= -50) && ($slaves[$i].oldDevotion < -50)>> @@color:green;She has gone from hating you to merely disliking you!@@ <<set $slaves[$i].devotion += 1>> <</if>> <<if ($slaves[$i].trust > 50) && ($slaves[$i].oldtrust <= 50)>> @@color:green;She has gone from being careful around you to trusting you!@@ <<set $slaves[$i].trust += 1>> <<elseif ($slaves[$i].trust > 20) && ($slaves[$i].oldtrust <= 20)>> @@color:green;She has gone from fearing you to merely being careful around you!@@ <<set $slaves[$i].trust += 1>> <<elseif ($slaves[$i].trust >= -20) && ($slaves[$i].oldtrust < -20)>> @@color:green;She has gone from being afraid of you to being merely fearful!@@ <<set $slaves[$i].trust += 1>> <<elseif ($slaves[$i].trust >= -50) && ($slaves[$i].oldtrust < -50)>> @@color:green;She has gone from being terrified to being merely afraid of you!@@ <<set $slaves[$i].trust += 1>> <</if>> <<if ($slaves[$i].trust < -20) && ($slaves[$i].oldtrust >= -20)>> <<if ($slaves[$i].devotion <= 20)>> @@color:green;She has gone from merely fearing you to actively being afraid of you!@@ <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <<else>> /* IS FUCKDOLL */ It is confined in a suit that limits its perception of the outside world to tonal commands from the suit itself and things that are inserted into its mouth<<if $activeSlave.vagina > -1>>, vagina,<</if>> and anus. <<if $slaves[$i].sexualFlaw == "self hating">> Its self hatred @@color:gold;cannot eliminate the growing fear@@ engendered by its remaining spark of self-preservation. <<set $slaves[$i].trust -= 5>> <<elseif $slaves[$i].trust > 50>> It still hopes you'll let it out of its suit so it can be your good slave again, but @@color:gold;fear and doubt creep in@@ by the minute. And there are a lot of them. <<else>> With little to do but <<if $activeSlave.fuckdoll <= 60>>wonder if it's about to be used<<else>>desperately hope it'll be used soon<</if>>, it dwells on the @@color:gold;horrible fear@@ that this dark existence will be perpetual. <</if>> <<set $slaves[$i].trust -= 10>> <<if $slaves[$i].sexualFlaw == "self hating">> It knows to its core that it deserves this, @@color:mediumorchid;slowing but not stopping its descent into depression.@@ <<set $slaves[$i].devotion += 5>> <<elseif $slaves[$i].devotion > 50>> It spirals through @@color:mediumorchid;obsessive depression,@@ wondering what it did to deserve this fate. <<else>> In the silence and darkness between the times it's used, it has little to do but @@color:mediumorchid;hate you.@@ <</if>> <<set $slaves[$i].devotion -= 10>> <</if>> /* CLOSES FUCKDOLL CHECK */ <</if>> /* CLOSES MINDBROKEN CHECK */
r3d/fc
src/uncategorized/saDevotion.tw
tw
bsd-3-clause
41,634
:: SA diet [nobr] <<if $slaves[$i].fuckdoll == 0>> <<if $feeder == 1>> <<if $slaves[$i].diet != "healthy">> The upgraded kitchen closely monitors her diet. <</if>> <</if>> <<if ($slaves[$i].diet is "restricted")>> /* Weight Loss */ <<set _weightLoss to 5>> <<set _assetLoss to 5>> <<if ($slaves[$i].behavioralFlaw is "anorexic")>> <<if ($slaves[$i].devotion >= -20)>> As an anorexic, @@color:hotpink;she derives perverse enjoyment from being underfed.@@ <<set $slaves[$i].devotion += 1>> <<else>> As an anorexic, she accepts being underfed. <</if>> <<elseif ($slaves[$i].behavioralFlaw is "gluttonous")>> As a stress glutton, @@color:gold;being underfed makes her terribly anxious.@@ <<set $slaves[$i].trust -= 5>> <<elseif ($slaves[$i].behavioralQuirk is "fitness")>> As a fitness fanatic, @@color:hotpink;she enjoys slimming down.@@ <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion <= 20)>> @@color:mediumorchid;She resents being underfed.@@ <<set $slaves[$i].devotion -= 4>> <</if>> <<if ($slaves[$i].devotion <= 20)>> <<if ($slaves[$i].dietCum > 0)>> <<if ($slaves[$i].sexualFlaw != "cum addict")>> <<if ($slaves[$i].fetish != "cumslut")>> <<if ($slaves[$i].dietCum == 2)>> <<if ($cockFeeder == 0)>> <<if random(1,100) > 50>> Her @@color:mediumorchid;disgusting diet@@ is little more than human ejaculate infused with nutritional supplements, and she's unable to hold most of it down. <<set _weightLoss to 8>> <<set _assetLoss to 4>> <<set $slaves[$i].devotion -= 4>> <<else>> Despite her food being filled with large amounts of thick, human ejaculate, she manages to choke down enough that she doesn't get sick from malnourishment. <<set _weightGain to 6>> <<set _assetLoss to 4>> <<set $slaves[$i].devotion -= 2>> <</if>> <<else>> The phallic feeders inject her food directly into her stomach, helping her get her prescribed servings so that her weight loss is safe and consistent. However, the unmistakable taste of cum she burps up afterward @@color:mediumorchid;nauseates@@ and @@color:gold;unnerves@@ her. <<set _weightLoss to 5>> <<set _assetLoss to 5>> <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 1>> <</if>> <<elseif ($slaves[$i].dietCum == 1)>> <<if ($cockFeeder == 0)>> <<if random(1,100) < 20>> She is @@color:mediumorchid;troubled@@ by the use of human ejaculate as a food additive, and she has a problem keeping all of her food down. <<set _weightLoss to 7>> <<set _assetLoss to 4>> <<set $slaves[$i].devotion -= 2>> <<else>> Despite having human ejaculate added to her food, she manages to choke it down this week, @@color:mediumorchid;but it's a struggle.@@ <<set _weightLoss to 5>> <<set _assetLoss to 5>> <<set $slaves[$i].devotion -= 2>> <</if>> <<else>> The phallic feeders inject her food directly into her stomach, helping her get her prescribed servings so that her weight loss is safe and consistent. However, the thought of being force fed food with ejaculate in it @@color:mediumorchid;disturbs her.@@ <<set _weightLoss to 5>> <<set _assetLoss to 5>> <<set $slaves[$i].devotion -= 3>> <</if>> <</if>> <<elseif $slaves[$i].fetishKnown == 1>> She <<if $slaves[$i].fetishStrength < 60 >> is used to eating cum<<else>>loves eating cum<</if>>, so she <<if $slaves[$i].behavioralFlaw is "gluttonous">>desperately <</if>>sucks down every drop of the <<if $slaves[$i].dietCum == 2>>nutritionally supplemented human ejaculate<<else>>cum supplemented food<</if>> she's given to eat, especially because her servings are small. <<if $slaves[$i].fetishStrength < 95>> <<if $slaves[$i].dietCum == 2>> The high concentration of cum in her food @@color:lightcoral;further@@ <<if $slaves[$i].fetishStrength < 60>>@@color:lightcoral;habituates@@<<else>>@@color:lightcoral;endears@@<</if>>@@color:lightcoral; her to the taste.@@ <<set $slaves[$i].fetishStrength += 2>> <<elseif $slaves[$i].dietCum == 1>> Having cum added to her food makes her <<if $slaves[$i].fetishStrength < 60>>@@color:lightcoral;even more used to the taste of it.@@<<else>>@@color:lightcoral;love the taste of it even more.@@<</if>> <<set $slaves[$i].fetishStrength += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <<else>> /* For Devotion Higher than 20 */ <<if $slaves[$i].sexualFlaw is "cum addict">> <<if $slaves[$i].dietCum == 2>> <<if $slaves[$i].behavioralFlaw != "anorexic">>Despite wanting more to eat, t<<else>>T<</if>>he cum addict is relieved to have such high-concentrations of cum in her diet. <<elseif $slaves[$i].dietCum == 1>> Although her food is supplemented with ejaculate, she is so addicted to cum that restricting the amount she can eat @@color:mediumorchid;upsets her.@@ <<set $slaves[$i].devotion -= 1>> <</if>> <</if>> <</if>> <<if _weightLoss == 8>> Her weight loss this week is so dramatic as to be dangerous, and @@color:red;her health suffers because of it.@@ @@color:gold;Your disregard for her well-being scares her.@@ <<set $slaves[$i].health -= 4>> <<set $slaves[$i].trust -= 2>> <<elseif _weightLoss == 7>> Distate for her food caused her to lose weight a bit too quickly, and by the end of the week she looks @@color:gold;a little unsettled@@ and @@color:red;slightly malnourished.@@ <<set $slaves[$i].health -= 1>> <<set $slaves[$i].trust -= 1>> <<elseif _weightLoss == 6>> Due to her distaste for her diet, she loses a bit more weight than she was supposed to this week, making her @@color:gold;a little anxious.@@ <<set $slaves[$i].trust -= 1>> <<elseif _weightLoss == 5>> She loses weight. <</if>> <<set $slaves[$i].weight -= _weightLoss+($feeder*2)>> <<if $slaves[$i].boobs-$slaves[$i].boobsImplant >= 200>> <<if random(1,_assetLoss) <= 1+$feeder>> @@color:orange;Her breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <</if>> <</if>> <<if $slaves[$i].butt > 1>> <<if random(1,_assetLoss) <= 1+$feeder>> @@color:orange;Her butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <<if ($slaves[$i].weight < -95)>> She is now quite skinny, so her diet @@color:yellow;has defaulted to maintenance of this weight.@@ <<set $slaves[$i].diet to "healthy">> <</if>> <<elseif ($slaves[$i].diet is "fattening")>> /* Weight Gain */ <<set _weightGain to 5>> <<set _assetGain to 5>> <<if ($slaves[$i].behavioralFlaw is "anorexic")>> Suffering from anorexia, @@color:mediumorchid;she is intensely resentful of being overfed.@@ <<set $slaves[$i].devotion -= 5>> <<elseif ($slaves[$i].behavioralFlaw is "gluttonous")>> As a glutton, <<if ($slaves[$i].devotion >= -20)>> @@color:hotpink;she derives almost sexual pleasure from being overfed.@@ <<set $slaves[$i].devotion += 4>> <<else>> she accepts being overfed. <</if>> <<elseif ($slaves[$i].devotion <= 20)>> @@color:mediumorchid;She resents being overfed.@@ <<set $slaves[$i].devotion -= 4>> <</if>> <<if ($slaves[$i].devotion <= 20)>> <<if ($slaves[$i].dietCum > 0)>> <<if ($slaves[$i].sexualFlaw != "cum addict")>> <<if ($slaves[$i].fetish != "cumslut")>> <<if ($slaves[$i].dietCum == 2)>> <<if ($cockFeeder == 0)>> <<if random(1,100) > 50>> @@color:mediumorchid;She is disgusted@@ that she is forced to drink large amounts of human ejaculate for sustenance. <<if $slaves[$i].sexualFlaw == "hates oral">>This is @@color:mediumorchid;exacerbated@@ by her hatred of oral sex.<</if>> She has trouble holding her food down. <<set _weightGain to 0>> <<set $slaves[$i].devotion -= 4>> <<if $slaves[$i].sexualFlaw == "hates oral">> <<set $slaves[$i].devotion -= 1>> <</if>> <<else>> Despite her food being filled with large amounts of human ejaculate, she manages to keep some of it down, but @@color:mediumorchid;she hates you for it.@@ <<set _weightGain to 2>> <<set _assetGain to 10>> <<set $slaves[$i].devotion -= 2>> <</if>> <<else>> <<if random(1,100) < 30>> The phallic feeders inject her food directly into her stomach, helping her get the extra calories she's been prescribed, but the @@color:mediumorchid;ejaculate based food is so heavy in her tummy@@ that she loses a tiny bit of her intake to post-meal nausea. <<set _weightGain to 4>> <<set _assetGain to 6>> <<set $slaves[$i].devotion -= 4>> <<else>> The phallic feeders inject her food directly into her stomach, ensuring that she gets all of her prescribed calories, and @@color:mediumorchid;despite some intense nausea afterwards,@@ she's able to keep her heavy cum diet down. <<set $slaves[$i].devotion -= 4>> <</if>> <</if>> <<elseif ($slaves[$i].dietCum == 1)>> <<if ($cockFeeder == 0)>> <<if random(1,100) < 15>> She hates being forced to eat food that is supplemented with cum as her primary source of nourishment<<if $slaves[$i].sexualFlaw is "hates oral">>, and her hatred of oral sex makes it even worse.<<else>>.<</if>> @@color:mediumorchid;She is so disgusted@@ that she has trouble keeping most of her food down. <<set _weightGain to 0>> <<set $slaves[$i].devotion -= 4>> <<else>> Despite her food tasting strongly of cum, she manages to choke down most of it this week, @@color:mediumorchid;but she resents being a cum-fed whore.@@ <<set _weightGain to 3>> <<set _assetGain to 8>> <<set $slaves[$i].devotion -= 2>> <</if>> <<else>> The phallic feeders inject her food directly into her stomach, helping her get her prescribed calories, even though @@color:mediumorchid;she hates the idea of being force-fed cum.@@ <<set $slaves[$i].devotion -= 2>> <</if>> <</if>> <<elseif $slaves[$i].fetishKnown == 1>> <<if $slaves[$i].behavioralFlaw is "anorexic">>Despite her predilection to starve herself, s<<else>>S<</if>>he <<if $slaves[$i].fetishStrength > 60>>loves cum so much that she <</if>>can't help but suck down every drop of the nutrition infused human ejaculate she's given to eat. <<if $slaves[$i].fetishStrength < 95>> <<if $slaves[$i].dietCum == 2>> The high concentration of cum in her food @@color:lightcoral;further@@ <<if $slaves[$i].fetishStrength < 60>>@@color:lightcoral;habituates@@<<else>>@@color:lightcoral;endears@@<</if>>@@color:lightcoral; her to the taste.@@ <<set $slaves[$i].fetishStrength += 1>> <<elseif $slaves[$i].dietCum == 1>> Having cum added to her food makes her <<if $slaves[$i].fetishStrength < 60>>@@color:lightcoral;even more used to the taste of it.@@<<else>>@@color:lightcoral;love the taste of it even more.@@<</if>> <<set $slaves[$i].fetishStrength += 1>> <</if>> <</if>> <</if>> <<else>> <<if $slaves[$i].dietCum == 2>> She hates herself for it, but the cum addict is @@color:lightpink;grateful@@ to have so much ejaculate in her diet, especially because she's given extra food this week. <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].dietCum == 1>> The cum addict @@color:gold;anxiously@@ slurps up every drop of her cum-supplemented food this week. She eats all the extra food she's given and is @@color:mediumorchid;disturbed@@ by her insatiable hunger for more. <<set $slaves[$i].devotion -= 1>> <<set $slaves[$i].trust -= 1>> <</if>> <</if>> <</if>> <<if ($slaves[$i].dietMilk > 0)>> <<if ($slaves[$i].sexualFlaw != "breast growth")>> <<if ($slaves[$i].fetish != "pregnancy")>> <<if ($slaves[$i].dietMilk == 2)>> <<if ($cockFeeder == 0)>> Despite her food being based on huge quantities breast milk, she manages to keep most of it down, but @@color:mediumorchid;she hates you for it.@@ <<set _weightGain to 2>> <<set _assetGain to 10>> <<set $slaves[$i].devotion -= 2>> <<else>> The phallic feeders inject her food directly into her stomach, ensuring that she gets all of her prescribed calories, and @@color:mediumorchid;despite some intense nausea afterwards,@@ she's able to keep her heavy milk diet down. <<set $slaves[$i].devotion -= 4>> <</if>> <<elseif ($slaves[$i].dietMilk == 1)>> <<if ($cockFeeder == 0)>> Despite her food tasting strongly of human breast milk, she manages to choke down most of it this week, @@color:mediumorchid;but she resents being a milk-fed whore.@@ <<set _weightGain to 3>> <<set _assetGain to 8>> <<set $slaves[$i].devotion -= 2>> <<else>> The phallic feeders inject her food directly into her stomach, helping her get her prescribed calories, even though @@color:mediumorchid;she hates the idea of being force-fed human milk.@@ <<set $slaves[$i].devotion -= 2>> <</if>> <</if>> <<elseif $slaves[$i].fetishKnown == 1>> <<if $slaves[$i].behavioralFlaw is "anorexic">>Despite her predilection to starve herself, s<<else>>S<</if>>he <<if $slaves[$i].fetishStrength > 60>>loves breast milk so much that she <</if>>can't help but suck down every drop of the nutrition infused human milk she's given to eat. <<if $slaves[$i].fetishStrength < 95>> <<if $slaves[$i].dietMilk == 2>> The high concentration of milk in her food @@color:lightcoral;further@@ <<if $slaves[$i].fetishStrength < 60>>@@color:lightcoral;habituates@@<<else>>@@color:lightcoral;endears@@<</if>>@@color:lightcoral; her to the corruption of normal pregnancy and motherhood.@@ <<set $slaves[$i].fetishStrength += 1>> <<elseif $slaves[$i].dietMilk == 1>> Having milk added to her food makes her <<if $slaves[$i].fetishStrength < 60>>@@color:lightcoral;accept perversion of normal pregnancy.@@<<else>>@@color:lightcoral;even hornier for anything related to pregnancy.@@<</if>> <<set $slaves[$i].fetishStrength += 1>> <</if>> <</if>> <</if>> <<else>> <<if $slaves[$i].dietMilk == 2>> She hates herself for it, but the breast growth fanatic is @@color:lightpink;grateful@@ to have so much mother's milk in her diet, especially because she's given extra food this week. <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].dietMilk == 1>> The breast growth fanatic @@color:gold;anxiously@@ slurps up every drop of her milk-supplemented food this week. She eats all the extra food she's given and is @@color:mediumorchid;disturbed@@ by her insatiable hunger for more mother's milk. <<set $slaves[$i].devotion -= 1>> <<set $slaves[$i].trust -= 1>> <</if>> <</if>> <</if>> <<else>> /* For Devotion Higher than 20 See Below for more diet effects for this condition*/ <<if $slaves[$i].sexualFlaw is "cum addict">> <<if $slaves[$i].dietCum == 2>> Her diet is almost pure human ejaculate with nutritional additives<<if $slaves[$i].behavioralFlaw is "anorexic">>. Despite her desire to remain thin, her cum addiction is even more powerful.<<else>>--the perfect food for a cum addict.<</if>> She gets extra food this week. She makes a sloppy mess at feeding time, getting cum all over herself, and she is unashamed of her pathological need to be your cum-fed slut. @@color:hotpink;She's a happy little cum-piggy.@@ The only drawback is that some of her food ends up on her, rather than in her. <<set $slaves[$i].devotion += 3>> <<set _weightGain to 4>> <<set _assetGain to 6>> <<elseif $slaves[$i].dietCum == 1>> Her food is infused with ejaculate, <<if $slaves[$i].behavioralFlaw is "anorexic">>and her cum addiction trumps her desire to remain thin. S<<else>>and s<</if>>he is @@color:hotpink;thrilled to get extra this week.@@ She gobbles down every last drop like the happy <<if $slaves[$i].weight < 0>>little <<else>>chubby <</if>>cum addict she is. <<set $slaves[$i].devotion += 2>> <</if>> <</if>> <</if>> <<if (_weightGain > 0)>> <<if _weightGain == 5>> She gains weight. <<elseif _weightGain >= 3>> She gains some weight. <<elseif _weightGain >= 1>> She gains a little weight, but her progress was severely limited by what she was forced to eat, @@color:gold;making for an anxious week for her.@@ <<set $slaves[$i].trust -= 1>> <</if>> <<set $slaves[$i].weight += _weightGain+($feeder*2)>> <<if random(1,_assetGain) <= 1+$feeder>> @@color:lime;Her breasts get a little bigger.@@ <<set $slaves[$i].boobs += 50>> <</if>> <<if random(1,_assetGain) <= 1+$feeder>> @@color:lime;Her butt gets a little bigger.@@ <<set $slaves[$i].butt + 1>> <</if>> <<if $slaves[$i].weight > 95>> She is now quite fat, so her diet @@color:yellow;has defaulted to maintenance of this weight.@@ <<set $slaves[$i].diet to "healthy">> <</if>> <<else>> She doesn't gain any weight this week. <</if>> <<elseif ($slaves[$i].diet is "muscle building")>> /* Muscle Gain */ <<if $slaves[$i].muscles > 90>> Her heavy workouts focus on lifting. She has plateaued at a state of @@color:lime;goddess-like musculature.@@ <<set $slaves[$i].muscles = 100>> <<set $slaves[$i].diet to "healthy">> <<elseif ($slaves[$i].drugs is "steroids")>> Her heavy workouts focus on lifting, and since she's on so much gear, she @@color:lime;gains muscle rapidly.@@ <<set $slaves[$i].muscles += 8>> <<elseif ($slaves[$i].balls > 0) && ($slaves[$i].hormones > 0)>> Her heavy workouts focus on lifting, but with natural testosterone and artificial female hormones clashing in her system, she only @@color:lime;slowly gains muscle.@@ <<set $slaves[$i].muscles += 3>> <<elseif ($slaves[$i].balls > 0) && ($slaves[$i].hormones < 0)>> Her heavy workouts focus on lifting, and with natural testosterone and artificial male hormones in her system, she @@color:lime;gains muscle rapidly.@@ <<set $slaves[$i].muscles += 8>> <<elseif ($slaves[$i].balls > 0)>> Her heavy workouts focus on lifting, and with natural testosterone in her system, she @@color:lime;gains muscle.@@ <<set $slaves[$i].muscles += 5>> <<elseif ($slaves[$i].hormones < 0)>> Her heavy workouts focus on lifting, and with artificial testosterone in her system, she @@color:lime;gains muscle.@@ <<set $slaves[$i].muscles += 5>> <<elseif ($slaves[$i].hormones > 0)>> Her heavy workouts focus on lifting, but with lots of female hormones in her system, she barely @@color:lime;gains muscle.@@ <<set $slaves[$i].muscles += 2>> <<else>> Her heavy workouts focus on lifting, and she @@color:lime;slowly gains muscle.@@ <<set $slaves[$i].muscles += 3>> <</if>> <<if ($slaves[$i].behavioralQuirk is "fitness")>> She attacks lifting with real enthusiasm, further increasing her mass. <<set $slaves[$i].muscles += 2>> <</if>> <<if random(1,100) > 90>> <<if ($slaves[$i].boobs-$slaves[$i].boobsImplant >= 200)>> @@color:orange;Her breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <<elseif ($slaves[$i].butt > 1)>> @@color:orange;Her butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <<if random(1,100) > 80>> Her workout successes have @@color:green;improved her health.@@ <<set $slaves[$i].health += 10>> <</if>> <<if $slaves[$i].weight > 10>> Her workouts have also @@color:orange;burned off some excess fat.@@ <<set $slaves[$i].weight -= 2>> <</if>> <<elseif ($slaves[$i].diet is "slimming")>> /* Muscle Loss */ <<if $slaves[$i].muscles <= 5>> Her long workouts focus on cardio. She has finally @@color:lime;lost all visible musculature.@@ <<set $slaves[$i].muscles = 0>> <<set $slaves[$i].diet to "healthy">> <<elseif ($slaves[$i].drugs is "steroids")>> Her long workouts focus on cardio, but since she's still shooting gear, she @@color:lime;loses mass slowly.@@ <<set $slaves[$i].muscles -= 3>> <<elseif ($slaves[$i].balls > 0) && ($slaves[$i].hormones < 0)>> Her long workouts focus on cardio, but since she's got so much natural and artificial testosterone, she @@color:lime;loses mass slowly.@@ <<set $slaves[$i].muscles -= 3>> <<elseif ($slaves[$i].balls > 0) && ($slaves[$i].hormones > 0)>> Her long workouts focus on cardio, and with the natural testosterone in her system counteracted by hormone treatment, she @@color:lime;loses musculature.@@ <<set $slaves[$i].muscles -= 5>> <<elseif ($slaves[$i].balls > 0)>> Her long workouts focus on cardio, but with some natural testosterone in her system, she @@color:lime;loses muscle slowly.@@ <<set $slaves[$i].muscles -= 3>> <<elseif ($slaves[$i].hormones > 0)>> Her long workouts focus on cardio, and with female hormone treatment, she @@color:lime;loses musculature rapidly.@@ <<set $slaves[$i].muscles -= 8>> <<elseif ($slaves[$i].hormones < 0)>> Her long workouts focus on cardio, but under male hormone treatment, she @@color:lime;loses muscle slowly.@@ <<set $slaves[$i].muscles -= 3>> <<else>> Her long workouts focus on cardio, and she @@color:lime;loses musculature.@@ <<set $slaves[$i].muscles -= 5>> <</if>> <<if ($slaves[$i].behavioralQuirk is "fitness")>> She approaches endurance work with real enthusiasm, quickly slimming her down. <<set $slaves[$i].muscles -= 2>> <</if>> <<if random(1,100) > 90>> <<if ($slaves[$i].boobs-$slaves[$i].boobsImplant >= 200)>> @@color:orange;Her breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <<elseif ($slaves[$i].butt > 1)>> @@color:orange;Her butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <<if random(1,100) > 80>> Her workout successes have @@color:green;improved her health.@@ <<set $slaves[$i].health += 10>> <</if>> <<if $slaves[$i].weight > 10>> Her workouts have also @@color:orange;burned off some excess fat.@@ <<set $slaves[$i].weight -= 2>> <</if>> <<elseif ($slaves[$i].diet is "cum production")>> <<if ($slaves[$i].attrXX < 80)>> She finds herself @@color:lime;fantasizing about fucking girls@@ in her free time. <<set $slaves[$i].attrXX += 2>> <</if>> <<if ($slaves[$i].balls < 6) && (random(1,100) > 90)>> Her @@color:lime;balls swell@@ to better accommodate her increased cum production. <<set $slaves[$i].balls += 1>> <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength < 95) && ($slaves[$i].fetish is "pregnancy")>> Her thoughts frequently drift towards @@color:coral;bellies swelling with her children@@ whenever she has sex or pleasures herself. <<set $slaves[$i].fetishStrength += 1>> <<elseif ($slaves[$i].energy < 90) && ($slaves[$i].fetish is "pregnancy")>> Her eagerness for sex @@color:lime;grows stronger@@ the more her aching nuts yearn to inseminate a fertile womb. <<set $slaves[$i].energy += 1>> <</if>> <</if>> <<if ($slaves[$i].fetishStrength <= 65)>> <<if ($slaves[$i].fetish != "pregnancy")>> <<if $fetishChangeChance > random(0,100)>> She begins to find the thought of filling a fertile womb with sperm @@color:lime;irresistable@@. <<set $slaves[$i].fetish to "pregnancy">> <<set $slaves[$i].fetishKnown to 1>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].diet is "XX")>> /* Female Hormones */ <<if ($slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1) && ($slaves[$i].balls > 0)>> /* herm */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be prettier if she was more feminine @@color:hotpink;lets her enjoy@@ the estrogen rich food given to her. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].weight < 30>> Hormonal changes encourage her body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 500)>> Her breasts @@color:lime;grow slightly@@ from the estrogen. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 4 && random(1,100) > 75>> Her rear @@color:lime;rounds out@@ to fit her developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<if $slaves[$i].dick > 1 && random(1,100) > 95>> Her dick @@color:orange;shrinks slightly@@ due to her body chemistry. <<set $slaves[$i].dick -= 1>> <</if>> <<if $slaves[$i].balls > 1 && random(1,100) > 95>> Her balls @@color:orange;shrivel@@ due to her body chemistry. <<set $slaves[$i].balls -= 1>> <</if>> <<elseif $slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1>> /* female */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be prettier if she was more fertile @@color:hotpink;lets her enjoy@@ the estrogen rich food given to her. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].weight < 40>> Hormonal changes encourage her body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 600)>> Her breasts @@color:lime;grow slightly@@ from the estrogen. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 5 && random(1,100) > 75>> Her rear @@color:lime;rounds out@@ to fit her developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<elseif $slaves[$i].balls > 0>> /* male */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be prettier if she was more feminine @@color:hotpink;lets her enjoy@@ the estrogen rich food given to her. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].weight < 20>> Hormonal changes encourage her body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 400)>> Her breasts @@color:lime;grow slightly@@ from the estrogen. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 3 && random(1,100) > 75>> Her rear @@color:lime;rounds out@@ to fit her developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<if $slaves[$i].dick > 1 && random(1,100) > 99>> Her dick @@color:orange;shrinks slightly@@ due to her body chemistry. <<set $slaves[$i].dick -= 1>> <</if>> <<if $slaves[$i].balls > 1 && random(1,100) > 99>> Her balls @@color:orange;shrivel@@ due to her body chemistry. <<set $slaves[$i].balls -= 1>> <</if>> <</if>> <<if $slaves[$i].attrXY < 100>> She begins to find men @@color:lime;a little more attractive@@ thanks to the female hormones. <<set $slaves[$i].attrXY += 1>> <</if>> <<if $slaves[$i].energy < 70>> Hormones leave her feeling @@color:lime;a little more frisky@@ towards others. <<set $slaves[$i].energy += 1>> <</if>> <<elseif ($slaves[$i].diet is "XY")>> /* Male Hormones */ <<if ($slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1) && ($slaves[$i].balls > 0)>> /* herm */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be handsomer if she was more masculine @@color:hotpink;lets her enjoy@@ the testosterone rich food given to her. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].muscles < 60>> Hormonal changes encourage her body to @@color:lime;gain muscle.@@ <<set $slaves[$i].muscles += 1>> <</if>> <<if $slaves[$i].dick < 4 && random(1,100) > 95>> Her dick @@color:lime;grows slightly@@ due to the male hormones in her diet. <<set $slaves[$i].dick += 1>> <</if>> <<if $slaves[$i].balls < 3 && random(1,100) > 95>> Her balls @@color:lime;swell@@ due to the male hormones in her diet. <<set $slaves[$i].balls += 1>> <</if>> <<if ($slaves[$i].breasts > 400)>> Her breasts @@color:orange;lose some mass@@ from the lack of estrogen in her diet. <<set $slaves[$i].boobs -= 10>> <</if>> <<elseif $slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1>> /* female */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be handsomer if she was less feminine @@color:hotpink;lets her enjoy@@ the testosterone rich food given to her. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].muscles < 15>> Hormonal changes encourage her body to @@color:lime;gain muscle.@@ <<set $slaves[$i].muscles += 1>> <</if>> <<if ($slaves[$i].breasts > 500)>> Her breasts @@color:orange;lose some mass@@ from the lack of estrogen in her diet. <<set $slaves[$i].boobs -= 10>> <</if>> <<elseif $slaves[$i].balls > 0>> /* male */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be handsomer if she was more masculine @@color:hotpink;lets her enjoy@@ the testosterone rich food given to her. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].muscles < 30>> Hormonal changes encourage her body to @@color:lime;gain muscle.@@ <</if>> <<if $slaves[$i].dick < 4 && random(1,100) > 95>> Her dick @@color:lime;grows slightly@@ due to the male hormones in her diet. <<set $slaves[$i].dick += 1>> <</if>> <<if $slaves[$i].balls < 4 && random(1,100) > 95>> Her balls @@color:lime;swell@@ due to the male hormones in her diet. <<set $slaves[$i].balls += 1>> <</if>> <<if ($slaves[$i].breasts > 300)>> Her breasts @@color:orange;lose some mass@@ to better suit her body chemistry. <<set $slaves[$i].boobs -= 10>> <</if>> <</if>> <<if $slaves[$i].attrXX < 100>> She begins to find women @@color:lime;a little more attractive@@ thanks to the male hormones. <<set $slaves[$i].attrXX += 1>> <</if>> <<if $slaves[$i].energy < 70>> Hormones leave her feeling @@color:lime;a little more frisky@@ towards others. <<set $slaves[$i].energy += 1>> <</if>> <<elseif ($slaves[$i].diet is "XXY")>> /* Futa Hormones */ <<if ($slaves[$i].behavioralQuirk is "insecure")>> Despite some doubts lurking at the back of her mind, your insistence that she will be gorgeous if she embraced both halves of her sexuality @@color:hotpink;lets her enjoy@@ her special diet. <<set $slaves[$i].devotion += 1>> <</if>> <<if $slaves[$i].muscles < 90>> Hormonal changes encourage her body to @@color:lime;gain muscle.@@ <<set $slaves[$i].muscles += 1>> <</if>> <<if $slaves[$i].weight < 50>> Hormonal changes encourage her body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 800)>> Her breasts @@color:lime;grow slightly@@ to fit her developing femininity. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 5 && random(1,100) > 75>> Her rear @@color:lime;rounds out@@ to fit her developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<if $slaves[$i].dick < 5 && random(1,100) > 90>> Her dick @@color:lime;grows slightly@@ to fit her developing masculinity. <<set $slaves[$i].dick += 1>> <</if>> <<if $slaves[$i].balls < 5 && random(1,100) > 90>> Her balls @@color:lime;swell@@ to fit her developing masculinity. <<set $slaves[$i].balls += 1>> <</if>> <<if $slaves[$i].attrXX < 100>> She begins to find women @@color:lime;a little more attractive@@ thanks to her specialized hormones. <<set $slaves[$i].attrXX += 1>> <</if>> <<if $slaves[$i].attrXY < 100>> She begins to find men @@color:lime;a little more attractive@@ thanks to her specialized hormones. <<set $slaves[$i].attrXY += 1>> <</if>> <<if $slaves[$i].energy < 90>> She hormones leave her feeling @@color:lime;a little more frisky@@ towards others. <<set $slaves[$i].energy += 1>> <</if>> <</if>> <<if ($slaves[$i].dietCum > 0)>> <<if ($slaves[$i].devotion > 20)>> /* Diet effects for Devotion over 20 -- For ALL cum diets */ <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength > 95) && ($slaves[$i].fetish is "cumslut")>> She @@color:hotpink;regularly orgasms@@ while sucking down her cum-infused breakfast. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].energy > 95) || ($slaves[$i].fetish is "cumslut")>> She @@color:hotpink;enjoys@@ the perversity of having large amounts of ejaculate in her diet. <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <<if ($slaves[$i].fetishStrength <= 95)>> <<if ($slaves[$i].fetish != "cumslut")>> <<if $fetishChangeChance > random(0,100)>> After sucking down cum for sustenance, she has started to think of the stuff as a @@color:lightcoral;normal part@@ of life. <<set $slaves[$i].fetish to "cumslut">> <<set $slaves[$i].fetishKnown to 1>> <</if>> <</if>> <</if>> <<else>> /* For devotion under 20. This is for all cum diets EXCEPT restricted and fattening diets. See above for those effects */ <<if ($slaves[$i].sexualFlaw != "cum addict")>> <<if ($slaves[$i].fetish != "cumslut")>> <<if $slaves[$i].diet != "fattening">> <<if $slaves[$i].diet != "restricted">> <<if $slaves[$i].energy < 60>> <<if $slaves[$i].dietCum == 2>> Her diet is basically pure ejaculate supplemented by nutritional vitamins. Being forced to rely on human sex-fluid for sustenance @@color:mediumorchid;nauseates her.@@ <<set $slaves[$i].devotion -= 3>> <<elseif $slaves[$i].dietCum == 1>> She is @@color:mediumorchid;nauseated@@ by the large amounts of ejaculate in her diet. <<set $slaves[$i].devotion -= 2>> <</if>> <<if $slaves[$i].weight >= -95>> <<if $cockFeeder != 1>> <<if $slaves[$i].dietCum == 2>> She has trouble keeping her disgusting food down; she loses weight. <<set $slaves[$i].weight -= 5>> <<elseif $slaves[$i].dietCum == 1>> <<if random(1,3) == 3>> She has trouble keeping her disgusting food down; she loses weight. <<if ($slaves[$i].boobs-$slaves[$i].boobsImplant >= 200)>> @@color:orange;Her breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <<elseif ($slaves[$i].butt > 1)>> @@color:orange;Her butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <</if>> <<else>> Despite her revulsion, the deep-throating phallic feeders ensure that she swallows all her food. <</if>> <</if>> <<else>> <<if $slaves[$i].dietCum == 2>> <<if $slaves[$i].energy > 80>> She has become so sex-driven that she @@color:lime;appreciates the perversity@@ of her extreme cum diet, despite @@color:mediumorchid;it sometimes being a bit too much for her.@@ <<set $slaves[$i].devotion -= 1>> <<set $slaves[$i].energy += 1>> <<else>> Her high sex drive helps her pretend her heavy cum-based diet is the <<if $slaves[$i].fetish is "masochist">>ejaculate of an abusive lover<<elseif $slaves[$i].fetish is "boobs">>fresh milk from a pretty dairy cow<<elseif $slaves[$i].fetish is "submissive">>ejaculate of a dominant partner<<elseif $slaves[$i].fetish is "pregnancy">>ejaculate of her future baby's father<<elseif $slaves[$i].fetish is "sadist">>ejaculate of a pain-slut she recently milked<<elseif $slaves[$i].fetish is "buttslut">>ejaculate of a cock that just came from her butt<<elseif $slaves[$i].fetish is "dom">>ejaculate of a weak-minded submissive<<elseif $slaves[$i].fetish is "humiliation">>ejaculate of a publicly used slut<<else>>ejaculate of a gentle lover<</if>>--helping her keep her @@color:mediumorchid;unpleasant@@ food down. <<set $slaves[$i].devotion -= 1>> <</if>> <<elseif $slaves[$i].dietCum == 1>> <<if $slaves[$i].energy > 80>> She has become so sex-driven that she appreciates the perversity of her cum diet, making her @@color:lime;feel sexier@@ for eating it. <<set $slaves[$i].energy += 2>> <<else>> Her high sex drive helps her pretend her cum-supplemented diet is the <<if $slaves[$i].fetish is "masochist">>ejaculate of an abusive lover<<elseif $slaves[$i].fetish is "boobs">>fresh milk from a pretty dairy cow<<elseif $slaves[$i].fetish is "submissive">>ejaculate of a dominant partner<<elseif $slaves[$i].fetish is "pregnancy">>ejaculate of her future baby's father<<elseif $slaves[$i].fetish is "sadist">>ejaculate of a pain-slut she recently milked<<elseif $slaves[$i].fetish is "buttslut">>ejaculate of a cock that just came from her butt<<elseif $slaves[$i].fetish is "dom">>ejaculate of a weak-minded submissive<<elseif $slaves[$i].fetish is "humiliation">>ejaculate of a publicly used slut<<else>>ejaculate of a gentle lover<</if>>--helping her swallow her food without complaint. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $cockFeeder == 1>> /* Cockfeeder effects independent of diet type. There are other special cockfeeder effects for fattening and slimming cum diets above */ <<if $slaves[$i].fetish != "mindbroken">> <<if ($slaves[$i].sexualFlaw is "hates oral")>> <<if ndef _weightGain>> <<if random(1,100) > 80>> Getting her sustenance only after working the phallic food dispensers in the kitchen forces her to @@color:green;accept oral sex@@ as a fact of life. <<set $slaves[$i].sexualFlaw to "none">> <<else>> Being forced to get her sustenance only by working the phallic food dispensers in the kitchen @@color:mediumorchid;infuriates her,@@ since she hates oral. <<set $slaves[$i].devotion -= 4>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "cumslut")>> <<if ($slaves[$i].fetishKnown == 0)>> Being forced to get her sustenance only by working the phallic food dispensers in the kitchen has revealed something: @@color:lightcoral;she's got an oral fetish!@@ <<set $slaves[$i].fetishKnown to 1>> <<elseif ($slaves[$i].fetishStrength <= 95) && ($slaves[$i].devotion > 4)>> Being forced to get her sustenance only by working the phallic food dispensers in the kitchen has @@color:lightcoral;deepened her oral fixation.@@ <<set $slaves[$i].fetishStrength += 5>> <</if>> <<elseif ($slaves[$i].fetish != "cumslut")>> <<if ndef _weightGain>> <<if ($slaves[$i].devotion < -20)>> Being forced to get her sustenance only by working the phallic food dispensers in the kitchen @@color:mediumorchid;disgusts her.@@ <<set $slaves[$i].devotion -= 2>> <<elseif $fetishChangeChance > random(0,100)>> Getting her sustenance only after working the phallic food dispensers in the kitchen makes sucking cock to completion such an integral part of her life that she starts to @@color:lightcoral;fetishize ejaculate.@@ <<set $slaves[$i].fetish to "cumslut">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <</if>> <</if>> <</if>> <<if ($slaves[$i].sexualQuirk is "gagfuck queen")>> She @@color:hotpink;secretly enjoys@@ gagging on her breakfast every morning. <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <</if>> <<if $revealFoodEffects == 1>> She knows that every meal of the liquid slave food she <<if $cockFeeder == 1>>sucks down<<else>>eats<</if>> makes it less and less likely that she'll ever survive without it, <<if $slaves[$i].devotion > 50>> but she actually @@color:mediumaquamarine;takes a kind of comfort@@ in knowing that she'll always be a slave. <<set $slaves[$i].trust++>> <<elseif $slaves[$i].devotion > 20>> but since she's been broken to slavery, she does her best not to think about it. <<elseif $slaves[$i].devotion > -20>> and though she does her best not to think about it, it sometimes makes her @@color:gold;cry herself to sleep.@@ <<set $slaves[$i].trust-->> <<else>> knowledge that fills her with @@color:gold;fear@@ and @@color:mediumorchid;horror@@ every time she thinks about it. <<set $slaves[$i].trust--,$slaves[$i].devotion-->> <</if>> <</if>> <<else>> /* FUCKDOLL DIETS */ <<if ($slaves[$i].diet is "restricted")>> /* Weight Loss */ The ports in Fuckdoll suits allow total dietary control, and it's barely aware it's being @@color:orange;slimmed down.@@ <<set $slaves[$i].weight -= 9>> <<if random(1,2) <= 1>> <<if random(1,2) <= 1>> @@color:orange;Its breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <</if>> <</if>> <<if $slaves[$i].butt > 1>> <<if random(1,5) <= 1>> @@color:orange;Its butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <<if ($slaves[$i].weight < -95)>> It is now quite skinny, so its diet @@color:yellow;has defaulted to maintenance of this weight.@@ <<set $slaves[$i].diet to "healthy">> <</if>> <<elseif ($slaves[$i].diet is "fattening")>> /* Weight Gain */ The ports in Fuckdoll suits allow total dietary control, and it's barely aware it's being @@color:lime;fattened up.@@ <<set $slaves[$i].weight += 9>> <<if random(1,2) <= 1>> @@color:lime;Its breasts get a little bigger.@@ <<set $slaves[$i].boobs += 50>> <</if>> <<if random(1,5) <= 1>> @@color:lime;Its butt gets a little bigger.@@ <<set $slaves[$i].butt + 1>> <</if>> <<if $slaves[$i].weight > 95>> It is now quite fat, so its diet @@color:yellow;has defaulted to maintenance of this weight.@@ <<set $slaves[$i].diet to "healthy">> <</if>> <<elseif ($slaves[$i].diet is "muscle building")>> /* Muscle Gain */ Fuckdolls suits can force their inhabitants to lift weights until they drop. <<if $slaves[$i].muscles > 90>> It has plateaued at a state of @@color:lime;perfect musculature.@@ <<set $slaves[$i].muscles = 100>> <<set $slaves[$i].diet to "healthy">> <<else>> It @@color:lime;slowly gains muscle.@@ <<set $slaves[$i].muscles += 9>> <</if>> <<if random(1,100) > 90>> <<if ($slaves[$i].boobs-$slaves[$i].boobsImplant >= 200)>> @@color:orange;Its breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <<elseif ($slaves[$i].butt > 1)>> @@color:orange;Its butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <<if $slaves[$i].weight > 10>> Its workouts have also @@color:orange;burned off some excess fat.@@ <<set $slaves[$i].weight -= 2>> <</if>> The stress of forced exercise is trivial compared to everything else it experiences, and it's unaffected mentally. <<elseif ($slaves[$i].diet is "slimming")>> /* Muscle Loss */ Fuckdoll suits can force their inhabitants to work out until they drop. <<if $slaves[$i].muscles <= 10>> It has finally @@color:lime;lost all visible musculature.@@ <<set $slaves[$i].muscles = 0>> <<set $slaves[$i].diet to "healthy">> <<else>> It @@color:lime;loses musculature.@@ <<set $slaves[$i].muscles -= 9>> <</if>> <<if random(1,100) > 90>> <<if ($slaves[$i].boobs-$slaves[$i].boobsImplant >= 200)>> @@color:orange;Its breasts get a little smaller.@@ <<set $slaves[$i].boobs -= 50>> <<elseif ($slaves[$i].butt > 1)>> @@color:orange;Its butt gets a little smaller.@@ <<set $slaves[$i].butt -= 1>> <</if>> <</if>> <<if $slaves[$i].weight > 10>> Its workouts have also @@color:orange;burned off some excess fat.@@ <<set $slaves[$i].weight -= 2>> <</if>> The stress of forced exercise is trivial compared to everything else it experiences, and it's unaffected mentally. <<elseif ($slaves[$i].diet is "cum production")>> Fuckdoll suits have easily attached reserviors to catch excess cum. <<if ($slaves[$i].balls < 6) && (random(1,100) > 90)>> It's @@color:lime;balls swell@@ to better accommodate its increased cum production. <<set $slaves[$i].balls += 1>> <</if>> <<elseif ($slaves[$i].diet is "XX")>> /* Female Hormones */ The ports in Fuckdoll suits allow total dietary control, and it's barely aware it's being @@color:lime;feminized.@@ <<if ($slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1) && ($slaves[$i].balls > 0)>> /* herm */ <<if $slaves[$i].weight < 30>> Hormonal changes encourage its body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 500)>> Its breasts @@color:lime;grow slightly@@ from the estrogen. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 4 && random(1,100) > 75>> Its rear @@color:lime;rounds out@@ to fit its growing curves. <<set $slaves[$i].butt += 1>> <</if>> <<if $slaves[$i].dick > 1 && random(1,100) > 95>> Its dick @@color:orange;shrinks slightly.@@ <<set $slaves[$i].dick -= 1>> <</if>> <<if $slaves[$i].balls > 1 && random(1,100) > 95>> Its balls @@color:orange;shrivel@@ due to its body chemistry. <<set $slaves[$i].balls -= 1>> <</if>> <<elseif $slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1>> /* female */ <<if $slaves[$i].weight < 40>> Hormonal changes encourage its body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 600)>> Its breasts @@color:lime;grow slightly@@ from the estrogen. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 5 && random(1,100) > 75>> Its rear @@color:lime;rounds out@@ to fit its developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<elseif $slaves[$i].balls > 0>> /* male */ <<if $slaves[$i].weight < 20>> Hormonal changes encourage its body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 400)>> Its breasts @@color:lime;grow slightly@@ from the estrogen. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 3 && random(1,100) > 75>> Its rear @@color:lime;rounds out@@ to fit its developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<if $slaves[$i].dick > 1 && random(1,100) > 99>> Its dick @@color:orange;shrinks slightly@@ due to its body chemistry. <<set $slaves[$i].dick -= 1>> <</if>> <<if $slaves[$i].balls > 1 && random(1,100) > 99>> Its balls @@color:orange;shrivel@@ due to its body chemistry. <<set $slaves[$i].balls -= 1>> <</if>> <</if>> <<elseif ($slaves[$i].diet is "XY")>> /* Male Hormones */ The ports in Fuckdoll suits allow total dietary control, and it's barely aware it's becoming @@color:lime;masculine.@@ <<if ($slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1) && ($slaves[$i].balls > 0)>> /* herm */ <<if $slaves[$i].muscles < 60>> Hormonal changes encourage its body to @@color:lime;gain muscle.@@ <<set $slaves[$i].muscles += 1>> <</if>> <<if $slaves[$i].dick < 4 && random(1,100) > 95>> Her dick @@color:lime;grows slightly@@ due to the male hormones in its diet. <<set $slaves[$i].dick += 1>> <</if>> <<if $slaves[$i].balls < 3 && random(1,100) > 95>> Its balls @@color:lime;swell@@ due to the male hormones in its diet. <<set $slaves[$i].balls += 1>> <</if>> <<if ($slaves[$i].breasts > 400)>> ITs breasts @@color:orange;lose some mass@@ from the lack of estrogen in its diet. <<set $slaves[$i].boobs -= 10>> <</if>> <<elseif $slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1>> /* female */ <<if $slaves[$i].muscles < 15>> Hormonal changes encourage its body to @@color:lime;gain muscle.@@ <<set $slaves[$i].muscles += 1>> <</if>> <<if ($slaves[$i].breasts > 500)>> Its breasts @@color:orange;lose some mass@@ from the lack of estrogen in its diet. <<set $slaves[$i].boobs -= 10>> <</if>> <<elseif $slaves[$i].balls > 0>> /* male */ <<if $slaves[$i].muscles < 30>> Hormonal changes encourage its body to @@color:lime;gain muscle.@@ <</if>> <<if $slaves[$i].dick < 4 && random(1,100) > 95>> Its dick @@color:lime;grows slightly@@ due to the male hormones in its diet. <<set $slaves[$i].dick += 1>> <</if>> <<if $slaves[$i].balls < 4 && random(1,100) > 95>> Its balls @@color:lime;swell@@ due to the male hormones in its diet. <<set $slaves[$i].balls += 1>> <</if>> <<if ($slaves[$i].breasts > 300)>> Its breasts @@color:orange;lose some mass@@ to better suit its body chemistry. <<set $slaves[$i].boobs -= 10>> <</if>> <</if>> <<elseif ($slaves[$i].diet is "XXY")>> /* Futa Hormones */ The ports in Fuckdoll suits allow total dietary control, and it's barely aware its sexual aspects are being @@color:lime;enhanced.@@ <<if $slaves[$i].muscles < 90>> Hormonal changes encourage its body to @@color:lime;gain muscle.@@ <<set $slaves[$i].muscles += 1>> <</if>> <<if $slaves[$i].weight < 50>> Hormonal changes encourage its body to @@color:lime;grow softer.@@ <<set $slaves[$i].weight += 1>> <</if>> <<if ($slaves[$i].breasts <= 800)>> Its breasts @@color:lime;grow slightly@@ to fit its developing femininity. <<set $slaves[$i].boobs += 10>> <</if>> <<if $slaves[$i].butt < 5 && random(1,100) > 75>> Its rear @@color:lime;rounds out@@ to fit its developing femininity. <<set $slaves[$i].butt += 1>> <</if>> <<if $slaves[$i].dick < 5 && random(1,100) > 90>> Its dick @@color:lime;grows slightly@@ to fit its developing masculinity. <<set $slaves[$i].dick += 1>> <</if>> <<if $slaves[$i].balls < 5 && random(1,100) > 90>> Its balls @@color:lime;swell@@ to fit its developing masculinity. <<set $slaves[$i].balls += 1>> <</if>> <</if>> <</if>> /* CLOSES FUCKDOLL CHECK */
r3d/fc
src/uncategorized/saDiet.tw
tw
bsd-3-clause
49,406
:: SA drugs [nobr] <<switch $slaves[$i].drugs>> <<case "hormone enhancers">> $possessiveCap drug regime prepares $possessive body to accept hormonal effects. <<include "SA hormone effects">> <<case "psychosuppressants">> The psychosuppressants @@color:hotpink;reduce $possessive ability to question $possessive role@@ or @@color:mediumaquamarine;think independently.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].trust += 4>> <<if ($slaves[$i].intelligence > -2)>> They @@color:orangered;negatively impact $possessive intelligence,@@ as well. <<set $slaves[$i].intelligence -= 1>> <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if ($slaves[$i].intelligence < 0)>> <<if ($slaves[$i].fetishStrength <= 60)>> <<if ($slaves[$i].fetish != "submissive")>> <<if $fetishChangeChance > random(0,100)>> The willingness to @@color:lightcoral;submit@@ created by the drugs invades $possessive sexuality, too. <<set $slaves[$i].fetish to "submissive">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <</if>> <</if>> <</if>> <</if>> <</if>> <<case "hyper breast injections">> <<set $slaves[$i].chem += 2>> <<set $seed to 0>> $pronounCap receives @@color:lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> hyper growth hormones, right into $possessive breasts;@@ <<if ($slaves[$i].diet is "fattening")>> all the food $pronoun's required to consume fuels growth, and <<set $seed += 250>> <<elseif ($slaves[$i].diet is "restricted")>> $possessive restricted diet means $possessive body has few resources to grow on, and <<set $seed -= 50>> <<elseif ($slaves[$i].weight > 30)>> the generous diet $pronoun eats to maintain $possessive fat body helps support growth, and <<set $seed += 125>> <<elseif ($slaves[$i].weight <= -30)>> the diet $pronoun is required to maintain to keep slim impedes growth, and <<set $seed -= 25>> <<elseif ($slaves[$i].health > -20)>> $possessive health supports growth reasonably well, and <<else>> $possessive poor health does not support steady growth, and <<set $seed -= 25>> <</if>> $possessive <<if ($slaves[$i].boobs < 800)>> small chest tends to grow rapidly. <<set $seed += 1000>> <<set $seed += $injectionUpgrade>> <<if ($slaves[$i].boobShape != "saggy")>> <<if random(1,10) < 5>> As $possessive boobs rapidly grow, they become saggy under their own rapid weight gain. <<set $slaves[$i].boobShape to "saggy">> <</if>> <</if>> <<elseif ($slaves[$i].boobs < 2000)>> modest tits tend to grow fast. <<set $seed += 750>> <<set $seed += $injectionUpgrade>> <<if ($slaves[$i].boobShape != "saggy")>> <<if random(1,10) < 5>> As $possessive boobs rapidly grow, they become saggy under their own rapid weight gain. <<set $slaves[$i].boobShape to "saggy">> <</if>> <</if>> <<elseif ($slaves[$i].boobs < 5000)>> heavy boobs tend to grow modestly. <<set $seed += 500>> <<set $seed += $injectionUpgrade*0.5>> <<if ($slaves[$i].boobShape != "saggy")>> <<if random(1,10) == 1>> As they grow, they @@color:lime;begin to sag@@ under their own monstrous weight, $possessive mass of breastflesh directing $possessive nipples downward. <<set $slaves[$i].boobShape to "saggy">> <</if>> <</if>> <<elseif ($slaves[$i].boobs < 10000)>> huge boobs tend to grow slowly. <<set $seed += 250>> <<set $seed += $injectionUpgrade*0.5>> <<if ($slaves[$i].boobShape != "saggy")>> <<if random(1,10) == 1>> As they grow, they @@color:lime;begin to sag@@ under their own monstrous weight, $possessive mass of breastflesh directing $possessive nipples downward. <<set $slaves[$i].boobShape to "saggy">> <</if>> <</if>> <<else>> monstrous udders are just the right size to experience the explosive growth the drugs promise. <<set $seed += 2500>> <<set $seed += $injectionUpgrade*0.5>> <<if ($slaves[$i].boobShape != "normal")>> <<if random(1,10) == 1>> $possessiveCap @@color:lime;breasts lose their unique shape@@ as they adapt to their monstrous, unnatural size. There's simply nowhere else for her mass of boob to go, and its expansion fills her breasts out and points her nipples forward. <<set $slaves[$i].boobShape to "normal">> <</if>> <</if>> <</if>> <<if $seed > 25>> <<set $slaves[$i].boobs += $seed>> <<else>> <<set $slaves[$i].boobs += 25>> <</if>> <<if random(1,100) > 30+($slaves[$i].areolae*10)>> The increase in breast size @@color:lime;stretches and broadens $possessive areolae.@@ <<set $slaves[$i].areolae += 1>> <</if>> <<if (random(1,100) > 70) and ($slaves[$i].nipples != "inverted")>> <<if ($slaves[$i].nipples is "tiny") or ($slaves[$i].nipples is "cute") or ($slaves[$i].nipples is "puffy") or ($slaves[$i].nipples is "huge")>> The explosive increase in breast flesh also @@color:lime;completely swallows $possessive nipples.@@ <<set $slaves[$i].nipples to "inverted">> <</if>> <</if>> <<case "breast injections">> <<set $seed to 0>> $pronounCap receives @@color:lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> growth hormones, right into $possessive breasts;@@ <<if ($slaves[$i].diet is "fattening")>> all the food $pronoun's required to consume fuels growth, <<if ($slaves[$i].boobs < 2000)>>and<<else>>but<</if>> <<set $seed += 2>> <<elseif ($slaves[$i].diet is "restricted")>> $possessive restricted diet means $possessive body has few resources to grow on, <<if ($slaves[$i].boobs < 2000)>>but<<else>>and<</if>> <<set $seed -= 2>> <<elseif ($slaves[$i].weight > 30)>> the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if ($slaves[$i].boobs < 2000)>>and<<else>>but<</if>> <<set $seed += 1>> <<elseif ($slaves[$i].weight <= -30)>> the diet $pronoun is required to maintain to keep slim impedes growth, <<if ($slaves[$i].boobs < 2000)>>but<<else>>and<</if>> <<set $seed -= 1>> <<elseif ($slaves[$i].health > -20)>> $possessive health supports growth reasonably well, <<if ($slaves[$i].boobs < 2000)>>and<<else>>but<</if>> <<else>> $possessive poor health does not support steady growth, <<if ($slaves[$i].boobs < 2000)>>but<<else>>and<</if>> <<set $seed -= 1>> <</if>> $possessive <<if ($slaves[$i].boobs < 800)>> modest chest tends to grow quickly. <<set $seed += 4>> <<set $seed += $injectionUpgrade*2>> <<if ($slaves[$i].boobShape != "torpedo-shaped") && ($slaves[$i].boobShape != "wide-set")>> <<if random(1,10) == 1>> <<if $slaves[$i].shoulders < 0>> As $possessive boobs grow, they take on a torpedo shape within the frame of $possessive narrow shoulders, projecting a long way from $possessive chest and swinging delightfully when $pronoun's naked. <<set $slaves[$i].boobShape to "torpedo-shaped">> <<else>> As $possessive boobs grow, they become widely set across the broadness of $possessive chest, spreading sideways even when $pronoun's not lying on $possessive back. <<set $slaves[$i].boobShape to "wide-set">> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].boobs < 2000)>> big tits tend to grow readily. <<set $seed += 3>> <<set $seed += $injectionUpgrade*2>> <<if ($slaves[$i].boobShape is "saggy") || ($slaves[$i].boobShape is "downward-facing")>> <<if random(1,10) == 1>> As they grow, they lose their sag, with the expanding tissue lifting $possessive nipples up to point forward. <<set $slaves[$i].boobShape to "normal">> <</if>> <</if>> <<elseif ($slaves[$i].boobs < 5000)>> heavy boobs tend to grow slowly. <<set $seed += 2>> <<set $seed += $injectionUpgrade>> <<if ($slaves[$i].boobShape != "saggy")>> <<if random(1,10) == 1>> As they grow, they @@color:lime;begin to sag@@ under their own monstrous weight, $possessive mass of breastflesh directing $possessive nipples downward. <<set $slaves[$i].boobShape to "saggy">> <</if>> <</if>> <<else>> monstrous udders tend to grow very slowly. <<set $seed += 1>> <<set $seed += $injectionUpgrade>> <<if ($slaves[$i].boobShape != "normal")>> <<if random(1,10) == 1>> $possessiveCap @@color:lime;breasts lose their unique shape@@ as they adapt to their monstrous, unnatural size. There's simply nowhere else for $possessive mass of boob to go, and its expansion fills $possessive breasts out and points $possessive nipples forward. <<set $slaves[$i].boobShape to "normal">> <</if>> <</if>> <</if>> <<if $seed <= 1>> <<set $slaves[$i].boobs += 25>> <<else>> <<set $slaves[$i].boobs += 25*Math.trunc($seed*0.8)>> <</if>> <<if random(1,100) > 70+($slaves[$i].areolae*10)>> The increase in breast size @@color:lime;stretches and broadens $possessive areolae.@@ <<set $slaves[$i].areolae += 1>> <</if>> <<if (random(1,100) > 70) && ($slaves[$i].nipples != "huge")>> <<if ($slaves[$i].nipples is "tiny")>> The hormones also @@color:lime;cause nipple growth.@@ <<set $slaves[$i].nipples to "cute">> <<elseif ($slaves[$i].nipples is "cute")>> <<if random(1,2) == 1>> The hormones also @@color:lime;cause $possessive cute nipples to become puffy.@@ <<set $slaves[$i].nipples to "puffy">> <<else>> The explosive breast growth also @@color:lime;causes $possessive cute nipples to become partially inverted.@@ <<set $slaves[$i].nipples to "partially inverted">> <</if>> <<elseif ($slaves[$i].nipples is "puffy")>> <<if random(1,2) == 1>> The hormones also @@color:lime;cause $possessive puffy nipples to become really enormous.@@ <<set $slaves[$i].nipples to "huge">> <<else>> The explosive breast growth also @@color:lime;causes $possessive puffy nipples to become completely inverted.@@ <<set $slaves[$i].nipples to "inverted">> <</if>> <<elseif ($slaves[$i].nipples is "partially inverted")>> The explosive breast growth also @@color:lime;causes $possessive nipples to invert completely.@@ <<set $slaves[$i].nipples to "inverted">> <</if>> <</if>> <<case "butt injections">> <<set $seed to 0>> $pronounCap receives @@color:lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> growth hormones, right into $possessive buttocks;@@ <<if ($slaves[$i].diet is "fattening")>> all the food $pronoun's required to consume fuels growth, <<if ($slaves[$i].butt < 6)>>and<<else>>but<</if>> <<set $seed += 0.2>> <<elseif ($slaves[$i].diet is "restricted")>> $possessive restricted diet means $possessive body has few resources to grow on, <<if ($slaves[$i].butt < 6)>>but<<else>>and<</if>> <<set $seed -= 0.2>> <<elseif ($slaves[$i].weight > 30)>> the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if ($slaves[$i].butt < 6)>>and<<else>>but<</if>> <<set $seed += 0.1>> <<elseif ($slaves[$i].weight <= -30)>> the diet $pronoun is required to maintain to keep slim impedes growth, <<if ($slaves[$i].butt < 6)>>but<<else>>and<</if>> <<set $seed -= 0.1>> <<elseif ($slaves[$i].health > -20)>> $possessive health supports growth reasonably well, <<if ($slaves[$i].butt < 6)>>and<<else>>but<</if>> <<else>> $possessive poor health does not support steady growth, <<if ($slaves[$i].butt < 6)>>but<<else>>and<</if>> <<set $seed -= 0.1>> <</if>> $possessive <<if ($slaves[$i].butt < 2)>> modest rear tends to grow quickly. <<set $seed += 0.8>> <<set $seed += $injectionUpgrade*0.6>> <<elseif ($slaves[$i].butt < 4)>> big behind tends to grow readily. <<set $seed += 0.4>> <<set $seed += $injectionUpgrade*0.4>> <<elseif ($slaves[$i].butt < 6)>> massive butt tend to grow slowly. <<set $seed += 0.4>> <<set $seed += $injectionUpgrade*0.2>> <<else>> monstrous cheeks tend to grow very slowly. <<set $seed += 0.2>> <<set $seed += $injectionUpgrade*0.2>> <</if>> <<if $seed > 0.2>> <<set $slaves[$i].butt += $seed>> <<else>> <<set $slaves[$i].butt += 0.2>> <</if>> <<case "hyper butt injections">> <<set $slaves[$i].chem += 2>> <<set $seed to 0>> $pronounCap receives @@color:lime;direct injections of <<if ($injectionUpgrade != 0)>> advanced<</if>> hyper growth hormones, right into $possessive buttocks;@@ <<if ($slaves[$i].diet is "fattening")>> all the food $pronoun's required to consume fuels growth, <<if ($slaves[$i].butt < 10)>>and<<else>>but<</if>> <<set $seed += 0.2>> <<elseif ($slaves[$i].diet is "restricted")>> $possessive restricted diet means $possessive body has few resources to grow on, <<if ($slaves[$i].butt < 10)>>but<<else>>and<</if>> <<set $seed -= 0.2>> <<elseif ($slaves[$i].weight > 30)>> the generous diet $pronoun eats to maintain $possessive fat body helps support growth, <<if ($slaves[$i].butt < 6)>>and<<else>>but<</if>> <<set $seed += 0.1>> <<elseif ($slaves[$i].weight <= -30)>> the diet $pronoun is required to maintain to keep slim impedes growth, <<if ($slaves[$i].butt < 10)>>but<<else>>and<</if>> <<set $seed -= 0.1>> <<elseif ($slaves[$i].health > -20)>> $possessive health supports growth reasonably well, <<if ($slaves[$i].butt < 10)>>and<<else>>but<</if>> <<else>> $possessive poor health does not support steady growth, <<if ($slaves[$i].butt < 10)>>but<<else>>and<</if>> <<set $seed -= 0.1>> <</if>> $possessive <<if ($slaves[$i].butt < 6)>> modest rear tends to grow quickly. <<set $seed += 1.0>> <<set $seed += $injectionUpgrade*0.6>> <<elseif ($slaves[$i].butt < 8)>> gigantic behind tends to grow readily. <<set $seed += 0.8>> <<set $seed += $injectionUpgrade*0.4>> <<elseif ($slaves[$i].butt < 10)>> titanic jiggly butt tends to grow steadily. <<set $seed += 0.6>> <<set $seed += $injectionUpgrade*0.2>> <<else>> inhuman cheeks tend to grow slowly. <<set $seed += 0.4>> <<set $seed += $injectionUpgrade*0.2>> <</if>> <<if $seed > 0.2>> <<set $slaves[$i].butt += $seed>> <<else>> <<set $slaves[$i].butt += 0.2>> <</if>> <<if $slaves[$i].butt >= 20>> <<set $slaves[$i].butt to 20>> <</if>> <<case "lip injections">> <<if ($slaves[$i].lips <= 95)>> <<if ($slaves[$i].lips > 90)>> @@color:lime;$possessiveCap lips swell rapidly, becoming a facepussy useless for anything other than oral sex.@@ <<elseif ($slaves[$i].lips > 70) && ($slaves[$i].lips <= 75)>> @@color:lime;$possessiveCap lips swell rapidly, and are now so large that $pronoun can no longer enunciate properly.@@ <<else>> @@color:lime;$possessiveCap lips swell rapidly.@@ <</if>> <<set $slaves[$i].lips += 5>> <</if>> <<case "male hormone injections">> <<if $slaves[$i].pubertyXY == 1>> $pronounCap has potent sperm. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <<else>> The intense hormonal injections leave $possessive @@color:red;sickened and weak@@ and $possessive body struggles to adapt to the overwhelming chemicals flooding $possessive system. <<set $slaves[$i].chem += 20>> <<set $slaves[$i].health -= 10>> <<if $slaves[$i].energy > 5>> <<set $slaves[$i].energy -= 5>> <</if>> <</if>> <<case "female hormone injections">> <<if $slaves[$i].pubertyXX == 1>> $pronounCap has begun ovulating. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <<else>> The intense hormonal injections leave $possessive @@color:red;sickened and weak@@ and $possessive body struggles to adapt to the overwhelming chemicals flooding $possessive system. <<set $slaves[$i].chem += 20>> <<set $slaves[$i].health -= 10>> <<if $slaves[$i].energy > 5>> <<set $slaves[$i].energy -= 5>> <</if>> <</if>> <<case "penis enhancement">> <<if (random(1,100) > (40-($injectionUpgrade*10)+($slaves[$i].dick*5))) && ($slaves[$i].dick < 10)>> @@color:lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier. <<set $slaves[$i].dick += 1>> <<elseif ($slaves[$i].balls == 1) && ($slaves[$i].scrotum > 0) && (random(1,100) > (90-($injectionUpgrade*10)))>> As a side effect of the dick enhancement drugs, @@color:lime;$possessive balls drop.@@ <<set $slaves[$i].balls += 1>> <<else>> Despite being dosed with a spectrum of powerful growth promoters, $possessive dick does not grow. <</if>> <<if $slaves[$i].dick is 6>> <<if $slaves[$i].balls > 0>> @@color:yellow;$possessiveCap dick is at the limit of what $possessive cardiovascular system could conceivably bring erect.@@ Further penis enhancement may limit $possessive ability to get hard. <</if>> <</if>> <<case "hyper penis enhancement">> $pronounCap receives @@color:lime;direct injections of hyper growth hormones, right into $possessive dick.@@ <<set $slaves[$i].chem += 2>> <<if ($slaves[$i].dick >= 30)>> $possessiveCap cock is now so huge that further drug enhancement will not increase its size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <<else>> @@color:lime;$possessiveCap cock grows painfully,@@ becoming both longer and girthier. <<set $slaves[$i].dick += 1>> <</if>> <<case "testicle enhancement">> <<if (random(1,100) > (40-($injectionUpgrade*10)+($slaves[$i].balls*5))) && ($slaves[$i].balls < 6)>> @@color:lime;$possessiveCap balls swell painfully.@@ <<set $slaves[$i].balls += 1>> <<elseif ($slaves[$i].dick < 2) && (random(1,100) > (90-($injectionUpgrade*10)))>> As a side effect of the testicle enhancement drugs, @@color:lime;$possessive micropenis grows,@@ becoming merely tiny. <<set $slaves[$i].dick += 1>> <<else>> Despite being filled with testicle enhancers and painfully swollen with resultant cum overproduction, $possessive balls do not grow. <</if>> <<case "hyper testicle enhancement">> $pronounCap receives @@color:lime;direct injections of hyper growth hormones, right into $possessive testicles;@@ formcing them to swell with cum overproduction. <<set $slaves[$i].chem += 2>> <<if ($slaves[$i].balls >= 125)>> $possessiveCap balls are now so immense that further drug enhancement will not increase their size. However, leaving her on them will still stimulate cum production. <<elseif ($slaves[$i].balls < 125)>> @@color:lime;$possessiveCap balls swell painfully.@@ <<set $slaves[$i].balls += 2>> <</if>> <<case "steroids">> <<if ($slaves[$i].dick == 0) && (random(1,100) > 40+($slaves[$i].clit*10))>> The gear $pronoun's on @@color:lime;increases the size of $possessive clit.@@ <<set $slaves[$i].clit += 1>> <<elseif ($slaves[$i].dick != 0) && ($slaves[$i].dick < 3) && (random(1,100) > 95)>> The gear $pronoun's on @@color:lime;increases the size of $possessive penis.@@ <<set $slaves[$i].dick += 1>> <<elseif (($slaves[$i].face-$slaves[$i].faceImplant) > 1) && (random(1,100) > 95)>> The gear $pronoun's on @@color:orange;hardens $possessive pretty face a little.@@ <<set $slaves[$i].face -= 1>> <<elseif ($slaves[$i].faceShape != "masculine") && ($slaves[$i].faceShape != "androgynous") && (random(1,100) > 95)>> The gear $pronoun's on @@color:orange;hardens $possessive face into androgyny.@@ <<set $slaves[$i].faceShape to "androgynous">> <<elseif ($slaves[$i].balls != 0) && ($slaves[$i].scrotum != 0) && ($slaves[$i].balls < 3) && (random(1,100) > 95)>> The gear $pronoun's on @@color:lime;increases the size of $possessive balls.@@ <<set $slaves[$i].balls += 1>> <<elseif random(1,100) > 110-($slaves[$i].anus*10)>> The steroids $pronoun's on have an effect on $possessive stretched anal muscles, giving $object a @@color:orange;tighter butthole.@@ <<set $slaves[$i].anus -= 1>> <<elseif random(1,100) > 110-($slaves[$i].vagina*10)>> The steroids $pronoun's on have an effect on $possessive vaginal muscles, giving $object a @@color:orange;tighter pussy.@@ <<set $slaves[$i].vagina -= 1>> <</if>> <<case "anti-aging cream">> <<if ($slaves[$i].visualAge <= 18)>> $possessiveCap outward age has regressed to the point that the creams will have little effect. Since they can't be improved with further drug treatment, @@color:yellow;her drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <<else>> The skin creams @@color:orange;soothe $possessive aging skin@@ leaving $possessive looking younger, though the effects are only skin deep. <<set $slaves[$i].visualAge -= 1>> <</if>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if $slaves[$i].visualAge > 30>> $pronounCap @@color:mediumaquamarine;trusts you more@@ for allowing $possessive to fit in better with society and not be singled out for $possessive looks. <<set $slaves[$i].trust += 2>> <</if>> <</if>> <<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<if $slaves[$i].visualAge > 30>> $pronounCap is @@color:gold;terrified@@ that $possessive fading age will single $possessive out for abuse in your society. <<set $slaves[$i].trust -= 2>> <</if>> <</if>> <<case "super fertility drugs">> <<if ($slaves[$i].preg > 5)>> $pronounCap's already pregnant, so the fertility drugs $pronoun's on do $possessive no good. <<elseif ($slaves[$i].vagina == -1) && ($slaves[$i].mpreg != 1)>> <<if ($slaves[$i].lactation == 0)>> Unfortunately, it's impossible to fuck $possessive asshole pregnant, limiting the potential impact of the fertility drugs $pronoun's on to $possessive boobs. <<else>> The fertility drugs $pronoun's on are pointless, since $pronoun's already lactating and it's impossible to impregnate $possessive butthole. That's no reason not to try, of course. <</if>> <<elseif ($slaves[$i].preg < -1)>> $pronounCap's sterile, so the fertility drugs $pronoun's on do $possessive no good. <<elseif ($slaves[$i].ovaries == 0) && ($slaves[$i].mpreg != 1)>> $pronounCap's barren, so the fertility drugs $pronoun's on do $possessive no good. <<elseif ($slaves[$i].pubertyXX == 0) && (($slaves[$i].ovaries == 1) || ($slaves[$i].mpreg == 1))>> $pronounCap's prepubescent, so the fertility drugs $pronoun's on do $possessive no good. <<elseif ($slaves[$i].preg == -1)>> $pronounCap's on contraceptives, so the fertility drugs $pronoun's on do $possessive no good. <<else>> $pronounCap's on super fertility drugs, so $pronoun is more likely to conceive, and will have multiple pregnancy. <</if>> <<if ($slaves[$i].lactation == 0)>> <<if random(0,50) < $slaves[$i].health>> The hormonal changes produced by the fertility drugs have the side effect of @@color:lime;inducing lactation,@@ indistinguishable from natural lactation. <<set $slaves[$i].lactation to 1>> <</if>> <</if>> <<if ($slaves[$i].attrXY < 100)>> <<if random(0,10) < $slaves[$i].health>> The hormonal changes produced by the fertility drugs cause $possessive to begin @@color:green;finding men more attractive@@. <<set $slaves[$i].attrXY += random(5,10)>> <</if>> <</if>> <<if ($slaves[$i].energy < 85)>> <<if random(0,10) < $slaves[$i].health>> The hormonal changes produced by the fertility drugs cause $possessive to @@color:green;begin craving sex more@@. <<set $slaves[$i].energy += 2>> <</if>> <</if>> <<case "fertility drugs">> <<if ($slaves[$i].preg > 5)>> $pronounCap's already pregnant, so the fertility drugs $pronoun's on do $object no good. <<elseif ($slaves[$i].vagina is -1) && ($slaves[$i].mpreg != 1)>> <<if ($slaves[$i].lactation == 0)>> Unfortunately, it's impossible to fuck $possessive asshole pregnant, limiting the potential impact of the fertility drugs $pronoun's on to $possessive boobs. <<else>> The fertility drugs $pronoun's on are pointless, since $pronoun's already lactating and it's impossible to impregnate $possessive butthole. That's no reason not to try, of course. <</if>> <<elseif ($slaves[$i].preg < -1)>> $pronounCap's sterile, so the fertility drugs $pronoun's on do $object no good. <<elseif ($slaves[$i].ovaries == 0) && ($slaves[$i].mpreg != 1)>> $pronounCap's barren, so the fertility drugs $pronoun's on do $object no good. <<elseif ($slaves[$i].pubertyXX == 0) && (($slaves[$i].ovaries == 1) || ($slaves[$i].mpreg == 1))>> $pronounCap's prepubescent, so the fertility drugs $pronoun's on do $object no good. <<elseif ($slaves[$i].preg == -1)>> $pronounCap's on contraceptives, so the fertility drugs $pronoun's on do $possessive no good. <<else>> $pronounCap's on fertility drugs, so $pronoun is more likely to conceive, and may experience multiple pregnancy. <</if>> <<if ($slaves[$i].lactation == 0)>> <<if random(0,100) < $slaves[$i].health>> The hormonal changes produced by the fertility drugs have the side effect of @@color:lime;inducing lactation,@@ indistinguishable from natural lactation. <<set $slaves[$i].lactation to 1>> <</if>> <</if>> <</switch>> <<switch $slaves[$i].pregControl>> <<case "slow gestation">> <<set $slaves[$i].chem += 1>> <<if $slaves[$i].preg > 30>> $pronounCap is full term; gestation restriction agents @@color:red;can't supress labor@@ and $possessive regimen is ended to prevent health damage. <<set $slaves[$i].pregControl = "none">> <<elseif $slaves[$i].preg > 0>> $possessiveCap belly feels very docile, $possessive gestation rate is @@color:yellow;greatly reduced@@. <</if>> <<case "speed up">> <<set $slaves[$i].chem += 2>> <<if $slaves[$i].assignment != "get treatment in the clinic" && $Nurse == 0>> <<if $slaves[$i].pregType > 1>><<set _childCount = "children are">><<else>><<set _childCount = "child is">><</if>> $possessiveCap _childCount growing rapidly within $possessive womb, far faster than $possessive @@color:red;poor body can handle.@@<<if $slaves[$i].pregType >= 10>> $possessiveCap rate of growth is straining $possessive womb, she is @@color:red;at risk of bursting!@@<</if>> <<set $slaves[$i].health -= ($slaves[$i].preg+$slaves[$i].pregType)>> <<if $slaves[$i].health <= -100>> $possessiveCap critically poor health @@color:orange;caused her to miscarry.@@ <<if ($slaves[$i].assignmentVisible == 1) && (_currentRule.preg is -1)>><<set $slaves[$i].preg to -1>><<else>><<set $slaves[$i].preg to 0>><</if>> <<if $slaves[$i].fetish != "mindbroken" && $slaves[$i].fuckdoll == 0>> $pronounCap is <<if $slaves[$i].devotion < -50>> @@color:mediumorchid;filled with violent, consuming hatred@@ and @@color:gold;fear.@@ Even though $pronoun knew $possessive baby was destined for a slave orphanage, it seems $pronoun cared for it and views you as its killer. <<set $slaves[$i].devotion -= 25, $slaves[$i].trust -= 25>> <<elseif $slaves[$i].devotion < -20>> @@color:mediumorchid;afflicted by desperate, inconsolable grief@@ and @@color:gold;horror.@@ Even though $pronoun knew $possessive baby was destined for a slave orphanage, it seems $pronoun cared for it. <<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 20>> <<elseif $slaves[$i].devotion <= 20>> @@color:mediumorchid;consumed by enduring sorrow@@ and @@color:gold;horror.@@ Even though $pronoun knew $possessive baby was destined for a slave orphanage, it seems $pronoun cared for it. <<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5>> <<elseif $slaves[$i].devotion <= 50>> dully obedient. $pronounCap has been broken to slave life so thoroughly that even this is neither surprising nor affecting. <<else>> @@color:hotpink;pleased by this stark development@@, since $pronoun is so attentive to your will. $pronounCap also expects $pronoun will be able to fuck better now once her health recovers. <<set $slaves[$i].devotion += 4>> <</if>> <</if>> <</if>> <</if>> <<case "labor supressors">> <<set $slaves[$i].chem += 2>> <<if $slaves[$i].preg > 43>> <<set $slaves[$i].health -= 20>> <<set $slaves[$i].labor = 1>> <<set $slaves[$i].induce = 1>> $pronounCap has been ready to give birth for some time now. Supressing birth for so long @@color:red;greatly affects $possessive health@@. $pronounCap may @@color:red;have trouble@@ giving birth to $possessive oversized child. $pronounCap seems to be in distress, $possessive body is @@color:red;forcing her child out!@@ <<elseif $slaves[$i].preg > 40>> <<set $slaves[$i].health -= 20>> $pronounCap has been ready to give birth for some time now. Supressing birth for so long @@color:red;greatly affects $possessive health@@. $pronounCap may @@color:red;have trouble@@ giving birth to $possessive oversized child. <<elseif $slaves[$i].preg > 30>> <<set $slaves[$i].health -= 10>> Labor supressing agents @@color:yellow;negatively affect $possessive health@@. <</if>> <</switch>> <<if $slaves[$i].curatives > 1>> <<if ($slaves[$i].health > 90)>> $possessiveCap health is already outstanding and cannot be improved with further drug treatment. @@color:yellow;$possessiveCap drug regimen has defaulted to preventatives.@@ <<set $slaves[$i].curatives = 1>> <<elseif (($slaves[$i].assignment is "rest") || ($slaves[$i].assignment is "rest in the spa")) && ($slaves[$i].fetish != "mindbroken")>> The curatives $pronoun's taking synergize with rest, keeping $object asleep most of the time. This is an @@color:green;extremely effective health treatment.@@ <<set $slaves[$i].health += 4>> <<elseif ($slaves[$i].health < -20)>> @@color:green;$possessiveCap poor health rapidly improves@@ under drug treatment. <<set $slaves[$i].health += 2>> <<else>> @@color:green;$possessiveCap health improves@@ under curative treatment. <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if $slaves[$i].fetish != "mindbroken">> $pronounCap @@color:mediumaquamarine;trusts you more@@ for giving $possessive access to expensive modern medicine. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<set $slaves[$i].health += 6>> <<set $slaves[$i].health += $curativeUpgrade*6>> <<set $slaves[$i].chem += 1>> <</if>> <<if $slaves[$i].aphrodisiacs > 0>> <<if $slaves[$i].aphrodisiacs > 1>> The aphrodisiacs $pronoun's on <<if $slaves[$i].energy <= 95>> @@color:green;rapidly boost $possessive sex drive.@@ <<set $slaves[$i].energy += 5>> <<else>> can't improve her absurd sex drive. <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if $slaves[$i].fetish != "mindbroken">> They @@color:hotpink;increase $possessive acceptance@@ of sexual slavery. <<set $slaves[$i].devotion += 5>> <</if>> <</if>> <<if ($arcologies[0].FSBodyPuristLaw == 0) || ($healthyDrugsUpgrade == 0)>> Such a high dosage @@color:red;isn't healthy@@. <<set $slaves[$i].health -= 5>> <</if>> <<set $slaves[$i].chem += 1>> <<else>> The aphrodisiacs $pronoun's on <<if $slaves[$i].energy <= 95>> @@color:green;boost $possessive sex drive.@@ <<set $slaves[$i].energy += 3>> <<else>> can't improve her absurd sex drive. <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if $slaves[$i].fetish != "mindbroken">> They @@color:hotpink;increase $possessive acceptance@@ of sexual slavery. <<set $slaves[$i].devotion += 3>> <</if>> <</if>> <<set $slaves[$i].chem += 0.5>> <</if>> <</if>> <<if $slaves[$i].drugs != "no drugs">> <<if $slaves[$i].FSBodyPuristLaw == 0>> <<if $healthyDrugsUpgrade == 0>> <<set $slaves[$i].chem += 1.5>> <</if>> <</if>> <</if>> <<set $slaves[$i].chem = Math.clamp($slaves[$i].chem-0.5, 0, 1000)>> <<if $slaves[$i].curatives < 2>> <<if $slaves[$i].health < -50>> It's difficult being so ill, and $pronoun @@color:mediumorchid;resents you@@ for not treating $possessive. <<set $slaves[$i].devotion -= 2>> <<elseif ($slaves[$i].health > 50)>> <<if $slaves[$i].fuckdoll == 0>> <<if $slaves[$i].fetish != "mindbroken">> $pronounCap understands that $pronoun owes $possessive near-perfect health to you and @@color:hotpink;believes@@ that life with you is better than freedom in some ways. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].addict > 0)>> <<if $slaves[$i].aphrodisiacs > 0>> <<if $slaves[$i].aphrodisiacs > 1>> Getting a huge dose of $possessive beloved aphrodisiacs from you @@color:hotpink;increases $possessive addiction to slavery.@@ <<set $slaves[$i].addict += 2>> <<else>> Getting the aphrodisiacs $pronoun needs from you @@color:hotpink;increases $possessive habituation to slavery.@@ <<set $slaves[$i].addict += 1>> <</if>> <<elseif ($slaves[$i].addict < 2)>> $pronounCap has finally been @@color:cyan;weaned off aphrodisiacs.@@ <<set $slaves[$i].addict to 0>> <<elseif ($aphrodisiacUpgrade == 1)>> Substitutes produced by your advanced pharmaceutical fabricator protect $object from the negative effects of aphrodisiac withdrawal and even hasten the flushing of $possessive system. <<set $slaves[$i].addict -= 2>> <<else>> $pronounCap feels the effects of withdrawal from aphrodisiacs keenly, and $pronoun is @@color:mediumorchid;bitterly resentful@@. <<set $slaves[$i].addict -= 2>> <<set $slaves[$i].devotion -= 10>> <</if>> <<else>> <<if $slaves[$i].aphrodisiacs > 0>> <<if random(1,100) < 40+(20*$slaves[$i].aphrodisiacs)>> @@color:cyan;$pronounCap has become an aphrodisiac addict.@@ <<set $slaves[$i].addict to 1>> <</if>> <</if>> <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if $suppository == 1>> <<if ($slaves[$i].aphrodisiacs > 0) || ($slaves[$i].curatives > 0) || ($slaves[$i].drugs is "psychosuppressants") || ($slaves[$i].drugs is "hormone enhancers") || ($slaves[$i].hormones != 0)>> <<if ($slaves[$i].sexualFlaw is "hates anal")>> <<if random(1,100) > 80>> Getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime forces $object to @@color:green;accept anal sex@@ as a fact of life. <<set $slaves[$i].sexualFlaw to "none">> <<else>> Getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime @@color:mediumorchid;infuriates $object,@@ since $pronoun hates getting assraped. <<set $slaves[$i].devotion -= 4>> <</if>> <<elseif ($slaves[$i].fetish is "buttslut")>> <<if ($slaves[$i].fetishKnown == 0)>> Getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime has revealed something: @@color:lightcoral;$pronoun likes it up the ass!@@ <<set $slaves[$i].fetishKnown to 1>> <<elseif ($slaves[$i].fetishStrength <= 95) && ($slaves[$i].devotion > 4)>> Getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime has @@color:lightcoral;deepened $possessive anal fixation.@@ <<set $slaves[$i].fetishStrength += 5>> <</if>> <<elseif ($slaves[$i].fetish != "buttslut")>> <<if ($slaves[$i].devotion < -20)>> Getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime @@color:mediumorchid;disgusts $object.@@ <<set $slaves[$i].devotion -= 2>> <<elseif $fetishChangeChance > random(0,100)>> $pronounCap starts to look forward to getting buttfucked morning and night by reciprocating dildos that ejaculate $possessive drug regime; $pronoun's @@color:lightcoral;become anally fixated.@@ <<set $slaves[$i].fetish to "buttslut">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <</if>> <</if>> <<if ($slaves[$i].sexualQuirk is "painal queen")>> $pronounCap @@color:hotpink;secretly enjoys@@ being assraped by a machine twice a day. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($slaves[$i].anus == 1)>> <<if random(1,100) > 70>> The regular machine anal @@color:lime;stretches out $possessive tight asshole.@@ <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> /* DRUG EXPIRY */ <<switch $slaves[$i].drugs>> <<case "breast injections">> <<if ($slaves[$i].boobs >= 25000)>> $possessiveCap udders are now so huge that further A-HGH treatment will not increase their size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "butt injections">> <<if ($slaves[$i].butt >= 9)>> $possessiveCap ass is now so huge that further A-HGH treatment will not increase its size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "hyper butt injections")>> <<if $slaves[$i].butt >= 20>> $possessiveCap ass is now so freakishly monstrous that further HA-HGH treatment will not increase its size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "hyper breast injections">> <<if ($slaves[$i].boobs >= 25000)>> $possessiveCap udders are now so huge that further HA-HGH treatment will not increase their size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "lip injections">> <<if ($slaves[$i]. lips > 95) || (($slaves[$i]. lips > 85) && ($seeExtreme != 1))>> $possessiveCap lips are now so huge that further A-HGH treatment will not increase their size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "penis enhancement">> <<if ($slaves[$i].dick >= 10) && ($slaves[$i].balls >= 6)>> $possessiveCap cock and balls are now so huge that further drug enhancement will not increase their size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <<elseif ($slaves[$i].dick >= 10) && ($slaves[$i].balls == 0)>> $possessiveCap cock is now so huge that further drug enhancement will not increase its size. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "testicle enhancement">> <<if ($slaves[$i].balls >= 6)>> $possessiveCap balls are now so huge that further drug enhancement will not increase their size. However, leaving $possessive on them will still stimulate cum production. <<elseif ($slaves[$i].balls >= 2) && ($slaves[$i].scrotum == 0)>> $possessiveCap balls are now functionally sized, and cannot sustainably grow larger hidden within $possessive abdomen. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <<case "psychosuppressants">> <<if ($slaves[$i].intelligence <= -2)>> $pronounCap is so moronic that drug treatment can't really make $possessive more willing to obey others than $pronoun already is. @@color:yellow;$possessiveCap drug regimen has been ended.@@ <<set $slaves[$i].drugs to "no drugs">> <</if>> <</switch>>
r3d/fc
src/uncategorized/saDrugs.tw
tw
bsd-3-clause
38,071
:: SA get milked [nobr] <<if ndef $slaves[$i].lactationAdaptation>> <<set $slaves[$i].lactationAdaptation to 0>> <</if>> <<set $milk to 0>> <<set $cum to 0>> gets milked this week. <<if $dairy > 0>> <<if $dairyRestraintsSetting < 2>> <<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment is "get milked") && ($dairySpots > 0)) || ($slaves[$i].assignment is "work in the dairy")>> Since there's extra space in $dairyName, she spends most of her milkings there. <<set $dairySpots -= 1>> <<if ($Milkmaid != 0)>> While there, she gets the benefit of $Milkmaid.slaveName's <<if ($Milkmaid.physicalAge < 21)>>youthful energy<<else>>care<</if>><<if ($Milkmaid.oralSkill >= 100)>>and talented tongue<<else>>.<</if>> <<if ($slaves[$i].devotion < $milkmaidDevotionThreshold)>> <<set $slaves[$i].devotion += $milkmaidDevotionBonus>> <</if>> <<if ($slaves[$i].trust < $milkmaidTrustThreshold)>> <<set $slaves[$i].trust += $milkmaidTrustBonus>> <</if>> <<if ($slaves[$i].health < 100)>> <<set $slaves[$i].health += $milkmaidHealthBonus>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $slaves[$i].lactation > 0>> <<set $milk = milkAmount($slaves[$i])>> She produces from her <<print either("tits", "breasts", "mammaries", "udders", "boobs")>>, which have a combined volume of <<print $slaves[$i].boobs*2>> CCs; <<if ($slaves[$i].lactation == 1)>> she is lactating naturally and produces a healthy stream of milk. <<elseif ($slaves[$i].lactation is 2)>> she is on lactation drugs and produces a river of milk. <<if $slaves[$i].lactationAdaptation < 100>> Her udders are forced to adapt to this unnatural productivity. <<set $slaves[$i].lactationAdaptation += 1>> <</if>> <<if $slaves[$i].curatives == 0>> The stress of extreme milk production @@color:red;damages her health.@@ <<set $slaves[$i].health -= 3>> <</if>> <</if>> <<if ($slaves[$i].devotion > 50)>> She's such a happy cow that her mental state has a positive impact on her production. <<elseif ($slaves[$i].devotion < -50)>> She's such an unhappy cow that her mental state has a negative impact on her production. <</if>> <<if ($slaves[$i].boobsImplant > 200)>> However, her breast implants impede milk production. <</if>> <<set $hormones to $slaves[$i].hormones>> <<if ($slaves[$i].balls != 0) && ($hormones > -2)>> <<set $hormones -= 1>> <</if>> <<if ($slaves[$i].ovaries != 0) && ($hormones < 2)>> <<set $hormones += 1>> <</if>> <<if ($hormones > 1)>> Her internal chemistry is perfectly suited to milk production. <<elseif ($hormones > 0)>> Her hormonal balance favors milk production. <<elseif ($hormones < 0)>> Her hormonal balance impedes milk production. <<elseif ($hormones < -1)>> Her internal chemistry is poorly suited to milk production. <</if>> <<if $slaves[$i].lactationAdaptation < 100>> <<if ($slaves[$i].assignment is "get milked") || ($slaves[$i].assignment is "work in the dairy")>> Living as a cow helps her body and mind adapt to producing milk. <<set $slaves[$i].lactationAdaptation += 1>> <</if>> <</if>> <<if ($slaves[$i].preg > 5)>> Her pregnancy helps her body produce more milk naturally<<if $slaves[$i].lactationAdaptation < 100>>, and also helps it adapt to milk production<<set $slaves[$i].lactationAdaptation += 1>><</if>>. <</if>> <<if ($slaves[$i].health > 50)>> Her shining health helps her really produce. <<elseif ($slaves[$i].health < -50)>> Her poor health impedes milk production. <</if>> <<if ($slaves[$i].weight > 10)>> Her extra weight supports her productivity. <<elseif ($slaves[$i].weight < -10)>> Her thinness hinders her productivity. <</if>> <<if $slaves[$i].lactationAdaptation > 10>> <<if $slaves[$i].lactationAdaptation > 50>> Her body has adapted heavily to milk production, making her extremely productive. <<else>> Her body has gotten used to producing milk, making her very productive. <</if>> <</if>> <<if $dairySlimMaintainUpgrade == 1>> <<if $dairySlimMaintain == 1>> <<if ($slaves[$i].boobs <= 700)>> <<if ($arcologies[0].FSSlimnessEnthusiast > 80)>> Your arcology's milkers are optimized to extract maximum output from small breasted slaves, which substantially increases her otherwise modest productivity. <<set $milk *= 1.5>> <<elseif ($arcologies[0].FSSlimnessEnthusiast > 20)>> Your arcology's milkers have been carefully modified to more readily accommodate slaves with tiny breasts, which slightly mitigates her less than ideal physiology for milk production. <<set $milk *= 1.1>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].assignment is "work in the dairy")>> <<if ($dairyFeedersUpgrade == 1)>> <<if ($dairyFeedersSetting > 0)>> <<set $milk += $milk*(0.1*($dairyFeedersUpgrade+$dairyRestraintsSetting+((50-$slaves[$i].physicalAge)/20)))>> <<if ($slaves[$i].chem > 360)>> <<set $milk *= 0.6>> <<elseif ($slaves[$i].chem > 100)>> <<set $milk *= ((600-$slaves[$i].chem)/600)>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].assignment is "be confined in the arcade")>> <<set $milk *= 0.5>> <</if>> <<set $milk *= $servantMilkersMultiplier>> <<set $milk = Math.trunc($milk)>> <<set $slaves[$i].milk += $milk>> <<set $milkTotal += $milk>> As a result, she produces $milk liters of milk over the week. <<if ($arcologies[0].FSPastoralistLaw == 1)>> <<set $milkSale to $milk*(9+Math.trunc($arcologies[0].FSPastoralist/30))>> Since breast milk is $arcologies[0].name's only legal dairy product, she can scarcely be milked fast enough, and she makes @@color:yellowgreen;¤$milkSale.@@ <<elseif ($arcologies[0].FSPastoralist != "unset")>> <<set $milkSale to $milk*(7+Math.trunc($arcologies[0].FSPastoralist/30))>> Since milk is fast becoming a major part of the $arcologies[0].name's dietary culture, her milk is in demand, and she makes @@color:yellowgreen;¤$milkSale.@@ <<else>> <<set $milkSale to $milk*8>> Her milk is sold for @@color:yellowgreen;¤$milkSale.@@ <</if>> <<set $cash += $milkSale>> <<if ($slaves[$i].fetish is "boobs") && ($slaves[$i].fetishStrength > 95)>> Getting constantly milked is almost as good as getting constant loving sex as far as she's concerned. @@color:hotpink;She is extremely pleased@@ to have her breasts receive so much attention. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].fetish is "boobs") || ($slaves[$i].energy > 95)>> Getting constantly milked is great, as far as she's concerned. @@color:hotpink;She is happy@@ to have her breasts receive so much attention. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($slaves[$i].lactation > 1)>> <<if ($slaves[$i].nipples != "huge")>> <<if ($slaves[$i].nipples is "inverted")>> <<if ($slaves[$i].fetish is "masochist") && ($slaves[$i].fetishKnown == 1)>> Having the milkers constantly haul her inverted nipples out is @@color:hotpink;extremely uncomfortable; she loves it.@@ <<set $slaves[$i].devotion += 3>> <<else>> Having the milkers constantly haul her inverted nipples out is @@color:mediumorchid;extremely uncomfortable.@@ <<set $slaves[$i].devotion -= 3>> <</if>> <<if (random(1,100) > 50)>> The constant suction @@color:lime;permanently protrudes them,@@ and <<if (random(1,2) == 1)>> it turns out they're absolutely massive. <<set $slaves[$i].nipples to "huge">> <<else>> it turns out they're nice and puffy. <<set $slaves[$i].nipples to "puffy">> <</if>> <</if>> <<elseif ($slaves[$i].nipples is "partially inverted")>> <<if ($slaves[$i].fetish is "masochist") && ($slaves[$i].fetishKnown == 1)>> Having the milkers constantly haul her inverted nipples out is @@color:hotpink;quite uncomfortable; she loves it.@@ <<set $slaves[$i].devotion += 1>> <<else>> Having the milkers constantly haul her inverted nipples out is @@color:mediumorchid;quite uncomfortable.@@ <<set $slaves[$i].devotion -= 1>> <</if>> <<if (random(1,100) > 30)>> The constant suction @@color:lime;permanently protrudes them,@@ and <<if (random(1,2) == 1)>> it turns out they're pretty cute. <<set $slaves[$i].nipples to "cute">> <<else>> it turns out they're nice and puffy. <<set $slaves[$i].nipples to "puffy">> <</if>> <</if>> <<elseif ($slaves[$i].nipples is "puffy") && (random(1,100) > 90)>> Producing this river of milk @@color:lime;enlarges her nipples:@@ they're now enormous. <<set $slaves[$i].nipples to "huge">> <<elseif ($slaves[$i].nipples is "cute") && (random(1,100) > 80)>> Producing this river of milk @@color:lime;makes her nipples nice and puffy.@@ <<set $slaves[$i].nipples to "puffy">> <<elseif ($slaves[$i].nipples is "tiny")>> Producing this river of milk @@color:lime;makes her nipples grow to a nice size.@@ <<set $slaves[$i].nipples to "cute">> <<elseif ($slaves[$i].areolae < 3) && (random(1,100) > 30+($slaves[$i].areolae*20))>> Producing this river of milk @@color:lime;broadens her areolae.@@ <<set $slaves[$i].areolae += 1>> <</if>> <</if>> <<else>> <<if ($slaves[$i].nipples != "huge")>> <<if ($slaves[$i].nipples is "inverted")>> <<if ($slaves[$i].fetish is "masochist") && ($slaves[$i].fetishKnown == 1)>> Having the milkers constantly haul her inverted nipples out is @@color:hotpink;extremely uncomfortable; she loves it.@@ <<set $slaves[$i].devotion += 3>> <<else>> Having the milkers constantly haul her inverted nipples out is @@color:mediumorchid;extremely uncomfortable.@@ <<set $slaves[$i].devotion -= 3>> <</if>> <<if (random(1,100) > 50)>> The constant suction @@color:lime;permanently protrudes them,@@ and <<if (random(1,2) == 1)>> it turns out they're absolutely massive. <<set $slaves[$i].nipples to "huge">> <<else>> it turns out they're nice and puffy. <<set $slaves[$i].nipples to "puffy">> <</if>> <</if>> <<elseif ($slaves[$i].nipples is "partially inverted")>> <<if ($slaves[$i].fetish is "masochist") && ($slaves[$i].fetishKnown == 1)>> Having the milkers constantly haul her inverted nipples out is @@color:hotpink;quite uncomfortable; she loves it.@@ <<set $slaves[$i].devotion += 1>> <<else>> Having the milkers constantly haul her inverted nipples out is @@color:mediumorchid;quite uncomfortable.@@ <<set $slaves[$i].devotion -= 1>> <</if>> <<if (random(1,100) > 30)>> The constant suction @@color:lime;permanently protrudes them,@@ and <<if (random(1,2) == 1)>> it turns out they're pretty cute. <<set $slaves[$i].nipples to "cute">> <<else>> it turns out they're nice and puffy. <<set $slaves[$i].nipples to "puffy">> <</if>> <</if>> <<elseif ($slaves[$i].nipples is "tiny") && (random(1,100) > 50)>> Producing milk @@color:lime;makes her nipples grow to a nice size.@@ <<set $slaves[$i].nipples to "cute">> <</if>> <</if>> <</if>> <</if>> /* CLOSES BREAST MILKING */ <<if ($slaves[$i].balls > 0)>> <<set $cumSlaves += 1>> <<set $cum = cumAmount($slaves[$i])>> <<if $slaves[$i].lactation > 0>> Her <<else>> $slaves[$i].slaveName's <</if>> <<if ($slaves[$i].dick > 6)>> inhuman <<elseif ($slaves[$i].dick > 5)>> massive <<elseif ($slaves[$i].dick > 4)>> big <<elseif ($slaves[$i].dick > 3)>> sizeable <<elseif ($slaves[$i].dick > 2)>> moderate <<elseif ($slaves[$i].dick > 1)>> little <<else>> tiny <</if>> prick is <<if $slaves[$i].lactation > 0>> also <</if>> machine-milked to extract the cum from her <<if ($slaves[$i].scrotum == 0)>> invisible <<elseif ($slaves[$i].balls > 5)>> titanic <<elseif ($slaves[$i].balls > 4)>> enormous <<elseif ($slaves[$i].balls > 3)>> pendulous <<elseif ($slaves[$i].balls > 2)>> average <<elseif ($slaves[$i].balls > 1)>> pathetic <<else>> invisible <</if>> <<if $slaves[$i].drugs is "testicle enhancement">> balls, relieving them of the excessive cum production caused by the testicle enhancement drugs. <<elseif $slaves[$i].drugs is "hyper testicle enhancement">> balls, relieving them of the excessive cum production caused by the hyper testicle enhancement drugs. <<else>> balls. <</if>> <<if $slaves[$i].diet is "cum production">> Her diet is designed for cum production. <</if>> <<set $hormones to $slaves[$i].hormones>> <<if $hormones < -1>> Her internal chemistry is perfectly suited to cum production. <<elseif $hormones < 0>> Her hormonal balance favors cum production. <<elseif $hormones > 0>> Her hormonal balance impedes cum production. <<elseif $hormones > 1>> Her internal chemistry is poorly suited to cum production. <</if>> <<if $slaves[$i].scrotum == 0>> She does produce cum despite her apparent ballslessness, but less than she would if they weren't hidden inside her. <</if>> <<if ($slaves[$i].devotion > 50)>> She's so happy that her mental state has a positive impact on her semen production. <<elseif ($slaves[$i].devotion < -50)>> She's so unhappy that her mental state has a negative impact on her semen production. <</if>> <<if ($slaves[$i].health > 50)>> Her shining health helps her really produce. <<elseif ($slaves[$i].health < -50)>> Her poor health impedes semen production. <</if>> <<if ($slaves[$i].assignment is "work in the dairy")>> <<if ($dairyStimulatorsUpgrade == 1)>> <<if ($dairyStimulatorsSetting > 0)>> <<set $cum += $cum*(0.2*($dairyStimulatorsSetting+$dairyRestraintsSetting+Math.trunc((50-$slaves[$i].physicalAge)/20)))>> <</if>> <<if ($slaves[$i].chem > 360)>> <<set $cum = Math.trunc($cum*0.6)>> <<elseif ($slaves[$i].chem > 100)>> <<set $cum = Math.trunc($cum*((600-$slaves[$i].chem)/600))>> <</if>> <<elseif ($Milkmaid != 0)>> <<if ($Milkmaid.dick > 4) && canAchieveErection($Milkmaid)>> $Milkmaid.slaveName sometimes stands in for the machines, which is a polite way of saying she sometimes fucks $slaves[$i].slaveName's ass to help her cum. <<set $cum += $cum*0.2>> <</if>> <</if>> <<elseif ($slaves[$i].assignment is "be confined in the arcade")>> <<set $cum to $cum*0.5>> <</if>> <<set $cum = Math.trunc($cum)>> <<set $slaves[$i].cum += $cum>> <<set $cumTotal += $cum>> <<if ($arcologies[0].FSPastoralist is "unset")>> <<set $seed to ($cum*random(25,35))>> She produces <<print $cum>> deciliters of cum over the week; the fresh ejaculate is sold for @@color:yellowgreen;¤<<print $seed>>.@@ <<elseif $arcologies[0].FSPastoralistLaw == 1>> <<set $seed to ($cum*(random(40,50)))>> She produces <<print $cum>> deciliters of cum over the week; the fresh ejaculate, which is in extremely high demand as one of $arcologies[0].name's few legal sources of animal protein, is sold for @@color:yellowgreen;¤<<print $seed>>.@@ <<else>> <<set $seed to ($cum*(random(25,35)+Math.trunc($arcologies[0].FSPastoralist/10)))>> She produces <<print $cum>> deciliters of cum over the week; the fresh ejaculate, which is in high demand given the new cultural preference for slave products, is sold for @@color:yellowgreen;¤<<print $seed>>.@@ <</if>> <<set $cash += $seed>> <<if ($slaves[$i].energy > 95)>> Getting her dick constantly milked is almost as good as getting constant blowjobs as far as she's concerned. @@color:hotpink;She is happy@@ to have her member receive so much attention. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($slaves[$i].hormones > 0)>> Since she cannot maintain an erection, she requires @@color:gold;painful@@ and @@color:mediumorchid;degrading@@ anal electrostimulation to produce. <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <<if ($slaves[$i].anus == 0)>> The electrostimulator @@color:lime;breaks in her virgin asshole.@@ <<set $slaves[$i].anus to 1>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> Since she's unaroused by her situation, she requires @@color:gold;painful@@ and @@color:mediumorchid;degrading@@ anal electrostimulation to produce. <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 2>> <<if ($slaves[$i].anus == 0)>> The electrostimulator @@color:lime;breaks in her virgin asshole.@@ <<set $slaves[$i].anus to 1>> <</if>> <</if>> <<if ($slaves[$i].balls < 3)>> <<if ($slaves[$i].balls < 2)>> <<if (random(1,100) > 70)>> Constant semen production and continual emptying and refilling @@color:lime;increases the size of her tiny testicles.@@ <<set $slaves[$i].balls += 1>> <</if>> <<elseif (random(1,100) > 90)>> Constant semen production and continual emptying and refilling @@color:lime;increases the size of her small testicles.@@ <<set $slaves[$i].balls += 1>> <</if>> <</if>> <</if>> /* CLOSES COCK MILKING */ <<if ($slaves[$i].behavioralQuirk is "fitness")>> $slaves[$i].slaveName @@color:hotpink;privately enjoys@@ the focus on her health and fitness that comes with being a cow. <<set $slaves[$i].devotion += 1>> <</if>> /* FACILITY DECORATION IMPACTS */ <<if $slaves[$i].assignment is "work in the dairy">> <<if $dairyDecoration != "standard">> <<set $seed to 0.0001*$FSSingleSlaveRep*($milk+5*$cum)>> <<switch $dairyDecoration>> <<case "Roman Revivalist">> <<set $arcologies[0].FSRomanRevivalist += $seed>> <<case "Egyptian Revivalist">> <<set $arcologies[0].FSEgyptianRevivalist += $seed>> <<case "Edo Revivalist">> <<set $arcologies[0].FSEdoRevivalist += $seed>> <<case "Arabian Revivalist">> <<set $arcologies[0].FSArabianRevivalist += $seed>> <<case "Chinese Revivalist">> <<set $arcologies[0].FSChineseRevivalist += $seed>> <<case "Chattel Religionist">> <<set $arcologies[0].FSChattelReligionist += $seed>> <<case "Degradationist">> <<set $arcologies[0].FSDegradationist += $seed>> <<case "Repopulation Focus">> <<set $arcologies[0].FSRepopulationFocus += $seed>> <<case "Eugenics">> <<set $arcologies[0].FSRestart += $seed>> <<case "Asset Expansionist">> <<set $arcologies[0].FSAssetExpansionist += $seed>> <<case "Transformation Fetishist">> <<set $arcologies[0].FSTransformationFetishist += $seed>> <<case "Gender Radicalist">> <<set $arcologies[0].FSGenderRadicalist += $seed>> <<case "Gender Fundamentalist">> <<set $arcologies[0].FSGenderFundamentalist += $seed>> <<case "Physical Idealist">> <<set $arcologies[0].FSPhysicalIdealist += $seed>> <<case "Supremacist">> <<set $arcologies[0].FSSupremacist += $seed>> <<case "Subjugationist">> <<set $arcologies[0].FSSubjugationist += $seed>> <<case "Paternalist">> <<set $arcologies[0].FSPaternalist += $seed>> <<case "Pastoralist">> <<set $arcologies[0].FSPastoralist += $seed>> <<case "Maturity Preferentialist">> <<set $arcologies[0].FSMaturityPreferentialist += $seed>> <<case "Youth Preferentialist">> <<set $arcologies[0].FSYouthPreferentialist += $seed>> <<case "Body Purist">> <<set $arcologies[0].FSBodyPurist += $seed>> <<case "Slimness Enthusiast">> <<set $arcologies[0].FSSlimnessEnthusiast += $seed>> <</switch>> <</if>> <</if>>
r3d/fc
src/uncategorized/saGetMilked.tw
tw
bsd-3-clause
18,952
:: SA guard you [nobr] carries arms in your defense. <<Deadliness $slaves[$i]>> <<if $slaves[$i].combatSkill > 0>> Her combat skills greatly increase her deadliness. <</if>> <<if $bodyguardCareers.contains($Bodyguard.career)>> She has experience in personal defense from before she was a slave. <</if>> <<if ($slaves[$i].muscles > 30) && ($slaves[$i].muscles <= 95)>> She is strong and powerful yet quick and flexible. <<elseif $slaves[$i].muscles > 95 && $slaves[$i].height >= 190>> Her huge muscles are an intimidating sight and, despite their massive size, she is tall enough to use them effectively. <<elseif $slaves[$i].muscles > 95>> Her huge muscles are an intimidating sight, but are so big that they actually detract from her combat effectiveness. <<elseif $slaves[$i].muscles > 5>> She is reasonably fit, but not enough to significantly affect her combat effectiveness. <<elseif $slaves[$i].muscles < -95>> She can barely stand, let alone fight. A single shot from her own weapon is liable to incapacitate her, making her an absolute travesty of a bodyguard. <<elseif $slaves[$i].muscles < -30>> She tires from just standing, rendering her both ineffective and embarrasing to have as your guard. <<elseif $slaves[$i].muscles < -5>> She is rather unfit, enough to negatively impact her combat effectiveness. <</if>> <<if $slaves[$i].amp == -4>> Her tough combat limbs make her an intimidating sight to behold. <<elseif $slaves[$i].amp == -5>> The artificial muscles of her cybernetic limbs increase her strength and flexibility to enhance her combat abilities and give her the intimidating appearance of a super-soldier. <</if>> <<if $slaves[$i].height >= 170>> Her height gives her a reach advantage with her sword. <</if>> <<if $slaves[$i].health > 50>> Her shining health makes her a better combatant. <</if>> <<if $slaves[$i].boobs > 4000>> Her titanic tits are a terrible hindrance in actual fighting. <<elseif $slaves[$i].boobs > 2000>> Her big breasts get in her way and reduce her efficiency. <</if>> <<if $slaves[$i].dick >= 10>> Her massive dick gets in her way and reduces her efficiency. <</if>> <<if $slaves[$i].balls >= 15>> Her massive balls slow her down and limit her range of motion. <</if>> <<if $slaves[$i].butt > 6>> Her massive ass slows her down and limits her range of motion. <</if>> <<if $slaves[$i].hips > 2>> She struggles to move with her inhumanly wide hips and frequently gets caught between things trying to follow you. <</if>> <<if $slaves[$i].weight > 30>> Her heavy weight is an impediment as a bodyguard. <</if>> <<if $slaves[$i].weight < -10>> Her light weight is an impediment as a bodyguard. <</if>> <<if $slaves[$i].health < -50>> Her poor health makes her a weaker combatant. <</if>> <<if $slaves[$i].inflation == 3>> Her hugely bloated, <<print $slaves[$i].inflationType>>-filled belly is taut and painful, hindering her ability to guard you. <<elseif $slaves[$i].inflation == 2>> Her bloated, <<print $slaves[$i].inflationType>>-stuffed belly is constantly jiggling and moving, distracting her and throwing off her weight. <<elseif $slaves[$i].inflation == 1>> Her distended, <<print $slaves[$i].inflationType>>-belly is uncomfortable and heavy, distracting her. <</if>> <<if $slaves[$i].bellyImplant >= 32000>> Her immense, <<print $slaves[$i].bellyImplant>>cc implant filled belly greatly hinders her movement and terribly reduces her effectiveness in combat. It also limits where she can follow you, as doors and small passages don't agree with her bloated figure. <<elseif $slaves[$i].bellyImplant >= 16000>> Her massive, <<print $slaves[$i].bellyImplant>>cc implant filled belly greatly hinders her movement and terribly reduces her effectiveness in combat. It also limits where she can follow you, as doors and small passages don't agree with her bloated figure. <<elseif $slaves[$i].bellyImplant >= 8000>> Her huge, <<print $slaves[$i].bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off her weight and making her far less effective. <<elseif $slaves[$i].bellyImplant >= 4000>> Her large, <<print $slaves[$i].bellyImplant>>cc implant filled belly is heavy and unwieldy, rendering her less effective. <<elseif $slaves[$i].bellyImplant >= 2000>> Her swollen, <<print $slaves[$i].bellyImplant>>cc implant filled belly is heavy and makes her less effective. <</if>> <<if ($slaves[$i].preg > 10) && ($slaves[$i].pregType >= 10)>> Her massive belly greatly hinders her movement and terribly reduces her effectiveness in combat. It also limits where she can follow you, as doors and small passages don't agree with her bloated figure. <<elseif ($slaves[$i].preg > 10)>> Her advanced pregnancy limits her effectiveness. <</if>> <<if $slaves[$i].teeth is "pointy">> Her sharp teeth add nothing to her actual effectiveness, but they're certainly intimidating. <</if>> <<if ($slaves[$i].combatSkill < 1) && (random(1,100) < 50+($slaves[$i].intelligence*20))>> After some experience guarding you, and diligent practice in the armory, @@color:green;her combat skills increase.@@ <<set $slaves[$i].combatSkill += 1>> <<elseif $slaves[$i].combatSkill >= 1>> She maintains her combat skill with practice in the armory. <<else>> Though she practices diligently her basic combat skills do not improve this week. <</if>> Her constant presence is <<if $deadliness > 6>> extremely intimidating, @@color:green;adding much to your reputation.@@ <<if $slaves[$i].career is "an arcology owner">> You've made a onetime rival arcology owner into a deadly and loyal protector, a feat of slaveownership that's @@color:green;internationally famous.@@ <<set $repGain += $deadliness*10>> <</if>> <<elseif $deadliness > 3>> intimidating, @@color:green;adding to your reputation.@@ <<else>> hardly intimidating, @@color:yellow;barely adding to your reputation.@@ <</if>> <<set $repGain += $deadliness*10>> Being continually trusted with your life @@color:hotpink;increases her devotion to you@@ and encourages her to @@color:mediumaquamarine;trust you in turn.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 4>> <<if $dojo > 1>> She @@color:hotpink;appreciates@@ how special it is that she has a nice room off the armory to rest in. <<set $slaves[$i].devotion += 1>> <</if>> <<if $bodyguardTrains == 1>> <<if $slaves[$i].devotion > 95>> <<if $slaves[$i].trust > 50>> <<if $slaves[$i].combatSkill > 0>> <<if $slaves[$i].intelligence > 0>> She's confident in her martial skills, but smart enough to know that she isn't immortal, and devoted enough to worry about who will protect you should she die. <<set $seed to 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].assignmentVisible == 1>> <<if $slaves[$j].combatSkill > 0>> <<if canWalk($slaves[$j])>> <<if $slaves[$j].fetish != "mindbroken">> <<if $slaves[$j].devotion > 50>> <<if $slaves[$j].boobs < 8000>> <<if $slaves[$j].preg < 20>> <<set $seed += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</for>> <<if $seed < 2>> <<set $subSlave to 0>> <<if $slaves[$i].relationship > 1>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].relationshipTarget>> <<if $slaves[$j].combatSkill == 0>> <<if canWalk($slaves[$j])>> <<if $slaves[$j].fetish != "mindbroken">> <<if $slaves[$j].devotion > 50>> <<if $slaves[$j].boobs < 8000>> <<if $slaves[$j].preg < 20>> She does her best to train $slaves[$j].slaveName whenever she can, hoping that her <<if $slaves[$i].relationship > 4>> wife <<elseif $slaves[$i].relationship is 4>> lover <<elseif $slaves[$i].relationship is 3>> girlfriend <<else>> best friend <</if>> can be made capable of stepping into her place. <<set $subSlave to $slaves[$j]>> <<set $seed to 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</for>> <</if>> <<if $seed == 0>> <<if $Concubine != 0>> <<if $Concubine.combatSkill == 0>> <<if canWalk($Concubine)>> <<if $Concubine.fetish != "mindbroken">> <<if $Concubine.devotion > 50>> <<if $Concubine.boobs < 8000>> <<if $Concubine.preg < 20>> She does her best to train $Concubine.slaveName whenever she can, hoping that your Concubine can be made capable of stepping into her place. <<set $subSlave to $Concubine>> <<set $seed to 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $seed == 0>> <<if $HeadGirl != 0>> <<if $HeadGirl.combatSkill == 0>> <<if canWalk($HeadGirl)>> <<if $HeadGirl.fetish != "mindbroken">> <<if $HeadGirl.devotion > 50>> <<if $HeadGirl.boobs < 8000>> <<if $HeadGirl.preg < 20>> She does her best to train $HeadGirl.slaveName whenever she can, hoping that your Head Girl can be made capable of stepping into her place. <<set $subSlave to $HeadGirl>> <<set $seed to 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $seed == 0>> <<if $Wardeness != 0>> <<if $Wardeness.combatSkill == 0>> <<if canWalk($Wardeness)>> <<if $Wardeness.fetish != "mindbroken">> <<if $Wardeness.devotion > 50>> <<if $Wardeness.boobs < 8000>> <<if $Wardeness.preg < 20>> She does her best to train $Wardeness.slaveName whenever she can, hoping that your Wardeness can be made capable of stepping into her place. <<set $subSlave to $Wardeness>> <<set $seed to 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $subSlave != 0>> <<if ($slaves[$i].intelligence + $slaves[$i].intelligenceImplant) > random(1,10)>> By the end of the week, she is satisfied that $subSlave.slaveName @@color:green;has the combat skill@@ to contribute to your defense. <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $subSlave.ID>> <<set $slaves[$j].combatSkill = 1>> <<break>> <</if>> <</for>> <</if>> <</if>> <<else>> She takes care to look after the skills of your other defensively capable slaves, satisfied that there are enough of them living in your penthouse. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>>
r3d/fc
src/uncategorized/saGuardsYou.tw
tw
bsd-3-clause
10,136
:: SA hormone effects [nobr] <<set $hormones to $slaves[$i].hormones>> <<if ($hormones > -2)>> <<if ($slaves[$i].balls != 0)>> <<if ($hormones != 0) || ($hormoneUpgradePower < 2)>> <<set $hormones -= 1>> <</if>> <</if>> <</if>> <<if ($hormones < 2)>> <<if ($slaves[$i].ovaries != 0)>> <<if ($hormones != 0) || ($hormoneUpgradePower < 2)>> <<set $hormones += 1>> <</if>> <</if>> <</if>> <<if ($hormones > 1)>> $possessiveCap hormonal balance is heavily feminine. <<elseif ($hormones < -1)>> $possessiveCap hormonal balance is heavily masculine. <<elseif ($hormones > 0)>> $possessiveCap hormonal balance is feminine. <<elseif ($hormones < 0)>> $possessiveCap hormonal balance is masculine. <<else>> $pronounCap has a neutral hormonal balance. <</if>> <<if $hormoneUpgradeMood == 0>> <<if $slaves[$i].$hormones > 0>> <<if $slaves[$i].balls != 0>> $possessiveCap <<if $hormoneUpgradeMood == 0>>feminine treatments have to fight<<else>>advanced treatments brutally overpower<</if>> $possessive natural hormones, <<if $slaves[$i].devotion > 50>> but $pronoun's a good enough slave to suppress the occasional moodiness. <<else>> causing @@color:mediumorchid;occasional moodiness.@@ <<set $slaves[$i].devotion -= 1>> <</if>> <</if>> <</if>> <<if $slaves[$i].$hormones < 0>> <<if $slaves[$i].ovaries != 0>> $possessiveCap <<if $hormoneUpgradeMood == 0>>masculine treatments have to fight<<else>>advanced treatments brutally overpower<</if>> $possessive natural hormones, <<if $slaves[$i].devotion > 50>> but $pronoun's a good enough slave to suppress the occasional moodiness. <<else>> causing @@color:mediumorchid;occasional moodiness.@@ <<set $slaves[$i].devotion -= 1>> <</if>> <</if>> <</if>> <</if>> <<set _Effects = []>> <<if ($hormones >= 2)>> <<if ($hormoneUpgradeShrinkage == 0)>> <<if ($slaves[$i].dick > 1)>> <<set _Effects.push("DickShrink")>> <</if>> <<if ($slaves[$i].balls > 1)>> <<set _Effects.push("BallsShrink")>> <</if>> <<if ($slaves[$i].clit > 0)>> <<set _Effects.push("ClitSmaller")>> <</if>> <</if>> <<if ($slaves[$i].voice < 3) && ($slaves[$i].voice > 0)>> <<set _Effects.push("VoiceHigher")>> <</if>> <<if ($slaves[$i].vagina > -1) && ($slaves[$i].ovaries != 0) && ($slaves[$i].vaginaLube < 2)>> <<set _Effects.push("VaginaWetter")>> <</if>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2)>> <<set _Effects.push("ButtBigger")>> <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) < 500)>> <<set _Effects.push("BoobsBigger")>> <</if>> <<if (($slaves[$i].face-$slaves[$i].faceImplant) < 0) && ($slaves[$i].face < 3)>> <<set _Effects.push("FaceSofter")>> <</if>> <<if ($slaves[$i].faceShape is "masculine")>> <<set _Effects.push("FaceSofterAndrogynous")>> <<elseif ($slaves[$i].faceShape is "androgynous")>> <<set _Effects.push("FaceNormal")>> <</if>> <<if ($slaves[$i].physicalAge < 25)>> <<if ($slaves[$i].shoulders > -1)>> <<set _Effects.push("ShouldersNarrower")>> <</if>> <<if ($slaves[$i].hips < 1)>> <<set _Effects.push("HipsBroader")>> <</if>> <</if>> <<if ($slaves[$i].muscles > 30) && ($slaves[$i].diet != "muscle building")>> <<set _Effects.push("MusclesSofter")>> <</if>> <<if ($slaves[$i].nipples is "tiny")>> <<set _Effects.push("NipplesBigger")>> <</if>> <<if ($slaves[$i].height > 180)>> <<set _Effects.push("Shorter")>> <</if>> <<if ($slaves[$i].devotion <= 20)>> <<set _Effects.push("Devoted")>> <</if>> <<if ($slaves[$i].trust <= 20)>> <<set _Effects.push("Trusting")>> <</if>> <<if ($slaves[$i].attrXY < 95)>> <<set _Effects.push("MaleAttracted")>> <</if>> <<elseif ($hormones > 0) && ($slaves[$i].ovaries == 0)>> <<if ($hormoneUpgradeShrinkage == 0)>> <<if ($slaves[$i].dick > 2)>> <<set _Effects.push("DickShrink")>> <</if>> <<if ($slaves[$i].balls > 2)>> <<set _Effects.push("BallsShrink")>> <</if>> <<if ($slaves[$i].clit > 1)>> <<set _Effects.push("ClitSmaller")>> <</if>> <</if>> <<if ($slaves[$i].voice < 2) && ($slaves[$i].voice > 0)>> <<set _Effects.push("VoiceHigher")>> <</if>> <<if ($slaves[$i].vagina > -1) && ($slaves[$i].ovaries != 0) && ($slaves[$i].vaginaLube < 1)>> <<set _Effects.push("VaginaWetter")>> <</if>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) < 2)>> <<set _Effects.push("ButtBigger")>> <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) < 300)>> <<set _Effects.push("BoobsBigger")>> <</if>> <<if (($slaves[$i].face-$slaves[$i].faceImplant) < 0) && ($slaves[$i].face < 2)>> <<set _Effects.push("FaceSofter")>> <</if>> <<if ($slaves[$i].faceShape is "masculine")>> <<set _Effects.push("FaceSofterAndrogynous")>> <</if>> <<if ($slaves[$i].physicalAge < 22)>> <<if ($slaves[$i].shoulders > 0)>> <<set _Effects.push("ShouldersNarrower")>> <</if>> <<if ($slaves[$i].hips < 0)>> <<set _Effects.push("HipsBroader")>> <</if>> <</if>> <<if ($slaves[$i].muscles > 30) && ($slaves[$i].diet != "muscle building")>> <<set _Effects.push("MusclesSofter")>> <</if>> <<if ($slaves[$i].attrXY < 80)>> <<set _Effects.push("MaleAttracted")>> <</if>> <<elseif ($hormones <= -2)>> <<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 3)>> <<set _Effects.push("DickGrow")>> <</if>> <<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 3)>> <<set _Effects.push("BallsGrow")>> <</if>> <<if ($slaves[$i].clit < 2) && ($slaves[$i].dick == 0)>> <<set _Effects.push("ClitBigger")>> <</if>> <<if ($slaves[$i].voice > 1)>> <<set _Effects.push("VoiceLower")>> <</if>> <<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 0)>> <<set _Effects.push("VaginaDrier")>> <</if>> <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 2)>> <<set _Effects.push("ButtSmaller")>> <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 500)>> <<set _Effects.push("BoobsSmaller")>> <</if>> <</if>> <<if (($slaves[$i].face-$slaves[$i].faceImplant) < 0) && ($slaves[$i].face > 0)>> <<set _Effects.push("FaceHarder")>> <</if>> <<if ($slaves[$i].faceShape is "androgynous")>> <<set _Effects.push("FaceMasculine")>> <<else>> <<set _Effects.push("FaceHarderAndrogynous")>> <</if>> <<if ($slaves[$i].physicalAge < 25)>> <<if ($slaves[$i].shoulders < 1)>> <<set _Effects.push("ShouldersBroader")>> <</if>> <<if ($slaves[$i].hips > -1)>> <<set _Effects.push("HipsNarrower")>> <</if>> <</if>> <<if ($slaves[$i].muscles <= 95) && ($slaves[$i].diet != "slimming")>> <<set _Effects.push("MusclesHarder")>> <</if>> <<if ($slaves[$i].nipples is "huge")>> <<set _Effects.push("NipplesSmaller")>> <</if>> <<if ($slaves[$i].height < 155)>> <<set _Effects.push("Taller")>> <</if>> <<if ($slaves[$i].devotion > 20)>> <<set _Effects.push("Rebellious")>> <</if>> <<if ($slaves[$i].attrXY < 95)>> <<set _Effects.push("FemaleAttracted")>> <</if>> <<elseif ($hormones < 0) && ($slaves[$i].balls == 0)>> <<if ($slaves[$i].dick > 0) && ($slaves[$i].dick < 2)>> <<set _Effects.push("DickGrow")>> <</if>> <<if ($slaves[$i].balls > 0) && ($slaves[$i].balls < 2)>> <<set _Effects.push("BallsGrow")>> <</if>> <<if ($slaves[$i].clit < 1) && ($slaves[$i].dick == 0)>> <<set _Effects.push("ClitBigger")>> <</if>> <<if ($slaves[$i].voice > 2)>> <<set _Effects.push("VoiceLower")>> <</if>> <<if ($slaves[$i].vagina > -1) && ($slaves[$i].vaginaLube > 1)>> <<set _Effects.push("VaginaDrier")>> <</if>> <<if ($hormoneUpgradeShrinkage == 0)>> <<if (($slaves[$i].butt-$slaves[$i].buttImplant) > 2)>> <<set _Effects.push("ButtSmaller")>> <</if>> <<if (($slaves[$i].boobs-$slaves[$i].boobsImplant) > 800)>> <<set _Effects.push("BoobsSmaller")>> <</if>> <</if>> <<if (($slaves[$i].face-$slaves[$i].faceImplant) < 0) && ($slaves[$i].face > 1)>> <<set _Effects.push("FaceHarder")>> <</if>> <<if ($slaves[$i].faceShape is "androgynous")>> <<set _Effects.push("FaceMasculine")>> <</if>> <<if ($slaves[$i].physicalAge < 22)>> <<if ($slaves[$i].shoulders < 0)>> <<set _Effects.push("ShouldersBroader")>> <</if>> <<if ($slaves[$i].hips > 0)>> <<set _Effects.push("HipsNarrower")>> <</if>> <</if>> <<if ($slaves[$i].muscles <= 5) && ($slaves[$i].diet != "slimming")>> <<set _Effects.push("MusclesHarder")>> <</if>> <<if ($slaves[$i].height < 155)>> <<set _Effects.push("Taller")>> <</if>> <<if ($slaves[$i].attrXY < 80)>> <<set _Effects.push("FemaleAttracted")>> <</if>> <</if>> <<if _Effects.length < 1>> $possessiveCap body has fully adapted to its hormones. <<elseif (_Effects.length < random(-10,10)) && ($hormoneUpgradePower == 0)>> $pronounCap does not experience significant hormone effects this week. <<else>> <<set _Effects = _Effects.random()>> <<switch _Effects>> <<case "DickShrink">> Hormonal effects cause @@color:orange;$possessive dick to atrophy.@@ <<set $slaves[$i].dick -= 1>> <<case "DickGrow">> Hormonal effects cause @@color:lime;$possessive micropenis to return to a more normal size.@@ <<set $slaves[$i].dick += 1>> <<case "BallsShrink">> Hormonal effects cause @@color:orange;$possessive testicles to atrophy.@@ <<set $slaves[$i].balls -= 1>> <<case "BallsGrow">> Hormonal effects cause @@color:lime;$possessive balls to drop.@@ <<set $slaves[$i].balls += 1>> <<case "VoiceHigher">> Hormonal effects cause @@color:lime;$possessive voice to become higher and more feminine.@@ <<set $slaves[$i].voice += 1>> <<case "VoiceLower">> Hormonal effects cause @@color:orange;$possessive voice to become deeper and less feminine.@@ <<set $slaves[$i].voice -= 1>> <<case "VaginaWetter">> Hormonal effects cause @@color:lime;$possessive vagina to produce more copious natural lubricant.@@ <<set $slaves[$i].vaginaLube += 1>> <<case "VaginaDrier">> Hormonal effects cause @@color:orange;$possessive vagina to produce less natural lubricant.@@ <<set $slaves[$i].vaginaLube -= 1>> <<case "ButtBigger">> Hormonal effects cause @@color:lime;the natural size of $possessive butt to increase.@@ <<set $slaves[$i].butt += 1>> <<case "ButtSmaller">> Hormonal effects cause @@color:orange;the natural size of $possessive butt to decrease.@@ <<set $slaves[$i].butt -= 1>> <<case "BoobsBigger">> Hormonal effects cause @@color:lime;the natural size of $possessive tits to increase.@@ <<set $slaves[$i].boobs += 100>> <<case "BoobsSmaller">> Hormonal effects cause @@color:orange;the natural size of $possessive tits to shrink.@@ <<set $slaves[$i].boobs += 100>> <<case "FaceSofter">> Hormonal effects cause @@color:lime;$possessive facial structure to soften and become less unattractive.@@ <<set $slaves[$i].face += 1>> <<case "FaceHarder">> Hormonal effects cause @@color:orange;$possessive facial structure to harden and become less attractive.@@ <<set $slaves[$i].face -= 1>> <<case "FaceSofterAndrogynous">> Hormonal effects cause @@color:lime;$possessive face to soften into androgyny.@@ <<set $slaves[$i].faceShape to "androgynous">> <<case "FaceHarderAndrogynous">> Hormonal effects cause @@color:orange;$possessive face to harden into androgyny.@@ <<set $slaves[$i].faceShape to "androgynous">> <<case "FaceNormal">> Hormonal effects cause @@color:lime;$possessive face to soften into femininity.@@ <<set $slaves[$i].faceShape to "normal">> <<case "FaceMasculine">> Hormonal effects cause @@color:orange;$possessive face to harden into masculinity.@@ <<set $slaves[$i].faceShape to "masculine">> <<case "ClitSmaller">> Hormonal effects cause @@color:orange;$possessive clit to shrink significantly.@@ <<set $slaves[$i].clit -= 1>> <<case "ClitBigger">> Hormonal effects cause @@color:lime;$possessive clit to grow significantly.@@ <<set $slaves[$i].clit += 1>> <<case "ShouldersNarrower">> $possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@color:lime;$possessive shoulders to develop into a more feminine narrowness@@ than they would have done naturally. <<set $slaves[$i].shoulders -= 1>> <<case "ShouldersBroader">> $possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@color:orange;$possessive shoulders to develop more broadly@@ than they would have done naturally. <<set $slaves[$i].shoulders += 1>> <<case "HipsBroader">> $possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@color:lime;$possessive hips to develop more broadly@@ than they would have done naturally. <<set $slaves[$i].hips += 1>> <<case "HipsNarrower">> $possessiveCap body has not yet found its final bone structure, which typically happens in the mid-twenties. Hormonal effects cause @@color:orange;$possessive hips to develop more narrowly@@ than they would have done naturally. <<set $slaves[$i].hips -= 1>> <<case "MusclesSofter">> Hormonal effects @@color:orange;reduce $possessive musculature.@@ <<set $slaves[$i].muscles -= 2>> <<case "MusclesHarder">> Hormonal effects @@color:lime;build up $possessive musculature.@@ <<set $slaves[$i].muscles += 2>> <<case "NipplesBigger">> Hormonal effects cause $possessive tiny @@color:lime;nipples to grow to a more normal size.@@ <<set $slaves[$i].nipples to "cute">> <<case "NipplesSmaller">> Hormonal effects cause $possessive huge @@color:orange;nipples to shrink to a more reasonable size.@@ <<set $slaves[$i].nipples to "cute">> <<case "Shorter">> $pronounCap has not yet reached the age at which height becomes fixed. Hormonal effects cause @@color:orange;$object to lose a bit of height@@ that $pronoun would naturally have maintained. <<set $slaves[$i].height -= 1>> <<case "Taller">> $pronounCap has not yet reached the age at which height becomes fixed. Hormonal effects cause @@color:lime;$object to gain a slight height advantage@@ that $pronoun would not naturally have reached. <<set $slaves[$i].height += 1>> <<case "Devoted">> Hormonal effects make $object a bit more @@color:hotpink;docile.@@ <<set $slaves[$i].devotion += 1>> <<case "Rebellious">> Hormonal effects @@color:mediumorchid;make $object a bit less docile.@@ <<set $slaves[$i].devotion -= 1>> <<case "Trusting">> Hormonal effects make $object a bit more @@color:mediumaquamarine;trusting.@@ <<set $slaves[$i].trust += 1>> <<case "MaleAttracted">> Hormonal effects cause $object to become @@color:green;more attracted to men.@@ <<set $slaves[$i].attrXY += 2+$hormoneUpgradePower>> <<case "FemaleAttracted">> Hormonal effects cause $object to become @@color:green;more attracted to women.@@ <<set $slaves[$i].attrXX += 2+$hormoneUpgradePower>> <<default>> ERROR: bad hormone effect: _Effects <</switch>> <</if>> <<if ($hormones < 0)>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].devotion > 0)>> <<if ($slaves[$i].career is "a Futanari Sister")>> $pronounCap wishes $pronoun were more feminine, but isn't unhappy to be off hormones, since $pronoun likes being a stiff dicked futa. <<elseif ($slaves[$i].fetish is "buttslut") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>> $pronounCap wishes $pronoun were more feminine, but $pronoun loves getting fucked in the butt so much that it doesn't much bother $object. <<elseif ($slaves[$i].fetish is "sadist") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>> Life is easier for effeminate slaves, but $pronoun loves abusing other slaves so much that $pronoun likes being able to get hard. <<elseif ($slaves[$i].fetish is "dom") && ($slaves[$i].fetishStrength > 60) && ($slaves[$i].fetishKnown == 1)>> Life is easier for effeminate slaves, but $pronoun loves dominating other girls so much that $pronoun likes being able to get hard. <<elseif ($slaves[$i].energy > 95)>> $pronounCap wishes $pronoun were more feminine, but $pronoun loves getting fucked like a good little sex slave so much that $pronoun doesn't think about it much. <<elseif ($slaves[$i].devotion <= 20)>> Life is easier for effeminate slaves, so @@color:mediumorchid;$pronoun's a little unhappy@@ that $pronoun isn't getting hormones to make $object more feminine. <<set $slaves[$i].devotion -= 2>> <<elseif ($slaves[$i].devotion <= 50)>> $pronounCap wants to be a good slave girl, so @@color:mediumorchid;$pronoun's a little unhappy@@ that $pronoun isn't getting hormones to make $object look more feminine. <<set $slaves[$i].devotion -= 2>> <<else>> $pronounCap wishes $pronoun were more feminine, but $pronoun accepts your judgment in not giving $object hormones to make that happen. <</if>> <</if>> <</if>> <</if>> <<if Math.abs($slaves[$i].hormones) > 1>> <<set $slaves[$i].chem += 0.5>> <</if>>
r3d/fc
src/uncategorized/saHormoneEffects.tw
tw
bsd-3-clause
16,701
:: SA live with HG [nobr] <<for $j to 0; $j < $slaves.length; $j++>> <<if $HeadGirl.ID == $slaves[$j].ID>> <<set $HeadGirl to $slaves[$j]>> <<break>> <</if>> <</for>> ''$slaves[$i].slaveName'' <<if $slaves[$i].devotion > 20>> <<if $HGSlaveSuccess == 1>> looks after your Head Girl $HeadGirl.slaveName domestically and sexually, freeing her to devote more of her time to looking after your other slaves. <<else>> does her best to look after your Head Girl $HeadGirl.slaveName domestically and sexually, but doesn't free up much of her time this week. <</if>> <<elseif $slaves[$i].trust < -20>> <<if $HGSlaveSuccess == 1>> obeys Head Girl $HeadGirl.slaveName domestically and sexually, freeing her to devote more of her time to looking after your other slaves. <<else>> tries to look after your Head Girl $HeadGirl.slaveName domestically and sexually, but doesn't free up much of her time this week. <</if>> <<else>> <<if $HGSlaveSuccess == 1>> resists Head Girl $HeadGirl.slaveName's domestic and sexual use, but still frees her to devote more of her time to looking after your other slaves. <<else>> resists Head Girl $HeadGirl.slaveName's domestic and sexual use, and doesn't free up much of her time this week. <</if>> <</if>> <<if ($HeadGirl.fetish is "sadist") && ($HeadGirl.fetishStrength > 60) && ($HeadGirl.fetishKnown == 1)>> Since $HeadGirl.slaveName is a sadist, poor $slaves[$i].slaveName lives a life of fear and pain. <<if ($slaves[$i].energy > 95)>> Though it's hard, she manages to find @@color:hotpink;sexual satisfaction@@ being a pain slave. <<set $slaves[$i].devotion += 4>> <<elseif ($slaves[$i].fetish is "masochist")>> <<if ($slaves[$i].fetishStrength > 95)>> She finds deep @@color:hotpink;sexual satisfaction@@ being a pain slave. <<set $slaves[$i].devotion += 4>> <<else>> This forces her to find solace in @@color:lightcoral;deeper masochism.@@ <<set $slaves[$i].fetishStrength += 4>> <</if>> <<elseif ($slaves[$i].devotion < -20)>> This rapidly fills her with @@color:mediumorchid;hatred@@ and @@color:mediumorchid;fear.@@ <<set $slaves[$i].devotion -= 10>> <<set $slaves[$i].trust -= 10>> <<elseif ($slaves[$i].devotion > 20)>> This fills her with @@color:mediumorchid;bitterness@@ and @@color:mediumorchid;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <</if>> <<elseif ($slaves[$i].devotion < -20)>> <<if ($slaves[$i].trust >= -20)>> Since she is not yet obedient, $HeadGirl.slaveName @@color:gold;punishes@@ her constantly, training her to be a decent assistant or suffer pain. <<set $slaves[$i].trust -= 5>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> Since she is not yet well trained, $HeadGirl.slaveName instructs her, @@color:hotpink;training@@ her to be a proper assistant. <<set $slaves[$i].devotion += 4>> <<elseif ($slaves[$i].devotion <= 50)>> Since she is not yet a devoted slave, $HeadGirl.slaveName works with her, @@color:hotpink;training@@ her to be a good assistant. <<set $slaves[$i].devotion += 2>> <<else>> Since she is a devoted assistant, $HeadGirl.slaveName @@color:hotpink;praises@@ and encourages her. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($HeadGirl.rivalry != 0) && ($HeadGirl.relationshipTarget is $slaves[$i].ID)>> $HeadGirl.slaveName @@color:lightgreen;resolves the rivalry@@ between her and $slaves[$i].slaveName, mostly by the expedient of punishing $slaves[$i].slaveName savagely whenever she gives any trouble. <<set $HeadGirl.rivalry to 0>> <<set $HeadGirl.rivalryTarget to 0>> <<set $slaves[$i].rivalry to 0>> <<set $slaves[$i].rivalryTarget to 0>> <<elseif ($HeadGirl.relationship == 0)>> <<if $familyTesting == 1>> <<if $slaves[$i].mother == $HeadGirl.ID || $slaves[$i].father == $HeadGirl.ID || $slaves[$i].ID == $HeadGirl.mother || $slaves[$i].ID == $HeadGirl.father || areSisters($HeadGirl, $slaves[$i]) > 0>> $HeadGirl.slaveName <<if $HeadGirl.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ the prospect of sexual service from her <<set $HeadGirl.devotion += 1>> <<elseif $HeadGirl.devotion > 60>> is so devoted to you that she accepts the prospect of sexual service from her <<else>> is somewhat @@color:mediumorchid;disturbed@@ by the prospect of sexual service from her <<set $HeadGirl.devotion -= 2>> <</if>> <<if $slaves[$i].mother == $HeadGirl.ID || $slaves[$i].father == $HeadGirl.ID>> daughter. <<elseif $HeadGirl.mother == $slaves[$i].ID>> mother. <<elseif $HeadGirl.father == $slaves[$i].ID>> father. <<elseif areSisters($HeadGirl, $slaves[$i]) == 1>> twin. <<elseif areSisters($HeadGirl, $slaves[$i]) == 2>> sister. <<elseif areSisters($HeadGirl, $slaves[$i]) == 3>> half-sister. <</if>> $slaves[$i].slaveName <<if $slaves[$i].devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ the prospect of sexually servicing her <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].devotion > 60>> is so devoted to you that she accepts the prospect of sexually servicing her <<elseif $slaves[$i].devotion > 40>> is somewhat @@color:mediumorchid;disturbed@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 2>> <<elseif $slaves[$i].devotion > 20>> is @@color:mediumorchid;disturbed@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 4>> <<elseif $slaves[$i].devotion >= -20>> is @@color:mediumorchid;strongly disturbed@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 5>> <<else>> is @@color:mediumorchid;revolted@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 10>> <</if>> <<if $HeadGirl.mother == $slaves[$i].ID || $HeadGirl.father == $slaves[$i].ID>> daughter. <<elseif $slaves[$i].mother == $HeadGirl.ID>> mother. <<elseif $slaves[$i].father == $HeadGirl.ID>> father. <<elseif areSisters($HeadGirl, $slaves[$i]) == 1>> twin. <<elseif areSisters($HeadGirl, $slaves[$i]) == 2>> sister. <<elseif areSisters($HeadGirl, $slaves[$i]) == 3>> half-sister. <</if>> <</if>> <<else>> <<if $slaves[$i].relation != 0>> <<if $slaves[$i].relationTarget is $HeadGirl.ID>> $HeadGirl.slaveName <<if $HeadGirl.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ the prospect of sexual service from her <<set $HeadGirl.devotion += 1>> <<elseif $HeadGirl.devotion > 60>> is so devoted to you that she accepts the prospect of sexual service from her <<else>> is somewhat @@color:mediumorchid;disturbed@@ by the prospect of sexual service from her <<set $HeadGirl.devotion -= 2>> <</if>> <<if $HeadGirl.relation is "twin">> twin. <<elseif $HeadGirl.relation is "sister">> sister. <<elseif $HeadGirl.relation is "mother">> daughter. <<elseif $HeadGirl.relation is "daughter">> mother. <</if>> $slaves[$i].slaveName <<if $slaves[$i].devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ the prospect of sexually servicing her <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].devotion > 60>> is so devoted to you that she accepts the prospect of sexually servicing her <<elseif $slaves[$i].devotion > 40>> is somewhat @@color:mediumorchid;disturbed@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 2>> <<elseif $slaves[$i].devotion > 20>> is @@color:mediumorchid;disturbed@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 4>> <<elseif $slaves[$i].devotion >= -20>> is @@color:mediumorchid;strongly disturbed@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 5>> <<else>> is @@color:mediumorchid;revolted@@ by the prospect of sexually servicing her <<set $slaves[$i].devotion -= 10>> <</if>> <<if $slaves[$i].relation is "twin">> twin. <<elseif $slaves[$i].relation is "sister">> sister. <<elseif $slaves[$i].relation is "mother">> daughter. <<elseif $slaves[$i].relation is "daughter">> mother. <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].relationship == 0) && ($slaves[$i].devotion > 20)>> $slaves[$i].slaveName sees $HeadGirl.slaveName constantly, and does her best to @@color:lightgreen;become her friend.@@ <<set $HeadGirl.relationship to 1>> <<set $HeadGirl.relationshipTarget to $slaves[$i].ID>> <<set $slaves[$i].relationship to 1>> <<set $slaves[$i].relationshipTarget to $HeadGirl.ID>> <<elseif ($slaves[$i].relationship != 5) && ($slaves[$i].relationshipTarget != $HeadGirl.ID)>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$i].relationshipTarget == $slaves[$j].ID>> $slaves[$j].slaveName cannot compete with $HeadGirl.slaveName, and her relationship with the Head Girl's bitch fades. <<set $slaves[$i].relationship to 0>> <<set $slaves[$i].relationshipTarget to 0>> <<set $slaves[$j].relationship to 0>> <<set $slaves[$j].relationshipTarget to 0>> <<break>> <</if>> <</for>> <</if>> <<else>> <<if ($HeadGirl.relationshipTarget is $slaves[$i].ID)>> <<set $slaves[$i].trust += 1>> <<set $HeadGirl.trust += 1>> <<if $slaves[$i].relationship <= 2>> Since $HeadGirl.slaveName and $slaves[$i].slaveName are already friends, they're @@color:mediumaquamarine;thankful@@ to you for allowing it. After a few nights of offering each other sexual comfort, they consider themselves @@color:lightgreen;friends with benefits.@@ <<set $HeadGirl.relationship to 3>> <<set $HeadGirl.relationshipTarget to $slaves[$i].ID>> <<set $slaves[$i].relationship to 3>> <<set $slaves[$i].relationshipTarget to $HeadGirl.ID>> <<elseif $slaves[$i].relationship <= 3>> Since $HeadGirl.slaveName and $slaves[$i].slaveName are already lovers, they both @@color:hotpink;enjoy@@ living together and are @@color:mediumaquamarine;thankful@@ to you for allowing it. After living together for a few days, they draw closer emotionally, too, and consider themselves @@color:lightgreen;lovers.@@ <<set $HeadGirl.relationship to 4>> <<set $HeadGirl.relationshipTarget to $slaves[$i].ID>> <<set $slaves[$i].relationship to 4>> <<set $slaves[$i].relationshipTarget to $HeadGirl.ID>> <<elseif $slaves[$i].relationship <= 4>> <<if ($HeadGirl.fetishKnown == 1) && ($HeadGirl.fetishStrength <= 60) && ($HeadGirl.fetish is "sadist") && ($slaves[$i].fetish != "masochist")>> Since their relationship is very abusive, only $HeadGirl.slaveName @@color:hotpink;enjoys@@ living together with $slaves[$i].slaveName. <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <<else>> Since $HeadGirl.slaveName and $slaves[$i].slaveName are lovers, they @@color:hotpink;enjoy@@ living together. <</if>> <<else>> Since $HeadGirl.slaveName and $slaves[$i].slaveName are slave wives, they @@color:hotpink;enjoy@@ living together. <</if>> <</if>> <</if>> <<set $skillIncrease = 10>> <<if ($slaves[$i].oralSkill <= 30)>> $HeadGirl.slaveName wants to come home to a talented tongue, so she trains $slaves[$i].slaveName's oral skills. <<OralSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].vagina > 0) && ($slaves[$i].vaginalSkill <= 30)>> $HeadGirl.slaveName wants her personal sex slave to be as skilled with her pussy as possible, so she trains $slaves[$i].slaveName's vaginal skills. <<VaginalSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].anus > 0) && ($slaves[$i].analSkill <= 30)>> $HeadGirl.slaveName wants her personal sex slave to be a skillful backdoor whore, so she trains $slaves[$i].slaveName's anal skills. <<AnalSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].entertainSkill <= 10)>> $HeadGirl.slaveName wants to be kept amused in her occasional free time, so she trains $slaves[$i].slaveName's entertainment skills. <<EntertainSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].sexualFlaw != "none")>> $HeadGirl.slaveName is annoyed by $slaves[$i].slaveName's sexual flaws, so she @@color:green;trains@@ her out of them. <<set $slaves[$i].sexualFlaw to "none">> <<elseif ($slaves[$i].behavioralFlaw != "none")>> $HeadGirl.slaveName is irritated by $slaves[$i].slaveName's flaws, so she @@color:green;trains@@ her out of them. <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <<if ($slaves[$i].vaginalAccessory != "chastity belt")>> <<if ($slaves[$i].vagina == 0)>> $HeadGirl.slaveName @@color:hotpink;loves@@ @@color:lime;taking@@ $slaves[$i].slaveName's virginity, and spends much of the week ogling her conquest complacently. <<set $slaves[$i].vagina to 1>> <<set $HeadGirl.devotion += 4>> <<elseif ($slaves[$i].vagina == 1)>> <<if canAchieveErection($HeadGirl)>> <<if ($HeadGirl.dick > 4) && ($HeadGirl.energy > 95)>> $HeadGirl.slaveName has such a ferocious sex drive and such a big dick that her constant pounding of $slaves[$i].slaveName @@color:lime;loosens@@ the poor girl's pussy. <<set $slaves[$i].vagina += 1>> <<elseif ($HeadGirl.dick > 5)>> Serving $HeadGirl.slaveName's monster cock @@color:lime;loosens@@ $slaves[$i].slaveName's pussy. <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <<elseif ($slaves[$i].vagina is 2)>> <<if canAchieveErection($HeadGirl)>> <<if ($HeadGirl.dick > 5) && ($HeadGirl.energy > 95)>> $HeadGirl.slaveName has such a ferocious sex drive and such a monster cock that her constant pounding of $slaves[$i].slaveName @@color:lime;loosens@@ the poor girl's pussy. <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].anus == 0)>> $HeadGirl.slaveName @@color:hotpink;relishes@@ @@color:lime;taking@@ $slaves[$i].slaveName's anal virginity, and spends much of the week groping her conquest's rear end possessively. <<set $slaves[$i].anus to 1>> <<set $HeadGirl.devotion += 4>> <<elseif ($slaves[$i].anus == 1)>> <<if canAchieveErection($HeadGirl)>> <<if ($HeadGirl.dick > 4) && ($HeadGirl.energy > 95)>> $HeadGirl.slaveName uses $slaves[$i].slaveName's anus to vent her sexual addiction. Constant assrape from such a huge dick @@color:lime;loosens@@ her sphincter. <<set $slaves[$i].anus += 1>> <<elseif ($HeadGirl.dick > 5)>> Taking $HeadGirl.slaveName's monster cock up the butt @@color:lime;loosens@@ $slaves[$i].slaveName's anal sphincter. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <<elseif ($slaves[$i].anus is 2)>> <<if canAchieveErection($HeadGirl)>> <<if ($HeadGirl.dick > 5) && ($HeadGirl.energy > 95)>> $HeadGirl.slaveName uses $slaves[$i].slaveName's anus to vent her sexual addiction. Constant assrape from the Head Girl's monster cock @@color:lime;loosens@@ her sphincter. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <<if ($slaves[$i].vagina > 0) || (($slaves[$i].mpreg == 0) && ($slaves[$i].anus > 0))>> <<if isFertile($slaves[$i])>> <<if ($HeadGirl.fetishKnown == 1)>> <<if ($HeadGirl.fetish is "pregnancy")>> <<if ($HeadGirl.balls > 0)>> <<if $arcologies[0].FSRestart is "unset">> <<if ($HeadGirl.dickAccessory != "chastity")>> $HeadGirl.slaveName promptly @@color:lime;impregnates@@ $slaves[$i].slaveName, to your Head Girl's considerable @@color:hotpink;satisfaction.@@ <<set $slaves[$i].preg to 1>> <<if ($slaves[$i].drugs is "super fertility drugs")>> <<if ($slaves[$i].hormones == 2)>> <<set $slaves[$i].pregType to random(10,20)>> <<else>> <<set $slaves[$i].pregType to either(3, 4, 4, 4, 5, 5, 5, 10, 10, 20)>> <</if>> <<elseif ($slaves[$i].drugs is "fertility drugs")>> <<if ($slaves[$i].hormones == 2)>> <<set $slaves[$i].pregType to random(2,5)>> <<else>> <<set $slaves[$i].pregType to either(1, 1, 2, 2, 3, 3, 4, 4, 5, 5)>> <</if>> <<else>> <<set $slaves[$i].pregType to either(1, 1, 1, 1, 1, 1, 1, 1, 1, 2)>> <</if>> <<set $slaves[$i].pregSource to $HeadGirl.ID>> <<set $HeadGirl.devotion += 4>> <</if>> <<else>> $HeadGirl.slaveName knows better than to even consider knocking up $slaves[$i].slaveName. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].devotion > 50)>> <<if ($slaves[$i].fetishStrength <= 95) || ($slaves[$i].fetishKnown == 0)>> <<if ($HeadGirl.fetishKnown == 1)>> <<if ($HeadGirl.fetishStrength > 60)>> <<if ($slaves[$i].fetish != $HeadGirl.fetish)>> <<if ($HeadGirl.fetish is "submissive")>> $slaves[$i].slaveName slowly gets used to $HeadGirl.slaveName's need to be sexually dominated, and begins to @@color:pink;enjoy being a top@@ within the confines of the suite. <<set $slaves[$i].fetish to "dom">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<elseif ($HeadGirl.fetish is "dom")>> <<if ($slaves[$i].fetish != "submissive") || ($slaves[$i].fetish == 0)>> $slaves[$i].slaveName slowly gets used to being tied up and fucked regularly, and accepts that it's how $HeadGirl.slaveName sexual attraction to her expresses itself. She begins to @@color:pink;enjoy being a sub,@@ especially for $HeadGirl.slaveName. <<set $slaves[$i].fetish to "submissive">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <</if>> <<elseif ($HeadGirl.fetish is "boobs")>> $HeadGirl.slaveName lavishes so much attention on $slaves[$i].slaveName's boobs that $slaves[$i].slaveName really starts to @@color:pink;fetishize tits@@ too. <<set $slaves[$i].fetish to "boobs">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<elseif ($HeadGirl.fetish is "pregnancy")>> $slaves[$i].slaveName and $HeadGirl.slaveName spend so much time talking about pregnancy and fertility $slaves[$i].slaveName really starts to @@color:pink;fetishize pregnancy@@ too. <<set $slaves[$i].fetish to "pregnancy">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<elseif ($HeadGirl.fetish is "cumslut")>> $slaves[$i].slaveName participates in enough of $HeadGirl.slaveName's cum games that she can't help but @@color:pink;enjoy oral sex@@ herself. <<set $slaves[$i].fetish to "cumslut">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<elseif ($HeadGirl.fetish is "humiliation")>> $slaves[$i].slaveName has so much public sex with $HeadGirl.slaveName that she really starts to @@color:pink;enjoy humiliation@@ herself. <<set $slaves[$i].fetish to "humiliation">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<elseif ($HeadGirl.fetish is "buttslut")>> $slaves[$i].slaveName takes $HeadGirl.slaveName's <<if ($HeadGirl.dick > 0) && ($HeadGirl.balls > 0) && ($HeadGirl.dickAccessory != "chastity") && ($HeadGirl.hormones < 1)>>dick<<else>>strap-on and dildos<</if>> up her poor anus so often that she starts to @@color:pink;enjoy buttsex@@ herself. <<set $slaves[$i].fetish to "buttslut">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<elseif ($HeadGirl.fetish is "masochist")>> <<if ($slaves[$i].fetish != "submissive") || ($slaves[$i].fetish == 0)>> $slaves[$i].slaveName is initially shocked to be asked to cause $HeadGirl.slaveName pain, but she slowly begins to understand the honestly sexual nature of the arrangement. She starts to @@color:pink;enjoy causing pain,@@ since $HeadGirl.slaveName is clearly enjoying it so much. <<set $slaves[$i].fetish to "sadist">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <</if>> <<else>> $slaves[$i].slaveName often takes $HeadGirl.slaveName's <<if ($HeadGirl.dick > 0) && ($HeadGirl.balls > 0) && ($HeadGirl.dickAccessory != ("chastity")) && ($HeadGirl.hormones < 1)>>dick<<else>>strap-on<</if>> in the missionary position, after some light foreplay and before bed; she honestly enjoys the respectful lovemaking, and begins to @@color:pink;enjoy vanilla sex@@ herself. <<set $slaves[$i].fetish to "none">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if ($HeadGirl.attrKnown == 1)>> <<if ($HeadGirl.attrXX > 85)>> <<if ($slaves[$i].attrXX > 65)>> <<if ($slaves[$i].attrXX <= 85)>> $slaves[$i].slaveName and $HeadGirl.slaveName spend so much time giggling over which of your other slaves they think is prettiest (typically followed by giggling sex) that $slaves[$i].slaveName really starts to @@color:green;fetishize girls@@ too. <<set $slaves[$i].attrXX += 2>> <<set $slaves[$i].attrKnown to 1>> <</if>> <</if>> <</if>> <<if ($HeadGirl.attrXY > 85)>> <<if ($slaves[$i].attrXY > 65)>> <<if ($slaves[$i].attrXY <= 85)>> $slaves[$i].slaveName and $HeadGirl.slaveName have so much fun debating which male citizens and slave dickgirls are cutest (typically followed by $HeadGirl.slaveName banging her girltoy <<if ($HeadGirl.balls == 0) || ($HeadGirl.hormones > 0) || ($HeadGirl.dick == 0)>>with a strap-on<<else>>senseless<</if>>) that $slaves[$i].slaveName really starts to @@color:green;fetishize boys@@ too. <<set $slaves[$i].attrXY += 2>> <<set $slaves[$i].attrKnown to 1>> <</if>> <</if>> <</if>> <<if ($HeadGirl.energy > 95)>> <<if ($slaves[$i].energy <= 95)>> $slaves[$i].slaveName has so much fun sex with $HeadGirl.slaveName that @@color:green;her sex drive is slowly enhanced.@@ <<set $slaves[$i].energy += 2>> <</if>> <</if>> <</if>> <</if>> <<set _cervixPump = 0>> <<if ($HeadGirl.fetishKnown == 1)>> <<if ($HeadGirl.energy > 95)>> $slaves[$i].slaveName spends a lot of time getting fucked in whichever hole $HeadGirl.slaveName decides to shove her <<if ($HeadGirl.dick > 0) and canAchieveErection($HeadGirl) && ($HeadGirl.dickAccessory != "chastity")>>dick<<else>>strap-on<</if>> into next. <<set $slaves[$i].oralCount += 5>> <<set $oralTotal += 5>> <<set $slaves[$i].analCount += 5>> <<set $analTotal += 5>> <<if ($slaves[$i].vagina > 0)>> <<set $slaves[$i].vaginalCount += 5>> <<set _cervixPump += 5>> <<set $vaginalTotal += 5>> <<else>> <<set $slaves[$i].analCount += 5>> <<set $analTotal += 5>> <</if>> <<set $HeadGirl.penetrativeCount += 15>> <<set $penetrativeTotal += 15>> <<elseif ($HeadGirl.fetish is "submissive")>> $HeadGirl.slaveName walks a fine line with $slaves[$i].slaveName. They work out a sexual life in which $HeadGirl.slaveName is in charge, but $slaves[$i].slaveName takes the sexual lead: $slaves[$i].slaveName serves her superior by taking her firmly. <<set $slaves[$i].oralCount += 4>> <<set $oralTotal += 4>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <<if ($slaves[$i].vagina > 0)>> <<set $slaves[$i].vaginalCount += 3>> <<set $vaginalTotal += 3>> <<set _cervixPump += 3>> <<else>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <</if>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <<elseif ($HeadGirl.fetish is "dom")>> $slaves[$i].slaveName serves $HeadGirl.slaveName as her sexual and moral inferior, taking the Head Girl's <<if ($HeadGirl.dick > 0) && canAchieveErection($HeadGirl) && ($HeadGirl.dickAccessory != "chastity")>>dick<<else>>strap-on<</if>> in all her holes. Though it isn't necessary with such an obedient partner, $slaves[$i].slaveName is often tied up for use. <<set $slaves[$i].oralCount += 4>> <<set $oralTotal += 4>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <<if ($slaves[$i].vagina > 0)>> <<set $slaves[$i].vaginalCount += 3>> <<set $vaginalTotal += 3>> <<set _cervixPump += 3>> <<else>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <</if>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <<elseif ($HeadGirl.fetish is "humiliation")>> $HeadGirl.slaveName is such an exhibitionist that $slaves[$i].slaveName finds herself taking $HeadGirl.slaveName's <<if ($HeadGirl.dick > 0) && canAchieveErection($HeadGirl) && ($HeadGirl.dickAccessory != "chastity")>>dick<<else>>strap-on<</if>> in public quite often. <<set $slaves[$i].oralCount += 4>> <<set $oralTotal += 4>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <<if ($slaves[$i].vagina > 0)>> <<set $slaves[$i].vaginalCount += 3>> <<set $vaginalTotal += 3>> <<set _cervixPump += 3>> <<else>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <</if>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <<elseif ($HeadGirl.fetish is "boobs")>> $HeadGirl.slaveName is such a boob fetishist that $slaves[$i].slaveName sometimes wonders whether $HeadGirl.slaveName thinks there are four clits in the suite: the four nipples between the two of them. <<set $slaves[$i].oralCount += 4>> <<set $oralTotal += 4>> <<set $slaves[$i].mammaryCount += 6>> <<set $mammaryTotal += 6>> <<set $HeadGirl.mammaryCount += 10>> <<set $mammaryTotal += 10>> <<elseif ($HeadGirl.fetish is "buttslut")>> $HeadGirl.slaveName takes a dominant sexual role with $slaves[$i].slaveName; she indulges her anal addiction by constantly buttfucking $slaves[$i].slaveName while wearing a vibrating plug herself. <<set $slaves[$i].analCount += 10>> <<set $analTotal += 10>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <<elseif ($HeadGirl.fetish is "cumslut")>> $HeadGirl.slaveName takes a dominant sexual role with $slaves[$i].slaveName; she indulges her oral fixation with constant oral sex. She certainly applies her mouth to $slaves[$i].slaveName when she gets the chance, but $slaves[$i].slaveName does most of the sucking. <<set $slaves[$i].oralCount += 20>> <<set $oralTotal += 20>> <<set $HeadGirl.oralCount += 10>> <<set $oralTotal += 10>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <<elseif ($HeadGirl.fetish is "masochist")>> $HeadGirl.slaveName carefully structures her sexual games with $slaves[$i].slaveName to gratify her deep need to be physically hurt during sex without damaging her leadership. Usually, $slaves[$i].slaveName tortures $HeadGirl.slaveName until she's quite sated, and then takes a rough buttfuck from the aroused $HeadGirl.slaveName's <<if ($HeadGirl.dick > 0) && canAchieveErection($HeadGirl) && ($HeadGirl.dickAccessory != "chastity")>>dick<<else>>strap-on<</if>> to restore their relative positions. <<set $slaves[$i].analCount += 10>> <<set $analTotal += 10>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <<elseif ($HeadGirl.attrXX > 65)>> $HeadGirl.slaveName expects $slaves[$i].slaveName to be girlish sexually, and $slaves[$i].slaveName spends a lot of time on her knees. <<set $slaves[$i].oralCount += 6>> <<set $oralTotal += 6>> <<set $slaves[$i].analCount += 2>> <<set $analTotal += 2>> <<if ($slaves[$i].vagina > 0)>> <<set $slaves[$i].vaginalCount += 2>> <<set $vaginalTotal += 2>> <<set _cervixPump += 2>> <<else>> <<set $slaves[$i].analCount += 2>> <<set $analTotal += 2>> <</if>> <<set $HeadGirl.penetrativeCount += 8>> <<set $penetrativeTotal += 8>> <<else>> $HeadGirl.slaveName takes a dominant sexual role with $slaves[$i].slaveName, mostly getting oral and fucking her in the missionary position. <<set $slaves[$i].oralCount += 4>> <<set $oralTotal += 4>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <<if ($slaves[$i].vagina > 0)>> <<set $slaves[$i].vaginalCount += 3>> <<set $vaginalTotal += 3>> <<set _cervixPump += 3>> <<else>> <<set $slaves[$i].analCount += 3>> <<set $analTotal += 3>> <</if>> <<set $HeadGirl.penetrativeCount += 10>> <<set $penetrativeTotal += 10>> <</if>> <</if>> <<if $slaves[$i].cervixImplant == 1 && _cervixPump > 0 >> She notices her @@color:orange;belly swell@@ after vaginal sex throughout the week. <<set $slaves[$i].bellyImplant += _cervixPump*20>> <</if>> <<if ($HeadGirl.fetishKnown == 1)>> <<if ($HeadGirl.energy > 95)>> $HeadGirl.slaveName keeps $slaves[$i].slaveName naked so she doesn't have to waste any time tearing her clothes off. <<set $slaves[$i].clothes to "no clothing">> <<elseif ($HeadGirl.fetish is "submissive")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName dressed up in slutty power clothing, since she's attracted to competence. <<set $slaves[$i].clothes to "slutty business attire">> <<elseif ($HeadGirl.fetish is "masochist")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName in battledress, since she likes the fantasy of being raped by a soldier girl. <<set $slaves[$i].clothes to "battledress">> <<elseif ($HeadGirl.fetish is "dom")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName dressed up as a schoolgirl to infantilize her sub. <<set $slaves[$i].clothes to "a schoolgirl outfit">> <<elseif ($HeadGirl.fetish is "boobs")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName wearing a string bikini, since she likes seeing those tits. <<set $slaves[$i].clothes to "a string bikini">> <<elseif ($HeadGirl.fetish is "cumslut")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName in restrictive latex, because she likes how it draws attention to her mouth. <<set $slaves[$i].clothes to "restrictive latex">> <<elseif ($HeadGirl.fetish is "humiliation")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName in humiliating bondage gear, because she likes to see others blush, too. <<set $slaves[$i].clothes to "uncomfortable straps">> <<elseif ($HeadGirl.fetish is "sadist")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName in humiliating bondage gear, because it can easily be tightened to cause considerable anguish. <<set $slaves[$i].clothes to "uncomfortable straps">> <<elseif ($HeadGirl.fetish is "buttslut")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName wearing nothing but slutty bangles, since she likes dressing her up but wants that butt bare. <<set $slaves[$i].clothes to "slutty jewelry">> <<elseif ($HeadGirl.fetish is "pregnancy") && ($slaves[$i].preg <= 10) && ($slaves[$i].inflation == 0) && ($clothesBoughtBelly == 1 || $cheatMode == 1 || $arcologies[0].FSRepopulationFocus != "unset")>> $HeadGirl.slaveName keeps $slaves[$i].slaveName wearing an empathy belly, since she likes her girls with a bun in the oven. <<set $slaves[$i].bellyAccessory to "a large empathy belly">> <<elseif ($HeadGirl.attrXX > 85)>> $HeadGirl.slaveName keeps $slaves[$i].slaveName wearing nice lingerie, since girls and girliness turn her on. <<set $slaves[$i].clothes to "attractive lingerie">> <<elseif ($HeadGirl.attrXY > 85) && ($slaves[$i].dick > 0)>> $HeadGirl.slaveName keeps $slaves[$i].slaveName wearing slutty netting with a hole for her dick to stick through, since she likes it bare. <<set $slaves[$i].clothes to "clubslut netting">> <<else>> $HeadGirl.slaveName keeps $slaves[$i].slaveName dressed as a slutty maid, since she likes seeing her body as she looks after their suite. <<set $slaves[$i].clothes to "a slutty maid outfit">> <</if>> <<else>> $HeadGirl.slaveName keeps $slaves[$i].slaveName dressed as a slutty maid, since she likes seeing her body as she looks after their suite. <<set $slaves[$i].clothes to "a slutty maid outfit">> <</if>> <<set $slaves[$i].devotion += 1>> <<if $HeadGirl.fetishKnown == 1>> <<if $HeadGirl.energy > 95>> <<if !hasHColorRule($slaves[$i],$defaultRules)>> <<if ($slaves[$i].hColor != $HeadGirl.hColor)>> $HeadGirl.slaveName dyes $slaves[$i].slaveName's hair $HeadGirl.hColor, just like her own, since with nymphomania comes narcissism. <<set $slaves[$i].hColor to $HeadGirl.hColor>> <</if>> <</if>> <<if !hasHStyleRule($slaves[$i],$defaultRules)>> <<if ($slaves[$i].hStyle != $HeadGirl.hStyle)>> $HeadGirl.slaveName styles $slaves[$i].slaveName's hair just like her own, since with nymphomania comes narcissism. <<set $slaves[$i].hStyle to $HeadGirl.hStyle>> <<set $slaves[$i].hLength to $HeadGirl.hLength>> <</if>> <</if>> <<if !hasEyeColorRule($slaves[$i],$defaultRules)>> <<if ($slaves[$i].eyeColor != $HeadGirl.eyeColor)>> <<set $slaves[$i].eyeColor to $HeadGirl.eyeColor>> $HeadGirl.slaveName gives $slaves[$i].slaveName $slaves[$i].eyeColor contact lenses, to match her own eyes, since with nymphomania comes narcissism. <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].weight > 30) && ($slaves[$i].diet != "restricted")>> $HeadGirl.slaveName puts $slaves[$i].slaveName on a diet. <<set $slaves[$i].diet to "restricted">> <<elseif ($slaves[$i].weight < -10) && ($slaves[$i].diet != "fattening")>> $HeadGirl.slaveName puts $slaves[$i].slaveName on a fattening diet. <<set $slaves[$i].diet to "fattening">> <<elseif ($slaves[$i].muscles <= 95) && ($arcologies[0].FSPhysicalIdealist > 0) && ($slaves[$i].amp != 1) && ($slaves[$i].diet != "muscle building")>> $HeadGirl.slaveName wants to support your societal goals, so she makes $slaves[$i].slaveName work out hard. <<set $slaves[$i].diet to "muscle building">> <<elseif ($slaves[$i].muscles <= 95) && ($HeadGirl.fetish is "submissive") && ($HeadGirl.fetishKnown == 1) && ($slaves[$i].amp != 1) && ($slaves[$i].diet != "muscle building")>> $HeadGirl.slaveName wants a strong girl in bed with her, so she makes $slaves[$i].slaveName work out hard. <<set $slaves[$i].diet to "muscle building">> <<elseif ($slaves[$i].muscles <= 95) && ($HeadGirl.fetish is "masochist") && ($HeadGirl.fetishKnown == 1) && ($slaves[$i].amp != 1) && ($slaves[$i].diet != "muscle building")>> $HeadGirl.slaveName wants a strong girl to spank her, so she makes $slaves[$i].slaveName work out hard. <<set $slaves[$i].diet to "muscle building">> <<elseif ($slaves[$i].muscles <= 5) && ($slaves[$i].amp != 1) && ($slaves[$i].diet != "muscle building")>> $HeadGirl.slaveName likes a bit of muscle, so she makes $slaves[$i].slaveName work out hard. <<set $slaves[$i].diet to "muscle building">> <<elseif ($slaves[$i].balls > 0) && ($HeadGirl.fetish is "cumslut") && ($HeadGirl.fetishKnown == 1) && ($slaves[$i].diet != "cum production") && ($cumProDiet == 1)>> HeadGirl.slaveName loves cum, so she puts $slaves[$i].slaveName on a diet designed to make her cum harder and stronger. <<set $slaves[$i].diet to "cum production">> <<elseif ($slaves[$i].diet != "healthy")>> <<set $slaves[$i].diet to "healthy">> <</if>> <<include "SA diet">> <<if $HGSuiteHormones != 0>> <<if $slaves[$i].hormones != 2>> $HeadGirl.slaveName puts $slaves[$i].slaveName on intensive female hormones, since she expects her to act as the submissive, feminine partner. <<set $slaves[$i].hormones to 2>> <</if>> <</if>> <<include "SA long term effects">> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<set $HGTastes to 1>> <<elseif $arcologies[0].FSBodyPurist != "unset">> <<set $HGTastes to 1>> <<elseif $arcologies[0].FSDegradationist != "unset">> <<set $HGTastes to 3>> <<elseif $arcologies[0].FSAssetExpansionist != "unset">> <<set $HGTastes to 3>> <<elseif $arcologies[0].FSTransformationFetishist != "unset">> <<set $HGTastes to 3>> <<else>> <<set $HGTastes to 2>> <</if>> <<if $HGSuiteDrugs != 0>> <<if ($slaves[$i].health < 60)>> $HeadGirl.slaveName gives $slaves[$i].slaveName curatives, since she wants a shiningly healthy living partner. <<set $slaves[$i].curatives = 2>> <</if>> <<if ($slaves[$i].lips <= 20)>> $HeadGirl.slaveName gives $slaves[$i].slaveName lip injections, since she wants to get oral from plump, luscious lips. <<set $slaves[$i].drugs to "lip injections">> <<elseif ($HeadGirl.fetishKnown == 1) && ($HeadGirl.fetish is "buttslut") && ($slaves[$i].butt < 8)>> $HeadGirl.slaveName gives $slaves[$i].slaveName ass injections, since she likes comfortable padding as she fucks a butt. <<set $slaves[$i].drugs to "butt injections">> <<elseif ($HeadGirl.fetishKnown == 1) && ($HeadGirl.fetish is "boobs") && ($slaves[$i].boobs < 8000)>> $HeadGirl.slaveName gives $slaves[$i].slaveName tit injections, since as far as she's concerned there's no such thing as too much boob. <<set $slaves[$i].drugs to "breast injections">> <<elseif $HGTastes > 1>> <<if ($slaves[$i].lips <= 70)>> $HeadGirl.slaveName gives $slaves[$i].slaveName lip injections, since she thinks $slaves[$i].slaveName should have lips so big she can barely speak. <<set $slaves[$i].drugs to "lip injections">> <<elseif ($slaves[$i].butt < $slaves[$i].boobs/1000)>> $HeadGirl.slaveName gives $slaves[$i].slaveName ass injections, since she loves curves and thinks $slaves[$i].slaveName's butt needs the most work. <<set $slaves[$i].drugs to "butt injections">> <<else>> $HeadGirl.slaveName gives $slaves[$i].slaveName boob injections, since she loves curves and thinks $slaves[$i].slaveName's tits need the most work. <<set $slaves[$i].drugs to "breast injections">> <</if>> <<else>> <<set $slaves[$i].drugs to "none">> <</if>> <<else>> <<if ($slaves[$i].health < 100)>> $HeadGirl.slaveName gives $slaves[$i].slaveName curatives, since her assistant could be healthier. <<set $slaves[$i].curatives = 2>> <</if>> <</if>> <<include "SA drugs">> <<if $HGSuiteSurgery != 0>> <<if ($slaves[$i].health > 40)>> <<if $arcologies[0].FSBodyPurist is "unset">> $HeadGirl.slaveName sends $assistantName notes on what surgical modifications she wants for $slaves[$i].slaveName. <<include "Assistant Autosurgery">> <</if>> <</if>> <<if $HeadGirl.fetishKnown == 1>> <<if ($HeadGirl.fetish is "sadist") && ($HeadGirl.fetishStrength > 95) && ($seeExtreme == 1)>> <<if ($slaves[$i].health > 40)>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].devotion < -20)>> <<if ($slaves[$i].fetish != "mindbroken")>> $HeadGirl.slaveName decides to extract the ultimate in sadistic pleasure from $slaves[$i].slaveName, and directs the autosurgery to @@color:red;amputate her arms and legs.@@ She carefully describes the entire process to the sobbing slave @@color:gold;in minute detail@@ before allowing her to be sedated. <<set $slaves[$i].devotion -= 20>> <<set $slaves[$i].trust -= 20>> <<set $slaves[$i].health -= 40>> <<set $slaves[$i].amp to 1>> <</if>> <</if>> <</if>> <<if ($slaves[$i].balls > 0)>> <<if ($slaves[$i].devotion <= 50)>> <<if ($slaves[$i].fetish != "mindbroken")>> $HeadGirl.slaveName decides to have some once-only sadistic pleasure, and carefully straps $slaves[$i].slaveName into the surgery until she's completely immobile. $HeadGirl.slaveName situates a mirror so the terrified girl can see her own crotch, gets behind her, and carefully sodomizes her during the entire process of @@color:red;castration.@@ $slaves[$i].slaveName is anesthetized down there and can't feel the brutal anal rape, but her abuser orgasms repeatedly to her @@color:gold;weeping at the sight of being gelded and raped at once.@@ <<set $slaves[$i].devotion -= 20>> <<set $slaves[$i].trust -= 20>> <<set $slaves[$i].health -= 20>> <<set $slaves[$i].balls to 0>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].fetish != "mindbroken")>> <<if ($slaves[$i].devotion < -90)>> $HeadGirl.slaveName tires of $slaves[$i].slaveName's protests that $HeadGirl.slaveName is a monster for hurting her this way and her complaints that she deserves better. $HeadGirl.slaveName decides that it'll be just as much fun and a lot less trouble to mistreat $slaves[$i].slaveName once she's mindbroken, and sends her in for @@color:red;chemical lobotomization.@@ <<set $slaves[$i].health -= 20>> <<set $slaves[$i].fetish to "mindbroken">> <</if>> <</if>> <<elseif ($HeadGirl.fetish is "dom") && ($HeadGirl.fetishStrength > 60) && ($seeExtreme == 1)>> <<if ($slaves[$i].health > 40)>> <<if ($slaves[$i].heels == 0)>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].devotion <= 50)>> <<if ($slaves[$i].fetish != "mindbroken")>> $HeadGirl.slaveName is not satisfied with $slaves[$i].slaveName's submissiveness, and directs the autosurgery to @@color:red;clip her Achilles tendons.@@ Once the slave is recovered from surgery, $HeadGirl.slaveName removes all shoes from the suite, too, so $slaves[$i].slaveName is forced to crawl like a good little bitch. $slaves[$i].slaveName is @@color:gold;angry@@ and @@color:gold;frightened.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].health -= 20>> <<set $slaves[$i].heels to 1>> <<set $slaves[$i].shoes to "none">> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].balls > 0)>> <<if ($slaves[$i].devotion <= 50)>> <<if ($slaves[$i].fetish != "mindbroken")>> $HeadGirl.slaveName decides that it's counterproductive for $slaves[$i].slaveName to be able to get hard, and sends her in to have her @@color:red;balls removed.@@ $slaves[$i].slaveName is horrified, but $HeadGirl.slaveName uses her anus with such persistence and mercilessness that the poor gelding doesn't have much time to mourn. $slaves[$i].slaveName is badly @@color:gold;frightened@@ by her new role as nothing but a recipient of anal. <<set $slaves[$i].trust -= 10>> <<set $slaves[$i].health -= 20>> <<set $slaves[$i].balls to 0>> <</if>> <</if>> <</if>> <</if>> <<elseif $HeadGirl.energy > 95>> <<if ($slaves[$i].health > 40)>> <<if ($slaves[$i].heels == 0)>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].devotion <= 50)>> <<if ($slaves[$i].fetish != "mindbroken")>> $HeadGirl.slaveName wants a good little bimbo who sticks her butt out all the time, and directs the autosurgery to @@color:red;clip $slaves[$i].slaveName's Achilles tendons.@@ Once the slave is recovered from surgery, $HeadGirl.slaveName presents $slaves[$i].slaveName with a new pair of extra-tall heels to totter around in like a good little slut. $slaves[$i].slaveName is @@color:gold;angry@@ and @@color:gold;frightened.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <<set $slaves[$i].health -= 20>> <<set $slaves[$i].heels to 1>> <<set $slaves[$i].shoes to "heels">> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif $HeadGirl.fetish is "masochist">> <<if ($slaves[$i].health > 40)>> <<if ($slaves[$i].heightImplant == 0)>> <<if ($slaves[$i].height < 185)>> <<if ($slaves[$i].amp != 1)>> $HeadGirl.slaveName has a subconscious need to be hurt by the biggest, strongest girl possible, and directs the autosurgery to extend $slaves[$i].slaveName's arm and leg bones to make her a little @@color:lime;taller.@@ <<set $slaves[$i].health -= 20>> <<set $slaves[$i].heightImplant to 1>> <<set $slaves[$i].height += 1>> <</if>> <</if>> <</if>> <</if>> <<elseif $HeadGirl.fetish is "submissive">> <<if ($slaves[$i].health > 40)>> <<if ($slaves[$i].heightImplant == 0)>> <<if ($slaves[$i].height < 185)>> <<if ($slaves[$i].amp != 1)>> $HeadGirl.slaveName wants to be topped by the biggest, strongest girl possible, and directs the autosurgery to extend $slaves[$i].slaveName's arm and leg bones to make her a little @@color:lime;taller.@@ <<set $slaves[$i].health -= 20>> <<set $slaves[$i].heightImplant to 1>> <<set $slaves[$i].height += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $HGSuiteEquality != 0>> <<if $slaves[$i].devotion > 50>> $HeadGirl.slaveName and $slaves[$i].slaveName @@color:hotpink;really appreciate@@ the equal, alternating Head Girl system, and @@color:yellow;switch places at the end of the week.@@ <<set $HeadGirl.devotion += 1>> <<set $slaves[$i].devotion += 1>> <<else>> $slaves[$i].slaveName is not a decent Head Girl candidate, so $HeadGirl.slaveName keeps the position for now. <</if>> <<else>> <<set $seed to $HGSuiteSurgery + $HGSuiteDrugs + $HGSuiteHormones>> <<if $seed > 2>> Your Head Girl @@color:hotpink;really enjoys@@ being given total freedom to customize her very own bitch. <<set $HeadGirl.devotion += 2>> <<elseif $seed is 2>> Your Head Girl @@color:hotpink;enjoys@@ being given freedom to customize her very own girl. <<set $HeadGirl.devotion += 1>> <<elseif $seed == 1>> Your Head Girl @@color:hotpink;appreciates@@ being given some freedom to customize her own servant. <<set $HeadGirl.devotion += 1>> <</if>> <</if>> <<if ($HeadGirl.relationshipTarget is $slaves[$i].ID)>> <<set ($HeadGirl.relationship to $slaves[$i].relationship)>> <</if>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $HeadGirl.ID == $slaves[$j].ID>> <<set $slaves[$j] to $HeadGirl>> <<break>> <</if>> <</for>>
r3d/fc
src/uncategorized/saLiveWithHG.tw
tw
bsd-3-clause
44,034
:: SA please you [nobr] serves you this week. <<set _trainingEfficiency = 5+Math.trunc($slaves[$i].devotion/30)+$slaves[$i].intelligence>> <<set $skillIncrease = _trainingEfficiency>> <<if ($slaves[$i].toyHole is "pussy")>> <<if ($slaves[$i].vagina == 0)>> <<set $slaves[$i].toyHole to "all her holes">> <</if>> <</if>> <<if $slaves[$i].toyHole is "dick">> <<if $slaves[$i].dick == 0>> <<set $slaves[$i].toyHole to "all her holes">> <</if>> <</if>> <<if ($slaves[$i].toyHole != "all her holes")>> <<if ($slaves[$i].toyHole is "pussy")>> <<set $seed to random(5,10)>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <<set _cervixPump = $seed>> <<if $slaves[$i].fuckdoll == 0>> <<if ($slaves[$i].trust < -20)>> $pronounCap spends the week in terrified compliance with your use of $possessive pussy. <<elseif ($slaves[$i].devotion < -20)>> $pronounCap spends the week alternately struggling and lying corpselike as you use $possessive pussy. <<elseif ($slaves[$i].devotion <= 20)>> $pronounCap spends the week reluctantly accepting your use of $possessive pussy. <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "submissive")>> $pronounCap spends the week as your adoring submissive, seeing to your pleasure with $possessive womanhood. <<elseif ($slaves[$i].devotion <= 50)>> $pronounCap spends the week obediently serving you in the classical way, taking you into $possessive womanhood. <<else>> $pronounCap spends the week serving you in the classical way, warming your bed and lovingly taking you into $possessive womanhood. <</if>> <<if ($slaves[$i].trust > -20) && ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; the constant rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 15>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object at least once a day; the regular rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 9>> <<else>> You have the sexual energy to fuck $object on occasion; the threat of rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; submitting to your constant use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object at least once a day; submitting to your regular use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 2>> <<else>> You have the sexual energy to fuck $object on occasion; submitting to your use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 1>> <</if>> <<else>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; constant, enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object several times a day; regular, enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to fuck $object on occasion; enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<if ($slaves[$i].sexualFlaw is "hates penetration") && ($slaves[$i].devotion > 50)>> The emotional closeness @@color:green;resolves $possessive hatred of penetration.@@ <<set $slaves[$i].sexualFlaw to "none">> <</if>> <<if ($slaves[$i].vaginalSkill < 100)>> After a lot of time spent having vanilla sex, $possessive vaginal skill improves. <<VaginalSkillIncrease $slaves[$i]>> <</if>> <<if ($slaves[$i].fetishStrength <= 60) && (random(1,500) < 100+$slaves[$i].devotion)>> <<set $slaves[$i].fetish to "submissive">> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> $pronounCap climaxes with your strong hands holding $object and your cock spreading heat through $possessive core, teaching $object that @@color:lightcoral;a girl's role is to please a man.@@ <</if>> <<if $slaves[$i].cervixImplant == 1 && _cervixPump > 0 >> $pronounCap notices $possessive @@color:orange;belly swell@@ from vaginal sex throughout the week. <<set $slaves[$i].bellyImplant += _cervixPump*20>> <</if>> <</if>> <<elseif ($slaves[$i].toyHole is "ass")>> <<set $seed to random(5,10)>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <<if $slaves[$i].fuckdoll == 0>> <<if ($slaves[$i].trust < -20)>> $pronounCap spends the week in terrified compliance with your use of $possessive anus. <<elseif ($slaves[$i].devotion < -20)>> $pronounCap spends the week struggling and screaming as you sodomize $object. <<elseif ($slaves[$i].devotion <= 20)>> $pronounCap spends the week writhing in pain as you sodomize $object. <<elseif ($slaves[$i].devotion <= 50)>> $pronounCap spends the week obediently submitting to your use of $possessive butthole. <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "buttslut")>> $pronounCap spends the week as your adoring anal slave, orgasming to the feel of you shooting your seed up $possessive ass. <<else>> $pronounCap spends the week warming your bed and devotedly serving your sexual needs with $possessive anus. <</if>> <<if ($slaves[$i].trust > -20) && ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $possessive butt several times a day; the constant anal rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 15>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $possessive butt at least once a day; the regular anal rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 9>> <<else>> You have the sexual energy to fuck $possessive butt on occasion; the threat of anal rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $possessive butt several times a day; constantly allowing you to penetrate $possessive anus @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $possessive butt at least once a day; regularly allowing you to penetrate $possessive anus @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 2>> <<else>> You have the sexual energy to fuck $possessive butt on occasion; allowing you to penetrate $possessive anus @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 1>> <</if>> <<else>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $possessive butt several times a day; constantly climaxing to your penetration of $possessive anus brings $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $possessive butt several times a day; regularly climaxing to your penetration of $possessive anus brings $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to fuck $possessive butt on occasion; climaxing to your penetration of $possessive anus brings $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<if ($slaves[$i].sexualFlaw is "hates anal") && ($slaves[$i].devotion > 50)>> $pronounCap's devoted enough to derive emotional closeness from buttsex, which @@color:green;resolves $possessive hatred of the act.@@ <<set $slaves[$i].sexualFlaw to "none">> <</if>> <<if ($slaves[$i].analSkill < 100)>> After a lot of time spent getting buttfucked, $possessive anal skill improves. <<AnalSkillIncrease $slaves[$i]>> <</if>> <<if ($slaves[$i].fetishStrength <= 60) && (random(1,500) < 100+$slaves[$i].devotion)>> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<set $slaves[$i].fetish to "buttslut">> After repeated anal orgasms, @@color:lightcoral;$pronoun begins to crave $possessive next buttfuck.@@ <</if>> <</if>> <<elseif ($slaves[$i].toyHole is "mouth")>> <<set $seed to random(5,10)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if $slaves[$i].fuckdoll == 0>> <<if ($slaves[$i].trust < -20)>> $pronounCap spends the week in terrified compliance with your use of $possessive <<if ($PC.dick == 1)>>throat<<else>>mouth<</if>>. <<elseif ($slaves[$i].devotion < -20)>> $pronounCap spends the week struggling and gagging as you <<if ($PC.dick == 1)>>throatfuck $object<<else>>ride $possessive face<</if>>. <<elseif ($slaves[$i].devotion <= 20)>> $pronounCap spends the week reluctantly <<if ($PC.dick == 1)>>servicing your cock with $possessive mouth<<else>>licking your pussy<</if>>. <<elseif ($slaves[$i].devotion <= 50)>> $pronounCap spends the week obediently <<if ($PC.dick == 1)>>sucking your cock<<else>>eating you out<</if>>. <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "cumslut")>> $pronounCap spends the week as your adoring oral slave, orgasming to the <<if $PC.dick == 1>>feel of you shooting your seed down $possessive throat<<if $PC.vagina == 1>> and the <</if>><</if>><<if $PC.vagina == 1>>taste of your pussyjuice<</if>>. <<else>> $pronounCap spends the week warming your bed and lavishing devoted attention on your <<if $PC.dick == 1>>cock<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>pussy<</if>> with $possessive loving mouth. <</if>> <<if ($slaves[$i].trust > -20) && ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to <<if ($PC.dick == 1)>>rape $possessive face<<else>>force $object to eat you out<</if>> $object several times a day; the constant sexual abuse fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 15>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to <<if ($PC.dick == 1)>>rape $possessive face<<else>>force $object to eat you out<</if>> $object at least once a day; the regular sexual abuse fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 9>> <<else>> You have the sexual energy to <<if ($PC.dick == 1)>>rape $possessive face<<else>>force $object to eat you out<</if>> $object on occasion; the threat of sexual abuse fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to <<if ($PC.dick == 1)>>use $possessive mouth<<else>>make $object eat you out<</if>> several times a day; constantly performing oral on you @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to <<if ($PC.dick == 1)>>use $possessive mouth<<else>>make $object eat you out<</if>> at least once a day; regularly performing oral on you @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 2>> <<else>> You have the sexual energy to <<if ($PC.dick == 1)>>use $possessive mouth<<else>>make $object eat you out<</if>> on occasion; performing oral on you @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 1>> <</if>> <<else>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to <<if ($PC.dick == 1)>>get a blowjob<<if $PC.vagina == 1>> and some pussy licking<</if>> from $object<<else>>let $object eat you out<</if>> several times a day; constantly giving you pleasure brings $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to <<if ($PC.dick == 1)>>get a blowjob from $object<<else>>let $object eat you out<</if>> several times a day; regularly giving you pleasure brings $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to <<if ($PC.dick == 1)>>get a blowjob<<if $PC.vagina == 1>> and some pussy licking<</if>> from $object<<else>>let $object eat you out<</if>> on occasion; giving you pleasure brings $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<if ($slaves[$i].sexualFlaw is "hates oral") && ($slaves[$i].devotion > 50)>> $pronounCap's devoted enough to derive emotional closeness from giving you oral, which @@color:green;resolves $possessive hatred of the act.@@ <<set $slaves[$i].sexualFlaw to "none">> <</if>> <<if ($slaves[$i].behavioralFlaw is "hates men") && ($PC.dick == 1) and ($slaves[$i].devotion > 20)>> Spending so much time in close proximity to your dick @@color:green;reconciles $object to serving cocks.@@ <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <<if ($slaves[$i].behavioralFlaw is "hates women") && ($PC.vagina == 1) and ($slaves[$i].devotion > 20)>> Spending so much time in close proximity to your womanhood @@color:green;reconciles $object to serving a pussy.@@ <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <<if ($slaves[$i].oralSkill < 100)>> After a lot of time spent sucking you off, $possessive oral skill improves. <<OralSkillIncrease $slaves[$i]>> <</if>> <<if ($slaves[$i].fetishStrength <= 60) && (random(1,500) < 100+$slaves[$i].devotion)>> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<set $slaves[$i].fetish to "cumslut">> $pronounCap climaxes with <<if $PC.dick == 1>>your dick in $possessive mouth<<else>>$possessive mouth on your cunt<</if>>, learning that giving @@color:lightcoral;blowjobs is a lot of fun.@@ <</if>> <</if>> <<elseif $slaves[$i].toyHole is "boobs">> <<set $seed to random(5,10)>> <<set $slaves[$i].mammaryCount += $seed>> <<set $mammaryTotal += $seed>> <<if $slaves[$i].fuckdoll == 0>> <<if ($slaves[$i].trust < -20)>> $pronounCap spends the week in terrified compliance with your use of $possessive breasts. <<elseif ($slaves[$i].devotion < -20)>> $pronounCap spends the week trying to keep $possessive tits away from your grasping hands. <<elseif ($slaves[$i].devotion <= 20)>> $pronounCap spends the week reluctantly presenting $possessive tits for your use. <<elseif ($slaves[$i].devotion <= 50)>> $pronounCap spends the week obediently offering $possessive tits for your use. <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "boobs")>> $pronounCap spends the week moaning and shivering as you give it to $possessive where $pronoun likes it best: $possessive tits. <<else>> $pronounCap spends the week keeping $possessive tits in constant contact with you, giving you titjobs, resting them against you as you work, and serving as a comfortable pillow at bedtime. <</if>> <<if ($slaves[$i].trust > -20) && ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to <<if ($PC.dick == 1)>>cum on $possessive boobs<<else>>thoroughly grope $possessive boobs<</if>> $object several times a day; the constant sexual abuse fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 15>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to <<if ($PC.dick == 1)>>cum on $possessive boobs<<else>>thoroughly grope $possessive boobs<</if>> $object at least once a day; the regular sexual abuse fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 9>> <<set $slaves[$i].trust -= 3>> <<else>> You have the sexual energy to <<if ($PC.dick == 1)>>cum on $possessive boobs<<else>>thoroughly grope $possessive boobs<</if>> $object on occasion; the threat of sexual abuse fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to play with $possessive tits several times a day; constantly submitting to your games @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to play with $possessive tits at least once a day; regularly submitting to your games @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 2>> <<else>> You have the sexual energy to play with $possessive tits on occasion; submitting to your games @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 1>> <</if>> <<else>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to <<if ($PC.boobs == 1)>>have mutual mammary intercourse until you both orgasm to nipple stimulation<<else>>have mammary intercourse with $object<</if>> several times a day; constantly giving you pleasure @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to <<if ($PC.boobs == 1)>>have mutual mammary intercourse until you both orgasm to nipple stimulation<<else>>have mammary intercourse with $object<</if>> several times a day; regularly giving you pleasure @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to <<if ($PC.boobs == 1)>>have mutual mammary intercourse until you both orgasm to nipple stimulation<<else>>have mammary intercourse with $object<</if>> on occasion; giving you pleasure @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<if ($slaves[$i].sexualFlaw is "hates oral") && ($slaves[$i].devotion > 50)>> $pronounCap's devoted enough to derive emotional closeness from giving you oral, which @@color:green;resolves $possessive hatred of the act.@@ <<set $slaves[$i].sexualFlaw to "none">> <</if>> <<if ($slaves[$i].behavioralFlaw is "hates men") && ($slaves[$i].devotion > 20)>> Spending so much time in close proximity to your masculinity @@color:green;reconciles $object to serving the male gender.@@ <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <<if ($slaves[$i].fetishStrength <= 60) && (random(1,500) < 100+$slaves[$i].devotion)>> <<set $slaves[$i].fetishKnown to 1>> <<set $slaves[$i].fetishStrength = 10>> <<set $slaves[$i].fetish to "boobs">> $pronounCap climaxes to nipple stimulation alone, and starts acting as though $pronoun has @@color:lightcoral;three pleasure buttons@@ rather than just one. <</if>> <</if>> <</if>> /*check*/ <<if ($slaves[$i].toyHole is "dick")>> <<if $slaves[$i].fuckdoll == 0>> <<set $seed to random(5,10)>> <<set $activeSlave.penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> $pronounCap spends the week <<if ($slaves[$i].trust < -20)>> in terrified compliance with your use of $possesive dick. <<elseif ($slaves[$i].devotion < -20)>> alternately struggling and lying corpselike as you ride $possesive dick. <<elseif ($slaves[$i].devotion <= 20)>> reluctantly accepting your use of $possessive dick. <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "submissive")>> as your adoring submissive, seeing to your pleasure with $possesive shaft. <<elseif ($slaves[$i].devotion <= 50 && $PC.vagina == 1)>> obediently serving you in the classical way, driving into your womanhood. <<elseif ($slaves[$i].devotion <= 50)>> week obediently serving you by driving into your backdoor. <<elseif $PC.vagina == 1>> serving you in the classical way, warming your bed and lovingly driving $possesive shaft into your womanhood. <<else>> serving you in the classical way, warming your bed and lovingly driving $possesive shaft into your backdoor. <</if>> <<if ($slaves[$i].trust > -20) && ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; the constant rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 15>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object at least once a day; the regular rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 9>> <<else>> You have the sexual energy to fuck $object on occasion; the threat of rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; submitting to your constant use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object at least once a day; submitting to your regular use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 2>> <<else>> You have the sexual energy to fuck $object on occasion; submitting to your use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 1>> <</if>> <<else>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; constant, enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object several times a day; regular, enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to fuck $object on occasion; enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> /*check*/ <<if ($PC.preg == 0) && ($PC.vagina == 1) && ($slaves[$i].ballType == "human")>> <<if random(1,100) > 50-($seed*10)>> <<set $PC.preg = 1>> $PC.pregSource = $slaves[$i].ID; <</if>> <</if>> <</if>> <<else>> <<if $slaves[$i].fuckdoll > 0>> You keep $object with you all week, using it as your personal sex toy. When you're not using it, it <<if $activeSlave.amp > 0>>rests<<else>>stands<</if>> nearby, waiting silently. <<set $slaves[$i].trust += 4>> <<set $seed to random(3,5)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <</if>> <<elseif ($slaves[$i].anus == 0) && ($slaves[$i].vagina == 0)>> Since you haven't yet decided to sell or take $possessive virginity or $possessive tight little anus, you let $object please you with $possessive mouth. $pronounCap is @@color:mediumaquamarine;duly grateful@@ you let $object keep $possessive innocence for another week, though $possessive throat gets a little sore doing the work of three holes. <<set $slaves[$i].trust += 1>> <<set $seed to random(5,10)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].vagina == 0) && canDoVaginal($slaves[$i])>> Since you haven't yet decided to sell or take $possessive virginity, but $pronoun's taken it up the ass, you let $object be your anal whore. $pronounCap is @@color:mediumaquamarine;duly grateful@@ you let $possessive keep $possessive innocence for another week, though $possessive butt gets a little sore. <<set $slaves[$i].trust += 1>> <<set $seed to random(5,10)>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <<elseif ($slaves[$i].anus == 0) && canDoAnal($slaves[$i])>> Since you haven't yet decided to sell or take $possessive tight little anus, you let $object confine $possessive efforts to $possessive <<if canDoVaginal($slaves[$i])>>pussy and <</if>>mouth. $pronounCap is @@color:mediumaquamarine;duly grateful@@ you let $object put off taking it up the butt another week. <<set $slaves[$i].trust += 1>> <<set $seed to random(5,10)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <<elseif !canWalk($slaves[$i])>> You carry $object around with you all week, using $object as your personal sex toy and bedwarmer. <<if ($slaves[$i].amp == 1)>> Without arms and legs, <<elseif tooBigBreasts($slaves[$i])>> Immobilized by $possessive own tits, <<elseif tooBigBelly($slaves[$i])>> Immobilized by $possessive own swollen orb of a midsection, <<elseif tooBigBalls($slaves[$i])>> Immobilized by $possessive own oversized testicles, <<elseif tooBigDick($slaves[$i])>> Immobilized by $possessive own oversized cock, <<elseif tooBigButt($slaves[$i])>> Immobilized by $possessive own massive ass, <<else>> With $possessive clipped heels, <</if>> $pronoun is your @@color:hotpink;helpless sexual appliance@@ and is @@color:mediumaquamarine;forced to trust you.@@ <<set $slaves[$i].trust += 4>> <<set $seed to random(3,5)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <<elseif ($slaves[$i].devotion > 50)>> $pronounCap devotedly accompanies you all week, keeping $possessive <<if canDoAnal($slaves[$i]) && canDoVaginal($slaves[$i])>> mouth, vagina and asshole <<elseif ($slaves[$i].vagina is -1)>> mouth and asshole <<elseif ($slaves[$i].vaginalAccessory is "chastity belt") || ($slaves[$i].vaginalAccessory is "combined chastity") && canDoAnal($slaves[$i])>> mouth and, since $possessive pussy is covered by $possessive chastity belt, asshole <<else>> mouth <</if>> available for you at all times. <<if ($slaves[$i].dick != 0) && canAchieveErection($slaves[$i])>> Every time $possessive beloved <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>> fucks $object, $pronoun gets a hardon. <<elseif ($slaves[$i].dick != 0) && canDoAnal($slaves[$i])>> $pronounCap doesn't get a hardon as you use $object, but $pronoun comes from the prostate stimulation when $possessive beloved <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>> uses $possessive butt. <<elseif ($slaves[$i].dick != 0) && canDoVaginal($slaves[$i])>> $pronounCap doesn't get a hardon as you use $object, but $pronoun comes from the prostate stimulation when $possessive beloved <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>> uses $possessive pussy. <<else>> $pronounCap comes indecently hard whenever $possessive beloved <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>> uses $possessive body. <</if>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; constant, loving sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object several times a day; regular, loving sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to fuck $object on occasion; loving sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <<set $seed to random(3,5)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <<elseif ($slaves[$i].devotion > 20)>> Whenever you feel the need, you use whichever of $possessive available holes that appears most appealing at the moment, since $pronoun's up for anything. <<if ($slaves[$i].dick != 0) && canAchieveErection($slaves[$i])>> By the end of the week $pronoun gets a hardon when you use $object. <</if>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; constant, enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 3>> <<set $slaves[$i].trust += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object several times a day; regular, enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 2>> <<set $slaves[$i].trust += 2>> <<else>> You have the sexual energy to fuck $object on occasion; enjoyable sex with you draws $object @@color:hotpink;closer to you@@ and encourages $object to @@color:mediumaquamarine;trust you.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <</if>> <<set $seed to random(3,5)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <<elseif ($slaves[$i].trust < -20)>> $pronounCap is afraid of you and does $possessive best to offer you $possessive <<if canDoAnal($slaves[$i]) && canDoVaginal($slaves[$i])>> mouth, vagina and asshole <<elseif ($slaves[$i].vagina is -1)>> mouth and asshole <<elseif ($slaves[$i].vaginalAccessory is "chastity belt") || ($slaves[$i].vaginalAccessory is "combined chastity") && canDoAnal($slaves[$i])>> mouth and, since $possessive pussy is covered by $possessive chastity belt, asshole <<else>> mouth <</if>> to save herself from worse treatment than mere rape. <<if ($slaves[$i].dick != 0) && canAchieveErection($slaves[$i])>> By the end of the week $pronoun gets a hardon when you use $object. <</if>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; submitting to your constant use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 3>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object at least once a day; submitting to your regular use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 2>> <<else>> You have the sexual energy to fuck $object on occasion; submitting to your use @@color:hotpink;habituates $object@@ to being your sex slave. <<set $slaves[$i].devotion += 1>> <</if>> <<set $seed to random(3,5)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <<else>> Whenever you feel the need, you grab $object and use whichever of $possessive available holes that appears most appealing at the moment. <<if ($slaves[$i].dick != 0)>> $possessiveCap dick stays limp as you rape $object. <</if>> <<if ($fuckSlaves <= $PC.sexualEnergy/2)>> You have the sexual energy to fuck $object several times a day; the constant rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 15>> <<elseif ($fuckSlaves <= $PC.sexualEnergy)>> You have the sexual energy to fuck $object at least once a day; the regular rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 9>> <<set $slaves[$i].trust -= 3>> <<else>> You have the sexual energy to fuck $object on occasion; the threat of rape fills $object with @@color:mediumorchid;revulsion@@ and @@color:gold;fear.@@ <<set $slaves[$i].devotion -= 3>> <<set $slaves[$i].trust -= 3>> <</if>> <<set $seed to random(3,5)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <<if canDoAnal($slaves[$i])>> <<set $slaves[$i].analCount += $seed>> <<set $analTotal += $seed>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $slaves[$i].vaginalCount += $seed>> <<set $vaginalTotal += $seed>> <</if>> <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if ($slaves[$i].health < 0) && (random(1,100) > 50)>> Under your personal supervision, @@color:green;$possessive health improves@@. <<set $slaves[$i].health += 10>> <</if>> <<if ($slaves[$i].oralSkill < 100)>> After a lot of time spent with <<if $PC.dick == 1>>your dick in $possessive mouth<<else>>$possessive mouth on your cunt<</if>>, $possessive oral skill improves. <<OralSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].vaginalSkill < 100) && ($slaves[$i].vagina > 0) && canDoVaginal($slaves[$i])>> After a lot of time spent getting fucked, $possessive vaginal skill improves. <<VaginalSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].analSkill < 100) && ($slaves[$i].anus != 0) && canDoAnal($slaves[$i])>> After a lot of time spent taking it up the ass, $possessive anal skill improves. <<AnalSkillIncrease $slaves[$i]>> <</if>> <</if>> <</if>> <<if $familyTesting == 1>> <<if $slaves[$i].father == -1>> Keeping your own daughter as a personal fucktoy leaves quite a public impression. <<elseif $slaves[$i].father > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID == $slaves[$i].father && $slaves[$j].assignment == "please you">> Since you are also keeping $possessive father as a sexual servant, you often use them together, which leaves quite a public impression. <<break>> <</if>> <</for>> <</if>> <<if $slaves[$i].mother == -1>> Keeping your own daughter as a sexual servant leaves quite a public impression. <<elseif $slaves[$i].mother > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID == $slaves[$i].mother && $slaves[$j].assignment == "please you">> Since you are also keeping $possessive mother as a sexual servant, you often use them together, which leaves quite a public impression. <<break>> <</if>> <</for>> <</if>> <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$i].ID == $slaves[$j].father || $slaves[$i].ID == $slaves[$j].mother) && $slaves[$j].assignment == "please you">> <<set $children.push($slaves[$j])>> <</if>> <</for>> <<if $children.length > 2>> Since you are also keeping $possessive daughters, <<for $j to 0; $j < $children.length; $j++>> <<if $j < $children.length-1>> $children[$j].slaveName, <<else>> and $children[$j].slaveName, <</if>> <</for>> as a sexual servants, you often enjoy them all at once, which leaves quite a public impression. <<elseif $children.length > 1>> Since you are also keeping $possessive daughters, $children[0].slaveName and $children[1].slaveName, as a sexual servants, you often use them together, leaving quite a public impression. <<elseif $children.length > 0>> Since you are also keeping $possessive daughter as a sexual servant, you often use them together, which leaves quite a public impression. <</if>> <<set $children = []>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID != $slaves[$i].ID>> <<if areSisters($slaves[$i], $slaves[$j]) > 0 && $slaves[$j].assignment == "please you">> <<set $children.push($slaves[$j])>> <</if>> <</if>> <</for>> <<if $children.length > 2>> Since you are also keeping $possessive sisters, <<for $j to 0; $j < $children.length; $j++>> <<if $j < $children.length-1>> $children[$j].slaveName, <<else>> and $children[$j].slaveName, <</if>> <</for>> as a sexual servants, you often enjoy them all at once, which leaves quite a public impression. <<elseif $children.length > 1>> Since you are also keeping $possessive sisters, $children[0].slaveName and $children[1].slaveName, as a sexual servants, you often use them together, leaving quite a public impression. <<elseif $children.length > 0>> Since you are also keeping $possessive sister as a sexual servant, you often use them together, which leaves quite a public impression. <</if>> <<set $children = []>> <<else>> <<if ($slaves[$i].relation != 0)>> <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].ID is $slaves[$i].relationTarget)>> <<if ($slaves[$j].assignment is "please you")>> Since you are also keeping $possessive $slaves[$j].relation as a sexual servant, you often use them together, which leaves quite a public impression. <</if>> <<break>> <</if>> <</for>> <</if>> <</if>> <<FResult $slaves[$i]>> <<Beauty $slaves[$i]>> <<set $seed to 0.1>> <<if $slaves[$i].relationship is -2>> <<set $seed += 0.04>> <<elseif $slaves[$i].relationship is -3>> <<set $seed += 0.06>> <</if>> <<if $arcologies[0].FSRestart > 50 && $slaves[$i].breedingMark == 1>> <<set $seed += 0.04>> <</if>> <<if $arcologies[0].FSRepopulationFocus > 50 && bigBellyPreg($slaves[$i])>> <<set $seed += 0.02>> <</if>> <<if $slaves[$i].prestige > 0>> <<set $seed += 0.03*$slaves[$i].prestige>> <</if>> <<if ($slaves[$i].ID is $Concubine.ID)>> <<set $seed += 0.05>> <<elseif ($slaves[$i].ID is $HeadGirl.ID) && ($arcologies[0].FSEgyptianRevivalistLaw == 1)>> <<set $seed += 0.05>> <</if>> <<set $repGain += Math.trunc(($beauty*$FResult)*$seed)>> Keeping $object as nothing but your personal <<if ($slaves[$i].toyHole is "pussy")>> pussy toy <<elseif ($slaves[$i].toyHole is "ass")>> anal toy <<elseif ($slaves[$i].toyHole is "mouth")>> oral toy <<elseif ($slaves[$i].devotion <= 20)>> rapebait <<else>> fucktoy <</if>> <<if ($slaves[$i].prestige > 0)>> @@color:green;adds considerably to your reputation,@@ since $pronoun's prestigious. <<else>> @@color:green;adds slightly to your reputation@@ as a prosperous citizen. <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if $slaves[$i].relationship is -2>> $possessiveCap satisfaction with $possessive place near you is obvious, @@color:green;bringing attention@@ to how completely you've broken them. <<elseif $slaves[$i].relationship is -3>> $possessiveCap satisfaction with $possessive wifely duties is obvious, @@color:green;bringing attention@@ to the slave future you're building. <</if>> <<if $arcologies[0].FSRestart > 50 && $slaves[$i].breedingMark == 1>> $possessiveCap's breeding mark and $possessive place near you as a breeding toy is obvious, @@color:green;bringing attention@@ to how beautiful a pairing you make. <</if>> <<if $arcologies[0].FSRepopulationFocus > 50 && bigBellyPreg($slaves[$i])>> $possessiveCap's advanced pregnancy and role as your gravid fucktoy is obvious, @@color:green;bringing attention@@ to how a woman's ideal role in $arcologies[0].name. <</if>> <<if ($slaves[$i].behavioralQuirk is "confident")>> $slaves[$i].slaveName @@color:mediumaquamarine;confidently enjoys@@ the prestige within the slave hierarchy that comes with being your fucktoy. <<set $slaves[$i].trust += 1>> <<elseif ($slaves[$i].behavioralQuirk is "insecure")>> $slaves[$i].slaveName @@color:mediumaquamarine;constantly reassures herself@@ that $pronoun must be pretty, since you keep $object as a fucktoy. <<set $slaves[$i].trust += 1>> <</if>> <<if ($slaves[$i].behavioralQuirk is "adores men")>> <<if ($PC.dick == 1)>> $slaves[$i].slaveName @@color:hotpink;adores your company,@@ and is happy to spend time with you, even when you don't have your cock in $object. <<set $slaves[$i].devotion += 1>> <</if>> <<elseif ($slaves[$i].behavioralQuirk is "adores women")>> <<if ($PC.vagina == 1)>> $slaves[$i].slaveName @@color:hotpink;adores your company,@@ and is happy to spend time with you, even when you aren't fucking. <<set $slaves[$i].devotion += 1>> <</if>> <<elseif ($slaves[$i].sexualQuirk is "romantic")>> $slaves[$i].slaveName knows being part of your harem is the best romance $pronoun can realistically expect, and does $possessive best to @@color:mediumaquamarine;be content@@ with it. <<set $slaves[$i].trust += 1>> <</if>> <</if>>
r3d/fc
src/uncategorized/saPleaseYou.tw
tw
bsd-3-clause
44,579
:: SA recruit girls [nobr] <<set $bellyAccessory to $slaves[$i].bellyAccessory>> /* Note on target sum: HG and Recruiter are the initial 2 counted (no facility req'd), while HGSuite counts the HG's girl, other facilities count associated leader */ <<if $recruiterIdleRule == "number">> <<set _idleTarget = $recruiterIdleNumber>> <<elseif $recruiterIdleRule == "facility">> <<set _idleTarget = (2 + $brothel + $club + $arcade + $dairy + $servantsQuarters + $masterSuite)>> <<if $HGSuite>><<set _idleTarget++>><</if>> <<if $dojo>><<set _idleTarget++>><</if>> <<if $brothel>><<set _idleTarget++>><</if>> <<if $club>><<set _idleTarget++>><</if>> <<if $dairy && $dairyRestraintsSetting < 2>><<set _idleTarget++>><</if>> <<if $servantsQuarters>><<set _idleTarget++>><</if>> <<if $masterSuite>><<set _idleTarget++>><</if>> <<if $schoolroom>><<set _idleTarget++>><</if>> <<if $spa>><<set _idleTarget++>><</if>> <<if $clinic>><<set _idleTarget++>><</if>> <<if $cellblock>><<set _idleTarget++>><</if>> <<set _idleTarget = Math.max(_idleTarget, 20)>> <<else>> <<set _idleTarget = Infinity>> <</if>> <<if $slaves.length < _idleTarget>> /* begin recruiting */ <<set $recruiterProgress += random(0,1)>> uses your online resources and some @@color:yellowgreen;modest funds@@ to convince $recruiterTarget from the old world to immigrate for voluntary enslavement. <<if $slaves[$i].devotion > 95>> Her extreme devotion to you lends her total cogency. <<set $recruiterProgress += 2>> <<elseif $slaves[$i].devotion > 50>> Her devotion to you lends her conviction. <<set $recruiterProgress += 1>> <<else>> Her imperfect feelings toward you give her little conviction. <</if>> <<if $recruiterCareers.contains($slaves[$i].career)>> She has experience in recruitment from before she was a slave. <<set $recruiterProgress += 2>> <</if>> <<if $slaves[$i].intelligence >= 2>> Her intelligence enables her to cleverly entrap potential slaves. <<set $recruiterProgress += 1>> <</if>> <<if $slaves[$i].entertainSkill >= 100>> She has the entertainment skills necessary to convince any target. <<set $recruiterProgress += 2>> <<elseif $slaves[$i].entertainSkill > 60>> She has the entertainment expertise to lure in most targets. <<elseif $slaves[$i].entertainSkill > 30>> She has the necessary entertainment skills to banter successfully with her targets. <<set $recruiterProgress += 1>> <<elseif $slaves[$i].entertainSkill > 10>> Her mediocre entertainment skills do nothing to convince her targets. <<else>> Her total lack of entertainment skills seriously hinders her efforts. <<set $recruiterProgress -= 1>> <</if>> <<if ($slaves[$i].pregType >= 10) && ($slaves[$i].preg > 20)>> Her massive overfilled womb is detrimental to her efforts to recruit girls. It instills a fear of being turned into nothing more than a baby filled sack. <<set $recruiterProgress -= 3>> <</if>> <<if $clubUpgradePDAs == 1>> The slaves in $clubName help her by passing her tips they pick up while working the crowds. <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].assignment is "serve in the club">> <<set $recruiterProgress += 0.5>> <</if>> <</for>> <</if>> <<if $recruiterTarget is "desperate whores">> <<if ($Recruiter.analCount + $Recruiter.oralCount) > 200>> As a veteran slut, she speaks from experience when she says that being your slave whore will be safer and healthier than streetwalking. <<set $recruiterProgress += 1>> <<else>> She does her best to convince them that being your slave whore will be safer and healthier than streetwalking. <</if>> <<elseif $recruiterTarget is "expectant mothers">> /* now you can ginger too */ <<if $Recruiter.preg > 5 or $Recruiter.inflation == 3 or $Recruiter.bellyImplant >= 2000 or $fakeBellies.contains($bellyAccessory)>> Since she's visibly pregnant herself, she speaks with authority when she says that Free Cities medicine can keep them and their pregnancies safe and healthy. <<set $recruiterProgress += 1>> <<else>> She does her best to convince them that Free Cities medicine can keep them and their pregnancies safe and healthy. <</if>> <<elseif $recruiterTarget is "young migrants">> <<if ($Recruiter.health >= 80) && ($Recruiter.face > 0)>> Her lovely face and shining health go a long way to convince them that being your slave promises a better life. <<set $recruiterProgress += 1>> <<else>> She does her best to convince them that being your slave promises a better life. <</if>> <<elseif $recruiterTarget is "dissolute sissies">> <<if ($Recruiter.dick > 1) && canAchieveErection($Recruiter) && ($Recruiter.dickAccessory != ("chastity"))>> She giggles and shows off her erection, making it easy to convince them that your slaves with dicks enjoy a sexually satisfying life. <<set $recruiterProgress += 1>> <<else>> She does her best to convince them that your slaves with dicks enjoy a sexually satisfying life. <</if>> <<elseif $recruiterTarget is "reassignment candidates">> <<if ($Recruiter.ovaries == 0) && ($Recruiter.face > 0)>> She shows off her lovely face and describes her unusual biological situation under your care, convincing them that you'll turn them into happy little slave girls. <<set $recruiterProgress += 1>> <<else>> She does her best to convince them that you'll turn them into happy little slave girls. <</if>> <</if>> <<if ($slaves[$i].livingRules != "luxurious")>> She would be more effective if she could show off a luxurious standard of living. <<set $recruiterProgress -= 1>> <</if>> <<if $recruiterProgress > 7>> She has several excellent prospects and will probably get one of them to agree to enslavement soon. <<elseif $recruiterProgress > 3>> She has some prospects to work with but needs more time to get them agree to enslavement. <<else>> She has no real prospects yet and has more work to do before anyone agrees to enslavement. <</if>> <<if ($slaves[$i].livingRules is "luxurious")>> Being continually trusted with this position @@color:hotpink;increases her devotion to you@@ and encourages her to @@color:mediumaquamarine;trust you in turn.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].trust += 4>> <<else>> Being continually trusted with this position @@color:hotpink;slightly increases her devotion to you,@@ though she harbors some doubts because she isn't allowed a room of her own to set her apart from the other slaves. <<set $slaves[$i].devotion += 1>> <</if>> <<else>> /* idle publicity (submitted by FireDrops) */ tries to maintain her network of prospects without promising anyone a space in $arcologies[0].name, since you already control <<if $slaves.length > _idleTarget>>more sex slaves than<<else>>as many sex slaves as<</if>> her assigned goal. <<set _seed = 0>> <<set _seed -= (6 - (6*$slaves[$i].entertainSkill/100))>> <<set _seed -= (3 - $slaves[$i].face)>> <<if $slaves[$i].intelligence < 0>> <<set _seed = Math.min(_seed, 4*$slaves[$i].intelligence)>> <</if>> <<if _seed < 0>> /*catches overload from very high entertainment*/ <<set $recruiterProgress += _seed/10>> <</if>> <<if $recruiterProgress < 0>> <<set $recruiterProgress = 0>> <</if>> <<if $slaves[$i].intelligence >= 0>> <<if $slaves[$i].entertainSkill >= 100>> Her mastery of flirting and conversation continues to seduce them, <<if $slaves[$i].face > 2>> and with her nearly perfect face they instinctively trust her. <<else>> although she might have done better still if she were prettier. <</if>> <<else>> She uses what conversation skill she has to keep them interested in enslavement, <<if $slaves[$i].face > 1>> and the reminder that they could share a home with such a beauty doesn't hurt. <<else>> but her face isn't attractive enough to hold their attention. <</if>> <</if>> <<else>> Unfortunately she's just not smart enough to manage such a delicate balance and some potential slaves inevitably drift away. <</if>> She uses her extra time and @@color:yellowgreen;recruitment allowance@@ this week to tour the arcology and post to your household's social media accounts more actively than usual, @@color:green;building up your reputation.@@ <<set _seed = 10>> <<set _FSmatch = 0>> /* _FSmatch means recruiter's appearance displays FS ideas */ <<set _FSdefend = 0>> /* _FSdefend is intelligence-based advocation for your FS */ <<if $slaves[$i].face > 1>> <<set _seed += $slaves[$i].face*$slaves[$i].entertainSkill/30>> <<else>> <<set _seed += $slaves[$i].entertainSkill/30>> <</if>> <<if $slaves[$i].intelligence > 0>> <<set _seed += $slaves[$i].intelligence+$slaves[$i].intelligenceImplant>> <</if>> <<if $studio && $slaves[$i].pornFame >= 10>> <<set _seed += $slaves[$i].prestige*3>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if $slaves[$i].intelligence > 1>> <<set _seed += 2, _FSdefend++, $arcologies[0].FSSupremacist += 0.01*$FSSingleSlaveRep*($slaves[$i].intelligence-1)>> <<if $slaves[$i].race != $arcologies[0].FSSupremacistRace>> <<set $arcologies[0].FSSupremacist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if $slaves[$i].intelligence > 1>> <<set _seed += 2, _FSdefend++, $arcologies[0].FSSubjugationist += 0.01*$FSSingleSlaveRep*($slaves[$i].intelligence-1)>> <<if $slaves[$i].race == $arcologies[0].FSSubjugationistRace>> <<set $arcologies[0].FSSubjugationist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if $slaves[$i].dick > 0 && ($slaves[$i].balls < 1 || $slaves[$i].boobs > 400)>> <<if $slaves[$i].anus > 0>> <<set _seed += 4>> <<else>> <<set _seed += 1>> <</if>> <<set _FSmatch++, $arcologies[0].FSGenderRadicalist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalist != "unset">> <<if $arcologies[0].FSRestart != "unset">> <<if $slaves[$i].balls < 1>> <<set _seed += 1>> <</if>> <<else>> <<if $slaves[$i].balls < 1 && ($slaves[$i].preg > 5 || $fakeBellies.contains($bellyAccessory))>> <<if $slaves[$i].preg > 5>> <<set _seed += 4>> <<else>> <<set _seed += 1>> <</if>> <<set _FSmatch++, $arcologies[0].FSGenderFundamentalist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist != "unset">> <<if ($slaves[$i].devotion + $slaves[$i].trust) > 150 || $slaves[$i].relationship == -3>> <<set _seed += 1, _FSdefend++>> <<if $slaves[$i].intelligenceImplant == 1>> <<set _seed += 1, $arcologies[0].FSPaternalist += 0.02*$FSSingleSlaveRep>> <<else>> <<set $arcologies[0].FSPaternalist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $slaves[$i].health > 40>> <<set _seed += 1>> <</if>> <</if>> <<if $arcologies[0].FSDegradationist != "unset" || $arcologies[0].FSBodyPurist != "unset">> <<modScore $slaves[$i]>> <</if>> <<if $arcologies[0].FSDegradationist != "unset">> <<if $slaves[$i].intelligence > 1>> <<set _seed += 1, _FSdefend++, $arcologies[0].FSDegradationist += 0.01*$FSSingleSlaveRep*($slaves[$i].intelligence-1)>> <</if>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set _seed += 1, _FSmatch++, $arcologies[0].FSDegradationist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSBodyPurist != "unset">> <<if $slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<if $slaves[$i].boobsImplant == 0>> <<set _seed += 1>> <</if>> <<if $slaves[$i].buttImplant == 0>> <<set _seed += 1>> <</if>> <<if $slaves[$i].waist < 2>> <<set _seed += 1>> <</if>> <<set _seed += 1, _FSmatch++, $arcologies[0].FSBodyPurist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSTransformationFetishist != "unset">> <<if $slaves[$i].boobsImplant > 0 && $slaves[$i].buttImplant > 0 && $slaves[$i].lipsImplant > 0>> <<if $slaves[$i].waist > 1 || $slaves[$i].teeth == "pointy" || $slaves[$i].amp != 0 || ($slaves[$i].vagina > -1 && $slaves[$i].dick > 6)>> <<set _seed += 4>> <<else>> <<set _seed += 2>> <</if>> <<set _FSmatch++, $arcologies[0].FSTransformationFetishist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if $slaves[$i].physicalAge < 30>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSYouthPreferentialist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<if $slaves[$i].actualAge >= 30>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSMaturityPreferentialist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocus != "unset">> <<if $slaves[$i].preg > 30>> <<if $slaves[$i].pregType >= 20>> <<set _seed += 5>> <<elseif $slaves[$i].pregType >= 10>> <<set _seed += 4>> <<else>> <<set _seed += 3>> <</if>> <<set _FSmatch++, $arcologies[0].FSRepopulationFocus += 0.01*$FSSingleSlaveRep>> <<elseif $slaves[$i].preg > 20>> <<if $slaves[$i].pregType >= 20>> <<set _seed += 4>> <<elseif $slaves[$i].pregType >= 10>> <<set _seed += 3>> <<else>> <<set _seed += 2>> <</if>> <<set _FSmatch++, $arcologies[0].FSRepopulationFocus += 0.01*$FSSingleSlaveRep>> <<elseif $slaves[$i].preg > 10>> <<if $slaves[$i].pregType >= 20>> <<set _seed += 3>> <<elseif $slaves[$i].pregType >= 10>> <<set _seed += 2>> <<else>> <<set _seed += 1>> <</if>> <<set _FSmatch++, $arcologies[0].FSRepopulationFocus += 0.01*$FSSingleSlaveRep>> <</if>> <<if $slaves[$i].births > 3 || $slaves[$i].intelligence > 1>> <<set _FSdefend++, $arcologies[0].FSRepopulationFocus += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSRestart != "unset">> <<if $slaves[$i].preg > 5 && $slaves[$i].breedingMark == 1>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSRestart += 0.01*$FSSingleSlaveRep>> <<elseif $slaves[$i].preg < 6>> <<if ($slaves[$i].ovaries == 0 && $slaves[$i].balls == 0)>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSRestart += 0.01*$FSSingleSlaveRep>> <<elseif ($slaves[$i].ovaries == 0 || $slaves[$i].balls == 0)>> <<set _seed += 2, _FSmatch++, $arcologies[0].FSRestart += 0.01*$FSSingleSlaveRep>> <<elseif ($slaves[$i].vaginalAccessory == "chastity belt" || $slaves[$i].dickAccessory == "chastity" || $slaves[$i].vaginalAccessory == "combined chastity" || $slaves[$i].dickAccessory == "combined chastity") || (($slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1) && $slaves[$i].preg < -1)>> <<set _seed += 1, _FSmatch++, $arcologies[0].FSRestart += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<if $slaves[$i].boobs < 500 && $slaves[$i].butt < 3 && $slaves[$i].weight <= 10 && $slaves[$i].muscles <= 30>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSSlimnessEnthusiast += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSAssetExpansionist != "unset">> <<if ($slaves[$i].boobs > 2000 || $slaves[$i].butt > 7 || $slaves[$i].balls > 4 || $slaves[$i].dick > 8)>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSAssetExpansionist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSPastoralist != "unset">> <<if $dairy > 0 && ($slaves[$i].lactation > 0 || ($dairySlaves > 0 && $slaves[$i].intelligence > ($dairyRestraintsSetting+1)))>> <<if $dairySlaves > 0 && $slaves[$i].intelligence > ($dairyRestraintsSetting+1)>> <<set _seed += 3, _FSdefend++>> <</if>> <<if $slaves[$i].lactation > 0>> <<set _seed += 1, _FSmatch++>> <</if>> <<set $arcologies[0].FSPastoralist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> <<if $slaves[$i].muscles > 95 || ($slaves[$i].muscles > 45 && $slaves[$i].health > 80)>> <<set _seed += 4, _FSmatch++, $arcologies[0].FSPhysicalIdealist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSChattelReligionist != "unset">> <<if $slaves[$i].intelligence > 0 && ($slaves[$i].devotion > 95 || $slaves[$i].trust > 95)>> <<set _seed += 1, _FSdefend++, $arcologies[0].FSChattelReligionist += 0.01*$FSSingleSlaveRep*$slaves[$i].intelligence>> <</if>> <<if $slaves[$i].clothes == "a chattel habit" || $slaves[$i].clothes == "a fallen nuns habit" || $slaves[$i].clothes == "a penitent nuns habit" || $slaves[$i].clothes == "a hijab and abaya" || ($arcologies[0].FSRomanRevivalist != "unset" && $slaves[$i].clothes == "a toga")>> <<set _seed += 1>> <</if>> <</if>> <<if $arcologies[0].FSRomanRevivalist != "unset">> <<if $slaves[$i].clothes == "a toga">> <<set _seed += 1>> <<if $slaves[$i].face > 0 && $slaves[$i].pitKills > 0>> /* protip: it doesn't have to be YOUR pit */ <<set _seed += 5, _FSmatch++, $arcologies[0].FSRomanRevivalist += 0.02*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if $familyTesting == 1>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<if totalRelatives($slaves[$i]) > 0>> <<set _recruiterRelation = randomRelatedAvailableSlave($slaves[$i])>> <<if def _recruiterRelation>> <<if ($slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted") && (_recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted")>> <<set _seed += 6, _FSmatch++, $arcologies[0].FSEgyptianRevivalist += 0.02*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <</if>> <<else>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<if $slaves[$i].relation != 0>> <<for _j = 0; _j < $slaves.length; _j++>> <<if $slaves[$i].relationTarget == $slaves[_j].ID>> <<set _recruiterRelation = $slaves[_j]>> <<break>> <</if>> <</for>> /* availability */ <<if !((_recruiterRelation.assignment == "work in the dairy" && $dairyRestraintsSetting > 1) || _recruiterRelation.assignment == "stay confined" || _recruiterRelation.assignment == "be confined in the cellblock" || _recruiterRelation.assignment == "be your agent" || _recruiterRelation.assignment == "live with your agent")>> /* willingness; protip: relationSHIP optional */ <<if ($slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted") && (_recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted")>> <<set _seed += 6, _FSmatch++, $arcologies[0].FSEgyptianRevivalist += 0.02*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if $clubDecoration != "standard" && $clubSlaves > 1>> <<if $clubAdsSpending > 0>> <<set _clubSeed = ($clubBonuses+Math.abs($clubAdsOld)+Math.abs($clubAdsStacked)+Math.abs($clubAdsImplanted)+Math.abs($clubAdsModded)+Math.abs($clubAdsXX))>> <<else>> <<set _clubSeed = $clubBonuses>> /* protip: some FS reduce bonuses available, use ad spending to get counted in that category */ <</if>> <<if _clubSeed >= 3>> <<set _seed += 6, _FSmatch++, $arcologies[0].FSEdoRevivalist += 0.02*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSArabianRevivalist != "unset">> <<if $masterSuiteDecoration == "Arabian Revivalist" && $masterSuiteUpgradeLuxury > 0 && $masterSuiteAverageEnergy > 60 && $masterSuiteSlaves >= 3>> <<set _seed += 6, _FSmatch++, $arcologies[0].FSArabianRevivalist += 0.02*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSChineseRevivalist != "unset">> <<if $slaves[$i].intelligence > 0 && $HeadGirl != 0 && $Bodyguard != 0 && $HGSuite > 0>> <<set _seed += (Math.min((($HeadGirl.entertainSkill/30)+$HeadGirl.intelligenceImplant+$HeadGirl.prestige), 4)+Math.min($Bodyguard.prestige, 1)), _FSdefend++, $arcologies[0].FSChineseRevivalist += 0.03*$FSSingleSlaveRep>> <</if>> <</if>> <<if $arcologies[0].FSNull != "unset">> <<set _seed += (($slaves[$i].entertainSkill/30)*$arcologies[0].FSNull/10)>> <</if>> <<set $repGain += Math.trunc(_seed)>> <<if $showEWM == 1>> <<if $slaves[$i].entertainSkill > 10>> <<if $slaves[$i].face > 1>> <<if $slaves[$i].entertainSkill >= 100>>Her good looks and innate artistry awe the arcology and leave many starstruck. <<elseif $slaves[$i].entertainSkill > 60>>Her good looks draw quite an audience; she entertains them reasonably well. <<elseif $slaves[$i].entertainSkill > 30>>Her face appeals to a certain crowd, mostly looking for sex tapes rather than quality entertainment. <</if>> <<else>> <<if $slaves[$i].entertainSkill >= 100>>All <<elseif $slaves[$i].entertainSkill > 60>>Many <<elseif $slaves[$i].entertainSkill > 30>>Some <</if>> of her wittier lines are liked and re-shared, but her face just doesn't catch many eyes. <</if>> <<else>> More than a few sign up to watch her feeds, but unsubscribe due to her amateur presentation. <</if>> <<if $slaves[$i].intelligence > 0>> She offers thoughtful commentaries on trending topics. <<else>> She lacks the intelligence to compose thoughtful remarks; a lot the time she merely +1s what others have said. <</if>> <<if $studio && $slaves[$i].pornFame >= 10>> Her fan base from arcology porn significantly drives up her followers count. <</if>> <</if>> /*temp close EWM so next two lines always show */ <<if _FSmatch > 0>> Her personal appearance fits with your social philosophies, making the future you're building @@color:green;more popular.@@ <</if>> <<if _FSdefend > 0>> She is able to smartly <<if $arcologies[0].FSPaternalist != "unset">>answer<<else>>deflect<</if>> abolitionist trolls about your arcology's treatment of <<if $arcologies[0].FSPaternalist != "unset">>contracted sex workers<<else>>chattel<</if>>, @@color:green;confirming your ideals@@ in the minds of some wavering individuals. <</if>> <<if $showEWM == 1>> <<if $arcologies[0].FSSupremacist != "unset">> <<if $slaves[$i].intelligence >= 2>> <<if $slaves[$i].race != $arcologies[0].FSSupremacistRace>> She patiently explains how $slaves[$i].race girls like herself benefit from the firm guidance of their proper $arcologies[0].FSSupremacistRace masters. <<else>> She makes the clear case for $arcologies[0].FSSupremacistRace superiority, although as an enslaved $slaves[$i].race woman her words are a bit hollow. <</if>> <<elseif $slaves[$i].race != $arcologies[0].FSSupremacistRace>> The dumb $slaves[$i].race bitch can't even repeat her Supremacist indoctrination properly. <<else>> She flubs her lines so badly that no one would ever believe $arcologies[0].FSSupremacistRace people make better leaders. <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if $slaves[$i].intelligence >= 2>> <<if $slaves[$i].race == $arcologies[0].FSSubjugationistRace>> It's always a pleasure to hear a $slaves[$i].race slave admit to all the failings for which her kind need to be taken in hand. <<else>> She argues intelligently in favor of $arcologies[0].FSSubjugationistRace subjugation, a performance undermined only slightly by miscegenationist scum releasing a competing clip of her open-mic comment that she's glad not to be one of //them//. <</if>> <<elseif $slaves[$i].race == $arcologies[0].FSSubjugationistRace>> The subhuman idiot's floundering on the race question rather proves your point about $arcologies[0].FSSubjugationistRace inferiority, but not in a way that gains any converts. <<else>> Her uninspired presentation on $arcologies[0].FSSubjugationistRace failings only links to the educational materials already published in your arcology. <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if $slaves[$i].dick > 0 && ($slaves[$i].balls < 1 || $slaves[$i].boobs > 400)>> <<if $slaves[$i].anus > 0>> Her public demonstrations of just how hard feminized sissies can orgasm with buttsex – at a different interior balcony each day – draw plenty of attention. <<else>> She attracts a little attention by gaily showing off her <<if $slaves[$i].balls < 1>>soft bitch-clit<<else>>intersex anatomy<</if>> on the public thoroughfares of your arcology, being careful not to risk her virgin backdoor. <</if>> <<else>> She just doesn't have the right combination of body parts to personally demonstrate your utopia of eager, girly-dicked buttsluts. <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocus != "unset">> <<if $slaves[$i].preg > 20>> She makes a habit of allowing the public to fondle and enjoy the movements within her baby filled belly. <<elseif $slaves[$i].preg > 10>> She makes a habit of allowing the public to fondle and enjoy baby rounded belly. <<elseif $slaves[$i].births > 0>> Any time she stars in an erotic photoshoot, she always makes sure to follow up with a, hopefully positive, pregnancy test. Though she makes sure to hype up her viewers to sign up to be the one to knock her up should it come up negative. <<else>> Her efforts would have more impact if her womb wasn't so empty. Dissapointing any who would want to see her pregnant. <</if>> <<if $slaves[$i].intelligence > 1>> She is smart enough to not only repeat your repopulationist goals, but to expand upon them. <<elseif $slaves[$i].births > 3>> She uses her experience as a mother as leverage to convince virgin ladies that motherhood is wonderful. <<else>> Being both unintelligent and inexperienced, her attempts to emphasize the joys of pregnancy only come off as someone who likes big bellies, no matter their source. <</if>> <</if>> <<if $arcologies[0].FSRestart != "unset">> <<if $slaves[$i].preg > 5 && $slaves[$i].breedingMark == 1>> She prominently displays her pregnancy and the mark branded upon it signifying the superior child growing within her. Her audience is enamoured by her distinct status. <<elseif $slaves[$i].preg < 6>> <<if ($slaves[$i].dick > 0 && $slaves[$i].balls == 0)>> She makes sure to wear tight fitting clothes to show off the bulge of her dick and, most notably, the lack of testicles under it in all her photoshoots. <<elseif ($slaves[$i].vaginalAccessory == "chastity belt" || $slaves[$i].dickAccessory == "chastity" || $slaves[$i].vaginalAccessory == "combined chastity" || $slaves[$i].dickAccessory == "combined chastity")>> In all her public appearances, her choice of clothing is always crotchless, leaving her chastity gear as the only thing protecting her modesty. <<elseif (($slaves[$i].ovaries == 0 && $slaves[$i].mpreg == 0) || $slaves[$i].preg < -1>> She frequently livestreams massive orgies involving herself at the center, making sure to always follow up with her negative pregnancy tests. <<else>> Her lack of commitment to sterilization and eugenics drive away potential listeners. <</if>> <<else>> No-one cares what bloated trash has to say. <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalist != "unset">> <<if $slaves[$i].balls < 1>> <<if $arcologies[0].FSRestart != "unset">> <<if $slaves[$i].preg > 5>> She unashamedly live streams an obstetric health check in the nude, promising to broadcast similar footage right up until, and during, the birth. <<elseif $fakeBellies.contains($bellyAccessory)>> With some discreet editing, she uploads fake ultrasounds to match her plastic pregnancy, bringing a little more attention to your fertility campaigns. <<else>> She posts plenty of snapshots of gravid mothers-to-be. But with no belly bump of her own to feature, the impact is no different from any preggo porn already floating around the net. <</if>> <<else>> She posts plenty of seductive photos emphasizing her feminine curves, including lewds showing off her natural vagina, bringing more attention to your campaign for natural females. <</if>> <<else>> On the topic of natural female deference to their owners around the house, your recruiter would be more convincing if she didn't keep readjusting her junk. <</if>> <</if>> <<if $arcologies[0].FSPaternalist != "unset">> <<if ($slaves[$i].devotion + $slaves[$i].trust) > 150 || $slaves[$i].relationship == -3>> <<if $slaves[$i].intelligenceImplant == 1>> All week she shares original poetry in which her love for you shines through<<if $slaves[$i].health > 40>>, and her healthy body shines in every live appearance<</if>>. <<else>> Even though she clearly adores her <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>master<<else>>mistress<</if>>, at times the uneducated slave struggles to fully and cogently express her affection. <</if>> <<else>> Her praise of your good works lacks the special touch of personal affection, so it doesn't impress much. <</if>> <</if>> <<if $arcologies[0].FSDegradationist != "unset">> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<if $slaves[$i].intelligence > 1>> Ordinarily you would punish a slave who displays independent thinking, but when $slaves[$i].slaveName goes public in all her garish, modded glory to defend the legal right of slaveowners to use their property however they please, she's earned a brief reprieve. <<else>> Just the sight of $slaves[$i].slaveName's provocatively decorated body entices her online "friends" to share multiple scenarios for raping her, although the honor is wasted on the dumb fucktoy. <</if>> <<elseif $slaves[$i].intelligence > 1>> Ordinarily you would punish a slave who displays independent thinking, but when $slaves[$i].slaveName defends the right of owners to use their property however they please, she's earned some consideration: perhaps you could "reward" her with an extra piercing or a slutty new tat. <<else>> She isn't smart enough to understand the primal attraction of an arcology where slave holes exist only to be raped, nor is her body sufficiently degraded to advertise it. <</if>> <</if>> <<if $arcologies[0].FSBodyPurist != "unset">> <<if $slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<if $slaves[$i].boobsImplant == 0 && $slaves[$i].buttImplant == 0 && $slaves[$i].waist < 2>> She exhibits pure sexuality in a lovely, artistic gallery of erotic photos posted this week that displays every natural centimeter of her body. <<elseif $slaves[$i].boobsImplant == 0 && $slaves[$i].buttImplant == 0>> This week's softcore photoshoot delights the eye: only her unnatural waistline mars her beauty, and that can hardly be blamed on the model. <<else>> Her unblemished skin shines artistically in this week's erotic studio gallery, but the shape of her curves is too obviously artificial. <</if>> <<elseif $slaves[$i].boobsImplant == 0 && $slaves[$i].buttImplant == 0 && $slaves[$i].waist < 2>> Her most recent photo galleries are barely passable: you can hardly see the woman beneath her blatant body art. <<else>> She is burdened by the knowledge that her heavy alterations don't fit your ideal of purity, and fails to show at a scheduled photoshoot. <</if>> <</if>> <<if $arcologies[0].FSTransformationFetishist != "unset">> <<if $slaves[$i].boobsImplant > 0 && $slaves[$i].buttImplant > 0 && $slaves[$i].lipsImplant > 0>> <<if $slaves[$i].waist > 1 || $slaves[$i].teeth == "pointy" || $slaves[$i].amp != 0 || ($slaves[$i].vagina > -1 && $slaves[$i].dick > 6)>> A series of cleverly staged publicity events at various businesses in the arcology subtly focuses on her better-than-natural physiology in each one. <<elseif $seeExtreme == 1>> Her augmented body certainly has its appeals, yet as you look over this week's publicity recap you begin to wonder if she could be still more extremely //transformed//. <<elseif $slaves[$i].vagina > -1 && $slaves[$i].dick > 0>> Her special body stands out during this week's publicity tour; and if her futa cock were grown beyond a natural size, now that would really advertise her improved state. <<elseif $seeDicks > 0>> She looks great in this week's publicity events at arcology businesses, always posing to show off her enhancements. Now if only there were something to graft on that would take her beyond implants to genuine //transformation//. <<else>> /* game settings prohibit greater transformations */ A series of cleverly staged publicity events at various businesses in the arcology subtly focuses on the beauty of her implants. <</if>> <<else>> "Boobs, butts, and blowjobs": it's the plastic surgeon's mantra, and viewing this week's publicity footage reminds you that you've neglected your recruiter's augmentations. <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if $slaves[$i].physicalAge < 30>> Her nightly cam chats sparkle with the energy of youth. <<else>> As an older slave, she doesn't have enough energy to cam chat late into the night. <</if>> <</if>> <<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<if $slaves[$i].actualAge >= 30>> She video blogs regularly about the financial, medical, and even emotional security of slave life for older women. <<else>> She uses too much youthful slang and jumps from topic to topic in her video blogs, making them difficult for her audience to follow. <</if>> <</if>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<if $slaves[$i].boobs < 500 && $slaves[$i].butt < 3 && $slaves[$i].weight <= 10 && $slaves[$i].muscles <= 30>> Her trim body gives her a cute, girl-next-door sex appeal in every selfie, even the ones taken in your penthouse far above everyone else's doors. <<else>> She shares a lot of selfies of her activities in your penthouse, but her bulging figure tends to hide what's going on. <</if>> <</if>> <<if $arcologies[0].FSAssetExpansionist != "unset">> <<if $slaves[$i].boobs > 2000 || $slaves[$i].butt > 7 || $slaves[$i].balls > 4 || $slaves[$i].dick > 8>> As the saying goes, "shake it if you got it," and no one can doubt $slaves[$i].slaveName has it after a "citizen" posts an "unauthorized" wristcam video of her humongous anatomy swinging around a stripper pole. <<else>> Although she tries hard, none of her assets interest the true size fetishist. <</if>> <</if>> <<if $arcologies[0].FSPastoralist != "unset">> <<if $dairy>> <<if $dairySlaves && $slaves[$i].intelligence > ($dairyRestraintsSetting+1)>> <<if $slaves[$i].lactation > 0>> She schedules VR tours of $dairyName in order to popularize your free-range practices and quality products: the highlight each time is when she hooks her own teats into a milker and brings herself to orgasm. <<else>> She narrates a virtual reality tour of $dairyName, explaining how your humane, free-range practices result in a high quality product. <</if>> <<elseif $slaves[$i].lactation > 0>> Her VR uploads include a short clip of her milking herself in $dairyName; she squirts directly into an old-fashioned bucket while ignoring the complicated, industrial machines behind her. <<elseif $dairyRestraintsSetting >= 2>> Your dairy is too heavily industrialized to promote socially. <<else>> She ignores $dairyName, since she can't think of any ideas to promote it. <</if>> <<else>> She can't really promote Pastoralist ideals when her owner hasn't even committed to building a Dairy. <</if>> <</if>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> <<if $slaves[$i].muscles > 95 || ($slaves[$i].muscles > 45 && $slaves[$i].health > 80)>> She asks another slave to photo-document her time in the gym this week: naked, of course, to show off her impressive muscle definition, and in certain poses she nearly seems to be making love to the equipment. <<else>> She tries documenting her exercise routine, but it's a snooze fest because she doesn't have the guns to show for it. <</if>> <</if>> <<if $arcologies[0].FSChattelReligionist != "unset">> <<if $slaves[$i].intelligence > 0 && ($slaves[$i].devotion > 95 || $slaves[$i].trust > 95)>> <<if $slaves[$i].clothes == "a chattel habit" || $slaves[$i].clothes == "a fallen nuns habit" || $slaves[$i].clothes == "a penitent nuns habit" || $slaves[$i].clothes == "a hijab and abaya">> Clad in her holy garb, $slaves[$i].slaveName preaches to the atrium with a powerful appeal to the new morality, in which her absolute faith in your revelations is unmistakable. <<elseif $arcologies[0].FSRomanRevivalist != "unset" && $slaves[$i].clothes == "a toga">> She preaches in the atrium, delivering a powerful and faith-filled appeal in support of the new state religion and its Prophet-Emperor, descendant of the gods. <<else>> She heads to the atrium to deliver a powerful, faith-based appeal for everyone to join the new moral order, though one cynical onlooker heckles her about her style of dress. <</if>> <<elseif $slaves[$i].intelligence > 0>> Her lecture on the new religious morality is thorough, and also devastatingly boring: all bullet point scriptures and little emotion that would sway unenlightened hearts. <<elseif $slaves[$i].devotion > 95 || $slaves[$i].trust > 95>> Although she wears her faith in you on her metaphorical sleeve, she can't muster the intellectual arguments to counter the shrill voices of backward old world religions. <<else>> She is hapless as a proselytizer for the new religious order because her personal understanding and adherence remains inadequate. <</if>> <</if>> <<if $arcologies[0].FSRomanRevivalist != "unset">> <<if $slaves[$i].clothes == "a toga">> <<if $slaves[$i].face > 0 && $slaves[$i].pitKills > 0>> She thrills audiences by recounting tales of her exploits as a beautiful and deadly gladiatrix-//slash//-love-slave for the First Citizen of the Eternal City reborn. <<elseif $slaves[$i].face > 0>> Her statuesque beauty is a fitting tribute to the glory of the Eternal City reborn, but she still lacks the edge of //bloodthirstiness// that makes life here so exciting. <<elseif $slaves[$i].pitKills > 0>> Even though her history of gladiatorial combat is noble, when mixed with her homeliness it tends to frighten the squeamish as much as it attracts the sanguinary. <<else>> She comes across like a historical tour guide; more worthy citizens would flock to the New Rome if your recruiter appeared as a statuesque, and possibly deadly, inamorata of its ruler. <</if>> <<else>> Dressed as she is in the garments of a barbarian, the citizens of the New Rome ignore her. <</if>> <</if>> <<if $familyTesting == 1>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<if totalRelatives($slaves[$i]) > 0>> <<if def _recruiterRelation>> <<if _recruiterRelation.mother == $slaves[$i].ID || _recruiterRelation.father == $slaves[$i].ID>> <<set $relationType = "daughter">> <<elseif $slaves[$i].mother == _recruiterRelation.ID>> <<set $relationType = "mother">> <<elseif $slaves[$i].father == _recruiterRelation.ID>> <<set $relationType = "father">> <<elseif areSisters($slaves[$i], _recruiterRelation) == 1>> <<set $relationType = "twin">> <<elseif areSisters($slaves[$i], _recruiterRelation) == 2>> <<set $relationType = "sister">> <<elseif areSisters($slaves[$i], _recruiterRelation) == 3>> <<set $relationType = "half-sister">> <</if>> <<if $slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted">> <<if _recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted">> $slaves[$i].slaveName and her $relationType _recruiterRelation.slaveName collaborate on a series of short commercials walking and playing in your arcology's public spaces. A little hand on the ass here, a little lips almost touching there, and it's enough to tease your Ancient Egyptian sensibility about incest without running afoul of too many Old World censors. <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> Even though their incestuous relationship is not condemned here, her $relationType _recruiterRelation.slaveName is too shy to act it out in front of the world. <<else>> The Ancient Egyptian sensibility of your arcology features slave incest, but your recruiter can't convince her shy $relationType to play along for publicity. <</if>> <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> Even though she shares a properly incestuous relationship with her $relationType, she is too shy to bring it on camera for the whole world. <<else>> The Ancient Egyptian sensibility of your arcology features slave incest, but she's too shy even to play-act with her $relationType for publicity. <</if>> <<else>> One idea that comes up while brainstorming is to act out Ancient Egyptian incest with a family member, but all of them are confined and unavailable. <</if>> <<else>> One of the most prominent features of your Egyptian Revival is an open, even expectant, attitude toward slave incest, but she doesn't have any close family living in your household. <</if>> <</if>> <<else>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<if $slaves[$i].relation != 0 && (!(_recruiterRelation.assignment == "be your agent" || _recruiterRelation.assignment == "live with your agent"))>> <<if (_recruiterRelation.assignment == "work in the dairy" && $dairyRestraintsSetting > 1) || _recruiterRelation.assignment == "stay confined" || _recruiterRelation.assignment == "be confined in the cellblock">> One idea that comes up while brainstorming is to act out Ancient Egyptian incest with her _recruiterRelation.relation, but _recruiterRelation.slaveName is confined and unavailable. <<else>> <<if $slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted">> <<if _recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted">> $slaves[$i].slaveName and her _recruiterRelation.relation _recruiterRelation.slaveName collaborate on a series of short commercials walking and playing in your arcology's public spaces. A little hand on the ass here, a little lips almost touching there, and it's enough to tease your Ancient Egyptian sensibility about incest without running afoul of too many Old World censors. <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> Even though their incestuous relationship is not condemned here, her _recruiterRelation.relation _recruiterRelation.slaveName is too shy to act it out in front of the world. <<else>> The Ancient Egyptian sensibility of your arcology features slave incest, but your recruiter can't convince her shy _recruiterRelation.relation to play along for publicity. <</if>> <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> Even though she shares a properly incestuous relationship with her _recruiterRelation.relation, she is too shy to bring it on camera for the whole world. <<else>> The Ancient Egyptian sensibility of your arcology features slave incest, but she's too shy even to playact with her _recruiterRelation.relation for publicity. <</if>> <</if>> <<else>> One of the most prominent features of your Egyptian Revival is an open, even expectant, attitude toward slave incest, but she doesn't have any close family living in your household. <</if>> <</if>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if $clubDecoration != "standard" && $clubSlaves > 1>> <<if _clubSeed >= 3>> The candid, POV-style videos of $slaves[$i].slaveName dancing, making out, and giving blowjobs alongside your regular sluts in $clubName's $clubDecoration atmosphere earn a lot of thumbs up. <<else>> She enjoys herself when she films in $clubName, but the sluts there just don't earn enough attention for the visit to raise your public profile; the club may need broader marketing appeal. <</if>> <<elseif $club == 0>> She'd like to integrate her personal profile with your cultural Revival, but there's no clear place in your arcology to focus her attention. <<elseif $clubSlaves <= 1>> She travels down to $clubName for some POV video footage, but she can't get enough reliable dance partners. <<else>> She gets some hot POV-style footage when she films in your nightclub, but there's nothing special about its atmosphere to distinguish it from any other bar in any other arcology. <</if>> <</if>> <<if $arcologies[0].FSArabianRevivalist != "unset">> <<if $masterSuiteDecoration == "Arabian Revivalist" && $masterSuiteUpgradeLuxury > 0 && $masterSuiteAverageEnergy > 60>> <<if $masterSuiteSlaves >= 3>> An exposé that "pulls back the curtain" on your elaborate master bedroom goes viral after several harem slaves drag her into <<if $masterSuiteUpgradeLuxury == 1>>four-way action with their <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>master<<else>>mistress<</if>><<else>>a fuck pit daisy chain<</if>> and another takes over the filming. <<else>> She makes a short video essay about your elaborate master suite, but the empty space unfilled by luscious slave bodies fails to impress. <</if>> <<elseif $masterSuiteUpgradeLuxury == 0>> /* covers if suite is unbuilt as well */ She wants to profile the decadence of your grand bedroom, but the reality is shabby compared to the Revivalist dreams of luxurious harems in the old days. <<elseif $masterSuiteDecoration != "Arabian Revivalist">> She thinks that "Pulling Back the Curtain" would make a good title for an exposé of your sumptuous bedroom, but it turns out that the space isn't decorated with Arabian-style curtains. <<else>> She makes a short video essay about your elaborate master suite, but there's no sex going on while she films. <</if>> <</if>> <<if $arcologies[0].FSChineseRevivalist != "unset">> <<if $slaves[$i].intelligence >= 1 && $HeadGirl != 0 && $Bodyguard != 0 && $HGSuite > 0>> <<if (($HeadGirl.entertainSkill/30)+$HeadGirl.intelligenceImplant+$HeadGirl.prestige) >= 4>> <<if $Bodyguard.prestige >= 1>> She deferentially chronicles the administration of your Imperial household by Head Girl $HeadGirl.slaveName and Bodyguard $Bodyguard.slaveName. The piece explains points of Chinese Revivalist protocol where new slaves or visitors to the Forbidden Penthouse might inadvertently stumble. <<else>> She interviews your Head Girl about points of protocol and household administration for broadcast to the arcology. Your Bodyguard, $Bodyguard.slaveName, is not accustomed to fame and prefers to remain off-screen. <</if>> <<elseif $HeadGirl.intelligenceImplant < 1>> She edits a documentary broadcast about the Revivalist protocols that drive your household, and in the process uncovers small but annoying lapses due to the Head Girl's lack of formal education. <<else>> She broadcasts a documentary about life inside your Imperial Chinese household, but the Head Girl's segment comes out flat: $HeadGirl.slaveName needs more experience working in front of a camera. <</if>> <<elseif $HeadGirl == 0 || $Bodyguard == 0>> She can't document the benefits of your Imperial Chinese administration because of unfilled posts in its leadership. <<elseif $slaves[$i].intelligence < 1>> Your household is a well-run model for the arcology at large, but your recruiter doesn't completely understand its intricate Revivalist protocols and can't explain it for the masses. <<else>> She never considers promoting your household's Revivalist protocols, since you don't value your Head Girl enough to accord her a separate apartment inside your walls. <</if>> <</if>> <<if $arcologies[0].FSNull != "unset">> Her contribution is one voice among many in the open freedom of $arcologies[0].name's media, <<if $slaves[$i].entertainSkill > 10>> but everything that relates to its leadership is usually well-received. <<else>> so her unskilled performances this week hardly cause a ripple. <</if>> <</if>> <</if>> /* closes EWM */ <</if>> /* closes _idleTarget check */
r3d/fc
src/uncategorized/saRecruitGirls.tw
tw
bsd-3-clause
47,631
:: SA relationships [nobr] <<if $slaves[$i].fuckdoll == 0>> <<set _SL = $slaves.length, _SlaveI = $slaves[$i], _SlaveJ = null, _J = -1, _K = -1, _drop = 0>> <<if _SlaveI.relationship == 0>> <<if (_SlaveI.devotion + _SlaveI.trust > 175) && (random(1,3) == 1)>> _SlaveI.slaveName is quite devoted to you, and trusts both you and her place as a slave. Since she does not have a strong relationship with another slave, <<if (_SlaveI.sexualQuirk == "romantic")>> and persistently interprets sex in the most romantic possible terms, she has decided that she wants to be yours in her heart as well as her <<if _SlaveI.vagina > -1>>pussy<<else>>butthole<</if>>. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <<elseif (_SlaveI.assignment == "be your concubine")>> and is your concubine, she almost inevitably comes to view you as much as a lover as an owner. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <<elseif (_SlaveI.assignment == "serve in the master suite") && ($masterSuiteUpgradeLuxury == 2)>> and does nothing but eat, sleep, and make love to your other fucktoys, she slowly loses sight of any distinction between emotional attachment and sexual congress. @@color:lightgreen;She's become an emotional slut!@@ <<set _SlaveI.relationship = -1>> <<elseif (_SlaveI.assignment == "please you") || (_SlaveI.assignment == "serve in the master suite")>> and spends her days worshiping your <<if $PC.dick == 1>>cock<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>cunt<</if>>, she begins to focus more and more of her happiness on how happy you are. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <<elseif (_SlaveI.assignment == "serve the public") || (_SlaveI.assignment == "serve in the club")>> and her life is an endless stream of lovers, she unconsciously loses any sense of emotional attachment outside the intimacy of sex. @@color:lightgreen;She's become an emotional slut!@@ <<set _SlaveI.relationship = -1>> <<elseif (_SlaveI.energy > 95) && ((_SlaveI.analCount + _SlaveI.vaginalCount + _SlaveI.oralCount + _SlaveI.mammaryCount + _SlaveI.penetrativeCount) > ($week - $activeSlave.weekAcquired) * random(20, 30))>> is a total sex addict, and has a spectacularly promiscuous sexual history, she begins to think of sex as her only meaningful emotional connection with people. @@color:lightgreen;She's become an emotional slut!@@ <<set _SlaveI.relationship = -1>> <<else>> and loves you, she begins to think of you as a woman might think of her lover - or <<if $PC.title != 0>>husband<<else>>wife<</if>>. She knows she cannot hope for more of a relationship with you than she has, but she finds emotional support in serving you nonetheless. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <</if>> <<elseif _SlaveI.fetish != "mindbroken">> <<if _SlaveI.career == "a Futanari Sister">> <<if _SlaveI.relationshipRules == "permissive">> <<for _j to 0; _j < _SL; _j++>> <<set _SlaveJ = $slaves[_j]>> <<if (_SlaveJ.career == "a Futanari Sister")>> <<if _SlaveJ.relationshipRules == "permissive">> <<if (_SlaveJ.relationship == 0)>> <<if (_SlaveI.rivalryTarget != _SlaveJ.ID)>> <<if (_SlaveJ.ID != _SlaveI.ID)>> <<if _SlaveJ.fetish != "mindbroken">> _SlaveI.slaveName greets _SlaveJ.slaveName with joy. It's not clear whether they ever knew each other during their lives as Futanari Sisters, but it seems that they believe themselves to be in a relationship by simple virtue of having been Sisters. In any case, _SlaveI.slaveName and _SlaveJ.slaveName @@color:lightgreen;become inseparable lovers@@ instantly, as though there's no possibility they would do anything else. They're even surprised when other slaves ask them about it; it's as though they're unaware that other possibilities even exist. <<set _SlaveJ.relationship = 4, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 4, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</for>> <</if>> <<elseif ($rivalryDuration > 20) && ($rivalryFS != "Racial Supremacism") && ($rivalryFS != "Paternalism") && _SlaveI.origin == "You were acquainted with her before you were an arcology owner; your rival tried to use her to manipulate you, but you rescued her.">> <<for _j to 0; _j < _SL; _j++>> <<set _SlaveJ = $slaves[_j]>> <<if _SlaveJ.fetish != "mindbroken">> <<if _SlaveJ.prestigeDesc == "You bankrupted and enslaved her in revenge for her part in the attack on your arcology by the Daughters of Liberty.">> _SlaveI.slaveName greets _SlaveJ.slaveName with joy, happy to see her former owner again. Without any regard to you, they continue their prior relationship. <<if _SlaveJ.relationship > 0>> <<for _k to 0; _k < _SL; _k++>> <<if _SlaveJ.relationshipTarget == $slaves[_k].ID>> <<set $slaves[_k].relationshipTarget = 0, $slaves[_k].relationship = 0>> <<break>> <</if>> <</for>> <</if>> <<set _SlaveJ.relationship = 4, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 4, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <</if>> <</if>> <</for>> <<elseif _SlaveI.relationshipRules != "restrictive">> <<if _SlaveI.devotion > -90>> <<if _SlaveI.behavioralFlaw == "none">> <<set _seed = random(1, 100)>> <<else>> <<set _seed = random(1, 80)>> <</if>> <<if _seed > 75>> <<set $resentment = 0>> <<for _j to 0; _j < _SL; _j++>> <<set _SlaveJ = $slaves[_j]>> <<if _SlaveJ.ID != _SlaveI.ID>> <<if _SlaveJ.assignment != "stay confined">> <<if (_SlaveJ.relationship == 0)>> <<if (_SlaveI.rivalryTarget != _SlaveJ.ID)>> <<if _SlaveJ.fetish != "mindbroken">> <<if (_SlaveI.assignment == "work in the brothel") && (_SlaveJ.ID == $Madam.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName manages to ingratiate herself with the Madam, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the Madam, _SlaveJ.slaveName and is @@color:gold;punished@@ by _SlaveJ.slaveName for disrespect. <<set _SlaveI.trust -= 4>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "serve in the club") && (_SlaveJ.ID is $DJ.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName manages to ingratiate herself with the DJ, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the DJ, _SlaveJ.slaveName and is @@color:gold;punished@@ by _SlaveJ.slaveName for disrespect. <<set _SlaveI.trust -= 4>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "work in the dairy") && (_SlaveJ.ID == $Milkmaid.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName manages to ingratiate herself with the Milkmaid, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the Milkmaid, _SlaveJ.slaveName and is @@color:gold;punished@@ by _SlaveJ.slaveName for disrespect. <<set _SlaveI.trust -= 4>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "learn in the schoolroom") && (_SlaveJ.ID == $Schoolteacher.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName manages to ingratiate herself with the Schoolteacher, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the Schoolteacher, _SlaveJ.slaveName and is @@color:gold;punished@@ by _SlaveJ.slaveName for disrespect. <<set _SlaveI.trust -= 4>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "rest in the spa") && (_SlaveJ.ID == $Attendant.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName basks in the affection and care of the spa attendant, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the spa attendant, _SlaveJ.slaveName. _SlaveJ.slaveName gently @@color:hotpink;counsels@@ her to obey the rules. <<set _SlaveI.devotion += 1>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "work as a servant") && (_SlaveJ.ID == $Stewardess.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName manages to ingratiate herself with the Stewardess, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the Stewardess, _SlaveJ.slaveName and is @@color:gold;punished@@ by _SlaveJ.slaveName for disrespect. <<set _SlaveI.trust -= 4>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "be confined in the cellblock") && (_SlaveJ.ID == $Wardeness.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName manages to earn the respect of the Wardeness, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the Wardeness, _SlaveJ.slaveName and is @@color:gold;beaten@@ by _SlaveJ.slaveName for her trouble. <<set _SlaveI.trust -= 5>> <</if>> <</if>> <<elseif (_SlaveI.assignment == "serve in the master suite") && (_SlaveJ.ID == $Concubine.ID)>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName becomes especially close to the Concubine, _SlaveJ.slaveName. The two slaves have @@color:lightgreen;struck up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if _SlaveI.devotion < -20>> _SlaveI.slaveName tries to strike up a friendship with the Concubine, _SlaveJ.slaveName and is gently @@color:hotpink;counseled@@ by _SlaveJ.slaveName that such things are against the rules. <<set _SlaveI.devotion += 1>> <</if>> <</if>> <<elseif _SlaveJ.assignment == _SlaveI.assignment>> <<if random(1, 100) > 50>> <<if _SlaveJ.relationshipRules != "restrictive">> _SlaveI.slaveName and _SlaveJ.slaveName see a lot of each other at work and @@color:lightgreen;strike up a friendship.@@ <<set _SlaveJ.relationship = 1, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 1, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> <<if $resentment == 0>> _SlaveI.slaveName tries to strike up a friendship with _SlaveJ.slaveName and is @@color:gold;punished@@ for breaking the rules against such things; she @@color:mediumorchid;resents@@ being castigated for simple sociability. <<set _SlaveI.devotion -= 2, _SlaveI.trust -= 2, $resentment++>> <</if>> <</if>> <</if>> <<elseif _SlaveJ.fetish == _SlaveI.fetish>> <<if (_SlaveI.fetish != "none")>> <<if (_SlaveI.releaseRules != "restrictive")>> <<if _SlaveJ.relationshipRules == "permissive">> _SlaveI.slaveName and _SlaveJ.slaveName share sexual inclinations, so it's only natural that they @@color:lightgreen;become friends with benefits.@@ <<set _SlaveJ.relationship = 3, _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveI.relationship = 3, _SlaveI.relationshipTarget = _SlaveJ.ID>> <<break>> <<else>> _SlaveI.slaveName tries to strike up a sexual relationship with _SlaveJ.slaveName and is @@color:gold;punished@@ for breaking the rules against such things; she @@color:mediumorchid;resents@@ being prevented from pursuing her. <<set _SlaveI.devotion -= 2, _SlaveI.trust -= 2>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</for>> <<if _SlaveI.relationshipTarget != _SlaveJ.ID>> <<set _SlaveJ = null>> <</if>> <</if>> <</if>> <</if>> <</if>> <<set _drop = 1>> <</if>> <<if (_SlaveI.relationship > 0) || (_SlaveI.relation > 0)>> <<for _j to 0; _j < _SL; _j++>> <<if _SlaveI.relationshipTarget == $slaves[_j].ID>> /% Also sets a few extra vars. to get rid of redundancy of possible old bug fixes? %/ <<set _SlaveJ = $slaves[_j], _J = _j , _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<if _SlaveI.relationTarget == $slaves[_j].ID>> <<if _SlaveI.rivalryTarget != _SlaveI.relationTarget>> <<set _K = _j>> <</if>> <</if>> <</for>> <</if>> <<if (_SlaveI.relationship != 0) && (_drop == 0)>> /% RELATIONSHIP IS NOT 0; NOW ON TO ONGOING RELATIONSHIPS %/ /% Game change due to possible bug clears rivalry only if between SlaveI and SlaveJ if they are the rivals. So delete this one or the other one just below %/ <<if (_SlaveI.rivalry != 0 && _SlaveJ != null)>> <<if _SlaveI.rivalryTarget == _SlaveI.relationshipTarget>> <<set _SlaveJ.rivalry = 0, _SlaveJ.rivalryTarget = 0, _SlaveI.rivalry = 0, _SlaveI.rivalryTarget = 0>> <</if>> <</if>> /% End of Game change code %/ /% This one functions same as before, just without the for loop %/ <<if (_SlaveI.rivalry != 0)>> <<if _SlaveI.rivalryTarget != _SlaveI.relationshipTarget>> <<if _SlaveJ != null>> <<if _SlaveJ.ID == _SlaveI.relationshipTarget>> <<set _SlaveJ.rivalry = 0, _SlaveJ.rivalryTarget = 0>> <</if>> <</if>> /% This will leave _SlaveI.rivalryTarget .rivalry and .rivalryTarget hanging if it's not SlaveJ %/ <<set _SlaveI.rivalry = 0, _SlaveI.rivalryTarget = 0>> <</if>> <</if>> /% End of Orig. %/ <<if _SlaveI.fetish == "mindbroken">> Since she is mindbroken, she @@color:lightsalmon;can't really maintain@@ any meaningful relationship with <<if _SlaveJ != null>> _SlaveJ.slaveName <<set _SlaveJ.relationship = 0, _SlaveJ.relationshipTarget = 0>> <<else>> you <</if>>. <<set _SlaveI.relationship = 0, _SlaveI.relationshipTarget = 0>> <<elseif _SlaveI.relationship < 0>> /% Relationship with the PC %/ <<if _SlaveI.relationship == -1>> <<if (_SlaveI.energy < 90)>> She is no longer such a complete nymphomaniac, and has @@color:lightsalmon;begun to rely less on sex for emotional support@@ than she once did. <<set _SlaveI.relationship = 0>> <<elseif (_SlaveI.assignment == "serve in the master suite") && ($masterSuiteUpgradeLuxury == 2)>> Forming a part of the pile of copulating bodies in $masterSuiteName satisfies her voracious sexual appetite. <<elseif (_SlaveI.choosesOwnAssignment != 1)>> <<if (_SlaveI.assignment != "whore")>> <<if (_SlaveI.assignment != "work in the brothel")>> <<if (_SlaveI.assignment != "serve the public")>> <<if (_SlaveI.assignment != "serve in the club")>> <<if (_SlaveI.devotion > 60)>> She is @@color:mediumorchid;emotionally unfulfilled@@ by her assignment, since it does not afford her the validation of massive promiscuity. <<set _SlaveI.devotion-->> <</if>> <<if (_SlaveI.trust > 60)>> She is @@color:gold;impatient@@ with her limited field of potential sexual partners, and would prefer to be a publicly available nympho. <<set _SlaveI.trust-->> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif _SlaveI.relationship == -2>> <<if _SlaveI.mother == -1>> She <<if _SlaveI.sexualQuirk is "perverted">> is such a pervert that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> is torn between sinful delight and deep disgust that she's carrying on an incestuous relationship with her own mother. <<elseif _SlaveI.devotion > 75>> is so devoted to you that she accepts carrying on an incestuous relationship with her own mother. <<elseif _SlaveI.devotion > 50>> is somewhat @@color:mediumorchid;disturbed@@ that she's carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion -= 2>> <<elseif _SlaveI.devotion > 20>> is @@color:mediumorchid;disturbed@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion -= 2>> <<set _SlaveI.trust -= 2>> <<else>> is @@color:mediumorchid;revolted@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion -= 4>> <<set _SlaveI.trust -= 4>> <</if>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == -1>> <<if _SlaveI.sexualQuirk is "perverted">> She's even @@color:hotpink;aroused@@ by the constant awareness that her mother is the parent of the daughter<<if _SlaveI.pregType > 1>>s<</if>> she's carrying. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> Her feelings about carrying her mother's child<<if _SlaveI.pregType > 1>>ren<</if>> are @@color:hotpink;secretly less mixed,@@ though. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> She occasionally remembers that she's carrying her mother's child<<if _SlaveI.pregType > 1>>ren<</if>>, but does her best to accept it by not thinking about it. <<elseif _SlaveI.devotion > 50>> She's @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her mother's, though she tries her best not to think about it. <<set _SlaveI.devotion -= 1>> <<elseif _SlaveI.devotion > 20>> She's so @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her mother's that she often wakes up crying about it. <<set _SlaveI.devotion -= 2>> <<else>> She's @@color:mediumorchid;passionately hateful@@ of you for making her carry an incestuous pregnancy. <<set _SlaveI.devotion -= 4>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> Society @@color:green;strongly approves@@ of your incestuous relationship, which advances the Egyptian revivalist ideal of slave incest. <<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == $relation.ID>> @@color:green;The effect is greatly enhanced@@ by _SlaveI.slaveName's pureblooded pregnancy. <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.05*$FSSingleSlaveRep*$pornFameBonus>> <</if>> <</if>> <</if>> <<elseif _SlaveI.father == -1>> She <<if _SlaveI.sexualQuirk is "perverted">> is such a pervert that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> is torn between sinful delight and deep disgust that she's carrying on an incestuous relationship with her own father. <<elseif _SlaveI.devotion > 75>> is so devoted to you that she accepts carrying on an incestuous relationship with her own mother. <<elseif _SlaveI.devotion > 50>> is somewhat @@color:mediumorchid;disturbed@@ that she's carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion -= 2>> <<elseif _SlaveI.devotion > 20>> is @@color:mediumorchid;disturbed@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion -= 2>> <<set _SlaveI.trust -= 2>> <<else>> is @@color:mediumorchid;revolted@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion -= 4>> <<set _SlaveI.trust -= 4>> <</if>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == -1>> <<if _SlaveI.sexualQuirk is "perverted">> She's even @@color:hotpink;aroused@@ by the constant awareness that her father is the parent of the daughter<<if _SlaveI.pregType > 1>>s<</if>> she's carrying. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> Her feelings about carrying her father's child<<if _SlaveI.pregType > 1>>ren<</if>> are @@color:hotpink;secretly less mixed,@@ though. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> She occasionally remembers that she's carrying her father's child<<if _SlaveI.pregType > 1>>ren<</if>>, but does her best to accept it by not thinking about it. <<elseif _SlaveI.devotion > 50>> She's @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her father's, though she tries her best not to think about it. <<set _SlaveI.devotion -= 1>> <<elseif _SlaveI.devotion > 20>> She's so @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her father's that she often wakes up crying about it. <<set _SlaveI.devotion -= 2>> <<else>> She's @@color:mediumorchid;passionately hateful@@ of you for making her carry an incestuous pregnancy. <<set _SlaveI.devotion -= 4>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> Society @@color:green;strongly approves@@ of your incestuous relationship, which advances the Egyptian revivalist ideal of slave incest. <<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == $relation.ID>> @@color:green;The effect is greatly enhanced@@ by _SlaveI.slaveName's pureblooded pregnancy. <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.05*$FSSingleSlaveRep*$pornFameBonus>> <</if>> <</if>> <</if>> <</if>> <<if (_SlaveI.assignment == "be a servant") || (_SlaveI.assignment == "work as a servant") || (_SlaveI.assignment == "serve in the master suite") || (_SlaveI.assignment == "please you") || (_SlaveI.ID == $Concubine.ID)>> She is @@color:hotpink;happy@@ to be allowed to serve you personally, since it's as close a relationship to you as she can aspire to. In addition, her deep love for you produces a slow but steady increase of both @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust.@@ <<set _SlaveI.devotion++, _SlaveI.trust++>> <<else>> Her deep love for you produces a slow but steady increase of both @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust.@@ <<set _SlaveI.devotion++, _SlaveI.trust++>> <</if>> <<if (_SlaveI.devotion + _SlaveI.trust < 150)>> <<if random(1, 100) > 50>> She is no longer as devoted to you as she once was, and has @@color:lightsalmon;begun to look elsewhere for emotional support.@@ <<set _SlaveI.relationship = 0>> <</if>> <</if>> <<if _SlaveI.trust < 75>> <<if random(1, 100) > 50>> She is no longer as trusting of you as she once was, and has @@color:lightsalmon;begun to look elsewhere for emotional support.@@ <<set _SlaveI.relationship = 0>> <</if>> <</if>> <<elseif _SlaveI.relationship == -3>> <<if _SlaveI.mother == -1>> She <<if _SlaveI.sexualQuirk is "perverted">> is such a pervert that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> is torn between sinful delight and deep disgust that she's carrying on an incestuous relationship with her own mother. <<elseif _SlaveI.devotion > 75>> is so devoted to you that she accepts carrying on an incestuous relationship with her own mother. <<elseif _SlaveI.devotion > 50>> is somewhat @@color:mediumorchid;disturbed@@ that she's carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion -= 2>> <<elseif _SlaveI.devotion > 20>> is @@color:mediumorchid;disturbed@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion -= 2>> <<set _SlaveI.trust -= 2>> <<else>> is @@color:mediumorchid;revolted@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own mother. <<set _SlaveI.devotion -= 4>> <<set _SlaveI.trust -= 4>> <</if>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == -1>> <<if _SlaveI.sexualQuirk is "perverted">> She's even @@color:hotpink;aroused@@ by the constant awareness that her mother is the parent of the daughter<<if _SlaveI.pregType > 1>>s<</if>> she's carrying. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> Her feelings about carrying her mother's child<<if _SlaveI.pregType > 1>>ren<</if>> are @@color:hotpink;secretly less mixed,@@ though. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> She occasionally remembers that she's carrying her mother's child<<if _SlaveI.pregType > 1>>ren<</if>>, but does her best to accept it by not thinking about it. <<elseif _SlaveI.devotion > 50>> She's @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her mother's, though she tries her best not to think about it. <<set _SlaveI.devotion -= 1>> <<elseif _SlaveI.devotion > 20>> She's so @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her mother's that she often wakes up crying about it. <<set _SlaveI.devotion -= 2>> <<else>> She's @@color:mediumorchid;passionately hateful@@ of you for making her carry an incestuous pregnancy. <<set _SlaveI.devotion -= 4>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> Society @@color:green;strongly approves@@ of your incestuous relationship, which advances the Egyptian revivalist ideal of slave incest. <<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == $relation.ID>> @@color:green;The effect is greatly enhanced@@ by _SlaveI.slaveName's pureblooded pregnancy. <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.05*$FSSingleSlaveRep*$pornFameBonus>> <</if>> <</if>> <</if>> <<elseif _SlaveI.father == -1>> She <<if _SlaveI.sexualQuirk is "perverted">> is such a pervert that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> is torn between sinful delight and deep disgust that she's carrying on an incestuous relationship with her own father. <<elseif _SlaveI.devotion > 75>> is so devoted to you that she accepts carrying on an incestuous relationship with her own mother. <<elseif _SlaveI.devotion > 50>> is somewhat @@color:mediumorchid;disturbed@@ that she's carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion -= 2>> <<elseif _SlaveI.devotion > 20>> is @@color:mediumorchid;disturbed@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion -= 2>> <<set _SlaveI.trust -= 2>> <<else>> is @@color:mediumorchid;revolted@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own father. <<set _SlaveI.devotion -= 4>> <<set _SlaveI.trust -= 4>> <</if>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == -1>> <<if _SlaveI.sexualQuirk is "perverted">> She's even @@color:hotpink;aroused@@ by the constant awareness that her father is the parent of the daughter<<if _SlaveI.pregType > 1>>s<</if>> she's carrying. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> Her feelings about carrying her father's child<<if _SlaveI.pregType > 1>>ren<</if>> are @@color:hotpink;secretly less mixed,@@ though. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> She occasionally remembers that she's carrying her father's child<<if _SlaveI.pregType > 1>>ren<</if>>, but does her best to accept it by not thinking about it. <<elseif _SlaveI.devotion > 50>> She's @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her father's, though she tries her best not to think about it. <<set _SlaveI.devotion -= 1>> <<elseif _SlaveI.devotion > 20>> She's so @@color:mediumorchid;disgusted@@ that the bab<<if _SlaveI.pregType > 1>>ies<<else>>y<</if>> she's carrying is her father's that she often wakes up crying about it. <<set _SlaveI.devotion -= 2>> <<else>> She's @@color:mediumorchid;passionately hateful@@ of you for making her carry an incestuous pregnancy. <<set _SlaveI.devotion -= 4>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> Society @@color:green;strongly approves@@ of your incestuous relationship, which advances the Egyptian revivalist ideal of slave incest. <<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == $relation.ID>> @@color:green;The effect is greatly enhanced@@ by _SlaveI.slaveName's pureblooded pregnancy. <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.05*$FSSingleSlaveRep*$pornFameBonus>> <</if>> <</if>> <</if>> <</if>> <<if (_SlaveI.assignment == "be a servant") || (_SlaveI.assignment == "work as a servant") || (_SlaveI.assignment == "serve in the master suite") || (_SlaveI.assignment == "please you") || (_SlaveI.ID == $Concubine.ID)>> She is @@color:hotpink;happy@@ to be allowed to live her life close to you, since she's your wife. In addition, her deep reliance on her formal relationship to you produces a steady increase of both @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust.@@ <<set _SlaveI.devotion += 2, _SlaveI.trust += 2>> <<elseif (_SlaveI.assignment == "whore") || (_SlaveI.assignment == "work in the brothel") || (_SlaveI.assignment == "serve the public") || (_SlaveI.assignment == "serve in the club") || (_SlaveI.assignment == "work a glory hole") || (_SlaveI.assignment == "be confined in the arcade")>> Her reliance on her formal relationship to you produces a slight increase of both @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust,@@ though this is reduced by being on a public sexual assignment rather than being kept for you alone. The public is less forgiving of you ordering your slave wife to fuck random citizens, @@color:red;seriously damaging your reputation.@@ <<set _SlaveI.devotion++, _SlaveI.trust++, $rep -= 100>> <<else>> Her deep reliance on her formal relationship to you produces a steady increase of both @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust.@@ <<set _SlaveI.devotion++, _SlaveI.trust++>> <</if>> <<if (_SlaveI.devotion + _SlaveI.trust < 150)>> <<if random(1, 100) > 50>> Since she is no longer completely devoted to you, @@color:lightsalmon;your being married to her is no longer socially expedient.@@ <<set _SlaveI.relationship = 0>> <</if>> <</if>> <<if _SlaveI.trust < 75>> <<if random(1, 100) > 50>> Since she is no longer absolutely trusting of you, @@color:lightsalmon;your being married to her is no longer socially expedient.@@ <<set _SlaveI.relationship = 0>> <</if>> <</if>> <</if>> <<elseif _SlaveI.relationshipRules == "restrictive">> <<if _SlaveJ.relationshipRules == "restrictive">> Since the rules forbid the relationship between _SlaveI.slaveName and _SlaveJ.slaveName, they are @@color:lightsalmon;forced apart.@@ <<if _SlaveI.relationship > 1>> <<set _SlaveI.relationship--, _SlaveJ.relationship = _SlaveI.relationship>> <<else>> <<set _SlaveJ.relationship = 0, _SlaveJ.relationshipTarget = 0, _SlaveI.relationship = 0, _SlaveI.relationshipTarget = 0>> <</if>> <<if _SlaveI.devotion <= 50>> _SlaveI.slaveName @@color:mediumorchid;resents@@ this. <<set _SlaveI.devotion -= 2>> <</if>> <<if _SlaveJ.devotion <= 50>> _SlaveJ.slaveName @@color:mediumorchid;resents@@ this. <<set _SlaveJ.devotion -= 2>> <</if>> <</if>> <<elseif _SlaveI.relationshipRules == "just friends">> <<if _SlaveI.relationship > 2>> <<if _SlaveJ.relationshipRules == "restrictive">> Since the sexual relationship between _SlaveI.slaveName and _SlaveJ.slaveName is against the rules, they are @@color:lightsalmon;forced to keep their hands to themselves.@@ <<set _SlaveJ.relationship = 2, _SlaveI.relationship = 2>> <<if _SlaveI.devotion <= 50>> _SlaveI.slaveName @@color:mediumorchid;resents@@ this. <<set _SlaveI.devotion -= 2>> <</if>> <<if _SlaveJ.devotion <= 50>> _SlaveJ.slaveName @@color:mediumorchid;resents@@ this. <<set _SlaveJ.devotion -= 2>> <</if>> <</if>> <</if>> <<else>> <<set _seed = 0>> _SlaveI.slaveName <<switch _SlaveI.relationship>> <<case 1>> /% friends %/ is friends with _SlaveJ.slaveName. <<if (_SlaveI.devotion + _SlaveI.trust > 170) && (random(1, 2) == 1)>> She's very devoted to you, and strongly trusts both you and her place as a slave. Since she is just friends with _SlaveJ.slaveName, <<if _SlaveI.sexualQuirk == "romantic">> and persistently interprets sex in the most romantic possible terms, she has decided that she wants to be yours in her heart as well as her <<if _SlaveI.vagina > -1>>pussy<<else>>butthole<</if>>. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <<elseif _SlaveI.energy > 90>> and is a total sex addict, she begins to think of sex as her only meaningful emotional connection with people. @@color:lightgreen;She's become an emotional slut!@@ <<set _SlaveI.relationship = -1>> <<else>> and loves you, she begins to think of you as a woman might think of her lover - or <<if $PC.title != 0>>husband<<else>>wife<</if>>. She knows she cannot hope for more of a relationship with you than she has, but she finds emotional support in serving you nonetheless. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship to -2>> <</if>> <<set _SlaveJ.relationship = 0, _SlaveJ.relationshipTarget = 0, _SlaveI.relationshipTarget = 0>> <<elseif $familyTesting == 1 && ( _SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > 80)>> They build on their family relationship and become @@color:lightgreen;best friends.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget) && (random(1, 100) > 80)>> They build on their family relationship and become @@color:lightgreen;best friends.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.energy > 95) && (random(1, 100) > 70)>> _SlaveI.slaveName obviously lusts after her friend, and does everything she can to @@color:lightgreen;draw her closer.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.attrXX > 85) && (random(1, 100) > 70)>> <<if (_SlaveJ.vagina > -1) || (_SlaveJ.faceShape != "masculine")>> _SlaveI.slaveName obviously lusts after her friend, and does everything she can to @@color:lightgreen;draw her closer.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif (_SlaveI.attrXY > 85) && (random(1, 100) > 70)>> <<if (_SlaveJ.balls > 0) or (_SlaveJ.faceShape == "masculine")>> _SlaveI.slaveName obviously lusts after her friend, and does everything she can to @@color:lightgreen;draw her closer.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif (random(1, 100) > 90)>> They support and reassure each other and become @@color:lightgreen;best friends.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<case 2>> /% best friends %/ maintains a close friendship with _SlaveJ.slaveName. <<if _SlaveI.sexualQuirk == "romantic">> Her romantic bent drives her to search for a regular sexual partner. <<set _seed = 10>> <</if>> <<if (_SlaveI.devotion + _SlaveI.trust > 95) && (random(1, 2) == 1)>> _SlaveI.slaveName is totally devoted to you, and implicitly trusts both you and her place as a slave. Since her relationship with _SlaveJ.slaveName has not yet turned sexual, and <<if _SlaveI.sexualQuirk == "romantic">> she persistently interprets sex in the most romantic possible terms, she has decided that she wants to be yours in her heart as well as her <<if _SlaveI.vagina > -1>>pussy<<else>>butthole<</if>>. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <<elseif _SlaveI.energy > 90>> she's a total sex addict, she begins to think of sex as her only meaningful emotional connection with people. @@color:lightgreen;She's become an emotional slut!@@ <<set _SlaveI.relationship = -1>> <<else>> she loves you, she begins to think of you as a woman might think of her lover - or <<if $PC.title != 0>>husband<<else>>wife<</if>>. She knows she cannot hope for more of a relationship with you than she has, but she finds emotional support in serving you nonetheless. @@color:lightgreen;She's become emotionally bonded to you!@@ <<set _SlaveI.relationship = -2>> <</if>> <<set _SlaveJ.relationship = 0, _SlaveJ.relationshipTarget = 0, _SlaveI.relationshipTarget = 0>> <<elseif $familyTesting == 1 && (_SlaveI.energy > 95) && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > (90-$seed))>> Driven by nymphomania to attempt to have sex with everyone, _SlaveJ.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveJ.relationship = 0, _SlaveJ.relationshipTarget = 0, _SlaveI.relationshipTarget = 0>> <<elseif (_SlaveI.energy > 95) && (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget) && (random(1, 100) > (90 - $seed))>> Driven by nymphomania to attempt to have sex with everyone, _SlaveI.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif $familyTesting == 1 && (_SlaveI.sexualQuirk == "perverted") && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > (80-$seed))>> Revelling in the taboo nature of her attraction to _SlaveJ.slaveName, _SlaveI.slaveName successfully seduces her and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.sexualQuirk == "perverted") && (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget) && (random(1, 100) > (80 - $seed))>> Reveling in the taboo nature of her attraction to _SlaveJ.slaveName, _SlaveI.slaveName successfully seduces her and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif $familyTesting == 1 && (_SlaveI.behavioralQuirk == "sinful") && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > (80-$seed))>> Aroused by the chance to commit the sin of incest, _SlaveI.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.behavioralQuirk == "sinful") && (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget) && (random(1, 100) > (80 - $seed))>> Aroused by the chance to commit the sin of incest, _SlaveI.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.energy > 95) && (random(1, 100) > (80 - $seed))>> _SlaveI.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif random(1, 100) > (100 - $seed) - (0.2 * _SlaveI.attrXX)>> <<if (_SlaveJ.vagina > -1) || (_SlaveJ.faceShape != "masculine")>> _SlaveI.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif random(1, 100) > (100 - $seed) - (0.2 * _SlaveI.attrXY)>> <<if (_SlaveJ.balls > 0) || (_SlaveJ.faceShape == "masculine")>> _SlaveI.slaveName successfully seduces _SlaveJ.slaveName and they become @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif $familyTesting == 1 && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0)>> <<if random(1,100) > (95-$seed)>> Eventually, they happen to be together and horny, and find themselves fucking without thinking. They have become incestuous @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget)>> <<if random(1, 100) > (95 - $seed)>> Eventually, they happen to be together and horny, and find themselves fucking without thinking. They have become incestuous @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif (random(1, 100) > (95 - $seed))>> <<if (_SlaveJ.vagina != -1) && (_SlaveI.behavioralFlaw == "hates women") && (random(1, 2) == 1)>> Despite _SlaveI.slaveName's dislike of pussy, <<elseif ((_SlaveJ.balls > 0) || (_SlaveJ.faceShape == "masculine")) && (_SlaveI.behavioralFlaw == "hates men") && (random(1, 2) == 1)>> Despite _SlaveI.slaveName's distaste for cock, <<else>> Living in an atmosphere of omnipresent sexuality, <</if>> they fuck in a weak moment and find themselves becoming @@color:lightgreen;friends with benefits.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<case 3>> /% FWB %/ keeps up a sexual friendship with _SlaveJ.slaveName. <<if _SlaveI.sexualQuirk == "romantic">> Her romantic bent drives her to do her best to advance her relationship to an emotional level. <<set _seed = 10>> <</if>> <<if $familyTesting == 1 && _SlaveI.energy > 95 && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > (90-$seed))>> She's such a desperate nympho that constant incest is nothing to her. She develops real feelings for _SlaveJ.slaveName as a romantic partner. Their relationship becomes @@color:lightgreen;romantically emotional@@ as well as physical and familial. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.energy > 95) && (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget) && (random(1, 100) > (90 - $seed))>> She's such a desperate nympho that constant incest is nothing to her. She develops real feelings for _SlaveJ.slaveName as a romantic partner. Their relationship becomes @@color:lightgreen;romantically emotional@@ as well as physical and familial. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif $familyTesting == 1 && (_SlaveI.sexualQuirk is "perverted") && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > (80-$seed))>> Revelling in the taboo nature of her sexual relationship with _SlaveJ.slaveName, she not only enjoys _SlaveJ.slaveName's body, but looks after her pleasure, too. Their relationship becomes @@color:lightgreen;romantically emotional@@ as well as physical and familial. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.sexualQuirk == "perverted") && (_SlaveI.relation != 0) && (_SlaveI.relationTarget is _SlaveI.relationshipTarget) && (random(1, 100) > (80 - $seed))>> Reveling in the taboo nature of her sexual relationship with _SlaveJ.slaveName, she not only enjoys _SlaveJ.slaveName's body, but looks after her pleasure, too. Their relationship becomes @@color:lightgreen;romantically emotional@@ as well as physical and familial. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif $familyTesting == 1 && (_SlaveI.behavioralQuirk is "sinful") && (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0) && (random(1,100) > (80-$seed))>> She gets deep, perverse satisfaction by constant commission of the sin of incest, which is extreme enough to appease even her appetite for transgression. Her incestuous relationship becomes @@color:lightgreen;romantically emotional@@ as well as physical and familial. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.behavioralQuirk == "sinful") && (_SlaveI.relation != 0) && (_SlaveI.relationTarget == _SlaveI.relationshipTarget) && (random(1, 100) > (80 - $seed))>> She gets deep, perverse satisfaction by constant commission of the sin of incest, which is extreme enough to appease even her appetite for transgression. Her incestuous relationship becomes @@color:lightgreen;romantically emotional@@ as well as physical and familial. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif (_SlaveI.energy > 95) && (random(1, 100) > (80 - $seed))>> She not only enjoys _SlaveJ.slaveName's body, but looks after her pleasure, too. Without meaning it to, their relationship becomes @@color:lightgreen;strongly emotional@@ as well as physical. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <<elseif random(1, 100) > (100 - $seed) - (0.2 * _SlaveI.attrXX)>> <<if (_SlaveJ.vagina > -1) || (_SlaveJ.faceShape != "masculine")>> She not only enjoys _SlaveJ.slaveName's body, but looks after her pleasure, too. Without meaning it to, their relationship becomes @@color:lightgreen;strongly emotional@@ as well as physical. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif random(1, 100) > (100 - $seed) - (0.2 * _SlaveI.attrXY)>> <<if (_SlaveJ.balls > 0) || (_SlaveJ.faceShape == "masculine")>> She not only enjoys _SlaveJ.slaveName's body, but looks after her pleasure, too. Without meaning it to, their relationship becomes @@color:lightgreen;strongly emotional@@ as well as physical. <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<elseif (random(1, 100) > (95 - $seed))>> They've spent enough time looking after each other's sexual and emotional needs that their relationship has become @@color:lightgreen;very strong.@@ <<set _SlaveI.relationship++, _SlaveJ.relationship = _SlaveI.relationship>> <</if>> <<case 4>> /% lovers %/ and _SlaveJ.slaveName are lovers. <<default>> /% slave wives %/ has a slave wife, _SlaveJ.slaveName. <<if $arcologies[0].FSChattelReligionist != "unset">> Society @@color:green;approves@@ of their marriage, which advances the slave sacrament. <<set $repGain += $FSSingleSlaveRep * ($arcologies[0].FSChattelReligionist / $FSLockinLevel), $arcologies[0].FSChattelReligionist += 0.05 * $FSSingleSlaveRep>> <</if>> <</switch>> <<if _SlaveI.devotion <= 95>> <<if _SlaveI.devotion != _SlaveJ.devotion>> _SlaveI.slaveName absorbs <<if _SlaveI.relationship == 1>>a touch of her friend<<elseif _SlaveI.relationship == 2>>a little of her best friend<<elseif _SlaveI.relationship == 3>>some of her close friend<<elseif _SlaveI.relationship == 4>>a lot of her lover<<else>>much of her wife<</if>>'s <<if _SlaveI.devotion > _SlaveJ.devotion>> @@color:mediumorchid;<<if _SlaveJ.devotion > 50>>remaining doubts about you<<elseif _SlaveJ.devotion > 20>>remaining hesitations about sexual slavery<<elseif _SlaveJ.devotion > -20>>unhappiness about being a sex slave<<else>>anger at being a slave<</if>>.@@ <<else>> @@color:hotpink;<<if _SlaveJ.devotion > 50>>love for you<<elseif _SlaveJ.devotion > 20>>acceptance of sexual slavery<<elseif _SlaveJ.devotion > -20>>submission to the reality of being a sex slave<<else>>unwillingness to immediately rebel<</if>>.@@ <</if>> <<set _SlaveI.devotion -= Math.trunc((_SlaveI.devotion - _SlaveJ.devotion) * (0.1 * _SlaveI.relationship))>> <</if>> <<elseif _SlaveJ.devotion <= 95>> She's so devoted to you that she's unaffected by _SlaveJ.slaveName's less abject submission. <</if>> <<if _SlaveI.trust <= 95>> _SlaveI.slaveName <<if _SlaveI.trust < -20>> cares for _SlaveJ.slaveName and is @@color:gold;terrified@@ of what you might do to her if either of them misbehave. She @@color:hotpink;does her best@@ to avoid that. <<set _SlaveI.trust -= _SlaveI.relationship, _SlaveI.devotion += _SlaveI.relationship>> <<else>> @@color:mediumaquamarine;trusts you@@ <<if _SlaveI.relationship <= 2>> a little more for allowing her to have a friend. <<elseif _SlaveI.relationship == 3>> for letting her have a fuckbuddy. <<elseif _SlaveI.relationship == 4>> for permitting her and her lover to be together. <<else>> for giving her a wife. <</if>> <<set _SlaveI.trust += _SlaveI.relationship>> <</if>> <<elseif _SlaveI.devotion > 95>> <<if _SlaveI.relationship > 4>> She feels <<if $arcologies[0].FSChattelReligionist != "unset">>blessed with<<else>>she has<</if>> a truly good life as your slave. <</if>> <</if>> <</if>> <</if>> /% FWB, lovers, slave wives %/ <<if _SlaveI.relationship > 2>> <<if $familyTesting == 1>> <<if totalRelatives(_SlaveI) > 0>> <<set $relation = 0>> <<set $relationType = 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if _SlaveI.relationshipTarget == _SlaveJ.ID>> <<if (_SlaveI.mother == _SlaveJ.ID || _SlaveI.father == _SlaveJ.ID || _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID || areSisters(_SlaveI, _SlaveJ) > 0)>> <<if _SlaveJ.mother == _SlaveI.ID || _SlaveJ.father == _SlaveI.ID>> <<set $relationType = "daughter">> <<elseif _SlaveI.mother == _SlaveJ.ID>> <<set $relationType = "mother">> <<elseif _SlaveI.father == _SlaveJ.ID>> <<set $relationType = "father">> <<elseif areSisters(_SlaveI, _SlaveJ) == 1>> <<set $relationType = "twin">> <<elseif areSisters(_SlaveI, _SlaveJ) == 2>> <<set $relationType = "sister">> <<elseif areSisters(_SlaveI, _SlaveJ) == 3>> <<set $relationType = "half-sister">> <</if>> <<set $relation = _SlaveJ>> <<break>> <</if>> <</if>> <</for>> <<if $relation != 0>> _SlaveI.slaveName <<if _SlaveI.origin == "She offered herself to you for enslavement hoping you would preserve her incestuous relationship with her sibling." || _SlaveI.origin == "She offered to become your slave to protect her incestuous relationship.">> is @@color:hotpink;grateful@@ and @@color:mediumaquamarine;trusting@@ towards you for protecting her in her long-standing incestuous relationship. <<set _SlaveI.devotion += 2>> <<set _SlaveI.trust += 2>> <<elseif _SlaveI.sexualQuirk is "perverted">> is such a pervert that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own $relationType. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> is so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own $relationType. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> is torn between sinful delight and deep disgust that she's carrying on an incestuous relationship with her own $relationType. <<elseif _SlaveI.devotion > 75>> is so devoted to you that she accepts carrying on an incestuous relationship with her own $relationType. <<elseif _SlaveI.devotion > 50>> is somewhat @@color:mediumorchid;disturbed@@ that she's carrying on an incestuous relationship with her own $relationType. <<set _SlaveI.devotion -= 2>> <<elseif _SlaveI.devotion > 20>> is @@color:mediumorchid;disturbed@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own $relationType. <<set _SlaveI.devotion -= 2>> <<set _SlaveI.trust -= 2>> <<else>> is @@color:mediumorchid;revolted@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own $relationType. <<set _SlaveI.devotion -= 4>> <<set _SlaveI.trust -= 4>> <</if>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == $relation.ID>> <<if _SlaveI.origin == "She offered herself to you for enslavement hoping you would preserve her incestuous relationship with her sibling." || _SlaveI.origin == "She offered to become your slave to protect her incestuous relationship.">> She's @@color:hotpink;overjoyed@@ to be carrying her sister's child. <<set _SlaveI.devotion += 2>> <<elseif _SlaveI.sexualQuirk is "perverted">> She's even @@color:hotpink;aroused@@ by the constant awareness that her $relationType is the parent of the daughter she's carrying. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.behavioralQuirk is "sinful">> Her feelings about carrying her <<print $relationType>>'s child are @@color:hotpink;secretly less mixed,@@ though. <<set _SlaveI.devotion += 1>> <<elseif _SlaveI.devotion > 95>> She occasionally remembers that she's carrying her <<print $relationType>>'s child, but does her best to accept it by not thinking about it. <<elseif _SlaveI.devotion > 50>> She's @@color:mediumorchid;disgusted@@ that the baby she's carrying is her <<print $relationType>>'s, though she tries her best not to think about it. <<set _SlaveI.devotion -= 1>> <<elseif _SlaveI.devotion > 20>> She's so @@color:mediumorchid;disgusted@@ that the baby she's carrying is her <<print $relationType>>'s that she often wakes up crying about it. <<set _SlaveI.devotion -= 2>> <<else>> She's @@color:mediumorchid;passionately hateful@@ of you for making her carry an incestuous pregnancy. <<set _SlaveI.devotion -= 4>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> Society @@color:green;strongly approves@@ of their incestuous relationship, which advances the Egyptian revivalist ideal of slave incest. <<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSEgyptianRevivalist += 0.1*$FSSingleSlaveRep>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == $relation.ID>> @@color:green;The effect is greatly enhanced@@ by _SlaveI.slaveName's pureblooded pregnancy. <<set $repGain += $FSSingleSlaveRep*($arcologies[0].FSEgyptianRevivalist/$FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.05*$FSSingleSlaveRep*$pornFameBonus>> <</if>> <</if>> <</if>> <</if>> <<set $relation = 0>> <<set $relationType = 0>> <</if>> <<else>> <<if _SlaveI.relation != 0>> <<if (_SlaveI.relationTarget == _SlaveI.relationshipTarget)>> _SlaveI.slaveName is <<if _SlaveI.origin == "She offered herself to you for enslavement hoping you would preserve her incestuous relationship with her sibling.">> @@color:hotpink;grateful@@ and @@color:mediumaquamarine;trusting@@ towards you for protecting her in her long-standing incestuous relationship. <<set _SlaveI.devotion += 2, _SlaveI.trust += 2>> <<elseif _SlaveI.sexualQuirk is "perverted">> such a pervert that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<set _SlaveI.devotion++>> <<elseif _SlaveI.devotion > 95>> so inured to the perversities of slavery that she @@color:hotpink;enjoys@@ carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<set _SlaveI.devotion++>> <<elseif _SlaveI.behavioralQuirk is "sinful">> torn between sinful delight and deep disgust that she's carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<elseif _SlaveI.devotion > 75>> so devoted to you that she accepts carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<elseif _SlaveI.devotion > 50>> somewhat @@color:mediumorchid;disturbed@@ that she's carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<set _SlaveI.devotion -= 2>> <<elseif _SlaveI.devotion > 20>> @@color:mediumorchid;disturbed@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<set _SlaveI.devotion -= 2, _SlaveI.trust -= 2>> <<else>> @@color:mediumorchid;revolted@@ and @@color:gold;scared@@ that she's carrying on an incestuous relationship with her own <<print relationTargetWord(_SlaveI)>>. <<set _SlaveI.devotion -= 4, _SlaveI.trust -= 4>> <</if>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == _SlaveI.relationTarget>> <<if _SlaveI.origin == "She offered herself to you for enslavement hoping you would preserve her incestuous relationship with her sibling.">> She's @@color:hotpink;overjoyed@@ to be carrying her sister's child. <<set _SlaveI.devotion += 2>> <<elseif _SlaveI.sexualQuirk is "perverted">> She's even @@color:hotpink;aroused@@ by the constant awareness that her <<print relationTargetWord(_SlaveI)>> is the parent of the daughter she's carrying. <<set _SlaveI.devotion++>> <<elseif _SlaveI.behavioralQuirk is "sinful">> Her feelings about carrying her <<print relationTargetWord(_SlaveI)>>'s child are @@color:hotpink;secretly less mixed,@@ though. <<set _SlaveI.devotion++>> <<elseif _SlaveI.devotion > 95>> She occasionally remembers that she's carrying her <<print relationTargetWord(_SlaveI)>>'s child, but does her best to accept it by not thinking about it. <<elseif _SlaveI.devotion > 50>> She's @@color:mediumorchid;disgusted@@ that the baby she's carrying is her <<print relationTargetWord(_SlaveI)>>'s, though she tries her best not to think about it. <<set _SlaveI.devotion-->> <<elseif _SlaveI.devotion > 20>> She's so @@color:mediumorchid;disgusted@@ that the baby she's carrying is her <<print relationTargetWord(_SlaveI)>>'s that she often wakes up crying about it. <<set _SlaveI.devotion -= 2>> <<else>> She's @@color:mediumorchid;passionately hateful@@ of you for making her carry an incestuous pregnancy. <<set _SlaveI.devotion -= 4>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> Society @@color:green;strongly approves@@ of their incestuous relationship, which advances the Egyptian revivalist ideal of slave incest. <<set $repGain += 2 * $FSSingleSlaveRep * ($arcologies[0].FSEgyptianRevivalist / $FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.1 * $FSSingleSlaveRep>> <<if _SlaveI.preg > 0>> <<if _SlaveI.pregSource == _SlaveI.relationTarget>> @@color:green;The effect is greatly enhanced@@ by _SlaveI.slaveName's pureblooded pregnancy. <<set $repGain += $FSSingleSlaveRep * ($arcologies[0].FSEgyptianRevivalist / $FSLockinLevel), $arcologies[0].FSEgyptianRevivalist += 0.05 * $FSSingleSlaveRep * $pornFameBonus>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if _SlaveI.releaseRules != "restrictive">> <<if _SlaveI.sexualQuirk == "size queen">> <<if canAchieveErection(_SlaveJ)>> <<if _SlaveJ.dick > 5>> She's @@color:hotpink;very happy@@ with her romantic status, since it means she gets monster cock. <<if ((_SlaveI.anus > 0) && (_SlaveI.anus < 3))>> She's such a size queen that she takes it up her ass as often as she can bear it, despite her poor anus not being used to such abuse. This @@color:lime;stretches out her sphincter.@@ <<set _SlaveI.anus++>> <</if>> For her part, _SlaveJ.slaveName @@color:hotpink;can barely believe her luck,@@ their sex life is so good. <<set _SlaveI.devotion += 2, _SlaveJ.devotion += 2>> <<elseif _SlaveJ.dick > 4>> She @@color:hotpink;quite likes@@ being in a sexual relationship with a slave who has such an impressive dick. <<if ((_SlaveI.anus > 0) && (_SlaveI.anus < 2))>> She's such a size queen that she takes it up her ass as often as she can bear it, despite her tight butt not being used to such abuse. This @@color:lime;stretches out her sphincter.@@ <<set _SlaveI.anus++>> <</if>> For her part, _SlaveJ.slaveName @@color:hotpink;enjoys@@ the benefits of having a lover so interested in her junk. <<set _SlaveI.devotion++, _SlaveJ.devotion++>> <<elseif _SlaveJ.dick > 3>> _SlaveI.slaveName @@color:hotpink;certainly doesn't mind@@ having reliable access to such a nice big dick. For her part, _SlaveJ.slaveName @@color:hotpink;likes@@ having a lover who finds her penis appealing. <<set _SlaveI.devotion++, _SlaveJ.devotion++>> <</if>> <</if>> <</if>> <<if (_SlaveI.energy <= 90)>> <<if (_SlaveJ.energy > 95)>> _SlaveJ.slaveName is such a sex addict that she drags _SlaveI.slaveName along with her in their enthusiastic sex life, @@color:green;slowly improving her sex drive.@@ <<set _SlaveI.energy += 3>> <<elseif (_SlaveJ.fetish == _SlaveI.fetish) && (_SlaveJ.fetishKnown == 1) && (_SlaveI.fetishKnown == 1)>> _SlaveJ.slaveName and _SlaveI.slaveName enjoy sharing their sexual fetishes so much it @@color:green;improves their sex drives@@ in proportion to the strength of their kinks. <<set _SlaveI.energy += 1 + Math.trunc(_SlaveI.fetishStrength / 30)>> <<elseif (_SlaveI.attrXX > 65) && (_SlaveI.attrKnown == 1) && ((_SlaveJ.vagina > -1) || (_SlaveJ.face > 0))>> _SlaveI.slaveName is very much attracted to _SlaveJ.slaveName, and their fulfilling sexual relationship @@color:green;gradually improves _SlaveI.slaveName's sex drive.@@ <<set _SlaveI.energy++>> <<elseif (_SlaveI.attrXY > 65) && (_SlaveI.attrKnown == 1) && (_SlaveJ.dick > 0)>> _SlaveI.slaveName enjoys _SlaveJ.slaveName and her cock, and their fulfilling sexual relationship @@color:green;gradually improves _SlaveI.slaveName's sex drive.@@ <<set _SlaveI.energy++>> <</if>> <</if>> <<if (_SlaveI.attrKnown == 1)>> <<if (_SlaveI.attrXX <= 95)>> <<if (_SlaveJ.vagina > -1) || (_SlaveJ.faceShape != "masculine")>> <<if (random(1, 100) < (_SlaveI.relationship * 5))>> After finding comfort with a feminine lover, _SlaveI.slaveName begins to experience more attraction to women. <<set _SlaveI.attrXX += 2>> <</if>> <</if>> <</if>> <<if (_SlaveI.attrXY <= 95)>> /% Shouldn't this be _SlaveJ.dick not balls? %/ <<if ((_SlaveJ.balls > 0) || (_SlaveJ.faceShape == "masculine"))>> <<if (random(1, 100) < (_SlaveI.relationship * 5))>> After growing close to a lover with a dick, _SlaveI.slaveName begins to experience more attraction to men. <<set _SlaveI.attrXY += 2>> <</if>> <</if>> <</if>> <</if>> <<if ((_SlaveJ.fetish != "none") && (_SlaveJ.fetish != "mindbroken"))>> <<if _SlaveI.fetishStrength <= 95>> <<if _SlaveJ.fetish != _SlaveI.fetish>> <<if $fetishChangeChance > (random(0, 100) - (_SlaveI.relationship * 5))>> <<switch _SlaveJ.fetish>> <<case "boobs">> After experiencing _SlaveJ.slaveName's love of breasts, her own and _SlaveI.slaveName's, _SlaveI.slaveName happily joins her as a @@color:lightcoral;boob fanatic.@@ <<set _SlaveI.fetish = "boobs", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <<case "buttslut">> _SlaveJ.slaveName begs _SlaveI.slaveName to fuck her ass so many times that _SlaveI.slaveName reconsiders her stance on buttsex. She becomes just as much of an @@color:lightcoral;anal slut@@ as _SlaveJ.slaveName. <<set _SlaveI.fetish = "buttslut", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <<case "cumslut">> After sharing blowjobs with _SlaveJ.slaveName enough times, _SlaveI.slaveName develops an @@color:lightcoral;oral fixation@@ of her own. <<set _SlaveI.fetish = "cumslut", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <<case "submissive">> <<if (_SlaveI.fetish != "dom")>> _SlaveJ.slaveName begs _SlaveI.slaveName to dominate her so many times that _SlaveI.slaveName gets used to domination, and finds she likes it. She becomes just as much of a @@color:lightcoral;sexual dominant@@ as a slave can be. <<set _SlaveI.fetish = "dom", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <</if>> <<case "dom">> <<if (_SlaveI.fetish != "submissive")>> _SlaveJ.slaveName holds _SlaveI.slaveName down and fucks her so many times that _SlaveI.slaveName starts to get off on being used. She becomes a true @@color:lightcoral;sexual submissive@@, and loves _SlaveJ.slaveName all the more for dominating her. <<set _SlaveI.fetish = "submissive", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <</if>> <<case "masochist">> <<if (_SlaveI.fetish != "sadist")>> _SlaveJ.slaveName begs _SlaveI.slaveName to hurt her so many times that _SlaveI.slaveName gets used to sadism, and finds she likes it. She becomes just as much of an @@color:lightcoral;sexual sadist@@ as a slave can be. <<set _SlaveI.fetish = "sadist", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <</if>> <<case "sadist">> <<if (_SlaveI.fetish != "masochist")>> _SlaveJ.slaveName hits _SlaveI.slaveName during sex so often that _SlaveI.slaveName starts to get off on being beaten. She becomes a true @@color:lightcoral;masochist@@, and loves _SlaveJ.slaveName all the more for abusing her. <<set _SlaveI.fetish = "masochist", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <</if>> <<case "humiliation">> _SlaveJ.slaveName begs _SlaveI.slaveName to humiliate her sexually so many times that _SlaveI.slaveName can't help but be embarrassed by all the public sex, herself. She gets off on the @@color:lightcoral;humiliation@@ with _SlaveJ.slaveName. <<set _SlaveI.fetish = "humiliation", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <<case "pregnancy">> _SlaveJ.slaveName shares her hopes and dreams of pregnancy and children with _SlaveI.slaveName all the time, and _SlaveI.slaveName can't help but feel her @@color:lightcoral;biological clock@@ tick in time with _SlaveJ.slaveName's. <<set _SlaveI.fetish = "pregnancy", _SlaveI.fetishKnown = 1, _SlaveI.fetishStrength = 65>> <</switch>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if (_SlaveI.relationship >= 4)>> /% I don't think this code block ever runs due to the double trust in the && as it can't be < -20 and > -10 at the same time %/ <<if (_SlaveI.devotion > 20) || ((_SlaveI.devotion >= -20) && (_SlaveI.trust < -20)) || (_SlaveI.trust > -10)>> <<if _SlaveJ.devotion > 75>> <<if _SlaveJ.trust > 50>> <<if _SlaveJ.intelligence > 0>> <<if _SlaveJ.intelligenceImplant > 0>> <<if _SlaveJ.actualAge - _SlaveI.actualAge > 10>> <<if random(1, 50) > (_SlaveI.intelligence * 5) + (_SlaveJ.intelligence * 10)>> _SlaveI.slaveName's <<if _SlaveI.relationship >= 5>>wife<<else>>lover<</if>> is older, more experienced, and <<if (_SlaveJ.oralSkill > _SlaveI.oralSkill)>> better at blowjobs than she is. They are such good slaves that the senior girl serves as a mentor to the junior, improving her oral skills. <<set $skillIncrease = 5>><<OralSkillIncrease _SlaveI>> <<elseif (_SlaveJ.analSkill > _SlaveI.analSkill) && (_SlaveI.anus > 0)>> better at taking a buttfuck than she is, and they are such good slaves that the senior girl serves as a mentor to the junior, improving her anal skills. <<set $skillIncrease = 5>><<AnalSkillIncrease _SlaveI>> <<elseif (_SlaveJ.vaginalSkill > _SlaveI.vaginalSkill) && (_SlaveI.vagina > 0) && (_SlaveJ.vagina > 0)>> a better lover than she is, and they are such good slaves that the senior girl serves as a mentor to the junior, improving her vaginal skills. <<set $skillIncrease = 5>><<VaginalSkillIncrease _SlaveI>> <<elseif (_SlaveJ.trust > _SlaveI.trust)>> a better slave than she is, and they are such obedient slaves that the senior girl serves as a mentor to the junior, @@color:mediumaquamarine;improving her trust.@@ <<set _SlaveI.trust += 11>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> /* CLOSES RELATIONSHIP CHECK FOR LONG TERM RELATIONSHIP EFFECTS */ /* FAMILY FEELINGS */ <<if $familyTesting == 1>> <<if totalRelatives(_SlaveI) > 0>> <<if _SlaveI.trust <= 95>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _SlaveI.trust < -20>> <<if $slaves[_j].mother == _SlaveI.ID || $slaves[_j].father == _SlaveI.ID>> <<if _SlaveI.rivalry != $slaves[_j].ID>> _SlaveI.slaveName is @@color:gold;agonizingly aware@@ that her child $slaves[_j].slaveName is also your slave and might suffer if either of them angers you, and @@color:hotpink;does her best@@ to protect her. <<set _SlaveI.trust -= 2>> <<set _SlaveI.devotion += 6>> <</if>> <</if>> <<if _SlaveI.mother == $slaves[_j].ID || _SlaveI.father == $slaves[_j].ID || areSisters(_SlaveI, $slaves[_j]) > 0>> <<if _SlaveI.rivalry != $slaves[_j].ID>> <<if _SlaveI.mother == $slaves[_j].ID>> _SlaveI.slaveName is @@color:gold;painfully concious@@ that her mother $slaves[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@color:hotpink;tries to obey@@ as best she can. <<set _SlaveI.trust -= 1>> <<set _SlaveI.devotion += 3>> <<elseif _SlaveI.father == $slaves[_j].ID>> _SlaveI.slaveName is @@color:gold;painfully concious@@ that her father $slaves[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@color:hotpink;tries to obey@@ as best she can. <<set _SlaveI.trust -= 1>> <<set _SlaveI.devotion += 3>> <<elseif areSisters(_SlaveI, $slaves[_j]) == 1>> _SlaveI.slaveName is @@color:gold;painfully concious@@ that her twin sister $slaves[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@color:hotpink;tries to obey@@ as best she can. <<set _SlaveI.trust -= 1>> <<set _SlaveI.devotion += 3>> <<elseif areSisters(_SlaveI, $slaves[_j]) == 2>> _SlaveI.slaveName is @@color:gold;painfully concious@@ that her sister $slaves[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@color:hotpink;tries to obey@@ as best she can. <<set _SlaveI.trust -= 1>> <<set _SlaveI.devotion += 3>> <<elseif areSisters(_SlaveI, $slaves[_j]) == 3>> _SlaveI.slaveName is @@color:gold;painfully concious@@ that her half-sister $slaves[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@color:hotpink;tries to obey@@ as best she can. <<set _SlaveI.trust -= 1>> <<set _SlaveI.devotion += 3>> <</if>> <</if>> <</if>> <<else>> <<if totalRelatives(_SlaveI) > 0>> <<if _SlaveI.mother == $slaves[_j].ID>> _SlaveI.slaveName knows that her mother $slaves[_j].slaveName <<if $slaves[_j].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 4>> <<elseif ($slaves[_j].devotion > 20) || ($slaves[_j].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 1>> <</if>> <<elseif _SlaveI.father == $slaves[_j].ID>> _SlaveI.slaveName knows that her father $slaves[_j].slaveName <<if $slaves[_j].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 4>> <<elseif ($slaves[_j].devotion > 20) || ($slaves[_j].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 1>> <</if>> <<elseif $slaves[_j].mother == _SlaveI.ID || $slaves[_j].father == _SlaveI.ID>> _SlaveI.slaveName knows that her daughter $slaves[_j].slaveName <<if $slaves[_j].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 4>> <<elseif ($slaves[_j].devotion > 20) || ($slaves[_j].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 1>> <</if>> <<elseif areSisters(_SlaveI, $slaves[_j]) == 1>> _SlaveI.slaveName knows that her twin sister $slaves[_j].slaveName <<if $slaves[_j].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 4>> <<elseif ($slaves[_j].devotion > 20) || ($slaves[_j].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 1>> <</if>> <<elseif areSisters(_SlaveI, $slaves[_j]) == 2>> _SlaveI.slaveName knows that her sister $slaves[_j].slaveName <<if $slaves[_j].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 4>> <<elseif ($slaves[_j].devotion > 20) || ($slaves[_j].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 1>> <</if>> <<elseif areSisters(_SlaveI, $slaves[_j]) == 3>> _SlaveI.slaveName knows that her half-sister $slaves[_j].slaveName <<if $slaves[_j].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 4>> <<elseif ($slaves[_j].devotion > 20) || ($slaves[_j].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 1>> <</if>> <</if>> <</if>> <</if>> <</for>> <</if>> <</if>> <<else>> <<if _K != -1>> <<if _SlaveI.trust <= 95>> _SlaveI.slaveName <<if _SlaveI.trust < -20>> <<if _SlaveI.relation is "mother">> is @@color:gold;agonizingly aware@@ that her child $slaves[_K].slaveName is also your slave and might suffer if either of them angers you, and @@color:hotpink;does her best@@ to protect her. <<set _SlaveI.trust -= 4, _SlaveI.devotion += 4>> <<else>> is @@color:gold;painfully conscious@@ that her <<if _SlaveI.relation == "daughter">>mother<<else>>_SlaveI.relation<</if>> $slaves[_K].slaveName is also your slave and might suffer if either of them displeases you, and @@color:hotpink;tries to obey@@ as best she can. <<set _SlaveI.trust -= 2, _SlaveI.devotion += 2>> <</if>> <<else>> knows that her <<if _SlaveI.relation == "mother">>daughter<<elseif _SlaveI.relation == "daughter">>mother<<else>>_SlaveI.relation<</if>> $slaves[_K].slaveName <<if $slaves[_K].devotion > 50>> loves being your sex slave, and is @@color:hotpink;happy@@ for her. <<set _SlaveI.devotion += 2>> <<elseif ($slaves[_K].devotion > 20) || ($slaves[_K].trust < -20)>> is an obedient sex slave, and hopes she'll avoid punishment. <<else>> hates being a sex slave, and is @@color:gold;afraid@@ for her. <<set _SlaveI.trust -= 2>> <</if>> <</if>> <</if>> <</if>> <</if>> /* closes family mod */ <<set $slaves[$i] = _SlaveI>> <<if _SlaveJ != null>> <<set $slaves[_J] = _SlaveJ>> <</if>> <</if>> /% CLOSES FUCKDOLL CHECK %/
r3d/fc
src/uncategorized/saRelationships.tw
tw
bsd-3-clause
82,615
:: SA rest [nobr] takes the week off. <<if $slaves[$i].fuckdoll > 0>>It has nothing to do but <<if $slaves[$i].amp == 0>>lie<<else>>stand<</if>> in place.<</if>> <<if $slaves[$i].health > 90>> $possessiveCap health is so outstanding that rest does not improve it. <<elseif $slaves[$i].health > -100>> $possessiveCap @@color:green;health recovers@@ with rest. <<set $slaves[$i].health += 10>> <</if>> <<if $slaves[$i].fuckdoll == 0>> <<if $slaves[$i].fetish != "mindbroken">> <<if $slaves[$i].devotion > 20>> <<if $slaves[$i].trust <= 20>> Being allowed to rest @@color:mediumaquamarine;reduces $possessive fear@@ of you. <<set $slaves[$i].trust += 4>> <<elseif $slaves[$i].trust <= 50>> Being allowed to rest @@color:mediumaquamarine;builds $possessive trust@@ in you. <<set $slaves[$i].trust += 2>> <<else>> Being allowed to rest @@color:mediumaquamarine;confirms $possessive trust@@ in you. <<set $slaves[$i].trust += 2>> <</if>> <<else>> <<if $slaves[$i].trust < -20>> Being allowed to rest @@color:mediumaquamarine;reduces $possessive fear@@ of you. <<set $slaves[$i].trust += 4>> <</if>> <</if>> <</if>> <</if>>
r3d/fc
src/uncategorized/saRest.tw
tw
bsd-3-clause
1,137
:: SA rivalries [nobr] <<if $slaves[$i].fuckdoll == 0>> <<set _SL = $slaves.length>> <<if $slaves[$i].rivalry == 0>> <<if $slaves[$i].fetish != "mindbroken">> <<if $slaves[$i].behavioralFlaw is "none">> <<set _seed to random(1,100)>> <<else>> <<set _seed to random(1,110)>> <</if>> <<if _seed > 90>> <<for _j to 0; _j < _SL; _j++>> <<if $slaves[_j].assignment == $slaves[$i].assignment>> <<if $slaves[_j].ID != $slaves[$i].ID>> <<if $slaves[_j].assignment != "stay confined">> <<if $slaves[_j].assignment != "be confined in the arcade">> <<if ($slaves[_j].rivalry == 0)>> <<if ($slaves[$i].relationshipTarget != $slaves[_j].ID)>> <<if random(-100,100) > ($slaves[_j].devotion+$slaves[$i].devotion)>> $slaves[$i].slaveName and $slaves[_j].slaveName see too much of each other and @@color:lightsalmon;start to dislike each other.@@ <<set $slaves[_j].rivalry to 1, $slaves[_j].rivalryTarget to $slaves[$i].ID>> <<set $slaves[$i].rivalry to 1, $slaves[$i].rivalryTarget to $slaves[_j].ID>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</for>> <</if>> <</if>> <<else>> <<set _SlaveJ = null>> <<for _j = 0; _j < _SL; _j++>> <<if $slaves[_j].ID is $slaves[$i].rivalryTarget>> <<set _SlaveJ = $slaves[_j]>> <<break>> <</if>> <</for>> <<if _SlaveJ != null>> <<if $slaves[$i].fetish is "mindbroken">> Since she is mindbroken, she @@color:lightsalmon;can't really maintain@@ any meaningful rivalry with _SlaveJ.slaveName. <<set _SlaveJ.rivalry to 0,_SlaveJ.rivalryTarget to 0>> <<set $slaves[$i].rivalry to 0, $slaves[$i].rivalryTarget to 0>> <<else>> <<if (random(1,100) > 70)>> <<if (_SlaveJ.assignment != $slaves[$i].assignment) && ($slaves[$i].subTarget != _SlaveJ.ID) && (_SlaveJ.subTarget != $slaves[$i].ID)>> With time apart $slaves[$i].slaveName and _SlaveJ.slaveName @@color:lightgreen;dislike each other less.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif (_SlaveJ.fetish is $slaves[$i].fetish) && (_SlaveJ.fetishKnown == 1) && ($slaves[$i].fetishKnown == 1)>> $slaves[$i].slaveName and _SlaveJ.slaveName share sexual interests, and in the sexual atmosphere of the arcology, it's @@color:lightgreen;difficult for them to keep up their dislike@@ of one another with the mutual attraction. <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif (_SlaveJ.devotion > 50) && ($slaves[$i].devotion > 50)>> Since both $slaves[$i].slaveName and _SlaveJ.slaveName are devoted to you, they work together to @@color:lightgreen;get over their feud,@@ since it gets in the way of their duties. <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif (_SlaveJ.trust < -20) && ($slaves[$i].devotion < -20)>> Since both $slaves[$i].slaveName and _SlaveJ.slaveName are terrified of you, they work together to @@color:lightgreen;get over their feud,@@ since it brings punishment on both of them. <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif (_SlaveJ.ID is $slaves[$i].relationshipTarget) && ($slaves[$i].relationship > 3)>> <<set _SlaveJ.rivalry to 0, _SlaveJ.rivalryTarget to 0>> <<set $slaves[$i].rivalry to 0, $slaves[$i].rivalryTarget to 0>> <<elseif (random(1,100) > 70)>> $slaves[$i].slaveName and _SlaveJ.slaveName's @@color:lightgreen;feud dissipates a little.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <</if>> <<elseif $familyTesting == 1 && totalRelatives($slaves[$i]) > 0 && (random(1,100) > 80)>> $slaves[$i].slaveName and_SlaveJ.slaveName @@color:lightsalmon;pursue their family rivalry.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif ($slaves[$i].relation != 0) && ($slaves[$i].relationTarget is $slaves[$i].rivalryTarget) && (random(1,100) > 80)>> $slaves[$i].slaveName and _SlaveJ.slaveName @@color:lightsalmon;pursue their family rivalry.@@ <<set _SlaveJ.rivalry += 1, $slaves[$i].rivalry += 1>> <<elseif $familyTesting == 1 && totalRelatives($slaves[$i]) > 0 && (random(1,100) > 80)>> $slaves[$i].slaveName and _SlaveJ.slaveName @@color:lightgreen;patch up their family relationship.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif ($slaves[$i].relation != 0) && ($slaves[$i].relationTarget is $slaves[$i].rivalryTarget) && (random(1,100) > 80)>> $slaves[$i].slaveName and _SlaveJ.slaveName @@color:lightgreen;patch up their family relationship.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif ($slaves[$i].energy > 95) && (random(1,100) > 60)>> $slaves[$i].slaveName lusts after _SlaveJ.slaveName, and does everything she can to @@color:lightgreen;patch up their differences.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <<elseif ($slaves[$i].attrXX > 85) && (random(1,100) > 70)>> <<if (_SlaveJ.vagina > -1) || (_SlaveJ.faceShape != "masculine")>> $slaves[$i].slaveName lusts after _SlaveJ.slaveName, and does everything she can to @@color:lightgreen;patch up their differences.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <</if>> <<elseif ($slaves[$i].attrXY > 85) && (random(1,100) > 70)>> <<if (_SlaveJ.balls > 0) || (_SlaveJ.faceShape is "masculine")>> $slaves[$i].slaveName lusts after _SlaveJ.slaveName, and does everything she can to @@color:lightgreen;patch up their differences.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <</if>> <<elseif (random(1,100) > 90)>> $slaves[$i].slaveName and _SlaveJ.slaveName @@color:lightsalmon;bicker@@ and indulge their rivalry whenever they can. <<set _SlaveJ.rivalry += 1, $slaves[$i].rivalry += 1>> <<elseif (random(1,100) > 90)>> $slaves[$i].slaveName and _SlaveJ.slaveName manage to @@color:lightgreen;de-escalate their little feud.@@ <<set _SlaveJ.rivalry -= 1, $slaves[$i].rivalry -= 1>> <</if>> <</if>> <<set $slaves[_j] = _SlaveJ>> <</if>> <</if>> <<if $slaves[$i].rivalry != 0>> <<for _j to 0; _j < _SL; _j++>> <<if ($slaves[_j].ID == $slaves[$i].rivalryTarget) && ($slaves[$i].ID != $slaves[_j].rivalryTarget)>> <<set $slaves[_j].rivalry to 0, $slaves[_j].rivalryTarget to 0>> <<set $slaves[$i].rivalry to 0, $slaves[$i].rivalryTarget to 0>> <<break>> <</if>> <</for>> <</if>> <</if>> /* CLOSES FUCKDOLL CHECK */
r3d/fc
src/uncategorized/saRivalries.tw
tw
bsd-3-clause
6,174
:: SA rules [nobr] <<if $slaves[$i].fuckdoll == 0>> She <<if $slaves[$i].fetish is "mindbroken">> is mentally broken so none of the rules have any impact. <<else>> <<SexualRelease $slaves[$i]>> <<if ($release == 1)>> <<if ($slaves[$i].devotion <= 20)>> gets off at work despite her reluctance, @@color:hotpink;habituating her to sexual slavery.@@ <<set $slaves[$i].devotion += 1>> <<if ($slaves[$i].trust > -20) && ($slaves[$i].devotion <= 20)>> She hates herself for climaxing, and knows the mild aphrodisiacs in the food are forcing her arousal, @@color:gold;frightening her.@@ <<set $slaves[$i].trust -= 1>> <</if>> <<elseif ($slaves[$i].releaseRules != "permissive")>> gets off at work, so being forbidden to masturbate doesn't affect her seriously. <<else>> gets off at work, so she doesn't feel the need to masturbate frequently. <</if>> <<else>> <<if ($slaves[$i].releaseRules is "restrictive")>> <<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust > -20)>> refuses to come to you for sexual release, and is @@color:gold;severely punished@@ for illicit masturbation. <<set $slaves[$i].trust -= 2>> <<elseif ($slaves[$i].devotion <= 20)>> occasionally comes to you to beg for sexual release, @@color:hotpink;hating herself@@ for it. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion <= 50)>> doesn't mind having to come to you to beg for sexual release, @@color:hotpink;drawing her closer@@ to her <<if $PC.title == 0>>Mistress<<else>>Master<</if>>. <<set $slaves[$i].devotion += 1>> <<else>> <<set $slaves[$i].trust += 1>> happily @@color:mediumaquamarine;relies on you@@ for sexual release, begging you to <<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>> <<switch $slaves[$i].fetish>> <<case "submissive">> hold her down and fuck her <<case "cumslut">> <<if $PC.dick == 1>> cum in her mouth <<else>> use your strap-on on her mouth <</if>> <<case "humiliation">> use her in public <<case "buttslut">> fuck her butt <<case "boobs">> fondle her breasts <<case "sadist">> let her help you abuse other slaves <<case "masochist">> hurt her <<case "dom">> let her help you use other slaves <<default>> fuck her <</switch>> <<else>> fuck her <</if>> every chance she gets. <<if ($slaves[$i].fetishKnown == 0)>> <<if (random(1,2) == 1)>> <<set $slaves[$i].fetishKnown to 1>> You discover that she really likes it when you <<switch $slaves[$i].fetish>> <<case "submissive">> hold her down and fuck her; @@color:pink;she's a submissive!@@ <<case "cumslut">> <<if $PC.dick == 1>> cum in her mouth; @@color:pink;she's a cumslut!@@ <<else>> use your strap-on in her mouth; @@color:pink;she's a cumslut!@@ <</if>> <<case "humiliation">> use her in public; @@color:pink;she's a humiliation fetishist!@@ <<case "buttslut">> fuck her butt; @@color:pink;she's an anal slut!@@ <<case "boobs">> fondle her breasts; @@color:pink;she's a boob fetishist!@@ <<case "sadist">> let her help you abuse other slaves; @@color:pink;she's a sadist!@@ <<case "masochist">> hurt her; @@color:pink;she's a masochist!@@ <<case "dom">> let her help you use other slaves; @@color:pink;she's dominant!@@ <<case "pregnancy">> <<if $PC.dick == 1>> come inside her; @@color:pink;she's a pregnancy fetishist!@@ <<else>> talk dirty and call her a heifer; @@color:pink;she's a pregnancy fetishist!@@ <</if>> <<default>> fuck her; @@color:pink;she's got a normal sexuality.@@ <</switch>> <</if>> <</if>> <</if>> <<if $slaves[$i].drugs is "testicle enhancement">> <<if $slaves[$i].balls > 0>> <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> <<if $slaves[$i].hormones > 0>> She can't seem to get enough cum out of her terribly swollen balls in one orgasm to get relieve the pressure: her poor soft dick produces slow, anemic ejaculations, no matter how backed up she is. This forces her to come to you for release many times a day, and she @@color:mediumaquamarine;is desperately reliant@@ <<if $slaves[$i].anus > 0>> on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside her ass as a source of relief. <<else>> on you for relief. <</if>> <<set $slaves[$i].trust += 2>> <<else>> Her terribly swollen balls force her to come to you for release several times a day, and she @@color:mediumaquamarine;learns to rely@@ <<if $slaves[$i].anus > 0>> on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside her ass as a source of relief. <<else>> on you for relief. <</if>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <</if>> <<if $slaves[$i].drugs is "hyper testicle enhancement">> <<if $slaves[$i].balls > 0>> <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> <<if $slaves[$i].hormones > 0>> She can't seem to get enough cum out of her grotesquely swollen balls in one orgasm to get relieve the pressure: her poor soft dick produces slow, anemic ejaculations, no matter how backed up she is. This forces her to come to you for release many times a day, and she @@color:mediumaquamarine;is desperately reliant@@ <<if $slaves[$i].anus > 0>> on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside her ass as a source of relief. <<else>> on you for relief. <</if>> <<set $slaves[$i].trust += 2>> <<else>> Her grotesquely swollen balls force her to come to you for release dozens of times a day, and she @@color:mediumaquamarine;is desperately reliant@@ <<if $slaves[$i].anus > 0>> on your <<if $PC.dick == 0>>strap-on<<else>>penis<</if>> inside her ass as a source of relief. <<else>> on you for relief. <</if>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <</if>> <<if $slaves[$i].drugs is "super fertility drugs">> <<if $slaves[$i].vagina > 0 || ($slaves[$i].anus > 0 && $slaves[$i].mpreg == 1)>> <<if $slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1>> <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> <<if $PC.dick == 1>> Her reproductive system is in overdrive leading her to come to you for insemination several times a day; she @@color:mediumaquamarine;desperately hopes@@ for the day your seed takes root in her womb. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <<else>> <<if ($universalRulesConsent == 0)>> <<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust > -20)>> <<if ($slaves[$i].releaseRules is "permissive")>> masturbates whenever she can find a private moment to take care of the urges induced by the food, @@color:mediumaquamarine;slightly reducing her fear@@ of you. <<set $slaves[$i].trust += 1>> <<else>> refuses to use other slaves to get off, and is @@color:gold;severely punished@@ for illicit masturbation. <<set $slaves[$i].trust -= 2>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($slaves[$i].releaseRules is "permissive")>> prefers to masturbate rather than demanding sex from other slaves, @@color:mediumaquamarine;slightly reducing her fear@@ of you. <<set $slaves[$i].trust += 1>> <<else>> is forced to demand sex from other slaves by the urges induced by the food, and @@color:hotpink;hates herself@@ for it. <<set $slaves[$i].devotion += 1>> <</if>> <<elseif ($slaves[$i].devotion <= 50)>> accepts the need to demand sex from your other slaves, @@color:hotpink;building her acceptance@@ of her life. <<set $slaves[$i].devotion += 1>> <<else>> <<set $slaves[$i].trust += 1>> happily @@color:mediumaquamarine;avails herself@@ of your permission to <<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>> <<if ($slaves[$i].fetish is "submissive")>> demand that other slaves fuck her. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*40)-($averageDick*5) < random(1,100)>> @@color:lime;Her asshole is loosened@@ during sex with other slaves, since most of the cocks she demands a dominating buttfuck from are very large. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>> Since most of the slaves she demands a pounding from are extremely hung, @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "cumslut")>> suck or be sucked by any slave she fancies. <<elseif ($slaves[$i].fetish is "humiliation")>> demand that other slaves let her fuck them in public. <<elseif ($slaves[$i].fetish is "buttslut")>> demand that other slaves penetrate her anus. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>> Since most of the slaves she demands anal sex from are extremely hung, @@color:lime;her asshole gets stretched out.@@ <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "boobs")>> demand that other slaves massage her breasts. <<elseif ($slaves[$i].fetish is "sadist")>> force the most reluctant slaves to let her fuck them. <<elseif ($slaves[$i].fetish is "masochist")>> demand that other slaves hurt her. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>> @@color:lime;Her asshole is loosened@@ during sex with hung slaves, since she often relies on painal to address her needs. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>> Since she usually demands that hung slaves fuck her hard enough to make her pussy hurt, @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "dom")>> force other slaves to submit to her. <<elseif ($slaves[$i].fetish is "pregnancy")>> demand that other slaves indulge her pregnancy fetish. <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>> Since she constantly demands to be fucked deeply to get her womb filled with cum, @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].energy > 95)>> demand that your other slaves satisfy her formidable appetites. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>> @@color:lime;Her asshole is loosened@@ during sex with well endowed slaves, since she's so addicted to sex all her holes see heavy traffic. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>> She indulges in non-stop sex with your well endowed slaves, so much so that @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<else>> demand that other slaves have sex with her. <</if>> <<else>> demand that other slaves have sex with her. <</if>> <<if ($slaves[$i].fetishKnown == 0)>> <<if (random(1,2) == 1)>> <<set $slaves[$i].fetishKnown to 1>> You discover that she really likes it when other girls <<if ($slaves[$i].fetish is "submissive")>> hold her down and fuck her; @@color:pink;she's a submissive!@@ <<elseif ($slaves[$i].fetish is "cumslut")>> cum in her mouth; @@color:pink;she's a cumslut!@@ <<elseif ($slaves[$i].fetish is "humiliation")>> use her in public; @@color:pink;she's a humiliation fetishist!@@ <<elseif ($slaves[$i].fetish is "buttslut")>> <<if ($slaves[$i].anus > 0)>> fuck her butt; <<else>> tease her virgin anus; <</if>> @@color:pink;she's an anal slut!@@ <<elseif ($slaves[$i].fetish is "boobs")>> fondle her breasts; @@color:pink;she's a boob fetishist!@@ <<elseif ($slaves[$i].fetish is "sadist")>> let her help you abuse other slaves; @@color:pink;she's a sadist!@@ <<elseif ($slaves[$i].fetish is "masochist")>> hurt her; @@color:pink;she's a masochist!@@ <<elseif ($slaves[$i].fetish is "dom")>> let her help you use other slaves; @@color:pink;she's dominant!@@ <<elseif ($slaves[$i].fetish is "pregnancy")>> come inside her; @@color:pink;she's a pregnancy fetishist!@@ <<else>> fuck her; @@color:pink;she's got a normal sexuality.@@ <</if>> <</if>> <</if>> <</if>> <<else>> <<if ($slaves[$i].devotion <= 20) && ($slaves[$i].trust > -20)>> <<if ($slaves[$i].releaseRules is "permissive")>> prefers to masturbate rather than asking other slaves for sex, @@color:mediumaquamarine;slightly reducing her fear@@ of you. <<set $slaves[$i].trust += 1>> <<else>> refuses to ask other slaves for sex, and is @@color:gold;severely punished@@ for illicit masturbation. <<set $slaves[$i].trust -= 2>> <</if>> <<elseif ($slaves[$i].devotion <= 20)>> <<if ($slaves[$i].releaseRules is "permissive")>> prefers to masturbate rather than trading sex with other slaves, @@color:mediumaquamarine;slightly reducing her fear@@ of you. <<set $slaves[$i].trust += 1>> <<else>> is forced to swap sex with other slaves by the urges induced by the food, and @@color:hotpink;hates herself@@ for it. <<set $slaves[$i].devotion += 1>> <</if>> <<elseif ($slaves[$i].devotion <= 50)>> doesn't mind having to ask other slaves for sex, @@color:mediumaquamarine;building her acceptance@@ of her life. <<set $slaves[$i].trust += 1>> <<else>> <<set $slaves[$i].trust += 1>> @@color:mediumaquamarine;relies@@ on your other loyal slaves for mutual satisfaction, <<if ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>> <<if ($slaves[$i].fetish is "submissive")>> usually pairing off with a more dominant slave. <<if $averageDick > 4>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*40)-($averageDick*5) < random(1,100)>> @@color:lime;Her asshole is loosened@@ during sex with other slaves, since most of the cocks she lets dominate her backdoor are very large. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>> Since most of the slaves she takes a pounding from are extremely hung, @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "cumslut")>> and is popular for her willingness to give oral. <<elseif ($slaves[$i].fetish is "humiliation")>> usually asking them to fuck out in the open. <<elseif ($slaves[$i].fetish is "buttslut")>> looking after anyone who will <<if ($slaves[$i].anus > 0)>> penetrate her ass <<else>> tease her virgin anus <</if>> in return. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>> Since most of the slaves she enjoys anal sex with are extremely hung, @@color:lime;her asshole gets stretched out.@@ <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "boobs")>> seeing to anyone who will show her breasts some love. <<elseif ($slaves[$i].fetish is "sadist")>> usually pairing off with a masochistic slave willing to accept her abuse. <<elseif ($slaves[$i].fetish is "masochist")>> usually pairing off with an abusive slave. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>> @@color:lime;Her asshole is loosened@@, since she begs hung slaves to fuck her butt until she cries. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>> Since she eagerly begs hung slaves to fuck her until she cries, @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].fetish is "dom")>> usually pairing off with a submissive bitch. <<elseif ($slaves[$i].fetish is "pregnancy")>> doing her best to pair off with any pregnant slaves. <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*40)-($averageDick*5) < random(1,100)>> She also takes cock whenever she can, begging to be fucked deeply to get her womb filled with cum, so @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif ($slaves[$i].energy > 95)>> and has to give out a lot of favors to get enough attention for herself. <<if $averageDick > 4>> <<if $slaves[$i].anus > 0>> <<if $slaves[$i].anus < 3>> <<if ($slaves[$i].anus*30)-($averageDick*5) < random(1,100)>> @@color:lime;Her asshole is loosened@@ during sex with well endowed slaves, since she's so addicted to sex all her holes see heavy traffic. <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <<if $averageDick > 5>> <<if $slaves[$i].vagina > 0>> <<if $slaves[$i].vagina < 3>> <<if $slaves[$i].vaginalAccessory != "chastity belt">> <<if ($slaves[$i].vagina*30)-($averageDick*5) < random(1,100)>> She indulges in non-stop sex with your well endowed slaves, so much so that @@color:lime;her cunt gets stretched out.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<else>> doing her best to get off and move on. <</if>> <<else>> doing her best to get off and move on. <</if>> <<if ($slaves[$i].fetishKnown == 0)>> <<if (random(1,2) == 1)>> <<set $slaves[$i].fetishKnown to 1>> However, one of her partners <<if ($slaves[$i].fetish is "submissive")>> holds her down, and she loves it; @@color:pink;she's a submissive!@@ <<elseif ($slaves[$i].fetish is "cumslut")>> finally has to push her away to get her to stop sucking; @@color:pink;she's a cumslut!@@ <<elseif ($slaves[$i].fetish is "humiliation")>> fucks her in public, and she loves it; @@color:pink;she's a humiliation fetishist!@@ <<elseif ($slaves[$i].fetish is "buttslut")>> <<if ($slaves[$i].anus > 0)>> fucks her butt, and she loves it; <<else>> teases her virgin anus, and she loves it; <</if>> @@color:pink;she's an anal slut!@@ <<elseif ($slaves[$i].fetish is "boobs")>> fondles her breasts, and she loves it; @@color:pink;she's a boob fetishist!@@ <<elseif ($slaves[$i].fetish is "sadist")>> asks $slaves[$i].slaveName to hit her, which $slaves[$i].slaveName enjoys doing; @@color:pink;she's a sadist!@@ <<elseif ($slaves[$i].fetish is "masochist")>> hits $slaves[$i].slaveName while fucking her, which only makes her hornier; @@color:pink;she's a masochist!@@ <<elseif ($slaves[$i].fetish is "dom")>> asks $slaves[$i].slaveName to make her $slaves[$i].slaveName's bitch, which $slaves[$i].slaveName manages like a natural; @@color:pink;she's dominant!@@ <<elseif ($slaves[$i].fetish is "pregnancy")>> pretends to get her pregnant, which she really enjoys; @@color:pink;she's a pregnancy fetishist!@@ <<elseif ($slaves[$i].energy > 95)>> discovers that she cannot be satisfied; @@color:pink;she's a nympho!@@ <<else>> discovers that she isn't terribly exciting; @@color:pink;she's got a normal sexuality.@@ <</if>> <</if>> <</if>> <</if>> <</if>> <<if $slaves[$i].drugs is "testicle enhancement">> <<if $slaves[$i].balls > 0>> <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> <<if $slaves[$i].hormones > 0>> She can't seem to get enough cum out of her terribly swollen balls in one orgasm to get relieve the pressure: her poor soft dick produces slow, anemic ejaculations, no matter how backed up she is. She is very reliant on your other girls to help her, which @@color:mediumaquamarine;habituates her@@ to slave sex. <<else>> Her terribly swollen balls force her to rely on other slaves for release several times a day, and jetting cum into and onto your other girls @@color:mediumaquamarine;habituates her@@ to slave sex. <</if>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <<if $slaves[$i].drugs is "hyper testicle enhancement">> <<if $slaves[$i].balls > 0>> <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> <<if $slaves[$i].hormones > 0>> She can't seem to get enough cum out of her grotesquely swollen balls in one orgasm to get relieve the pressure: her poor soft dick produces slow, anemic ejaculations, no matter how backed up she is. She is completely dependent on your other girls to help her, which @@color:mediumaquamarine;habituates her@@ to slave sex. <<else>> Her grotesquely swollen balls force her to rely on other slaves for release throughout times a day, and swelling your other girls with cum @@color:mediumaquamarine;habituates her@@ to slave sex, though you have to take precautions so she doesn't knock up your entire stock. <</if>> <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <<if $slaves[$i].drugs is "super fertility drugs">> <<if $slaves[$i].vagina > 0 || ($slaves[$i].anus > 0 && $slaves[$i].mpreg == 1)>> <<if $slaves[$i].ovaries == 1 || $slaves[$i].mpreg == 1>> <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> Her reproductive system is in overdrive leading her to seek out any dicked girl she can find several times a day. She @@color:mediumaquamarine;desperately longs@@ for the day her efforts fill her womb with child. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].devotion <= 20)>> <<if $slaves[$i].voice == 0>> Living as a mute @@color:hotpink;molds her@@ to your will. <<elseif $slaves[$i].lips > 95>> Being unable to speak through her facepussy @@color:hotpink;molds her@@ to your will. <<elseif $slaves[$i].speechRules == "restrictive">> Living under enforced silence @@color:hotpink;molds her@@ to your will. <</if>> <<set $slaves[$i].devotion += 1>> <</if>> <<if $roomsPopulation > $rooms>> <<if $slaves[$i].livingRules is "luxurious">> There are @@color:yellow;too many slaves for the penthouse's individual rooms,@@ so she moves out into the dormitory. <<set $slaves[$i].livingRules to "normal">> <<set $dormitoryPopulation += 1>> <<if $slaves[$i].relationship >= 4>><<set $roomsPopulation -= 0.5>><<else>><<set $roomsPopulation -= 1>><</if>> <</if>> <</if>> <<if ($slaves[$i].devotion <= 20)>> <<if ($slaves[$i].livingRules is "spare")>> The spare living conditions @@color:hotpink;get her used@@ to the routine of <<if ($slaves[$i].trust > 20)>> slavery and @@color:gold;keep her aware of her lowly place.@@ <<set $slaves[$i].trust -= 1>> <<else>> slavery. <</if>> <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].livingRules is "normal")>> The reasonable living conditions allow her to @@color:mediumaquamarine;feel self-reliant.@@ <<set $slaves[$i].trust += 1>> <<else>> The luxurious living conditions encourage her to @@color:mediumaquamarine;feel respectable.@@ <<set $slaves[$i].trust += 2>> <</if>> <<else>> <<if ($slaves[$i].ID is $HeadGirl.ID) && ($HGSuite == 1)>> She is @@color:hotpink;very happy@@ with her suite and @@color:mediumaquamarine;trusts@@ you a bit more for providing it. <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<elseif ($slaves[$i].livingRules is "luxurious")>> She is @@color:hotpink;very happy@@ with her little room and @@color:mediumaquamarine;trusts@@ you a bit more for providing it. <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].trust += 1>> <<elseif ($slaves[$i].livingRules is "normal")>> She likes her personal space in the dormitory. <<elseif ($slaves[$i].trust > 8)>> The spare living conditions @@color:gold;remind her not to get too comfortable@@ with her life. <<set $slaves[$i].trust -= 2>> <<elseif ($slaves[$i].trust > 2)>> The spare living conditions @@color:gold;keep her aware of her place.@@ <<set $slaves[$i].trust -= 1>> <</if>> <</if>> <<if $slaves[$i].livingRules != "luxurious">> <<if $dormitoryPopulation > $dormitory>> <<set $seed to $dormitoryPopulation - $dormitory>> The slave dormitory is <<if $seed <= 5>> @@color:yellow;somewhat overcrowded.@@ The mild inconvenience <<if $slaves[$i].trust > 20>> @@color:gold;reduces her trust@@ in you a little. <<set $slaves[$i].trust -= 2>> <<else>> @@color:mediumorchid;lowers you@@ a little in her opinion. <<set $slaves[$i].devotion -= 2>> <</if>> <<elseif $seed <= 10>> @@color:yellow;badly overcrowded.@@ The constant difficulties <<if $slaves[$i].trust > 20>> @@color:gold;reduces her trust@@ in you <<set $slaves[$i].trust -= 3>> <<else>> @@color:mediumorchid;lowers you@@ in her opinion <<set $slaves[$i].devotion -= 3>> <</if>> and is @@color:red;not good for her,@@ since it's difficult to rest there. <<set $slaves[$i].health -= 2>> <<else>> @@color:yellow;extremely overcrowded.@@ The unpleasant situation <<if $slaves[$i].trust > 20>> seriously @@color:gold;reduces her trust@@ in you <<set $slaves[$i].trust -= 5>> <<else>> seriously @@color:mediumorchid;lowers you@@ in her opinion <<set $slaves[$i].devotion -= 5>> <</if>> and is @@color:red;bad for her health.@@ <<set $slaves[$i].health -= 4>> <</if>> <</if>> <</if>> <<if ($universalRulesConsent == 0)>> <<if ($slaves[$i].devotion <= 20)>> <<if ($slaves[$i].trust > -10)>> Under the rules, she finds herself constantly molested by other slaves, and lives her life constantly @@color:gold;afraid.@@ <<set $slaves[$i].trust -= 2>> <<else>> Under the rules, she finds herself constantly molested by other slaves, but she's already in such constant terror it doesn't seriously affect her. <</if>> <<elseif ($slaves[$i].releaseRules != "restrictive")>> <<if ($slaves[$i].energy > 95)>> Under the rules, she's allowed to demand that other slaves to get her off, and she @@color:hotpink;adores@@ you for providing plentiful outlets for her nymphomania. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetishStrength > 60)>> <<if ($slaves[$i].fetish is "sadist")>> Under the rules, she's allowed to sexually abuse other slaves, and she @@color:hotpink;adores@@ you for providing a whole penthouse of girls for her to rape. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].fetish is "dom")>> Under the rules, she's allowed to force other slaves to have sex with her, and she @@color:hotpink;adores@@ you for providing a whole penthouse of girls for her to dominate. <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <</if>> <<else>> <<if ($slaves[$i].devotion <= 20) && ($slaves[$i].devotion >= -20)>> Since she's low in the slave hierarchy, @@color:mediumaquamarine;she knows@@ that the rule that slaves must get consent before having sex with her are all that protect her from abuse. <<set $slaves[$i].trust += 1>> <</if>> <</if>> <<if ($slaves[$i].attrKnown == 0)>> <<if ($release == 1)>> <<set $slaves[$i].attrKnown to 1>> <<if $assistantName is "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> monitors her as she gets off, analyzing her sexuality. It seems she is <<if $slaves[$i].attrXY <= 5>> @@color:red;disgusted by men@@ <<elseif $slaves[$i].attrXY <= 15>> @@color:red;turned off by men@@ <<elseif $slaves[$i].attrXY <= 35>> @@color:red;not attracted to men@@ <<elseif $slaves[$i].attrXY <= 65>> indifferent to men <<elseif $slaves[$i].attrXY <= 85>> @@color:green;attracted to men@@ <<elseif $slaves[$i].attrXY <= 95>> @@color:green;aroused by men@@ <<else>> @@color:green;passionate about men@@ <</if>> and <<if $slaves[$i].attrXX <= 5>> @@color:red;disgusted by women.@@ <<elseif $slaves[$i].attrXX <= 15>> @@color:red;turned off by women.@@ <<elseif $slaves[$i].attrXX <= 35>> @@color:red;not attracted to women.@@ <<elseif $slaves[$i].attrXX <= 65>> indifferent to women. <<elseif $slaves[$i].attrXX <= 85>> @@color:green;attracted to women.@@ <<elseif $slaves[$i].attrXX <= 95>> @@color:green;aroused by women.@@ <<else>> @@color:green;passionate about women.@@ <</if>> <</if>> <</if>> <<if $slaves[$i].devotion > 50>> She does her best for you, so she frequently deserves a reward and never needs to be punished. <<set _punishments = 0>> <<set _rewards = 3>> <<elseif $slaves[$i].devotion > 20>> She's obedient out of acceptance of her place, so she often deserves a reward and rarely needs to be punished. <<set _punishments = 1>> <<set _rewards = 2>> <<elseif $slaves[$i].devotion >= -20>> <<if $slaves[$i].trust < -20>> She's obedient out of fear, so she only rarely deserves a reward and sometimes needs to be punished. <<set _punishments = 1>> <<set _rewards = 1>> <<else>> She's too trusting for obedience and often needs to be punished. <<set _punishments = 2>> <<set _rewards = 0>> <</if>> <<else>> <<if $slaves[$i].trust < -50>> She's only obedient out of terror, so she sometimes needs to be punished. <<set _punishments = 1>> <<set _rewards = 0>> <<else>> She hates you too much to obey, so she needs constant punishment. <<set _punishments = 3>> <<set _rewards = 0>> <</if>> <</if>> <<if _rewards > 0>> <<switch $slaves[$i].standardReward>> <<case "relaxation">> She's given free time, which she <<if $spa != 0>> usually spends in $spaName<<if $Attendant != 0>> enjoying $Attendant.slaveName's care<</if>>. <<else>> usually spends relaxing in the slave quarters. <</if>> <<if $slaves[$i].relationship > 0>> She often asks to save these breaks so she can spend them with her <<if $slaves[$i].relationship == 1>>friend<<elseif $slaves[$i].relationship == 2>>best friend<<elseif $slaves[$i].relationship == 3>>friend with benefits<<elseif $slaves[$i].relationship == 4>>sweetheart<<else>>wife<</if>>. <</if>> These breaks are @@color:green;good for her.@@ <<set $slaves[$i].health += _rewards>> <<case "drugs">> She's @@color:hotpink;rewarded@@ with hits of mild recreational drugs, which @@color:red;isn't healthy,@@ but helps bind her to you strongly. <<set $slaves[$i].health -= _rewards>> <<set $slaves[$i].devotion += _rewards*2>> <<case "orgasm">> She's @@color:hotpink;rewarded@@ with <<if $slaves[$i].clitPiercing >= 3>> sustained orgasm from her <<if $slaves[$i].dick == 0>>clit<<else>>dick<</if>> piercing, <<elseif $activeSlave.releaseRules == "sapphic">> immediate sex with any nearby slave, <<else>> a quick climax from a vibrator, <</if>> @@color:green;boosting her libido.@@ <<if $slaves[$i].energy < 98>><<set $slaves[$i].energy += _rewards>><</if>> <<set $slaves[$i].devotion += _rewards>> <<default>> She's @@color:hotpink;rewarded@@ <<if (_punishments > 0) && ($slaves[$i].standardReward == "situational")>> and @@color:gold;punished@@ <</if>> situationally, letting her develop normally. <<set $slaves[$i].devotion += _rewards>> <</switch>> <</if>> <<if _punishments > 0>> <<switch $slaves[$i].standardPunishment>> <<case "confinement">> When she disobeys, she's <<if $cellblock != 0>> @@color:gold;put in $cellblockName@@<<if $Wardeness != 0>>, where she can experience $Wardeness.slaveName's tender mercies<</if>>. <<else>> @@color:gold;shut up in a box@@ until she behaves. <</if>> <<set $slaves[$i].trust -= _punishments>> <<case "whipping">> When she disobeys, she's @@color:gold;whipped,@@ not hard enough to mark her, but hard enough to @@color:red;hurt,@@ breaking her quickly. <<set $slaves[$i].health -= _punishments>> <<set $slaves[$i].trust -= 2*_punishments>> <<case "chastity">> When she disobeys, she's @@color:gold;denied@@ her next orgasm, @@color:red;reducing her libido@@ but breaking her to @@color:hotpink;sexual obedience.@@ <<if $slaves[$i].energy > 2>><<set $slaves[$i].energy -= 2*_punishments>><</if>> <<set $slaves[$i].devotion += _punishments>> <<set $slaves[$i].trust -= _punishments>> <<default>> <<if (_rewards == 0) || ($slaves[$i].standardReward != "situational")>> When she disobeys, she's @@color:gold;punished@@ situationally, letting her develop normally. <</if>> <<set $slaves[$i].trust -= _punishments>> <</switch>> <</if>> <</if>> /*Closes mindbreak exemption*/ <</if>> /*Closes fuckdoll exemption*/
r3d/fc
src/uncategorized/saRules.tw
tw
bsd-3-clause
34,136
:: SA servant [nobr] works as a servant. She performs the lowest jobs in your penthouse, cleaning up after your other slaves, bathing them, helping them dress, and giving them sexual relief. <<if $servantsQuarters > 0>> <<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment is "be a servant") && ($servantsQuartersSpots > 0)) || ($slaves[$i].assignment is "work as a servant")>> <<if ($slaves[$i].assignment is "be a servant")>> Since there's extra space in the servants' quarters, $assistantName attaches her to the cadre of maids there. <<set $servantsQuartersSpots -= 1>> <</if>> <<if ($Stewardess != 0)>> This brings her under $Stewardess.slaveName's supervision. The Stewardess <<if $slaves[$i].devotion < -20>>subjects her to corrective rape when her service is imperfect, or when she feels like raping her, forcing the poor slave to @@color:yellowgreen;find refuge in work.@@<<elseif $slaves[$i].devotion <= 20>>molests her, encouraging the poor slave to keep her head down and @@color:yellowgreen;work harder.@@<<else>>uses sex as a reward, getting her off when she @@color:yellowgreen;works harder.@@<</if>> <<set $cash += $stewardessBonus>> <</if>> <</if>> <</if>> <<if ($slaves[$i].trust < -20)>> She is frightened of punishment and works very hard, @@color:yellowgreen;reducing the upkeep@@ of your slaves. <<elseif ($slaves[$i].devotion < -20)>> She is reluctant, requiring your other slaves to force her services, and does not @@color:yellowgreen;reduce upkeep@@ of your slaves much. <<elseif ($slaves[$i].devotion <= 20)>> She is hesitant, requiring your other slaves to demand her services, and only slightly @@color:yellowgreen;reduces upkeep@@ of your slaves. <<elseif ($slaves[$i].devotion <= 50)>> She is obedient, offering your other slaves to her services, and moderately @@color:yellowgreen;reduces the upkeep@@ of your slaves. <<elseif ($slaves[$i].devotion <= 95)>> She is devoted, happily giving your other slaves her services, and @@color:yellowgreen;reduces the upkeep@@ of your slaves. <<else>> She is so happy to serve your other slaves that she often sees to their needs before they know they have them, and greatly @@color:yellowgreen;reduces the upkeep@@ of your slaves. <</if>> <<set $slaves[$i].oralCount += random(5,10)>> <<set $oralTotal += random(5,10)>> <<if ($slaves[$i].relationship is -2)>> She does her best to perfect your domesticity due to her emotional bond to you. <<elseif ($slaves[$i].relationship is -3)>> She does her very best to be the perfect housewife, making her an outstanding servant. <</if>> <<if ($slaves[$i].fetishStrength > 60)>> <<if ($slaves[$i].fetish is "submissive") && ($slaves[$i].fetishKnown == 1)>> Her natural affinity for submission increases her effectiveness. <<elseif ($slaves[$i].fetishKnown == 1) && ($slaves[$i].fetish is "dom")>> Her sexual appetite for domination reduces her effectiveness. <</if>> <</if>> <<if ($slaves[$i].energy < 20)>> Her frigidity allows her to ignore the intercourse all around her, making her very efficient. <<elseif ($slaves[$i].energy < 40)>> Her low sex drive keeps her from becoming too distracted by the intercourse all around her, making her more efficient. <</if>> <<if (($slaves[$i].eyes <= -1) && ($slaves[$i].eyewear != "corrective glasses") && ($slaves[$i].eyewear != "corrective contacts")) || ($slaves[$i].eyewear is "blurring glasses") || ($slaves[$i].eyewear is "blurring contacts")>> Her bad vision makes her a worse servant. <</if>> <<if ($slaves[$i].lactation > 0)>> Since she is <<if ($slaves[$i].devotion > 20) || ($slaves[$i].trust < -20)>> lactating, she serves <<else>> lactating, and disobedient, she is restrained to serve <</if>> as a drink dispenser at mealtimes, and makes a meaningful contribution to her fellow slaves' nutrition in concert with the feeding systems. <</if>>
r3d/fc
src/uncategorized/saServant.tw
tw
bsd-3-clause
3,870
:: SA serve the public [nobr] <<set $bellyAccessory to $slaves[$i].bellyAccessory>> <<if ($slaves[$i].assignment is "serve in the club") || ($slaves[$i].assignment is "serve the public")>> <<set $publicServants += 1>> <</if>> <<FResult $slaves[$i]>> <<if ($slaves[$i].releaseRules is "restrictive") && ($slaves[$i].standardReward isnot "orgasm")>> <<set $FResult += 2>> <</if>> <<if $ACitizens > $ASlaves*2>> <<set $FResult = Math.trunc($FResult*1.1)>> <<elseif $ACitizens > $ASlaves>> <<set $FResult = Math.trunc($FResult*1)>> <<elseif $ACitizens > $ASlaves*0.5>> <<set $FResult = Math.trunc($FResult*0.95)>> <<elseif $ACitizens > $ASlaves*0.25>> <<set $FResult = Math.trunc($FResult*0.9)>> <<else>> <<set $FResult = Math.trunc($FResult*0.85)>> <</if>> <<Beauty $slaves[$i]>> <<if $ACitizens > $ASlaves*2>> <<set $beauty = Math.trunc($beauty*1.1)>> <<elseif $ACitizens > $ASlaves>> <<set $beauty = Math.trunc($beauty*1)>> <<elseif $ACitizens > $ASlaves*0.5>> <<set $beauty = Math.trunc($beauty*0.95)>> <<elseif $ACitizens > $ASlaves*0.25>> <<set $beauty = Math.trunc($beauty*0.9)>> <<else>> <<set $beauty = Math.trunc($beauty*0.85)>> <</if>> <<if $slaves[$i].sexualFlaw is "attention whore">> <<set $beauty = Math.trunc($beauty*1.1)>> <</if>> <<if $slaves[$i].assignment is "be the DJ">> <<if $clubSlaves+$slavesGettingHelp > 0>> <<set $beauty = Math.trunc($beauty*((5-$clubSlaves-$slavesGettingHelp)/5))>> <</if>> <</if>> <<if ($slaves[$i].devotion > 95) || ($slaves[$i].energy > 95)>> enthusiastically serves <<elseif ($slaves[$i].devotion > 50)>> willingly serves <<elseif ($slaves[$i].devotion > 20)>> obediently serves <<elseif ($slaves[$i].trust < -20)>> reluctantly serves <<else>> is forced to serve <</if>> the public. <<if $arcologies[0].FSEdoRevivalist is "unset">> <<set $beautyMultiplier to 1>> <<else>> <<set $beautyMultiplier to (1+($arcologies[0].FSEdoRevivalist/($FSLockinLevel*3)))>> <</if>> <<if $club > 0>> <<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment is "serve the public") && ($clubSpots > 0)) || ($slaves[$i].assignment is "serve in the club")>> <<if ($slaves[$i].assignment is "serve the public")>> Since there's extra space in $clubName, she's promiscuous there. <</if>> <<if $clubAdsSpending != 0>> <<if $clubAdsStacked == 1>> <<if ($slaves[$i].butt > 4)>> <<if ($slaves[$i].boobs > 800)>> <<set $beautyMultiplier += 0.05>> Her stacked body fits $clubName's ad campaign, getting her more attention. <</if>> <</if>> <<elseif $clubAdsStacked is -1>> <<if ($slaves[$i].boobs < 500)>> <<if ($slaves[$i].butt < 3)>> <<if ($slaves[$i].weight <= 10)>> <<if ($slaves[$i].muscles <= 30)>> <<set $beautyMultiplier += 0.05>> Her slim body fits $clubName's ad campaign, getting her more attention. <</if>> <</if>> <</if>> <</if>> <</if>> <<if $clubAdsPreg == 1>> <<if ($slaves[$i].preg > 10) || ($slaves[$i].bellyImplant >= 4000)>> <<set $beautyMultiplier += 0.05>> Her gravid body fits $clubName's ad campaign, getting her more attention. <</if>> <<elseif $clubAdsPreg is -1>> <<if ($slaves[$i].pregType < 10)>> <<if ($slaves[$i].preg < 1)>> <<if ($slaves[$i].weight < 30)>> <<if (!$fakeBellies.contains($bellyAccessory))>> <<if ($slaves[$i].bellyImplant == 0)>> <<if ($slaves[$i].inflation == 0)>> <<set $beautyMultiplier += 0.05>> Her flat belly fits $clubName's ad campaign, getting her more attention. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $clubAdsModded == 1>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set $beautyMultiplier += 0.05>> Body art like hers is a major draw. <</if>> <<elseif $clubAdsModded == -1>> <<if $slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<set $beautyMultiplier += 0.05>> Very clean bodies like hers are a major draw. <</if>> <</if>> <<if $clubAdsImplanted == 1>> <<if ($slaves[$i].boobsImplant > 0)>> <<if ($slaves[$i].buttImplant > 0)>> <<if ($slaves[$i].bellyImplant > 0)>> <<if ($slaves[$i].waist > 0)>> <<if ($slaves[$i].lipsImplant > 0)>> <<set $beautyMultiplier += 0.05>> Many citizens come to $clubName looking to fuck a plastic slut like her. <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif $clubAdsImplanted is -1>> <<if ($slaves[$i].boobsImplant == 0)>> <<if ($slaves[$i].buttImplant == 0)>> <<if ($slaves[$i].waist < 2)>> <<if ($slaves[$i].lipsImplant == 0)>> <<if ($slaves[$i].bellyImplant == 0)>> <<if ($slaves[$i].faceImplant < 2)>> <<set $beautyMultiplier += 0.05>> Many citizens come to $clubName looking to get with a natural girl like her. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $clubAdsOld == 1>> <<if ($slaves[$i].physicalAge >= 30)>> <<set $beautyMultiplier += 0.05>> She's perfect for $clubName, which practically exists to match citizens up with mature slaves. <</if>> <<elseif $clubAdsOld is -1>> <<if ($slaves[$i].physical < 30) && ($slaves[$i].physical >= 18)>> <<set $beautyMultiplier += 0.05>> She's perfect for $clubName, which practically exists to match citizens up with young slaves. <</if>> <<elseif $clubAdsOld is -2>> <<if ($slaves[$i].physical <= 18) && ($slaves[$i].physical >= 13)>> <<set $beautyMultiplier += 0.05>> She's perfect for $clubName, which practically exists to match citizens up with teenage slaves. <</if>> <<elseif $clubAdsOld is -3>> <<if ($slaves[$i].physical < 13)>> <<set $beautyMultiplier += 0.05>> She's perfect for $clubName, which practically exists to match citizens up with loli slaves. <</if>> <</if>> <<if $clubAdsXX == 1>> <<if ($slaves[$i].dick == 0)>> <<set $beautyMultiplier += 0.05>> Almost everyone who comes to $clubName is looking to fuck a girl like her. <</if>> <<elseif $clubAdsXX is -1>> <<if ($slaves[$i].dick > 0)>> <<set $beautyMultiplier += 0.05>> Almost everyone who comes to $clubName is looking to poke a girl who cums when buttfucked. <</if>> <</if>> <</if>> <<if ($slaves[$i].assignment is "serve the public")>> <<set $clubSpots -= 1>> <</if>> <<if $DJ != 0>> <<if $DJRepBonus > 0>> <<set $beautyMultiplier += $DJRepBonus>> <<if ($slaves[$i].assignment is "serve the public")>> Working <<else>> Living and working <</if>> out of the club, she comes under $DJ.slaveName's <<if $DJRepBonus < 0.1>> completely inept <<elseif $DJRepBonus < 0.2>> unskilled <<elseif $DJRepBonus < 0.3>> skillful <<else>> masterful <</if>> leadership. <<if ($DJ.face > 1) && ($DJ.intelligence > 1)>> <<if ($slaves[$i].devotion > 20)>> The DJ is such a gorgeous diva that she's swept along by her charisma, and does her best to be a worthy part of her entourage. <</if>> <</if>> <<if ($slaves[$i].sexualFlaw != "none") && (random(1,100) > 90)>> $DJ.slaveName manages to @@color:green;break@@ $slaves[$i].slaveName of her sexual flaws. <<set $slaves[$i].sexualFlaw to "none">> <<elseif ($slaves[$i].behavioralFlaw != "none") && (random(1,100) > 90)>> $DJ.slaveName manages to @@color:green;break@@ $slaves[$i].slaveName of her flaws. <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <</if>> <</if>> <</if>> <</if>> <<set $beauty = Math.trunc($beauty*$beautyMultiplier)>> Her appearance attracted $beauty members of the public (<<print Math.trunc($beauty/7)>> a day)<<if $beauty > 160>>, so many that each of her holes was often filled by more than one cock<<elseif $beauty > 140>>, so many that she spent much of her time getting gangbanged<<elseif $beauty > 120>>, so many that citizens often spitroasted the slut<<elseif $beauty > 100>>, so many that she frequently had sex with multiple citizens at once<<elseif $beauty > 70>>, so many that she occasionally had sex with multiple citizens at once<</if>>. Most of them <<if $FResult > 15>> were putty in her hands. <<elseif $FResult > 10>> greatly enjoyed her services. <<elseif $FResult > 5>> enjoyed her body. <<else>> liked using her. <</if>> <<if $seeAge == 1>> <<if $slaves[$i].physicalAge == 18>> <<if $slaves[$i].birthWeek == 0>> She just turned 18 this week, giving her an immense boost to both popularity and appeal. <<elseif $slaves[$i].birthWeek < 4>> This is still the first month in which it's legal to pay to fuck her, giving her a boost to both popularity and appeal. <</if>> <</if>> <</if>> <<if ($slaves[$i].behavioralQuirk is "advocate")>> $slaves[$i].slaveName @@color:hotpink;really enjoys@@ being able to share her convert's enthusiasm about slavery with new people. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].behavioralQuirk is "funny")>> $slaves[$i].slaveName @@color:hotpink;really enjoys@@ making so many people laugh. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($slaves[$i].sexualQuirk is "tease")>> $slaves[$i].slaveName @@color:mediumaquamrine;trusts your judgment@@ in assigning her a job that affords her a chance to tease and flirt. <<set $slaves[$i].trust += 1>> <</if>> <<set $injury to 0>> <<if ($slaves[$i].curatives > 0)>> The drugs she's on protect her from the wear of being a slut. <<elseif ($slaves[$i].health < -50)>> The stress of being a slut while ill is @@color:red;very hard on her.@@ <<set $slaves[$i].health -= 10>> <<set $injury to 1>> <<elseif ($slaves[$i].health < -20) && (random(1,100) > 50)>> The stress of being a slut while ill is @@color:red;hard on her.@@ <<set $slaves[$i].health -= 7>> <<set $injury to 1>> <<elseif ($slaves[$i].vagina < 0)>> <<if (($slaves[$i].analSkill + $slaves[$i].oralSkill) >= 200)>> She's such an expert slut that she copes with the stress of being a shemale slut. <<elseif random(1,100) > 40+(10*($slaves[$i].analSkill + $slaves[$i].oralSkill))>> The stress of being a shemale slut is @@color:red;hard on her.@@ <<set $slaves[$i].health -= 7>> <<set $injury to 1>> <</if>> <<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>> <<if (($slaves[$i].analSkill + $slaves[$i].oralSkill) >= 200)>> She's such an expert slut that she copes with the stress of being limited to buttsex and oral. <<elseif random(1,100) > 40+(10*($slaves[$i].analSkill + $slaves[$i].oralSkill))>> The stress of being being limited to buttsex and oral is @@color:red;hard on her.@@ <<set $slaves[$i].health -= 7>> <<set $injury to 1>> <</if>> <<elseif ($slaves[$i].analSkill + $slaves[$i].oralSkill + $slaves[$i].vaginalSkill) < 300>> <<if random(1,100) > 10+(($slaves[$i].analSkill + $slaves[$i].oralSkill + $slaves[$i].vaginalSkill)/10)>> <<set $injury to 1>> <</if>> <</if>> <<if ($injury == 1)>> <<set $slaves[$i].health -= 3>> <<set $seed to random(1,100)>> <<if ($seed > 80)>> <<set $slaves[$i].minorInjury to "sore ass">> Rough anal with a careless citizen left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<elseif ($seed > 60)>> <<set $slaves[$i].minorInjury to "black eye">> A violent citizen left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<elseif ($seed > 40)>> <<set $slaves[$i].minorInjury to "split lip">> An abusive citizen left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<elseif ($seed > 20)>> <<set $slaves[$i].minorInjury to "bad bruise">> A rough citizen left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<else>> <<set $slaves[$i].minorInjury to "sore muscle">> The hard labor of constant sex left her with @@color:red;$slaves[$i].minorInjury.@@ <</if>> <</if>> <<if ($slaves[$i].vagina != -1)>> <<if canDoVaginal($slaves[$i])>> <<if ($slaves[$i].vagina == 0)>> <<if ($slaves[$i].aphrodisiacs > 1)>> Her virginity goes to the citizen who most deserves the gift of a slave's cherry, earning ¤<<print ($beauty*10)>>. She's so full of aphrodisiacs that she @@color:hotpink;enjoys the experience.@@ @@color:lime;Her pussy is now broken in.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].vagina to 1>> <<set $FResult += 10>> <<elseif ($slaves[$i].devotion > 20)>> Her virginity goes to the citizen who most deserves the gift of a slave's cherry, earning ¤<<print ($beauty*10)>>. Losing her virginity in this way @@color:hotpink;confirms her submission to you.@@ @@color:lime;Her pussy is now broken in.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].vagina to 1>> <<set $FResult += 10>> <<else>> Her virginity goes to the citizen who most deserves the gift of a slave's cherry, earning ¤<<print ($beauty*10)>>. She tries to resist, and losing her virginity to a rape makes her @@color:mediumorchid;hate@@ and @@color:gold;fear@@ you a great deal. @@color:lime;Her pussy is now broken in.@@ <<set $slaves[$i].devotion -= 10>> <<set $slaves[$i].trust -= 10>> <<set $slaves[$i].vagina to 1>> <<set $FResult += 10>> <</if>> <<elseif ($slaves[$i].vagina < 3)>> <<if (random(1,100) > ((170-$beauty)+($slaves[$i].vagina*10)+($slaves[$i].vaginalSkill/3)))>> @@color:lime;Her pussy gets loosened by the intense use.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <<if canDoAnal($slaves[$i])>> <<if ($slaves[$i].anus == 0)>> <<if ($slaves[$i].aphrodisiacs > 1)>> Her tight little anus goes to the @@color:green;most prominent citizen@@ to show an interest in an anal virgin. She's so full of aphrodisiacs that she @@color:hotpink;enjoys the experience.@@ Her fresh asshole is fucked all week, and by the end of it @@color:lime;she won't sit down.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].anus to 2>> <<set $FResult += 5>> <<elseif ($slaves[$i].devotion > 20)>> Her tight little anus goes to the @@color:green;most prominent citizen@@ to show an interest in an anal virgin. The pain and humiliation @@color:hotpink;confirm her submission to you.@@ Her fresh asshole is fucked all week, and by the end of it @@color:lime;she won't sit down.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].anus to 2>> <<set $FResult += 5>> <<else>> Her tight little anus goes to the @@color:green;most prominent citizen@@ to show an interest in an anal virgin. The pain and humiliation increases her @@color:mediumorchid;hatred@@ and @@color:gold;fear@@ for you. Her fresh asshole is fucked all week, and by the end of it @@color:lime;she won't sit down.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <<set $slaves[$i].anus to 2>> <<set $FResult += 5>> <</if>> <<elseif ($slaves[$i].anus < 3)>> <<if ($slaves[$i].vagina < 0)>> <<if ((random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>> @@color:lime;Her asshole sees constant use in place of a pussy and loosens.@@ <<set $slaves[$i].anus += 1>> <</if>> <<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>> <<if ((random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>> @@color:lime;Her asshole sees constant use in place of her protected pussy and loosens.@@ <<set $slaves[$i].anus += 1>> <</if>> <<else>> <<if ((random(1,100) > ((160-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>> @@color:lime;Her asshole loosens with constant use.@@ <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].devotion > 20)>> <<elseif !canWalk($slaves[$i])>> Since she can't walk, never mind dance, she sits on a stool near the floor to flirt until a citizen feels like helping her back to a private room. <<elseif ($slaves[$i].entertainSkill <= 30)>> She attracts some attention by stripping, come-ons, and simple dancing. <<elseif ($slaves[$i].entertainSkill <= 60)>> She attracts more attention with striptease, flirting, and erotic dancing. <<elseif ($slaves[$i].entertainSkill < 100)>> She attracts much attention with arousing innuendo and lusty striptease. <<else>> She attracts popular attention with clever flirting and world-class erotic dancing. <</if>> <<if $slaves[$i].aphrodisiacs > 1>> The aphrodisiac cocktail has her so desperately horny that regardless of her personal feelings, she @@color:hotpink;gets off with the public all week.@@ In her drug-addled state she doesn't remember enough to learn sexual skills. <<set $slaves[$i].devotion += 4>> <<elseif ($slaves[$i].devotion <= 20) && ($slaves[$i].energy <= 95)>> <<if $slaves[$i].trust >= -20>> She tries to refuse being treated as an open slut, so she is restrained for public use. She loses a bit of herself to a week of rape, but remembers enough to know @@color:mediumorchid;you're responsible,@@ and @@color:gold;can force her if necessary.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <<else>> She doesn't show much enthusiasm, but the habit of sexual slavery @@color:hotpink;wears away at her will.@@ <<set $slaves[$i].devotion += 4>> <</if>> <<else>> <<if ($slaves[$i].oralSkill + $slaves[$i].analSkill >= 200) && (($slaves[$i].vaginalSkill >= 100) || (canDoVaginal($slaves[$i]) == false))>> She's a @@color:aquamarine;sexual master@@ <<if canDoVaginal($slaves[$i])>> whose <<else>> and despite <<if $slaves[$i].vagina < 0>>her lack of a<<else>>the inaccessibility of her<</if>> front hole, her <</if>> charms are only for the @@color:green;most prominent citizens.@@ When she's not <<if canDoVaginal($slaves[$i]) && (random(1,4) == 1)>> pleasing high society with her <<if $slaves[$i].prestige > 0>>prestigious<<else>>popular<</if>> pussy, <<elseif ($beauty > 70) && (random(1,3) == 1)>> getting gangbanged, <<elseif (random(1,2) == 1)>> giving away one of her <<if $slaves[$i].prestige > 0>>famous<<else>>top-tier<</if>> blowjobs, <<else>> providing free access to her <<if $slaves[$i].prestige > 0>>legendary<<else>>notorious<</if>> anus, <</if>> she offers personal training and sexual therapy. <<else>> She shows diligence, and her @@color:green;sexual skills improve,@@ according to what the citizens demand<<if canDoVaginal($slaves[$i]) == false>> and what's possible for her<</if>>. <<set $skillIncrease = 5+$slaves[$i].intelligence+$oralUseWeight>> <<OralSkillIncrease $slaves[$i]>> <<if canDoAnal($slaves[$i])>> <<set $skillIncrease = 5+$slaves[$i].intelligence+$analUseWeight>> <<AnalSkillIncrease $slaves[$i]>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $skillIncrease = 5+$slaves[$i].intelligence+$vaginalUseWeight>> <<VaginalSkillIncrease $slaves[$i]>> <</if>> <</if>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].entertainSkill < 100)>> She gains experience as a public slut. <<set $skillIncrease = 10+$slaves[$i].intelligence>> <<EntertainSkillIncrease $slaves[$i]>> <</if>> <</if>> <</if>> <<if $showEWM == 1>> <<if ($slaves[$i].releaseRules is "restrictive") && ($slaves[$i].standardReward isnot "orgasm")>> She's a better slut because public service is her main sexual outlet. <</if>> <<if $familyTesting == 1>> <<if $slaves[$i].mother > 0 || $slaves[$i].father > 0 || $slaves[$i].daughters > 0 || $slaves[$i].sisters > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$i].ID == $slaves[$j].father || $slaves[$i].ID == $slaves[$j].mother || $slaves[$j].ID == $slaves[$i].father || $slaves[$j].ID == $slaves[$i].mother || areSisters($slaves[$i], $slaves[$j]) > 0) && $slaves[$j].assignment == "serve the public">> <<set $children.push($slaves[$j])>> <</if>> <</for>> <<if $children.length > 2>> Since her relatives, <<for $j to 0; $j < $children.length; $j++>> <<if $j < $children.length-1>> $children[$j].slaveName, <<else>> and $children[$j].slaveName, <</if>> <</for>> are public sluts too, she earns extra attention. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Citizens are very excited about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <<elseif $children.length > 1>> Since her relatives, $children[0].slaveName and $children[1].slaveName, are public sluts too, she earns extra attention. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Citizens are very excited about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <<elseif $children.length > 0>> Since her relative, $slaves[0].slaveName, is a public slut too, she earns extra attention. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Citizens are very excited about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <</if>> <<set $children = []>> <</if>> <<else>> <<if $slaves[$i].relation != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].relationTarget>> <<if $slaves[$j].assignment is $slaves[$i].assignment>> Since her $slaves[$j].relation $slaves[$j].slaveName is a public slut too, she earns extra attention. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Citizens are very excited about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <</if>> <<break>> <</if>> <</for>> <</if>> <</if>> <<if $slaves[$i].relationship > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].relationshipTarget>> <<if $slaves[$j].assignment is $slaves[$i].assignment>> Her <<if $slaves[$j].relationship <= 1>> friend <<elseif $slaves[$j].relationship <= 2>> best friend <<elseif $slaves[$j].relationship <= 3>> friend with benefits <<elseif $slaves[$j].relationship <= 4>> lover <<elseif $slaves[$j].relationship > 4>> slave wife <</if>> $slaves[$j].slaveName is also serving the public and they work well together. <</if>> <<break>> <</if>> <</for>> <<elseif $slaves[$i].relationship is -1>> She relies on citizens' desire to fuck her for emotional support, making her an excellent, if occasionally disturbing, slut. <</if>> <<if $slaves[$i].rivalry != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].rivalryTarget>> <<if $slaves[$j].assignment is $slaves[$i].assignment>> She's a little less effective due to her mutual dislike with $slaves[$j].slaveName. <</if>> <<break>> <</if>> <</for>> <</if>> <<if $slaves[$i].minorInjury != 0>> She attracts fewer people due to her minor injury. <<set $beauty -= 1>> <</if>> <<if canTalk($slaves[$i])>> <<if $slaves[$i].voice > 2>> <<if $slaves[$i].voiceImplant > 0>> Her high-pitched bimbo voice improves her come-ons. <<else>> Her high, girly voice improves her come-ons. <</if>> <<elseif $slaves[$i].voice == 1>> Most citizens find her deep voice unattractive, making it harder for her to flirt successfully. <</if>> <</if>> <<if ($arcologies[0].FSTransformationFetishist > 20) || ($arcologies[0].FSDegradationist > 20)>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> The public fetishizes body mods and considers hers fascinating. <<elseif $modScore > 7>> The public fetishizes body mods and considers hers interesting. <</if>> <<elseif ($arcologies[0].FSBodyPurist > 20) || ($arcologies[0].FSPaternalist > 20)>> <<if $modScore <= 7>> The public disapproves of body mods and is pleased that she's unspoiled in that regard. <<else>> The public disapproves of body mods and considers hers unappealing. <</if>> <<else>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> She has so much body art that most potential patrons don't think she needs any more. <<elseif !($slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2)>> Her body art helps attract patrons to use her freely. <</if>> <</if>> <<if $slaves[$i].aphrodisiacs > 1>> On such a heavy aphrodisiac dose, she can't wait for each citizen to fuck her. <<elseif $slaves[$i].aphrodisiacs > 0>> On aphrodisiacs, she climaxes with every citizen. <<elseif $slaves[$i].devotion > 95>> She's so devoted that she does her best and pleases every citizen. <<elseif $slaves[$i].devotion > 50>> She's so devoted that she works hard to please citizens. <<elseif $slaves[$i].trust < -20>> She's afraid of you, so she works hard to please citizens. <<else>> She neither loves nor fears you enough to work hard, and makes a poor slut. <</if>> <<if ($slaves[$i].butt > 4) && ($slaves[$i].boobs > 800)>> <<if $arcologies[0].FSAssetExpansionist != "unset">> Her huge, fashionable assets are immensely popular. <<if canTalk($slaves[$i])>> <<if $slaves[$i].voice > 2>> Her high voice contributes to her bimbo image, so she does even better. <</if>> <</if>> <<elseif $arcologies[0].FSSlimnessEnthusiast >= 20>> She receives little attention for her large assets since many citizens consider them disgusting. <<else>> The public enjoys her huge assets. <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if $slaves[$i].dick > 0>> The new appetite for stacked sluts with dicks makes her especially successful. <</if>> <</if>> <</if>> <<if ($slaves[$i].visualAge >= 30)>> <<if $arcologies[0].FSMaturityPreferentialist != "unset">> Her mature body is very fashionable. <<elseif $arcologies[0].FSYouthPreferentialist != "unset">> Her old body is badly out of fashion. <</if>> <<else>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> Her youthful body is very fashionable. <<elseif $arcologies[0].FSMaturityPreferentialist != "unset">> Her young body is out of fashion. <</if>> <</if>> <<if ($slaves[$i].boobs < 500) && ($slaves[$i].butt < 3) && ($slaves[$i].weight <= 10) && ($slaves[$i].muscles <= 30)>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<if canTalk($slaves[$i])>> <<if $slaves[$i].voice > 2>> Her high voice contributes to her girlish image, so she does even better. <</if>> <</if>> The public enjoys her fashionably sleek little body. <<else>> The public enjoys her sleek, girlish figure. <</if>> <</if>> <<if ($slaves[$i].boobsImplant == 0) && ($slaves[$i].buttImplant == 0) && ($slaves[$i].waist < 2) && ($slaves[$i].bellyImplant == 0) && ($slaves[$i].lipsImplant == 0) && ($slaves[$i].faceImplant < 2)>> <<if $arcologies[0].FSBodyPurist != "unset">> With her all-natural, implant free appearance, she's very popular. <<elseif $arcologies[0].FSTransformationFetishist >= 20>> The public is disappointed by her all-natural, implant free appearance. <<else>> Some discerning people appreciate her all-natural, implant free appearance. <</if>> <<else>> <<if $arcologies[0].FSTransformationFetishist != "unset">> The public appreciates her augmented body. <</if>> <</if>> <<if $slaves[$i].teeth is "removable">> The extra attention she receives from her ability to give toothless sucks is about balanced out by the citizens who are disgusted by it. <<elseif $slaves[$i].teeth is "pointy">> The extra attention she receives due to her sharp teeth is balanced by the citizens who are scared off by them. <</if>> <<if $slaves[$i].dick != 0>> <<if $arcologies[0].FSGenderRadicalist is "unset">> She's less popular because many citizens prefer sluts without cocks. <<elseif $arcologies[0].FSGenderRadicalist < 50>> Her cock entices some citizens and disappoints others; it has little effect on her popularity. <<else>> The overwhelming majority of citizens consider her cock an attraction. <</if>> <</if>> <<if $slaves[$i].muscles > 95>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> In the new culture of $arcologies[0].name her muscles are cause for great admiration. <<else>> Her muscles scare off many, but some will do anything to enjoy a muscular slave. <</if>> <</if>> <<if $slaves[$i].amp == 1>> Many prefer to fuck someone with limbs, but some greatly enjoy fucking a helpless amputee. <</if>> <<if $slaves[$i].lactation > 0>> She appeals to citizens who like lactation play, or just like sluts they can drink milk from. <</if>> <<if $slaves[$i].preg > 10 || $fakeBellies.contains($bellyAccessory) || $slaves[$i].bellyImplant > 2000>> <<if $arcologies[0].FSRepopulationFocus != "unset">> In the new culture of $arcologies[0].name, her pregnancy gets her lots of attention. <<elseif $arcologies[0].FSRestart != "unset">> In the new culture of $arcologies[0].name, her pregnancy is a massive turn off to citizens. <<elseif $arcologies[0].FSGenderFundamentalist != "unset">> The new respect for slave fertility ensures that she gets just as much love as slaves without pregnant bellies. <<else>> Many citizens avoid visibly pregnant slaves. <</if>> <</if>> <<if ($seeRace == 1)>> <<if ($slaves[$i].race is "surgically altered to look white") || ($slaves[$i].race is "white")>> The public tastes favor white girls like $slaves[$i].slaveName. <</if>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if $slaves[$i].race != $arcologies[0].FSSupremacistRace>> Some citizens fetishize girls of the servile races. <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if $slaves[$i].race is $arcologies[0].FSSubjugationistRace>> Many prefer to use and abuse sluts of the proper slave race. <</if>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if ($slaves[$i].nationality is "Japanese") || ($slaves[$i].nationality is "Edo Revivalist")>> As a proper Japanese girl, she is considered extremely desirable. <</if>> <<elseif $arcologies[0].FSChineseRevivalist != "unset">> <<if ($slaves[$i].nationality is "Chinese") || ($slaves[$i].nationality is "Chinese Revivalist")>> As a proper Chinese girl, she is considered extremely desirable. <</if>> <</if>> <<if $slaves[$i].intelligence > 0>> Her intelligence helps her discern everyone's needs. <<elseif $slaves[$i].intelligence < 0>> She has trouble figuring out what everyone needs. <</if>> <<if $slaves[$i].prestige > 0>> She attracts more attention because it's prestigious to be seen with her. <</if>> <<if ($slaves[$i].clitPiercing > 2) && ($slaves[$i].devotion >= -20)>> Almost everyone loves her orgasms encouraged by her smart piercing. <<elseif ($slaves[$i].clitPiercing > 2)>> Almost everyone appreciates her reduced reluctance caused by her smart piercing. <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength > 60)>> <<switch $slaves[$i].fetish>> <<case "submissive">> She receives extra attention for her eagerness to submit. <<case "cumslut">> She receives extra attention for her enjoyment of cum. <<case "humiliation">> She receives extra attention for her eagerness to be humiliated by citizens. <<case "buttslut">> She receives extra attention for her obvious enjoyment of buttsex. <<case "dom">> She receives some extra attention for her enthusiasm dominating other slaves in group sex. <<case "masochist">> She receives extra attention for her obvious enjoyment of pain. <<case "sadist">> She receives some extra attention for her willingness to abuse other slaves. <<case "pregnancy">> <<if ($slaves[$i].vagina > 0) && ($slaves[$i].vaginalAccessory != "chastity belt")>> As an impregnation fetishist she's very enthusiastic about vaginal sex. <</if>> <<case "mindbroken">> She receives less attention because she just lies there, mind broken. <</switch>> <</if>> <</if>> <<if ($slaves[$i].attrKnown == 1)>> <<if ($slaves[$i].energy > 95)>> As a nymphomaniac she enjoys sex with everyone and is a crowd favorite. <<elseif ($slaves[$i].energy > 80)>> With her powerful sex drive she rarely has to fake an orgasm. <<elseif ($slaves[$i].energy > 60)>> With her good sex drive she often orgasms with citizens. <<elseif ($slaves[$i].energy > 40)>> With her average sex drive she occasionally orgasms with citizens. <<elseif ($slaves[$i].energy > 20)>> With her poor sex drive she almost never orgasms with citizens. <<else>> Since she's frigid, she rarely experiences authentic arousal with citizens. <</if>> <<if ($slaves[$i].attrXY <= 15)>> <<if ($slaves[$i].attrXX <= 15)>> Her general disgust with sex makes her a very poor slut. <<elseif ($slaves[$i].attrXX <= 85)>> Her sexual disgust with men makes her a poor slut. <<elseif ($slaves[$i].attrXX <= 95)>> Her sexual disgust with men hinders her, though she is more enthusiastic with female citizens. <<else>> Her sexual disgust with men hinders her, though she makes up for it with female citizens. <</if>> <<elseif ($slaves[$i].attrXY <= 85)>> <<if ($slaves[$i].attrXX <= 15)>> Her sexual disgust with men makes her a poor slut. <<elseif ($slaves[$i].attrXX <= 85)>> Her indifference to men and women makes her a poor slut. <<elseif ($slaves[$i].attrXX <= 95)>> Her sexual indifference to men hinders her, though she is more enthusiastic with female citizens. <<else>> Her sexual indifference to men hinders her, though she makes up for it with female citizens. <</if>> <<elseif ($slaves[$i].attrXY <= 95)>> <<if ($slaves[$i].attrXX <= 15)>> Her sexual disgust with women hinders her, though she makes up for it with male citizens. <<elseif ($slaves[$i].attrXX <= 85)>> Her sexual indifference to women hinders her, though she makes up for it with male citizens. <<elseif ($slaves[$i].attrXX <= 95)>> She has the advantage of sexual sincerity with both men and women. <<else>> She's a good slut with male citizens, and truly enthusiastic with women. <</if>> <<else>> <<if ($slaves[$i].attrXX <= 15)>> Her sexual disgust with women hinders her, though she is enthusiastic with male citizens. <<elseif ($slaves[$i].attrXX <= 85)>> Her sexual indifference to women hinders her, though she is enthusiastic with male citizens. <<elseif ($slaves[$i].attrXX <= 95)>> She's a good slut with female citizens, and truly enthusiastic with men. <<else>> She's openly lustful towards all citizens, men and women. <</if>> <</if>> <</if>> <<switch $slaves[$i].behavioralQuirk>> <<case "confident">> She's better at her job because she's so confident in the club. <<case "cutting">> She gets a lot of attention for her ability to joke at a patron's expense. <<case "funny">> She frequently has her corner of the club doubled over with laughter at her antics. <<case "adores women">> She singles out the prettiest ladies in the club for special personal attention. <<case "adores men">> She singles out the hottest hunks in the club for special personal attention. <<case "fitness">> She approaches life in the club as a good workout, to the delight of her exhausted partners. <<case "insecure">> She's very willing to be promiscuous, since she values herself mainly as a sex object. <<case "sinful">> She's explicitly sacrilegious in the club, happily transgressing against cultural boundaries. <<case "advocate">> She believes that the club represents $arcologies[0].name well, and does her best to contribute. <</switch>> <<switch $slaves[$i].sexualQuirk>> <<case "gagfuck queen">> She's a popular target for oral gangbangs in the club, late at night. <<case "painal queen">> She's a popular target for anal gangbangs in the club, late at night. <<case "strugglefuck queen">> She's a popular target for gangbangs in the club, late at night. <<case "tease">> Despite being a club slut, she somehow retains the ability to blush enticingly at nudity. <<case "romantic">> Despite being a club slut, she somehow retains the ability to make her citizens feel special. <<case "perverted">> She's comfortable with the most perverted citizens' desires. <<case "unflinching">> She's impossible to disgust or surprise, pleasing citizens with odd tastes. <<case "size queen">> She's very eager to spend quality time with big cocks, making her a favorite among the well-endowed. <<case "caring">> She really cares for everyone she meets in the club, and will provide a sympathetic ear for anyone who just feels like talking. <</switch>> <<switch $slaves[$i].behavioralFlaw>> <<case "arrogant">> She receives less gratitude because she treats clients like they are beneath her dignity. <<case "bitchy")>> She receives less gratitude because she makes cutting remarks to clients. <<case "odd")>> She receives less gratitude because clients are annoyed by her odd behavior. <<case "hates men")>> She receives less gratitude because she can't conceal her distaste for the company of men. <<case "hates women")>> She receives less gratitude because she can't conceal her distaste for the company of women. <<case "devout")>> She receives less gratitude because people are annoyed by her habit of praying for forgiveness during sex. <<case "liberated")>> She receives less gratitude because people are annoyed by her obvious belief that being forced to serve them is wrong. <</switch>> <<switch $slaves[$i].sexualFlaw>> <<case "hates oral">> She receives less gratitude because she tries to avoid sucking cock. <<case "hates anal")>> She receives less gratitude because she tries to avoid taking it up the ass. <<case "hates penetration")>> She receives less gratitude because she tries to avoid getting fucked. <<case "repressed")>> She receives less gratitude because citizens who don't feel like forcing her sometimes have to cajole her past her repressed sexuality. <<case "idealistic")>> She receives less gratitude because citizens who don't feel like forcing her sometimes have to convince her to have sex with them. <<case "apathetic")>> She receives less gratitude because she often just lies there taking dick. <<case "crude")>> She receives less gratitude because she isn't exactly the most elegant sexual partner. <<case "judgemental")>> She receives less gratitude because she openly disdains unattractive citizens. <<case "shamefast")>> She receives less gratitude because she sometimes hesitates to take her clothes off and get to work. <<case "cum addict">> Her abject begging for cum annoys citizens who aren't looking for oral, but this is more than outweighed by how much it delights those who are. <<case "anal addict">> Her abject begging for buttsex annoys citizens who aren't interested in fucking her ass, but this is more than outweighed by how much it delights those who are. <<case "attention whore">> As an attention whore, public service is her forte, and she delights citizens with her eager willingness to try anything in the open. <<case "breast growth">> Her excessive obsession with her own breasts, to the detriment of most sexual intercourse, annoys citizens. <<case "abusive">> She annoys citizens whenever her sexual abusiveness becomes apparent. <<case "malicious">> She annoys citizens whenever her sexual maliciousness becomes apparent. <<case "self hating">> She annoys citizens during the crying jags brought on by her self hatred. <<case "neglectful">> She annoys those discerning citizens who can tell that she neglects to orgasm with them. <<case "breeder">> Her obsession with pregnancy annoys citizens who aren't interested in that. <</switch>> <</if>> /* CLOSES EWM */ <<if ($slaves[$i].sexualFlaw is "none")>> <<if $slaves[$i].devotion < 10>> <<if random(1,100) > 70>> <<if ($slaves[$i].vaginalSkill <= 30) && ($slaves[$i].vagina != -1) && ($slaves[$i].vaginalAccessory != "chastity belt")>> After being fucked too hard too often, she now @@color:red;dislikes being penetrated.@@ <<set $slaves[$i].sexualFlaw to "hates penetration">> <<elseif ($slaves[$i].analSkill <= 30)>> After so much anal pain, she now @@color:red;dislikes being buttfucked.@@ <<set $slaves[$i].sexualFlaw to "hates anal">> <<elseif ($slaves[$i].oralSkill <= 30)>> After one too many facials, she now @@color:red;dislikes sucking cock.@@ <<set $slaves[$i].sexualFlaw to "hates oral">> <</if>> <</if>> <</if>> <</if>> <<set $repGain += Math.trunc(($beauty*$FResult)*(1+(0.003*$slaves[$i].entertainSkill))*0.1)>> /* FACILITY DECORATION IMPACTS */ <<if $slaves[$i].assignment is "serve in the club">> <<if $clubDecoration != "standard">> <<set $seed to 0.0005*$FSSingleSlaveRep*$beauty>> <<switch $clubDecoration>> <<case "Roman Revivalist">> <<set $arcologies[0].FSRomanRevivalist += $seed>> <<case "Egyptian Revivalist">> <<set $arcologies[0].FSEgyptianRevivalist += $seed>> <<case "Edo Revivalist">> <<set $arcologies[0].FSEdoRevivalist += $seed>> <<case "Arabian Revivalist">> <<set $arcologies[0].FSArabianRevivalist += $seed>> <<case "Chinese Revivalist">> <<set $arcologies[0].FSChineseRevivalist += $seed>> <<case "Chattel Religionist">> <<set $arcologies[0].FSChattelReligionist += $seed>> <<case "Degradationist">> <<set $arcologies[0].FSDegradationist += $seed>> <<case "Asset Expansionist">> <<set $arcologies[0].FSAssetExpansionist += $seed>> <<case "Transformation Fetishist">> <<set $arcologies[0].FSTransformationFetishist += $seed>> <<case "Gender Radicalist">> <<set $arcologies[0].FSGenderRadicalist += $seed>> <<case "Repopulation Focus">> <<set $arcologies[0].FSRepopulationFocus += $seed>> <<case "Eugenics">> <<set $arcologies[0].FSRestart += $seed>> <<case "Gender Fundamentalist">> <<set $arcologies[0].FSGenderFundamentalist += $seed>> <<case "Physical Idealist">> <<set $arcologies[0].FSPhysicalIdealist += $seed>> <<case "Supremacist">> <<set $arcologies[0].FSSupremacist += $seed>> <<case "Subjugationist">> <<set $arcologies[0].FSSubjugationist += $seed>> <<case "Paternalist">> <<set $arcologies[0].FSPaternalist += $seed>> <<case "Pastoralist">> <<set $arcologies[0].FSPastoralist += $seed>> <<case "Maturity Preferentialist">> <<set $arcologies[0].FSMaturityPreferentialist += $seed>> <<case "Youth Preferentialist">> <<set $arcologies[0].FSYouthPreferentialist += $seed>> <<case "Body Purist">> <<set $arcologies[0].FSBodyPurist += $seed>> <<case "Slimness Enthusiast">> <<set $arcologies[0].FSSlimnessEnthusiast += $seed>> <</switch>> <</if>> <</if>> /* SEX ACT COUNTS */ <<set $oralUseWeight to 5>> <<set $oralUseWeight += ($slaves[$i].oralSkill/30)+$slaves[$i].lips>> <<if $OralEncouragement == 1>> <<set $oralUseWeight += 0.2*$oralUseWeight>> <</if>> <<if $OralDiscouragement == 1>> <<set $oralUseWeight -= 0.2*$oralUseWeight>> <</if>> <<set $analUseWeight to 5>> <<set $analUseWeight += ($slaves[$i].analSkill/30)-$slaves[$i].anus>> <<if $AnalEncouragement == 1>> <<set $analUseWeight += 0.2*$analUseWeight>> <</if>> <<if $AnalDiscouragement == 1>> <<set $analUseWeight -= 0.2*$analUseWeight>> <</if>> <<set $vaginalUseWeight to 0>> <<if ($slaves[$i].vagina != -1)>> <<if ($slaves[$i].vaginalAccessory != "chastity belt")>> <<set $vaginalUseWeight += 5+($slaves[$i].vaginalSkill/30)-$slaves[$i].vagina>> <</if>> <</if>> <<if $VaginalEncouragement == 1>> <<set $vaginalUseWeight += 0.2*$vaginalUseWeight>> <</if>> <<if $VaginalDiscouragement == 1>> <<set $vaginalUseWeight -= 0.2*$vaginalUseWeight>> <</if>> <<set $mammaryUseWeight to 1>> <<if ($slaves[$i].boobs > 3000)>> <<set $mammaryUseWeight += 3>> <<elseif ($slaves[$i].boobs > 800)>> <<set $mammaryUseWeight += $slaves[$i].boobs/1000>> <</if>> <<set $penetrativeUseWeight to 1>> <<if ($slaves[$i].clit > 1)>> <<set $penetrativeUseWeight += ($slaves[$i].vaginalSkill/30)+$slaves[$i].clit>> <</if>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].balls > 0) || canAchieveErection($slaves[$i])>> <<if ($slaves[$i].hormones <= 0)>> <<if ($slaves[$i].dickAccessory != "chastity belt")>> <<set $penetrativeUseWeight += ($slaves[$i].dick+$slaves[$i].balls)/4>> <<if ($slaves[$i].drugs == "hyper testicle enhancement")>> <<set $penetrativeUseWeight += ($slaves[$i].balls)*4>> <</if>> <</if>> <</if>> <</if>> <</if>> <<set $seed to $oralUseWeight+$analUseWeight+$vaginalUseWeight+$mammaryUseWeight+$penetrativeUseWeight>> <<set $oralUseWeight to $oralUseWeight/$seed>> <<set $analUseWeight to $analUseWeight/$seed>> <<set $vaginalUseWeight to $vaginalUseWeight/$seed>> <<set $mammaryUseWeight to $mammaryUseWeight/$seed>> <<set $penetrativeUseWeight to $penetrativeUseWeight/$seed>> <<if ndef $slaves[$i].publicCount>> <<set $slaves[$i].publicCount to 0>> <</if>> <<set $slaves[$i].oralCount += Math.trunc($beauty*$oralUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$oralUseWeight)>> <<set $oralTotal += Math.trunc($beauty*$oralUseWeight)>> <<set $slaves[$i].analCount += Math.trunc($beauty*$analUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$analUseWeight)>> <<set $analTotal += Math.trunc($beauty*$analUseWeight)>> <<set $slaves[$i].vaginalCount += Math.trunc($beauty*$vaginalUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$vaginalUseWeight)>> <<set $vaginalTotal += Math.trunc($beauty*$vaginalUseWeight)>> <<set $slaves[$i].mammaryCount += Math.trunc($beauty*$mammaryUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$mammaryUseWeight)>> <<set $mammaryTotal += Math.trunc($beauty*$mammaryUseWeight)>> <<set $slaves[$i].penetrativeCount += Math.trunc($beauty*$penetrativeUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$penetrativeUseWeight)>> <<set $penetrativeTotal += Math.trunc($beauty*$penetrativeUseWeight)>> <<set _cervixPump = Math.trunc($beauty*$vaginalUseWeight)>> /* VIGNETTES */ <<if ($showVignettes == 1)>> <<set $vignettes to []>> <<set $seed to random(1,10)>> <<if ($seed == 1)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she witnessed a domestic dispute over another slut,", type: "rep", effect: 0})>> <<elseif ($seed is 2)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she saw an aphrodisiac addict she knew sell herself into slavery,", type: "rep", effect: 0})>> <<elseif ($seed is 3)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she had to move to follow the @@color:green;most prominent citizens@@ to a newly fashionable hall,", type: "rep", effect: 0})>> <<elseif ($seed is 4)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that a citizen used a new and improved sex toy on her,", type: "rep", effect: 0})>> <<elseif ($seed is 5)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was being used in public by an incestuous pair of citizens,", type: "rep", effect: 0})>> <<elseif ($seed is 6)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she saw a notorious slut come of age and start swapping anal for aphrodisiacs,", type: "rep", effect: 0})>> <<elseif ($seed is 7)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she saw a citizen experiment with lesbian sex for the first time, in public,", type: "rep", effect: 0})>> <<elseif ($seed is 8)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she watched a citizen descend into aphrodisiac addiction,", type: "rep", effect: 0})>> <<elseif ($seed is 9)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she watched a citizen develop the beginnings of sex addiction,", type: "rep", effect: 0})>> <<else>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she witnessed a citizen using a public slut so brutally that he had to pay compensation afterward,", type: "rep", effect: 0})>> <</if>> <<set $seed to random(1,5)>> <<if ($seed == 1)>> <<set $vignettes.push({text: "a citizen punished one of his slaves by tying her up in public near where $slaves[$i].slaveName was serving as a public slut. This made her less popular that day,", type: "rep", effect: -1})>> <<elseif ($seed is 2)>> <<set $vignettes.push({text: "a citizen shared one of his slaves with the public near where $slaves[$i].slaveName was serving as a public slut. This made her less popular that day,", type: "rep", effect: -1})>> <<elseif ($seed is 3)>> <<set $vignettes.push({text: "a private brothel offered a promotion near where $slaves[$i].slaveName was serving as a public slut. This made her less popular that day,", type: "rep", effect: -1})>> <<elseif ($seed is 4)>> <<set $vignettes.push({text: "some free sluts threw an aphrodisiac street party near where $slaves[$i].slaveName was serving as a public slut. This made her less popular that day,", type: "rep", effect: -1})>> <<else>> <<set $vignettes.push({text: "a contract breaker was punished with the pillory near where $slaves[$i].slaveName was serving as a public slut. This made her less popular that day,", type: "rep", effect: -1})>> <</if>> <<set $seed to random(1,5)>> <<if ($seed == 1)>> <<set $vignettes.push({text: "one of her regular patrons got a divorce and came to her for repeated consolation,", type: "rep", effect: 1})>> <<elseif ($seed is 2)>> <<set $vignettes.push({text: "a club near where $slaves[$i].slaveName usually works had business trouble,", type: "rep", effect: 1})>> <<elseif ($seed is 3)>> <<set $vignettes.push({text: "a competing slut that looks like her fell ill, driving a patron to look for an alternative,", type: "rep", effect: 1})>> <<elseif ($seed is 4)>> <<set $vignettes.push({text: "a street slut that works near her was badly beaten by an abusive citizen and had to take time off. The reduced competition got her more attention,", type: "rep", effect: 1})>> <<else>> <<set $vignettes.push({text: "an influx of tourists came into her part of the arcology, earning her more business for a day,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetish is "submissive")>> <<set $vignettes.push({text: "she deeply impressed a citizen with her sincere submission to him,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she lost a patron who secretly wanted her to show a little initiative,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "cumslut")>> <<set $vignettes.push({text: "she deeply impressed a citizen with her hunger for his cum,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disgusted a citizen who didn't know how much cum fetishes revolted him until she displayed hers,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "humiliation")>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who didn't know how much he liked public sex until she got him to try it,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disgusted a citizen who didn't know how much exhibitionism turned him off until he tried public sex with her,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "buttslut")>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who didn't know how much he liked fucking buttholes until she got him to try fucking hers,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disgusted a citizen who didn't know how much buttsex turned him off until she got him to try fucking her ass,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "boobs")>> <<set $vignettes.push({text: "she deeply impressed a citizen by orgasming to nothing but the feeling of her sucking her nipples,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disappointed a female citizen who didn't know how uninterested she was in nipple play before trying it,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "sadist")>> <<set $vignettes.push({text: "she deeply impressed a citizen who brought his own slave to her for abuse with her sadism,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a citizen brought her his own slave to abuse, but the sight proved to be a turn off for him,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "masochist")>> <<set $vignettes.push({text: "she helped a citizen discover a new fetish by orgasming when he accidentally hurt her,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disturbed a citizen who accidentally hurt her by orgasming,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "dom")>> <<set $vignettes.push({text: "she made a female citizen her bitch: fortunately, the citizen wanted to be her bitch and came back for more", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she accidentally overwhelmed a citizen with her sexual dominance,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "pregnancy")>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who didn't know how much he liked pregnancy play until she begged him to knock her up,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disgusted a citizen who didn't know how much pregnancy play turned him off until she begged him to knock her up,", type: "rep", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].behavioralFlaw is "arrogant")>> <<set $vignettes.push({text: "she manages to give a citizen the impression she thinks herself better than him,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "bitchy")>> <<set $vignettes.push({text: "she makes an emasculating remark to a citizen right after he fucks her,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "odd")>> <<set $vignettes.push({text: "she infuriates a potential citizen with her nervous tics,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "hates men")>> <<set $vignettes.push({text: "her disgust towards men surfaces at a bad time, angering a male citizen,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "hates women")>> <<set $vignettes.push({text: "her disgust towards women surfaces at a bad time, angering a female citizen,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "gluttonous")>> <<set $vignettes.push({text: "she accidentally lingers at a meal, missing an appointment with a citizen,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "anorexic")>> <<set $vignettes.push({text: "her bulimia surfaces at an extremely inopportune moment, turning a citizen off,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "devout")>> <<set $vignettes.push({text: "a citizen catches her praying to herself as he inserts himself into her, turning him off,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "liberated")>> <<set $vignettes.push({text: "she treats a rude citizen impolitely, because she thinks that's fair,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].sexualFlaw is "hates oral")>> <<set $vignettes.push({text: "she vomits while trying to deepthroat a citizen,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "hates anal")>> <<set $vignettes.push({text: "she cries while taking anal from a citizen who isn't into painal,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "hates penetration")>> <<set $vignettes.push({text: "she cries while taking a pounding from a citizen who likes his sex consensual,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "shamefast")>> <<set $vignettes.push({text: "she cries while a citizen looks her over,", type: "rep", effect: -1})>> <<set $vignettes.push({text: "she disrobed so slowly that a horny citizen gave up on her,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "idealistic")>> <<set $vignettes.push({text: "she cries when explaining to a citizen that sex with her is free,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "repressed")>> <<set $vignettes.push({text: "she misunderstands a citizen's lewd requests, turning her off,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "apathetic")>> <<set $vignettes.push({text: "she fails to notice when a citizen achieves orgasm,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].behavioralQuirk is "confident")>> <<set $vignettes.push({text: "she confidently presses forward with a wavering citizen, and gets him to fuck her,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "cutting")>> <<set $vignettes.push({text: "she makes such a gloriously cutting remark to a male citizen that a female bystander takes her right there,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "funny")>> <<set $vignettes.push({text: "she makes a group of citizens laugh so hard, one of them comes to her for sex later,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "fitness")>> <<set $vignettes.push({text: "she continues a marathon gangbang past the point where most would have passed out,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "adores women")>> <<set $vignettes.push({text: "she strikes up a personal friendship with a regular female patron,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "adores men")>> <<set $vignettes.push({text: "she strikes up a personal friendship with a regular male patron,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "insecure")>> <<set $vignettes.push({text: "she successfully convinces a regular patron that she's reliant on him emotionally,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "sinful")>> <<set $vignettes.push({text: "she helps a citizen get past her religious hangups through sex with her friendly neighborhood slut,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "advocate")>> <<set $vignettes.push({text: "she successfully convinces a wavering potential citizen that there's nothing wrong with banging a public slut,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].sexualQuirk is "gagfuck queen")>> <<set $vignettes.push({text: "she earns extra gratitude from a citizen who's obsessed with gagfucks,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "painal queen")>> <<set $vignettes.push({text: "she earns extra gratitude from a citizen who's obsessed with painal,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "strugglefuck queen")>> <<set $vignettes.push({text: "she earns extra gratitude from a citizen who's obsessed with strugglefucking,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "tease")>> <<set $vignettes.push({text: "she convinces a citizen who's never had sex with a street slut to patronize her with some truly inspired flirting,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a few partygoers were so impressed with her provocative teasing that they left her sizeable tip,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "romantic")>> <<set $vignettes.push({text: "a citizen becomes infatuated with her, since he's convinced she's infatuated with him,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "perverted")>> <<set $vignettes.push({text: "she earns some momentary notoriety by engaging in a previously unheard-of sex act,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "caring")>> <<set $vignettes.push({text: "she serves as an impromptu sounding board for a citizen having marital trouble,", type: "rep", effect: 1})>> <</if>> <<set $vignettes.push({text: "a citizen was so enamored with her kind and caring manner than he proposed to her and offered to take her away, and when she refused, he urged a sizable tip on her,", type: "cash", effect: 1})>> <<if ($slaves[$i].pitKills > 0)>> <<set $vignettes.push({text: "she earns extra gratitude from a citizen obsessed with the fact that she's a killer,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].oralCount > 500)>> <<set $vignettes.push({text: "a citizen into degradation becomes obsessed with driving her oral mileage as high as possible,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].analCount > 500) && ($slaves[$i].anus > 0)>> <<set $vignettes.push({text: "a citizen into degradation becomes obsessed with driving her anal mileage as high as possible,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].vaginalCount > 500) && ($slaves[$i].vagina > 0)>> <<set $vignettes.push({text: "a citizen into degradation becomes obsessed with driving her pussy mileage as high as possible,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].devotion > 95)>> <<set $vignettes.push({text: "she really pushed herself to please a citizen with tastes that disgusted her,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].devotion < -50)>> <<set $vignettes.push({text: "her fury at being sold for sex turned a citizen off before he could fuck her,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].devotion <= 20)>> <<set $vignettes.push({text: "she treasured a love token given to her by a citizen she fooled into thinking her affection was real,", type: "devotion", effect: -1})>> <</if>> <<if ($slaves[$i].trust > 95)>> <<set $vignettes.push({text: "she really pushed herself to accept a citizen with tastes that frightened her,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].trust < -50)>> <<set $vignettes.push({text: "her tearful terror at being forced to offer herself for sex turned a citizen off before he could fuck her,", type: "rep", effect: -1})>> <</if>> <<if $slaves[$i].livingRules is "luxurious">> <<set $vignettes.push({text: "she got a truly perfect night's sleep, which put her in the right frame of mind for the whole day,", type: "rep", effect: 1})>> <<elseif $slaves[$i].livingRules is "spare">> <<set $vignettes.push({text: "she got a poor night's sleep in the noisy dormitory, which took the shine off her efforts for the whole day", type: "rep", effect: -1})>> <</if>> <<if $slaves[$i].releaseRules is "permissive">> <<set $vignettes.push({text: "a citizen asked if she masturbates, and then spent an hour jerking off as she described how,", type: "rep", effect: 1})>> <<elseif $slaves[$i].releaseRules is "restrictive">> <<set $vignettes.push({text: "a citizen asked if she masturbates, and seemed disappointed when she answered honestly,", type: "rep", effect: 0})>> <<else>> <<set $vignettes.push({text: "a closeted female citizen asked about her sex life with other slaves, and was enthralled by her answer,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].health > 80)>> <<set $vignettes.push({text: "a potential citizen in the medical field was fascinated by her health, and spent almost as much time examining her as he did having sex with her,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].weight > 95)>> <<set $vignettes.push({text: "a potential citizen told her that he's looking forward to patronizing her once she loses a lot of weight.", type: "rep", effect: 0})>> <<elseif ($slaves[$i].weight > 30)>> <<set $vignettes.push({text: "a potential citizen told her that he's looking forward to patronizing her once she loses some weight.", type: "rep", effect: 0})>> <<elseif ($slaves[$i].weight <= -30)>> <<set $vignettes.push({text: "a potential citizen told her that he's looking forward to patronizing her once she gains some weight.", type: "rep", effect: 0})>> <<elseif ($slaves[$i].weight < -95)>> <<set $vignettes.push({text: "a potential citizen told her that he's looking forward to patronizing her once she gains a lot of weight.", type: "rep", effect: 0})>> <</if>> <<if ($slaves[$i].drugs is "testicle enhancement")>> <<set $vignettes.push({text: "she took it in public, with her copious ejaculation attracting more citizens,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].drugs is "hyper testicle enhancement")>> <<set $vignettes.push({text: "she bloated a female citizen's belly with her copious ejaculate, leading her to recommend your slaves for girls that want to look pregnant without actually getting pregnant,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].aphrodisiacs > 1)>> <<set $vignettes.push({text: "her piteous begging for sex due to her extreme aphrodisiac dosage turned a citizen off,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].addict > 50)>> <<set $vignettes.push({text: "she zoned out badly due to a low point between aphrodisiac doses, disappointing a citizen,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].preg > 20)>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who likes to do nothing more than cuddle with her swollen belly,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].inflation > 1)>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who loved the way her belly sloshed and moved to his teasing,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disgusted a citizen when his forceful fucking caused her to release her contained $slaves[$i].inflationType all over him,", type: "rep", effect: -2})>> <</if>> <<if ($slaves[$i].hormones > 0) && !canAchieveErection($slaves[$i])>> <<if ($slaves[$i].dick > 0)>> <<set $vignettes.push({text: "she disappointed a citizen who was sure she could get $slaves[$i].slaveName's cock erect,", type: "rep", effect: -1})>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who seems unthreatened by her soft dick,", type: "rep", effect: 1})>> <</if>> <<elseif ($slaves[$i].hormones < 0)>> <<if ($slaves[$i].dick == 0)>> <<set $vignettes.push({text: "she earned extra gratitude from a female citizen who adores the masculinity produced by $slaves[$i].slaveName's hormone regime,", type: "rep", effect: 1})>> <</if>> <</if>> <<if ($slaves[$i].hormones <= 0)>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].balls > 0) || canAchieveErection($slaves[$i])>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who likes to see his wife get fucked by a dickgirl whore,", type: "rep", effect: 1})>> <<if ($slaves[$i].dick > 3)>> <<set $vignettes.push({text: "she earned extra gratitude from a female citizen who likes big stiff cocks, and cannot lie,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she irritated a male citizen who brought his girlfriend with him by accidentally showing him up,", type: "rep", effect: -1})>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].balls > 3)>> <<set $vignettes.push({text: "she disappoints a citizen who wants her to look like a natural girl, since her balls are too big to be hidden,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].vagina == 1)>> <<set $vignettes.push({text: "she got extra attention from a citizen who really likes her, and wants to fuck her pussy as much as possible while it's still tight,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].vagina > 2)>> <<set $vignettes.push({text: "she disappointed a citizen whose cock is just too small for her big cunt,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].anus == 1)>> <<set $vignettes.push({text: "she got extra attention from a citizen who really likes her butthole, and wants to fuck it as much as possible while it's still tight,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].anus > 2)>> <<set $vignettes.push({text: "she disappointed a citizen whose cock is just too small for her loose butthole,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].face > 1)>> <<set $vignettes.push({text: "she lost a potential citizen who was so intimidated by her great beauty that he decided to find a homelier whore,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].face < 0)>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who lacks self-confidence, and is more comfortable with homely whores,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].physicalAge > 40)>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen with serious mommy issues,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].lips > 70)>> <<set $vignettes.push({text: "she earned extra gratitude from a citizen who likes to play with her lips nonsexually (don't ask),", type: "rep", effect: 1})>> <</if>> <<if (canTalk($slaves[$i]) == false)>> <<set $vignettes.push({text: "she impressed a citizen who didn't know how relaxing a girl who can't talk could be,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].muscles > 95)>> <<set $vignettes.push({text: "she impressed a citizen who was so eager to share workout plans with her that he almost forgot to have sex with her,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she gained extra gratitude from a female citizen who likes a girl who can bench-press her before and after they fuck,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disappointed a citizen by accidentally revealing that she's considerably stronger than him,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].lactation > 0)>> <<set $vignettes.push({text: "she provided fresh milk for the coffee served at a citizen's business meeting,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she provided fresh milk at a trendy arcology coffeehouse,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].amp == 1)>> <<set $vignettes.push({text: "she disappointed a citizen who thought he'd enjoy fucking an amputee, but found it revolting,", type: "rep", effect: -1})>> <<else>> <<if ($slaves[$i].heels == 1)>> <<if ($slaves[$i].shoes != "heels") && ($slaves[$i].shoes != "extreme heels") && ($slaves[$i].shoes != "boots")>> <<set $vignettes.push({text: "she enticed a new patron who had never really considered buttsex before he saw her crawling along with her asshole vulnerable,", type: "rep", effect: 1})>> <</if>> <</if>> <<if ($slaves[$i].boobs > 1500)>> <<if ($slaves[$i].boobsImplant == 0)>> <<set $vignettes.push({text: "a young citizen convinced her to jump rope so he could watch her massive natural breasts flop around,", type: "rep", effect: 1})>> <</if>> <</if>> <</if>> <<if ($slaves[$i].vaginalAccessory is "chastity belt")>> <<set $vignettes.push({text: "a wavering citizen who was disappointed that her pussy is unavailable decided to try her ass instead,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].fetish is "mindbroken")>> <<set $vignettes.push({text: "a citizen really enjoyed being able to treat her however he liked without eliciting a reaction,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].intelligence <= -2)>> <<set $vignettes.push({text: "a low-class citizen who had no business fucking her managed to trick her into fucking him anyway,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].face > 0)>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].fetish is "buttslut")>> <<set $vignettes.push({text: "a citizen was surprised by her penis, so she hid it and enjoyed the buttsex without touching it,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].analSkill >= 100)>> <<set $vignettes.push({text: "a citizen was surprised by her penis, so she hid it and skillfully pretended to be a real girl,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].fetish is "buttslut")>> <<set $vignettes.push({text: "a citizen was surprised by her penis, so she hid it, but could barely tolerate anal without touching it", type: "rep", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].analSkill < 100)>> <<if ($slaves[$i].anus > 2)>> <<set $vignettes.push({text: "a pair of customers enticed by her beauty but disappointed by her loose butthole doubled up on her poor anus without mercy,", type: "health", effect: -1})>> <</if>> <</if>> <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength > 95)>> <<if ($slaves[$i].fetish is "buttslut") || ($slaves[$i].fetish is "dom")>> <<set $vignettes.push({text: "she showed off by forcing a slave in the stocks to eat her ass", type: "rep", effect: 1})>> <<elseif ($slaves[$i].fetish is "masochist")>> <<set $vignettes.push({text: "she cooperated with a customer who wanted to whip her tits black and blue", type: "health", effect: -1})>> <</if>> <</if>> <</if>> <<if ($slaves[$i].health < 20)>> <<set $vignettes.push({text: "she attracted the attention of a slaveowner alarmed by her poor health, and thought he seemed kind,", type: "devotion", effect: -1})>> <</if>> <<if ($slaves[$i].vaginalSkill >= 100)>> <<set $vignettes.push({text: "she was brought in to apply her skills to a prominent citizen's virgin son,", type: "devotion", effect: 0})>> <</if>> <<if ($slaves[$i].analSkill < 100)>> <<if ($slaves[$i].anus < 2)>> <<set $vignettes.push({text: "a guy with a huge cock insisted on fucking her in her tight ass all night,", type: "health", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].relationship <= -2)>> <<if ($slaves[$i].intelligence < 1)>> <<set $vignettes.push({text: "she accidentally mentions how much she loves you during intercourse with a citizen who doesn't like to share,", type: "rep", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].prestige > 0)>> <<set $vignettes.push({text: "a college fraternity visiting the arcology for rush week invited her to a gangbang,", type: "rep", effect: 3})>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if ($slaves[$i].race is $arcologies[0].FSSupremacistRace)>> <<set $vignettes.push({text: "she disappointed a citizen who couldn't bear to see a beautiful $arcologies[0].FSSupremacistRace be a public slut,", type: "rep", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if ($slaves[$i].race is $arcologies[0].FSSubjugationistRace)>> <<set $vignettes.push({text: "she had a bad time in general, since most of the citizens who used her didn't care about a $arcologies[0].FSSubjugationistRace prostitute's health or well-being,", type: "health", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if ($slaves[$i].visualAge > 35)>> <<set $vignettes.push({text: "she gratified a citizen who wants to keep his MILF fetish in the closet,", type: "rep", effect: 1})>> <</if>> <<elseif $arcologies[0].FSMaturityPreferentialist != "unset">> <<if ($slaves[$i].visualAge <= 20)>> <<set $vignettes.push({text: "she gratified a citizen who wants to keep his fetish for young girls in the closet,", type: "rep", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].dick < 3)>> <<set $vignettes.push({text: "she gratified a citizen who is coming to terms with Gender Radicalism, and is unthreatened by her little penis,", type: "rep", effect: 1})>> <</if>> <</if>> <<elseif $arcologies[0].FSGenderFundamentalist != "unset">> <<if ($slaves[$i].visualAge > 25)>> <<set $vignettes.push({text: "she gratified a citizen who thinks she resembles his ex-wife, who would never let him fuck her butt,", type: "rep", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocus != "unset">> <<if ($slaves[$i].pregType > 1)>> <<set $vignettes.push({text: "she gratified a citizen who enjoys the feeling a womb filled with more than a single child,", type: "rep", effect: 1})>> <</if>> <<elseif $arcologies[0].Restart != "unset">> <<if canGetPregnant($slaves[$i])>> <<set $vignettes.push({text: "she gratified a citizen who misses the risk of getting a girl pregnant,", type: "rep", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist != "unset">> <<if ($slaves[$i].intelligence > 1)>> <<set $vignettes.push({text: "she gratified a citizen who likes to chat with intelligent prostitutes as they fuck her,", type: "rep", effect: 1})>> <</if>> <<elseif $arcologies[0].FSDegradationist != "unset">> <<if canTalk($slaves[$i])>> <<if ($slaves[$i].voice > 2)>> <<set $vignettes.push({text: "she gratified a citizen who prefers girls with high-pitched screams,", type: "rep", effect: 1})>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSBodyPurist != "unset">> <<if ($slaves[$i].boobsImplant > 0)>> <<set $vignettes.push({text: "she gratified a citizen who wants to keep his fetish for breast implants in the closet,", type: "rep", effect: 1})>> <</if>> <<elseif $arcologies[0].FSTransformationFetishist != "unset">> <<if ($slaves[$i].boobsImplant == 0)>> <<set $vignettes.push({text: "she gratified a citizen who wants to keep his fetish for natural breasts in the closet,", type: "rep", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<if ($slaves[$i].voice > 2)>> <<set $vignettes.push({text: "she gratified a citizen who loves her high-pitched squeals of pleasure,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].boobs > 800)>> <<set $vignettes.push({text: "she was publicly mocked as an ugly fat cow with dangling udders,", type: "rep", effect: -1})>> <</if>> <<elseif $arcologies[0].FSAssetExpansionist != "unset">> <<if ($slaves[$i].boobs < 300)>> <<set $vignettes.push({text: "she gratified a citizen who wants to keep his fetish for flat chested girls in the closet,", type: "rep", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSPastoralist != "unset">> <<if ($slaves[$i].lactation == 0)>> <<set $vignettes.push({text: "she disappointed a citizen who could not understand why nothing was coming out of her nipples when he sucked on them,", type: "rep", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> <<if ($slaves[$i].muscles <= 95)>> <<set $vignettes.push({text: "she disappointed a citizen who could barely believe that she wasn't capable of holding herself in a handstand,", type: "rep", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSChattelReligionist != "unset">> <<if ($slaves[$i].behavioralFlaw is "devout")>> <<set $vignettes.push({text: "she gratified a citizen who desperately wants his cock to be the one that converts her,", type: "rep", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSRomanRevivalist != "unset">> <<if ($slaves[$i].race is "white")>> <<if ($slaves[$i].height >= 185)>> <<set $vignettes.push({text: "she gratified a citizen who thought her appearance worthy of a lusty northern barbarian,", type: "rep", effect: 1})>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set $vignettes.push({text: "she got extra attention from a group of citizens competing to get off with whores of each of the arcology's ethnic groups in the least time,", type: "rep", effect: 1})>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if ($slaves[$i].face > 1)>> <<if ($slaves[$i].intelligence > 1)>> <<set $vignettes.push({text: "she gratified a citizen who wished to do nothing more than converse with a beautiful and intelligent girl,", type: "rep", effect: 1})>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSArabianRevivalist != "unset">> <<if ($slaves[$i].entertainSkill >= 100)>> <<if canTalk($slaves[$i])>> <<if ($slaves[$i].voice > 0)>> <<if ($slaves[$i].accent < 2)>> <<set $vignettes.push({text: "she gratified a citizen who prefers prostitutes who can tell lovely stories,", type: "rep", effect: 1})>> <</if>> <</if>> <</if>> <</if>> <</if>> <<set $vignettes.push({text: "one of the companies with an office in your arcology brought her in for a team-building bukkake party for its employees,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a man dragged his crying wife along so she could watch him fuck a public slut,", type: "rep", effect: 0})>> <<set $vignettes.push({text: "a woman dragged her angry husband along so he could watch her get eaten out by a public slut,", type: "rep", effect: 0})>> <<set $vignettes.push({text: "she went to sleep after having sex with strangers all day, and had a dream about you loving her,", type: "devotion", effect: 1})>> <<set $vignettes.push({text: "she went to sleep after having sex with strangers all day, and had a dream about you letting a citizen hurt her,", type: "devotion", effect: -1})>> <<set $vignettes.push({text: "she went to sleep after having sex with strangers all day, and had a dream about you protecting her from a mean citizen,", type: "trust", effect: 1})>> <<set $vignettes.push({text: "she went to sleep after having sex with strangers all day, and had a dream about you selling her for good,", type: "trust", effect: -1})>> <<set $vignette to $vignettes.random()>> __This week__ $vignette.text <<if ($vignette.type is "cash")>> <<if ($vignette.effect > 0)>> @@color:yellowgreen;making you an extra ¤<<print Math.trunc($FResult*$vignette.effect)>>.@@ <<elseif ($vignette.effect < 0)>> @@color:red;losing you ¤<<print Math.abs(Math.trunc($FResult*$vignette.effect))>>.@@ <<else>> an incident without lasting effect. <</if>> <<set $cash += Math.trunc($FResult*$vignette.effect)>> <<elseif ($vignette.type is "devotion")>> <<if ($vignette.effect > 0)>> <<if $slaves[$i].devotion > 50>> @@color:hotpink;increasing her devotion to you.@@ <<elseif $slaves[$i].devotion >= -20>> @@color:hotpink;increasing her acceptance of you.@@ <<elseif $slaves[$i].devotion >= -50>> @@color:hotpink;reducing her dislike of you.@@ <<else>> @@color:hotpink;reducing her hatred of you.@@ <</if>> <<elseif ($vignette.effect < 0)>> <<if $slaves[$i].devotion > 50>> @@color:mediumorchid;reducing her devotion to you.@@ <<elseif $slaves[$i].devotion >= -20>> @@color:mediumorchid;reducing her acceptance of you.@@ <<elseif $slaves[$i].devotion >= -50>> @@color:mediumorchid;increasing her dislike of you.@@ <<else>> @@color:mediumorchid;increasing her hatred of you.@@ <</if>> <<else>> an incident without lasting effect. <</if>> <<set $slaves[$i].devotion += 1*$vignette.effect>> <<elseif ($vignette.type is "trust")>> <<if ($vignette.effect > 0)>> <<if $slaves[$i].trust > 20>> @@color:mediumaquamarine;increasing her trust in you.@@ <<elseif $slaves[$i].trust >= -50>> @@color:mediumaquamarine;reducing her fear of you.@@ <<else>> @@color:mediumaquamarine;reducing her terror of you.@@ <</if>> <<elseif ($vignette.effect < 0)>> <<if $slaves[$i].trust > 20>> @@color:gold;reducing her trust in you.@@ <<elseif $slaves[$i].trust > -20>> @@color:gold;increasing her fear of you.@@ <<else>> @@color:gold;increasing her terror of you.@@ <</if>> <<else>> an incident without lasting effect. <</if>> <<set $slaves[$i].trust += 1*$vignette.effect>> <<elseif ($vignette.type is "health")>> <<if ($vignette.effect > 0)>> @@color:green;improving her health.@@ <<elseif ($vignette.effect < 0)>> @@color:red;affecting her health.@@ <<else>> an incident without lasting effect. <</if>> <<set $slaves[$i].health += 2*$vignette.effect>> <<else>> <<if ($vignette.effect > 0)>> @@color:green;gaining you a bit of reputation.@@ <<elseif ($vignette.effect < 0)>> @@color:red;losing you a bit of reputation.@@ <<else>> an incident without lasting effect. <</if>> <<set $rep += Math.trunc($FResult*$vignette.effect*0.1)>> <</if>> <</if>> /* CLOSES VIGNETTES */ <<if $slaves[$i].energy > 40 && $slaves[$i].energy < 95>> Being used sexually all week @@color:lime;increases her sex drive.@@ <<set $slaves[$i].energy += 1>> <</if>> <<if $slaves[$i].cervixImplant == 1 && _cervixPump > 0 >> She notices her @@color:orange;belly swell@@ after vaginal sex throughout the week. <<set $slaves[$i].bellyImplant += _cervixPump*20>> <</if>>
r3d/fc
src/uncategorized/saServeThePublic.tw
tw
bsd-3-clause
82,953
:: SA serve your other slaves [nobr] <<set $domSlave to 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$i].subTarget is $slaves[$j].ID>> <<set $domSlave to $slaves[$j]>> <<break>> <</if>> <</for>> <<if $domSlave == 0>> <<if $slaves[$i].devotion <= 20>> <<if $slaves[$i].trust >= -20>> is forced to serve your other slaves' sexual needs by constant punishment. Being castigated and raped @@color:gold;frightens her into obedience.@@ <<set $slaves[$i].trust -= 5>> <<if $slaves[$i].sexualQuirk is "strugglefuck queen">> She secretly likes being raped @@color:hotpink;and wants more.@@ <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].sexualQuirk is "gagfuck queen">> She secretly enjoys the oral abuse @@color:hotpink;and wants more.@@ <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].sexualQuirk is "painal queen">> She secretly gets off on assrape @@color:hotpink;and wants more.@@ <<set $slaves[$i].devotion += 1>> <</if>> <<else>> is forced to serve your other slaves' sexual needs by her fear. Being used on pain of punishment @@color:hotpink;habituates her to subservience@@ and @@color:gold;keeps her fearful.@@ <<set $slaves[$i].trust -= 2>> <<set $slaves[$i].devotion += 2>> <<if $slaves[$i].sexualQuirk is "strugglefuck queen">> She privately likes being abused @@color:hotpink;and accepts it.@@ <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].sexualQuirk is "gagfuck queen">> She privately likes being an oral toy and @@color:hotpink;and accepts it.@@ <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].sexualQuirk is "painal queen">> She privately likes being an anal toy @@color:hotpink;and accepts it.@@ <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <<else>> obediently serves your other slaves' sexual needs. Being used as a sexual outlet for everyone @@color:hotpink;keeps her in a good frame of mind.@@ <<set $slaves[$i].trust += 2>> <<if $slaves[$i].sexualQuirk is "strugglefuck queen">> She @@color:hotpink;openly enjoys@@ how other slaves can take whatever they want from her. <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].sexualQuirk is "gagfuck queen">> She @@color:hotpink;openly enjoys@@ how other slaves can order her to lick, suck or blow anything at all. <<set $slaves[$i].devotion += 1>> <<elseif $slaves[$i].sexualQuirk is "painal queen">> She @@color:hotpink;openly enjoys@@ how other slaves can shove anything up her butt without asking first. <</if>> <</if>> <<if ($slaves[$i].heels == 1)>> <<if ($slaves[$i].shoes != "heels")>> <<if ($slaves[$i].shoes != "boots")>> <<if ($slaves[$i].shoes != "extreme heels")>> Since she's forced to crawl around, she's especially vulnerable. <</if>> <</if>> <</if>> <</if>> <<else>> is serving ''$domSlave.slaveName'' this week. <<if ($slaves[$i].heels == 1)>> <<if ($slaves[$i].shoes != "heels")>> <<if ($slaves[$i].shoes != "boots")>> <<if ($slaves[$i].shoes != "extreme heels")>> Since $slaves[$i].slaveName cannot stand, $domSlave.slaveName has no trouble taking whatever she wants from her. <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].anus == 0) && ($slaves[$i].vagina == 0)>> Of course, she respects $slaves[$i].slaveName's virgin holes and does not penetrate her. <<elseif ($slaves[$i].anus == 0)>> Of course, she respects $slaves[$i].slaveName's anal virginity and does not penetrate her there. <<elseif ($slaves[$i].vagina == 0)>> Of course, she respects $slaves[$i].slaveName's virginity and does not penetrate her pussy. <</if>> <<if ($slaves[$i].devotion < -20) && ($slaves[$i].dick > 0) && canAchieveErection($slaves[$i]) && ($domSlave.fetishKnown == 1) && canDoAnal($domSlave) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "buttslut")>> Since $domSlave.slaveName loves anal, $slaves[$i].slaveName finds herself forced to use her stiff prick to please $domSlave.slaveName's insatiable ass. She spends the week trying to avoid $domSlave.slaveName, because $domSlave.slaveName won't stop forcing her to get her <<if $seeRace == 1>>$slaves[$i].race <</if>>dick hard so $domSlave.slaveName can ride her <<if $seeRace == 1>>$domSlave.race <</if>>butt up and down on it. @@color:hotpink;$domSlave.slaveName enjoys having her own personal cock for the week,@@ even if it does have to be persuaded. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analTotal += $seed>> <<elseif ($slaves[$i].devotion <= 50) && canAchieveErection($slaves[$i]) && ($slaves[$i].balls != 0) && ($domSlave.fetishKnown == 1) && canDoAnal($domSlave) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "buttslut")>> Since $domSlave.slaveName loves anal, $slaves[$i].slaveName finds herself constantly asked to use her stiff prick to please $domSlave.slaveName's insatiable ass. She spends the week desperately trying to keep herself hard, because $domSlave.slaveName constantly expects her <<if $seeRace == 1>>$slaves[$i].race <</if>>dick to be hard so $domSlave.slaveName can ride her <<if $seeRace == 1>>$domSlave.race <</if>>butt up and down on it. @@color:hotpink;$domSlave.slaveName enjoys having her own personal cock for the week.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analTotal += $seed>> <<elseif ($slaves[$i].dick > 0) && canAchieveErection($slaves[$i]) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && canDoAnal($domSlave) and canWalk($domSlave) && ($domSlave.fetish is "buttslut")>> $domSlave.slaveName loves anal and $slaves[$i].slaveName has a stiff prick. The two of them have good fun together. <<if $domSlave.amp != 1>>$domSlave.slaveName pulls her anal girltoy into bathrooms and corners constantly<<else>>$domSlave.slaveName has her anal girltoy hold $domSlave.slaveName's limbless torso<</if>> so she can ride that <<if $seeRace == 1>>$slaves[$i].race <</if>>dick with her <<if $seeRace == 1>>$domSlave.race <</if>>butt. @@color:hotpink;$domSlave.slaveName enjoys a week of constant butt loving.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analTotal += $seed>> <<if $slaves[$i].sexualQuirk is "none">> $slaves[$i].slaveName decides that having her dick up someone's ass is the finest pleasure life has to offer. @@color:green;She's now a pervert,@@ constantly scheming to fuck any butt she sees. <<set $slaves[$i].sexualQuirk to "perverted">> <</if>> <<elseif ($slaves[$i].devotion > -20) && ($slaves[$i].dick > 0) && canAchieveErection($slaves[$i]) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && canDoAnal($domSlave) && ($domSlave.fetish is "submissive") && ($domSlave.anus > 0)>> $domSlave.slaveName loves to submit, and tells $slaves[$i].slaveName to fuck her; when $slaves[$i].slaveName asks how, $domSlave.slaveName tells her to take charge. $domSlave.slaveName finds herself with her face pushed firmly into her bedsheets and her <<if $seeRace == 1>>$domSlave.race <</if>> ass accommodating $slaves[$i].slaveName's eager <<if $seeRace == 1>>$slaves[$i].race <</if>>cock. Afterward, $domSlave.slaveName lavishes kisses on her satisfactory top. $domSlave.slaveName @@color:hotpink;enjoys a week of constant submission,@@ and even though she's technically being used, $slaves[$i].slaveName @@color:hotpink;doesn't mind@@ being expected to fuck a willing asshole. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analCount += $seed>> <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion >= -20) && ($slaves[$i].clit > 0) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "submissive")>> $domSlave.slaveName loves to submit, and tells $slaves[$i].slaveName to fuck her; when $slaves[$i].slaveName asks how, $domSlave.slaveName tells her to take charge. $domSlave.slaveName finds herself with her back pushed firmly into her bedsheets and $slaves[$i].slaveName's quickly hardening clit being pushed eagerly into her mouth. Afterward, $domSlave.slaveName lavishes kisses on her satisfactory top. $domSlave.slaveName @@color:hotpink;enjoys a week of constant submission,@@ and even though she's technically being used, $slaves[$i].slaveName @@color:hotpink;doesn't mind@@ constant oral attention. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralCount += $seed>> <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion >= -20) and canWalk($domSlave) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && canDoAnal($domSlave) && ($domSlave.fetish is "submissive") && ($domSlave.anus > 0)>> $domSlave.slaveName loves to submit, and tells $slaves[$i].slaveName to fuck her; when $slaves[$i].slaveName asks how, $domSlave.slaveName tells her to take charge. $domSlave.slaveName finds herself with her face pushed firmly into her bedsheets and her <<if $seeRace == 1>>$domSlave.race <</if>> ass accommodating $slaves[$i].slaveName's thrusting <<if $seeRace == 1>>$slaves[$i].race <</if>>fingers. Afterward, $domSlave.slaveName lavishes kisses on her satisfactory top. $domSlave.slaveName @@color:hotpink;enjoys a week of constant submission,@@ and even though she's technically being used, $slaves[$i].slaveName @@color:hotpink;doesn't mind the fun.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analCount += $seed>> <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion >= -20) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "dom") and canWalk($domSlave)>> $domSlave.slaveName loves to dominate, and the first indication $slaves[$i].slaveName gets of what she's in for this week is when $domSlave.slaveName ambushes her in the dormitory, tackles her from behind, and hogties her with sheets. $slaves[$i].slaveName wriggles a little but doesn't really start to attempt escape until $domSlave.slaveName begins to carefully tease her <<if $seeRace == 1>>$slaves[$i].race <</if>><<if $slaves[$i].dick == 0>>clit<<else>>dickhead<</if>>, edging her right up to the point of orgasm and making her beg. It's a long but @@color:hotpink;obedience-building@@ week for $slaves[$i].slaveName, and $domSlave.slaveName certainly @@color:hotpink;enjoys her toy.@@ <<set $slaves[$i].devotion += 1>> <<elseif ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "sadist") and canWalk($domSlave)>> $domSlave.slaveName loves to inflict pain, and the first indication $slaves[$i].slaveName gets of what she's in for this week is when $domSlave.slaveName ambushes her in the dormitory, tackles her from behind, and hogties her with sheets. <<if canTalk($domSlave)>>$domSlave.slaveName bends close to the immobilized $slaves[$i].slaveName's ear and whispers to her that she might as well scream.<<else>>$domSlave.slaveName carefully uses gestures to communicate to her that she might as well scream.<</if>> $slaves[$i].slaveName's struggles to escape become desperate at this, and more desperate still when the week's first @@color:red;beating@@ starts. Later, she tries going limp and unresistant, but that just makes the annoyed $domSlave.slaveName beat her pain slave all the harder until she gets a reaction again. It's a long and @@color:hotpink;will breaking@@ week for $slaves[$i].slaveName, and $domSlave.slaveName certainly @@color:hotpink;enjoys torturing her toy.@@ <<set $slaves[$i].devotion += 1>> <<set $slaves[$i].health -= 3>> <<elseif ($slaves[$i].devotion < -20) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "boobs") && ($domSlave.lactation > 0)>> Since $domSlave.slaveName loves giving milk, $slaves[$i].slaveName finds herself forced to nurse. She spends the week trying to avoid guzzling down milk from $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>nipples with her <<if $seeRace == 1>>$slaves[$i].race <</if>>mouth, but $domSlave.slaveName insists. @@color:hotpink;$domSlave.slaveName enjoys being able to force $slaves[$i].slaveName to drink from her.@@ <<elseif ($slaves[$i].devotion <= 50) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "boobs") && ($domSlave.lactation > 0)>> Since $domSlave.slaveName loves giving milk, $slaves[$i].slaveName finds herself constantly nursing. She spends the week obediently taking milk from $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>nipples with her <<if $seeRace == 1>>$slaves[$i].race <</if>>mouth, to $domSlave.slaveName's motherly satisfaction. @@color:hotpink;$domSlave.slaveName enjoys having $slaves[$i].slaveName to drink from her whenever she feels overfull.@@ <<elseif ($domSlave.fetishKnown == 1) && ($domSlave.fetish is "boobs") && ($domSlave.fetishStrength > 60) && ($domSlave.lactation > 0)>> Since $domSlave.slaveName loves giving milk, $slaves[$i].slaveName constantly nurses from her. She spends the week happily taking milk from $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>nipples with her hungry <<if $seeRace == 1>>$slaves[$i].race <</if>>mouth, to $domSlave.slaveName's motherly delight. @@color:hotpink;$domSlave.slaveName loves having $slaves[$i].slaveName to feed and fill.@@ <<elseif ($slaves[$i].devotion < -20) and canWalk($domSlave) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "boobs")>> Since $domSlave.slaveName loves having her breasts attended to, $slaves[$i].slaveName finds herself forced to knead, massage, and even suck. She spends the week trying to avoid servicing $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>breasts with her <<if $seeRace == 1>>$slaves[$i].race <</if>>hands, but $domSlave.slaveName insists. @@color:hotpink;$domSlave.slaveName enjoys being able to force $slaves[$i].slaveName to see to her tits.@@ <<elseif canWalk($domSlave) && ($slaves[$i].devotion <= 50) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) and ($domSlave.fetish is "boobs")>> Since $domSlave.slaveName loves having her breasts attended to, $slaves[$i].slaveName finds herself kneading, massaging, and even sucking. She spends the week obediently servicing $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>breasts with her <<if $seeRace == 1>>$slaves[$i].race <</if>>hands, to $domSlave.slaveName's languorous pleasure. @@color:hotpink;$domSlave.slaveName enjoys having $slaves[$i].slaveName to see to her tits.@@ <<elseif canWalk($domSlave) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "boobs")>> Since $domSlave.slaveName loves having her breasts attended to, $slaves[$i].slaveName pampers her breasts shamelessly. She spends the week devotedly massaging $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>breasts with her <<if $seeRace == 1>>$slaves[$i].race <</if>>hands, sucking lovingly at her nipples, and caring for everything with lotions and oils. They sleep together so that $slaves[$i].slaveName can hold her boobs as she goes to sleep, which sometimes results in less sleep for both as the $domSlave.slaveName keeps them at breast play into the night. @@color:hotpink;$domSlave.slaveName enjoys having $slaves[$i].slaveName to see to her tits.@@ <<elseif ($slaves[$i].devotion < -20) && canDoAnal($domSlave) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "buttslut")>> Since $domSlave.slaveName loves anal, $slaves[$i].slaveName finds herself forced to give analingus on command. She spends the week trying to avoid servicing $domSlave.slaveName's insatiable <<if $seeRace == 1>>$domSlave.race <</if>>ass with her <<if $seeRace == 1>>$slaves[$i].race <</if>>mouth, but $domSlave.slaveName insists. @@color:hotpink;$domSlave.slaveName enjoys being able to force $slaves[$i].slaveName to service her butt.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analTotal += $seed>> <<elseif ($slaves[$i].devotion <= 50) && canDoAnal($domSlave) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "buttslut")>> Since $domSlave.slaveName loves anal, $slaves[$i].slaveName finds herself giving analingus on command. She spends the week servicing $domSlave.slaveName's insatiable <<if $seeRace == 1>>$domSlave.race <</if>>ass with her <<if $seeRace == 1>>$slaves[$i].race <</if>>mouth. @@color:hotpink;$domSlave.slaveName enjoys having her ass pleasured whenever she wants it.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analTotal += $seed>> <<elseif ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "buttslut") && canDoAnal($domSlave)>> Since $domSlave.slaveName loves anal play, $slaves[$i].slaveName lavishes attention on her butt. She spends the week servicing $domSlave.slaveName's insatiable <<if $seeRace == 1>>$domSlave.race <</if>>ass with her <<if $seeRace == 1>>$slaves[$i].race <</if>>mouth. @@color:hotpink;$domSlave.slaveName enjoys having an enthusiastic anal playmate.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.analCount += $seed>> <<set $analTotal += $seed>> <<elseif ($slaves[$i].dick > 0) && canAchieveErection($slaves[$i]) && ($domSlave.fetishKnown == 1) and ($domSlave.fetishStrength > 60) and ($domSlave.fetish is "cumslut")>> Since $domSlave.slaveName loves cum, and $slaves[$i].slaveName has a dick, $domSlave.slaveName has her own private semen dispenser, even if it's rather limp. $domSlave.slaveName sometimes gets tired of having to work hard for cum, so she spends the week making $slaves[$i].slaveName painstakingly bring her flaccid dick almost to orgasm before $domSlave.slaveName wraps her <<if $seeRace == 1>>$domSlave.race <</if>>lips around $slaves[$i].slaveName's <<if $seeRace == 1>>$slaves[$i].race <</if>>soft dickhead to suck down the cum. @@color:hotpink;$domSlave.slaveName enjoys having a servile dick on demand.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].dick > 0) && ($slaves[$i].balls != 0) && ($domSlave.fetishKnown == 1) && ($domSlave.fetishStrength > 60) && ($domSlave.fetish is "cumslut")>> Since $domSlave.slaveName loves cum, and $slaves[$i].slaveName has a dick, $domSlave.slaveName has her own private semen dispenser. $domSlave.slaveName sometimes gets tired of having to work hard for cum, so she spends the week stimulating poor $slaves[$i].slaveName's prostate to force her to climax so $domSlave.slaveName can wrap her <<if $seeRace == 1>>$domSlave.race <</if>>lips around $slaves[$i].slaveName's <<if $seeRace == 1>>$slaves[$i].race <</if>>dickhead to suck down her cum. @@color:hotpink;$domSlave.slaveName enjoys having a servile dick on demand.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].devotion < -20) && ($domSlave.energy > 95)>> Since $domSlave.slaveName loves to fuck, $slaves[$i].slaveName spends the week getting fucked. $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>body atop $slaves[$i].slaveName's resisting <<if $seeRace == 1>>$slaves[$i].race <</if>>form is a frequent sight as $domSlave.slaveName takes her pleasure. @@color:hotpink;$domSlave.slaveName enjoys being able to use $slaves[$i].slaveName.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].devotion <= 50) && ($domSlave.energy > 95)>> Since $domSlave.slaveName loves to fuck, $slaves[$i].slaveName spends the week getting fucked. $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>body atop $slaves[$i].slaveName's compliant <<if $seeRace == 1>>$slaves[$i].race <</if>>form is a frequent sight as $domSlave.slaveName takes her pleasure. @@color:hotpink;$domSlave.slaveName enjoys being able to use $slaves[$i].slaveName.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($domSlave.energy > 95)>> Since $domSlave.slaveName loves to fuck, $slaves[$i].slaveName spends the week getting fucked. $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>body atop $slaves[$i].slaveName's enthusiastic <<if $seeRace == 1>>$slaves[$i].race <</if>>form is a frequent sight as the two of them share pleasure. @@color:hotpink;$domSlave.slaveName enjoys having an extra outlet for her sexual needs.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].devotion < -20) && ($domSlave.dick > 0) && canAchieveErection($domSlave)>> $domSlave.slaveName doesn't get to use her still-functional cock as much as she would like; it often stands stiff and untended while she's being used. Not this week: $slaves[$i].slaveName spends the week with $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>dick between her <<if $seeRace == 1>>$slaves[$i].race <</if>>lips, whenever she feels like forcing it into $slaves[$i].slaveName's unwilling mouth. @@color:hotpink;$domSlave.slaveName loves having someone to facefuck whenever she wants.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<elseif ($slaves[$i].devotion <= 50) && ($domSlave.dick > 0) && canAchieveErection($domSlave)>> $domSlave.slaveName doesn't get to use her still-functional cock as much as she would like; it often stands stiff and untended while she's being used. Not this week: $slaves[$i].slaveName spends the week with $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>dick between her <<if $seeRace == 1>>$slaves[$i].race <</if>>lips, whenever she feels like putting it into $slaves[$i].slaveName's compliant mouth. @@color:hotpink;$domSlave.slaveName loves having someone to suck her off at last.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<elseif ($domSlave.dick > 0) && canAchieveErection($domSlave)>> $domSlave.slaveName doesn't get to use her still-functional cock as much as she would like; it often stands stiff and untended while she's being used. Not this week: $slaves[$i].slaveName spends the week with $domSlave.slaveName's <<if $seeRace == 1>>$domSlave.race <</if>>dick between her <<if $seeRace == 1>>$slaves[$i].race <</if>>lips, whenever she feels like receiving an enthusiastic blowjob. @@color:hotpink;$domSlave.slaveName loves having someone to tend to her prick at last.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<elseif ($slaves[$i].devotion < -20) and canWalk($domSlave) && ($domSlave.attrXX > 85)>> Since $domSlave.slaveName loves girls, $slaves[$i].slaveName finds herself groped, fingered, and toyed with. She spends the week trying to avoid $domSlave.slaveName's playful <<if $seeRace == 1>>$domSlave.race <</if>>hands, but they rove across her <<if $seeRace == 1>>$slaves[$i].race <</if>>body anyway. @@color:hotpink;$domSlave.slaveName enjoys having a nice little toy right at hand,@@ even if she does have to be forced. <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].devotion <= 50) and canWalk($domSlave) && ($domSlave.attrXX > 85)>> Since $domSlave.slaveName loves girls, $slaves[$i].slaveName finds herself groped, fingered, and toyed with. She spends the week accepting the attention of $domSlave.slaveName's playful <<if $seeRace == 1>>$domSlave.race <</if>>hands. They rove across her <<if $seeRace == 1>>$slaves[$i].race <</if>>body, eliciting embarrassed arousal. @@color:hotpink;$domSlave.slaveName enjoys having a nice little toy right at hand,@@ even if she is a little hesitant. <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif canWalk($domSlave) && ($domSlave.fetishKnown == 1) && ($domSlave.attrXX > 85)>> Since $domSlave.slaveName loves girls, $slaves[$i].slaveName finds herself with a frank and open lover for the week. She spends the week accepting the attention of $domSlave.slaveName's adoring <<if $seeRace == 1>>$domSlave.race <</if>>hands. They rove across her <<if $seeRace == 1>>$slaves[$i].race <</if>>body, knowing just where to touch and where to press. @@color:hotpink;$domSlave.slaveName enjoys having a compliant girlfriend,@@ and they spend as much time together as they can. <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<elseif ($slaves[$i].devotion < -20) && ($slaves[$i].dick > 0) and canWalk($domSlave) && ($domSlave.attrXY > 85)>> <<if ($slaves[$i].balls > 0) && ($slaves[$i].hormones <= 0) && ($slaves[$i].dickAccessory != "chastity")>> Since $domSlave.slaveName loves hard cocks, $slaves[$i].slaveName finds herself forced to get hard and fuck. She spends the week trying to avoid $domSlave.slaveName's constant demands. @@color:hotpink;$domSlave.slaveName enjoys having a nice dick right at hand,@@ even if it does have to be forced to stand up for her. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<else>> Since $domSlave.slaveName loves cocks, even soft ones, $slaves[$i].slaveName finds herself being sucked, groped, and cruelly taunted for her impotence. She spends the week trying to avoid $domSlave.slaveName's abuse of her poor useless penis. @@color:hotpink;$domSlave.slaveName enjoys having a nice dick right at hand,@@ even if it's only good for taunting and torture. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <</if>> <<elseif ($slaves[$i].devotion <= 50) && ($slaves[$i].dick > 0) and canWalk($domSlave) && ($domSlave.attrXY > 85)>> <<if ($slaves[$i].balls > 0) && ($slaves[$i].hormones <= 0) && ($slaves[$i].dickAccessory != "chastity")>> Since $domSlave.slaveName loves hard cocks, $slaves[$i].slaveName finds herself required to get hard and fuck constantly. She spends the week doing her best to satisfy $domSlave.slaveName's constant demands. @@color:hotpink;$domSlave.slaveName enjoys having a nice dick right at hand,@@ and won't leave it alone. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<else>> Since $domSlave.slaveName loves cocks, even soft ones, $slaves[$i].slaveName finds herself being sucked, groped, and toyed with. She spends the week complying with $domSlave.slaveName's amusements. @@color:hotpink;$domSlave.slaveName enjoys having a nice dick right at hand,@@ even if it's only good as a soft toy. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <</if>> <<elseif canWalk($domSlave) && ($slaves[$i].dick > 0) && ($domSlave.attrXY > 85)>> <<if ($slaves[$i].balls > 0) && ($slaves[$i].hormones <= 0) && ($slaves[$i].dickAccessory != "chastity")>> Since $domSlave.slaveName loves hard cocks, $slaves[$i].slaveName finds herself asked to get hard and fuck constantly. She spends the week doing her best to satisfy $domSlave.slaveName's constant demands. @@color:hotpink;$domSlave.slaveName enjoys having a nice dick right at hand,@@ and won't leave it alone. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<else>> Since $domSlave.slaveName loves cocks, even soft ones, $slaves[$i].slaveName finds herself being sucked, groped, and played with until she comes. She spends the week enjoying with $domSlave.slaveName's little games. @@color:hotpink;$domSlave.slaveName enjoys having a nice dick right at hand,@@ even if it's only good as a soft, dripping toy. <<set $seed to random(9,12)>> <<set $slaves[$i].penetrativeCount += $seed>> <<set $penetrativeTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <</if>> <<elseif !canWalk($slaves[$i])>> $domSlave.slaveName doesn't have any special desires, so she simply uses the helpless $slaves[$i].slaveName for comfort and convenience. $slaves[$i].slaveName finds her helpless <<if $seeRace == 1>>$slaves[$i].race <</if>>torso being used as a bath toy, a bedwarmer, and for sexual convenience. @@color:hotpink;$domSlave.slaveName enjoys the ease and companionship.@@. <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <<else>> $domSlave.slaveName doesn't have any special desires $slaves[$i].slaveName can satisfy, so she simply uses $slaves[$i].slaveName for comfort and convenience. $slaves[$i].slaveName washes her superior's <<if $seeRace == 1>>$domSlave.race <</if>>body thoroughly and uses her own <<if $seeRace == 1>>$slaves[$i].race <</if>>body to warm $domSlave.slaveName's bed at night. @@color:hotpink;$domSlave.slaveName enjoys the ease and companionship.@@ <<set $seed to random(9,12)>> <<set $slaves[$i].oralCount += $seed>> <<set $oralTotal += $seed>> <<set $domSlave.oralCount += $seed>> <<set $oralTotal += $seed>> <</if>> <<set $domSlave.devotion += 4>> <<if $domSlave.health < 40>> @@color:green;$domSlave.slaveName's health improves@@ with $slaves[$i].slaveName to serve her and help with some of her harder duties. <<set $domSlave.health += 10>> <</if>> <<if $slaves[$i].devotion <= 20>> <<if $slaves[$i].trust >= -20>> $slaves[$i].slaveName @@color:gold;is further habituated to subservience@@ by $domSlave.slaveName. <<set $slaves[$i].trust -= 5>> <<if $slaves[$i].sexualQuirk is "strugglefuck queen">> Secretly, though, $slaves[$i].slaveName gets off on being raped, @@color:hotpink;and wants more.@@ <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <</if>> <<if $domSlave.dick > 0>> <<if $slaves[$i].behavioralFlaw is "hates men">> <<if $slaves[$i].devotion > 20>> Spending so much time in close proximity to a slave with a dick @@color:green;reconciles her to getting fucked by them.@@ <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <</if>> <</if>> <<if $domSlave.vagina != -1>> <<if $slaves[$i].behavioralFlaw is "hates women">> <<if $slaves[$i].devotion > 20>> Spending so much time in close proximity to a slave with a pussy @@color:green;reconciles her to sex with girls.@@ <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <</if>> <</if>> <<if $slaves[$i].relationship == 0>> <<if $slaves[$i].rivalryTarget != $domSlave.ID>> <<if $slaves[$i].devotion >= 10>> <<if $domSlave.relationship == 0>> <<if random(1,100) > 50>> $slaves[$i].slaveName and $domSlave.slaveName enjoy spending time together and @@color:lightgreen;strike up a friendship.@@ <<set $domSlave.relationship to 1>> <<set $domSlave.relationshipTarget to $slaves[$i].ID>> <<set $slaves[$i].relationship to 1>> <<set $slaves[$i].relationshipTarget to $domSlave.ID>> <<else>> $slaves[$i].slaveName and $domSlave.slaveName find they enjoy their sexual relationship and @@color:lightgreen;become friends with benefits.@@ <<set $domSlave.relationship to 3>> <<set $domSlave.relationshipTarget to $slaves[$i].ID>> <<set $slaves[$i].relationship to 3>> <<set $slaves[$i].relationshipTarget to $domSlave.ID>> <</if>> <</if>> <</if>> <</if>> <<elseif $slaves[$i].relationship > 0>> <<if $slaves[$i].relationshipTarget is $domSlave.ID>> <<if $slaves[$i].devotion >= -20>> $slaves[$i].slaveName likes getting fucked by $domSlave.slaveName and @@color:hotpink;appreciates@@ having it as her job. <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <<if $slaves[$i].relationship < 3>> <<if $slaves[$i].relationshipTarget is $domSlave.ID>> <<if $slaves[$i].devotion >= 10>> $slaves[$i].slaveName and $domSlave.slaveName find that they enjoy having sex just as much as they like being friends, and become @@color:lightgreen;friends with benefits.@@ <<set $domSlave.relationship to 3>> <<set $slaves[$i].relationship to 3>> <<elseif $slaves[$i].devotion <= 20>> $slaves[$i].slaveName and $domSlave.slaveName's relationship is @@color:lightsalmon;damaged@@ by $domSlave.slaveName having the right to use $slaves[$i].slaveName. <<set $domSlave.relationship -= 1>> <<set $slaves[$i].relationship -= 1>> <</if>> <</if>> <<elseif $slaves[$i].relationship < 4>> <<if $slaves[$i].relationshipTarget is $domSlave.ID>> <<if $slaves[$i].devotion >= 10>> $slaves[$i].slaveName and $domSlave.slaveName don't have to be encouraged to have sex, but with extra time for it, they become @@color:lightgreen;lovers.@@ <<set $domSlave.relationship += 1>> <<set $slaves[$i].relationship += 1>> <</if>> <</if>> <</if>> <</if>> <<if $slaves[$i].rivalry == 0>> <<if $slaves[$i].relationshipTarget != $domSlave.ID>> <<if $slaves[$i].devotion <= 50>> <<if $domSlave.rivalry == 0>> <<if random(1,100) > 50>> $slaves[$i].slaveName resents $domSlave.slaveName for using her and the two @@color:lightsalmon;start to dislike each other.@@ <<set $domSlave.rivalry to 1>> <<set $domSlave.rivalryTarget to $slaves[$i].ID>> <<set $slaves[$i].rivalry to 1>> <<set $slaves[$i].rivalryTarget to $domSlave.ID>> <</if>> <</if>> <</if>> <</if>> <<else>> <<if $slaves[$i].rivalryTarget is $domSlave.ID>> <<if $slaves[$i].devotion <= 50>> $slaves[$i].slaveName resents subordinating herself to $domSlave.slaveName and @@color:mediumorchid;dislikes@@ having it as her job. <<set $slaves[$i].devotion -= 2>> <</if>> <</if>> <<if $slaves[$i].rivalry < 3>> <<if $slaves[$i].rivalryTarget is $domSlave.ID>> <<if $slaves[$i].devotion <= 50>> $slaves[$i].slaveName hates being used by her rival $domSlave.slaveName so much that their @@color:lightsalmon;feud worsens.@@ <<set $domSlave.rivalry += 1>> <<set $slaves[$i].rivalry += 1>> <<elseif $slaves[$i].devotion > 50>> $slaves[$i].slaveName serves $domSlave.slaveName so devotedly that they @@color:lightgreen;work out@@ some of their differences through sex. <<set $domSlave.rivalry -= 1>> <<set $slaves[$i].rivalry -= 1>> <</if>> <</if>> <</if>> <</if>> <<set $domSlave.tired to 1>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $domSlave.ID == $slaves[$j].ID>> <<set $slaves[$j] to $domSlave>> <<break>> <</if>> <</for>> <</if>>
r3d/fc
src/uncategorized/saServeYourOtherSlaves.tw
tw
bsd-3-clause
36,152
:: SA stay confined [nobr] <<if ($slaves[$i].devotion < -50)>> is kept in solitary confinement whenever she is not being forced to do something else. She still hates her place in the world, but being forced to rely on slave life as her only human contact @@color:hotpink;grinds down her resistance.@@ <<set $slaves[$i].devotion += 2>> <<elseif ($slaves[$i].devotion <= 20)>> is kept in solitary confinement whenever she is not being forced to do something else. With nothing to do but look forward to the next time she's let out to serve, @@color:hotpink;she begins to rely on servitude.@@ <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].devotion <= 50)>> accepts solitary confinement whenever she is not being forced to do something else. Since she is obedient, the mental torture neither breaks her further nor causes her to hate you. <<else>> accepts solitary confinement whenever she is not being forced to do something else. She spends her time wondering hopelessly how she has failed you, @@color:mediumorchid;damaging her devotion to you.@@ <<set $slaves[$i].devotion -= 2>> <</if>> <<if ($slaves[$i].trust < -50)>> She is so terrified of you that this confinement does not make her fear you any more. <<elseif ($slaves[$i].trust < -20)>> She is already afraid of you, but this confinement makes her @@color:gold;fear you even more.@@ <<set $slaves[$i].trust -= 2>> <<elseif ($slaves[$i].trust <= 20)>> This confinement makes her @@color:gold;fear your power@@ over her. <<set $slaves[$i].trust -= 4>> <<else>> This confinement makes her @@color:gold;trust you less,@@ and fear you more. <<set $slaves[$i].trust -= 5>> <</if>> The stress of confinement @@color:red;damages her health@@. <<set $slaves[$i].health -= 10>>
r3d/fc
src/uncategorized/saStayConfined.tw
tw
bsd-3-clause
1,753
:: SA take classes [nobr] <<set $learning to 1>> <<if ($slaves[$i].assignment is "learn in the schoolroom")>> <<if ($Schoolteacher != 0)>> <<set $seed to $Schoolteacher.intelligence+$Schoolteacher.intelligenceImplant>> <<if ($Schoolteacher.visualAge > 35)>> <<set $seed += 1>> <</if>> <<if $schoolteacherCareers.contains($Schoolteacher.career)>> <<set $seed += 1>> <</if>> <<if ($Schoolteacher.face > 1)>> <<set $seed += 1>> <</if>> <<if (random(1,100) < 20+($seed*20))>> <<set $learning += 1>> <</if>> <</if>> <</if>> takes courses in slavery<<if $schoolroomUpgradeSkills + $schoolroomUpgradeRemedial + $schoolroomUpgradeLanguage != 0>>, using $schoolroomName's improved educational materials, <</if>> under $assistantName's supervision; <<if ($slaves[$i].devotion > 20)>> she is such an obedient slave that your assistant mostly @@color:hotpink;encourages her.@@ <<set $slaves[$i].devotion += 2>> <<elseif ($slaves[$i].trust < -20)>> she obeys out of fear, so your assistant mostly @@color:hotpink;encourages her.@@ <<set $slaves[$i].devotion += 1>> <<else>> she is resistant, so your assistant mostly @@color:gold;punishes her,@@ increasing her @@color:mediumorchid;dislike for slavery.@@ <<set $slaves[$i].devotion -= 2>> <<set $slaves[$i].trust -= 4>> <</if>> <<if ($slaves[$i].intelligence >= 3)>> She is a genius, <<set $learning += 1>> <<elseif ($slaves[$i].intelligence >= 2)>> She is highly intelligent <<set $learning += 1>> <<elseif ($slaves[$i].intelligence >= 1)>> She is of above average intelligence <<if (random(1,100) < 70)>> <<set $learning += 1>> <</if>> <<elseif ($slaves[$i].intelligence >= 0)>> She is of average intelligence <<if (random(1,100) < 50)>> <<set $learning += 1>> <</if>> <<elseif ($schoolroomUpgradeRemedial == 1)>> <<if (random(1,100) < 50)>> <<set $learning += 1>> <</if>> <<elseif ($slaves[$i].intelligence >= -1)>> She is of below average intelligence <<if (random(1,100) < 30)>> <<set $learning += 1>> <</if>> <<elseif ($slaves[$i].intelligence >= -2)>> She is quite stupid <<if (random(1,100) < 10)>> <<set $learning += 1>> <</if>> <<else>> She is an imbecile, <</if>> <<if ($slaves[$i].devotion > 95)>> and worshipful of you, <<set $learning += 1>> <<elseif ($slaves[$i].devotion > 50)>> and devoted to you, <<if (random(1,100) < 70)>> <<set $learning += 1>> <</if>> <<elseif ($slaves[$i].devotion > 20)>> and obedient to you, <<if (random(1,100) < 50)>> <<set $learning += 1>> <</if>> <<elseif ($slaves[$i].trust < -20)>> and frightened of you, <<if (random(1,100) < 50)>> <<set $learning += 1>> <</if>> <<else>> and neither likes you nor is afraid of you, <</if>> <<if ($learning <= 1)>> and she learns slowly this week. <<elseif ($learning is 2)>> and she does well with her studies this week. <<else>> and she is perfectly studious this week. <</if>> <<set $seed to 0>> <<set $skillIncrease = 10+$slaves[$i].intelligence>> <<for $j to 0; $j < $learning; $j++>> <<if ($slaves[$i].devotion <= 20) && ($seed == 0)>> Since she is wanting in basic obedience, she suffers through courses on @@color:hotpink;her place@@ in the Free Cities world. <<set $slaves[$i].devotion += 10>> <<set $seed to 1>> <<elseif ($slaves[$i].oralSkill <= 10)>> Since she is orally incompetent, she is taught basic gag reflex suppression exercises and other simple oral things. <<OralSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].vaginalSkill <= 10) && ($slaves[$i].vagina > 0) && ($slaves[$i].vaginalAccessory != "chastity belt")>> Since she is unskilled at using her pussy, she is taught kegel exercises and other simple vaginal skills. <<VaginalSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].analSkill <= 10) && ($slaves[$i].anus > 0)>> Since she is a novice at taking it up her butt, she is taught relaxation exercises and other simple anal basics. <<AnalSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].whoreSkill <= 10)>> Since she has little idea what's involved in selling her body, she is taught basic safety practices and other simple prostitution skills. <<WhoreSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].entertainSkill <= 10)>> Since her entertainment value is limited to her holes, she is taught simple conversational skills and other courtesan's essentials. <<EntertainSkillIncrease $slaves[$i]>> <<elseif ($schoolroomUpgradeSkills == 1)>> <<if ($slaves[$i].oralSkill <= 30)>> Having completed the basic sex slave curriculum, she studies more advanced ways to use her lips and tongue to please cocks, cunts, and asses. <<OralSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].whoreSkill <= 30)>> Having completed the basic sex slave curriculum, she studies intermediate prostitution, including how to stay as safe as possible and maximize her efficiency. <<WhoreSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].entertainSkill <= 30)>> Having completed the basic sex slave curriculum, she studies courtesanship, including social dynamics and flirtation more subtle than straightforward begging for sex. <<EntertainSkillIncrease $slaves[$i]>> <</if>> <</if>> <</for>> <<if ($slaves[$i].intelligenceImplant < 1)>> She makes some progress towards a basic education. <<set $slaves[$i].intelligenceImplant += 0.1*$learning>> <<if ($slaves[$i].intelligenceImplant >= 1)>> <<set $slaves[$i].intelligenceImplant to 1>> She has completed a course of slave education, and for most purposes she is now @@color:deepskyblue;more intelligent.@@ <<if ($slaves[$i].intelligence < 3)>> <<set $slaves[$i].intelligence += 1>> <</if>> <</if>> <</if>> <<if ($slaves[$i].intelligenceImplant == 1)>> <<if $slaves[$i].voice != 0>> <<if ($slaves[$i].intelligence > random(-4,4))>> <<if ($schoolroomUpgradeLanguage == 0)>> <<if ($slaves[$i].accent > 3)>> She has @@color:green;learned some $language,@@ and can make her point with some gesturing, though she speaks $language horribly. <<set $slaves[$i].accent -= 1>> <<if $slaves[$i].speechRules = "language lessons">> <<set $slaves[$i].speechRules = "accent elimination">> <</if>> <<elseif ($slaves[$i].accent == 3)>> She has @@color:green;learned functional $language,@@ and can make herself understood, though her $slaves[$i].nationality accent is still quite heavy. <<set $slaves[$i].accent -= 1>> <</if>> <<else>> <<if ($slaves[$i].accent > 3)>> She has @@color:green;learned some $language,@@ and can make her point with some gesturing, though she speaks $language horribly. <<set $slaves[$i].accent -= 1>> <<elseif ($slaves[$i].accent >= 2)>> She has @@color:green;learned decent $language,@@ though she retains enough of her $slaves[$i].nationality accent to make her voice distinctly sexy. <<set $slaves[$i].accent to 1>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].intelligenceImplant == 1)>> <<if ($slaves[$i].voice == 0) || ($slaves[$i].accent <= 1) || (($schoolroomUpgradeLanguage == 0) && ($slaves[$i].accent <= 2))>> <<if ($slaves[$i].oralSkill > 30) || (($schoolroomUpgradeSkills == 0) && ($slaves[$i].oralSkill > 10))>> <<if ($slaves[$i].whoreSkill > 30) || (($schoolroomUpgradeSkills == 0) && ($slaves[$i].whoreSkill > 10))>> <<if ($slaves[$i].entertainSkill > 30) || (($schoolroomUpgradeSkills == 0) && ($slaves[$i].entertainSkill > 10))>> <<if ($slaves[$i].analSkill > 10) || ($slaves[$i].anus < 1)>> <<if ($slaves[$i].vaginalSkill > 10) || ($slaves[$i].vagina < 1)>> She can learn little from further classes, so @@color:yellow;her assignment has defaulted to rest.@@ <<set $slaves[$i].assignment to "rest", $slaves[$i].assignmentVisible to 1, $schoolroomSlaves-->> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>>
r3d/fc
src/uncategorized/saTakeClasses.tw
tw
bsd-3-clause
7,752
:: SA whore [nobr] <<FResult $slaves[$i]>> <<if ($slaves[$i].releaseRules is "restrictive") && ($slaves[$i].standardReward isnot "orgasm")>> <<set $FResult += 2>> <</if>> <<if $ACitizens > $ASlaves*2>> <<set $FResult = Math.trunc($FResult*1.1)>> <<elseif $ACitizens > $ASlaves>> <<set $FResult = Math.trunc($FResult*1)>> <<elseif $ACitizens > $ASlaves*0.5>> <<set $FResult = Math.trunc($FResult*0.95)>> <<elseif $ACitizens > $ASlaves*0.25>> <<set $FResult = Math.trunc($FResult*0.9)>> <<else>> <<set $FResult = Math.trunc($FResult*0.85)>> <</if>> <<Beauty $slaves[$i]>> <<if $ACitizens > $ASlaves*2>> <<set $beauty = Math.trunc($beauty*1.1)>> <<elseif $ACitizens > $ASlaves>> <<set $beauty = Math.trunc($beauty*1)>> <<elseif $ACitizens > $ASlaves*0.5>> <<set $beauty = Math.trunc($beauty*0.95)>> <<elseif $ACitizens > $ASlaves*0.25>> <<set $beauty = Math.trunc($beauty*0.9)>> <<else>> <<set $beauty = Math.trunc($beauty*0.85)>> <</if>> <<if $slaves[$i].sexualFlaw is "neglectful">> <<set $beauty = Math.trunc($beauty*1.1)>> <</if>> <<if $slaves[$i].assignment is "be the Madam">> <<if $brothelSlaves+$slavesGettingHelp > 0>> <<set $beauty = Math.trunc($beauty*((5-$brothelSlaves-$slavesGettingHelp)/5))>> <</if>> <</if>> <<if ($slaves[$i].devotion > 95) || ($slaves[$i].energy > 95)>> enthusiastically sells <<elseif ($slaves[$i].devotion > 50)>> willingly sells <<elseif ($slaves[$i].devotion > 20)>> obediently sells <<elseif ($slaves[$i].trust < -20)>> reluctantly sells <<else>> is forced to sell <</if>> her body. <<set $beautyMultiplier to 1>> <<if $brothel > 0>> <<if (($universalRulesFacilityWork == 1) && ($slaves[$i].assignment is "whore") && ($brothelSpots > 0)) || ($slaves[$i].assignment is "work in the brothel")>> <<if ($slaves[$i].assignment is "whore")>> Since there's extra space in $brothelName, she sells herself there. <</if>> <<if $brothelAdsSpending != 0>> <<if $brothelAdsStacked == 1>> <<if ($slaves[$i].butt > 4)>> <<if ($slaves[$i].boobs > 800)>> <<set $beautyMultiplier += 0.05>> Her stacked body fits $brothelName's ad campaign, getting her more business. <</if>> <</if>> <<elseif $brothelAdsStacked is -1>> <<if ($slaves[$i].boobs < 500)>> <<if ($slaves[$i].butt < 3)>> <<if ($slaves[$i].weight <= 10)>> <<if ($slaves[$i].muscles <= 30)>> <<set $beautyMultiplier += 0.05>> Her slim body fits $brothelName's ad campaign, getting her more business. <</if>> <</if>> <</if>> <</if>> <</if>> <<if $brothelAdsPreg == 1>> <<if ($slaves[$i].preg > 10) || ($slaves[$i].bellyImplant >= 4000)>> <<set $beautyMultiplier += 0.05>> Her gravid body fits $brothelName's ad campaign, getting her more attention. <</if>> <<elseif $brothelAdsPreg is -1>> <<if ($slaves[$i].pregType < 10)>> <<if ($slaves[$i].preg < 1)>> <<if ($slaves[$i].weight < 30)>> <<if (!$fakeBellies.contains($bellyAccessory))>> <<if ($slaves[$i].bellyImplant == 0)>> <<if ($slaves[$i].inflation == 0)>> <<set $beautyMultiplier += 0.05>> Her flat belly fits $brothelName's ad campaign, getting her more attention. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $brothelAdsModded == 1>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set $beautyMultiplier += 0.05>> Body art like hers is a major draw. <</if>> <<elseif $brothelAdsModded == -1>> <<if $slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<set $beautyMultiplier += 0.05>> Very clean bodies like hers are a major draw. <</if>> <</if>> <<if $brothelAdsImplanted == 1>> <<if ($slaves[$i].boobsImplant > 0)>> <<if ($slaves[$i].buttImplant > 0)>> <<if ($slaves[$i].bellyImplant > 0)>> <<if ($slaves[$i].waist > 0)>> <<if ($slaves[$i].lipsImplant > 0)>> <<set $beautyMultiplier += 0.05>> Many citizens come to the brothel looking to rent a plastic slut like her. <</if>> <</if>> <</if>> <</if>> <</if>> <<elseif $brothelAdsImplanted is -1>> <<if ($slaves[$i].boobsImplant == 0)>> <<if ($slaves[$i].buttImplant == 0)>> <<if ($slaves[$i].waist < 2)>> <<if ($slaves[$i].lipsImplant == 0)>> <<if ($slaves[$i].bellyImplant == 0)>> <<if ($slaves[$i].faceImplant < 2)>> <<set $beautyMultiplier += 0.05>> Many citizens come to the brothel looking to play with a natural girl like her. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $brothelAdsOld == 1>> <<if ($slaves[$i].physicalAge >= 30)>> <<set $beautyMultiplier += 0.05>> She's perfect for $brothelName, whose brand is mature slaves. <</if>> <<elseif $brothelAdsOld is -1>> <<if ($slaves[$i].physicalAge < 30 && $slaves[$i].physicalAge >= 18)>> <<set $beautyMultiplier += 0.05>> She's perfect for $brothelName, whose brand is young slaves. <</if>> <<elseif $brothelAdsOld is -2>> <<if ($slaves[$i].physicalAge <= 18 && $slaves[$i].physicalAge >= 13)>> <<set $beautyMultiplier += 0.05>> She's perfect for $brothelName, whose brand is teenage slaves. <</if>> <<elseif $brothelAdsOld is -3>> <<if ($slaves[$i].physicalAge < 13)>> <<set $beautyMultiplier += 0.05>> She's perfect for $brothelName, whose brand is loli slaves. <</if>> <</if>> <<if $brothelAdsXX == 1>> <<if ($slaves[$i].dick == 0)>> <<set $beautyMultiplier += 0.05>> Almost everyone who comes to $brothelName is looking to fuck a girl like her. <</if>> <<elseif $brothelAdsXX is -1>> <<if ($slaves[$i].dick > 0)>> <<set $beautyMultiplier += 0.05>> Almost everyone who comes to $brothelName is looking to pound a girl who cums when buttfucked. <</if>> <</if>> <</if>> <<if ($slaves[$i].assignment is "whore")>> <<set $brothelSpots -= 1>> <</if>> <<if $Madam != 0>> <<if $madamCashBonus > 0>> <<set $beautyMultiplier += $madamCashBonus>> <<if ($slaves[$i].assignment is "whore")>> Working <<else>> Living and working <</if>> out of the brothel, she comes under $Madam.slaveName's <<if $madamCashBonus < 0.1>> completely inept <<elseif $madamCashBonus < 0.2>> unskilled <<elseif $madamCashBonus < 0.3>> skillful <<else>> masterful <</if>> leadership. <<if ($Madam.dick > 2) && canAchieveErection($Madam)>> <<if ($slaves[$i].devotion <= 20)>> The Madam rapes her when she fails to meet standards. <<else>> The Madam uses her dick to reward her when she does well and needs some loving. <</if>> <</if>> <<if ($slaves[$i].sexualFlaw != "none") && (random(1,100) > 90)>> $Madam.slaveName manages to @@color:green;break@@ $slaves[$i].slaveName of her sexual flaws. <<set $slaves[$i].sexualFlaw to "none">> <<elseif ($slaves[$i].behavioralFlaw != "none") && (random(1,100) > 90)>> $Madam.slaveName manages to @@color:green;break@@ $slaves[$i].slaveName of her flaws. <<set $slaves[$i].behavioralFlaw to "none">> <</if>> <</if>> <</if>> <</if>> <</if>> <<set $beauty = Math.trunc($beauty*$beautyMultiplier)>> Her appearance attracted $beauty customers (<<print Math.trunc($beauty/7)>> a day)<<if $beauty > 160>>, so many that each of her holes was often filled by more than one cock<<elseif $beauty > 140>>, so many that she spent much of her time getting gangbanged<<elseif $beauty > 120>>, so many that customers often spitroasted the slut<<elseif $beauty > 100>>, so many that she frequently had sex with multiple customers at once<<elseif $beauty > 70>>, so many that she occasionally had sex with multiple customers at once<</if>>. They paid ¤$FResult on average. <<if $seeAge == 1>> <<if $slaves[$i].physicalAge == 18>> <<if $slaves[$i].birthWeek == 0>> She just turned 18 this week, giving her an immense boost to both popularity and price. <<elseif $slaves[$i].birthWeek < 4>> This is still the first month in which it's legal to pay to fuck her, giving her a boost to both popularity and price. <</if>> <</if>> <</if>> <<if ($slaves[$i].behavioralQuirk is "sinful")>> $slaves[$i].slaveName @@color:hotpink;secretly enjoys@@ how utterly sinful and depraved it is for her to sell her body. <<set $slaves[$i].devotion += 1>> <<elseif ($slaves[$i].behavioralQuirk is "cutting")>> $slaves[$i].slaveName @@color:hotpink;openly enjoys@@ the direct, frank language of prostitution, and delights customers with cutting remarks even as they fuck her. <<set $slaves[$i].devotion += 1>> <</if>> <<if ($slaves[$i].sexualQuirk is "caring")>> $slaves[$i].slaveName sees her role as helping people with their sexual needs, and she @@color:mediumaquamrine;trusts that her place@@ in society is an important one. <<set $slaves[$i].trust += 1>> <</if>> <<set $injury to 0>> <<if ($slaves[$i].curatives > 0)>> The drugs she's on protect her from the wear of whoring. <<elseif ($slaves[$i].health < -50)>> The stress of whoring while ill is @@color:red;very hard on her.@@ <<set $slaves[$i].health -= 10>> <<set $injury to 1>> <<elseif ($slaves[$i].health < -20) && (random(1,100) > 50)>> The stress of whoring while ill is @@color:red;hard on her.@@ <<set $slaves[$i].health -= 7>> <<set $injury to 1>> <<elseif ($slaves[$i].vagina < 0)>> <<if (($slaves[$i].analSkill + $slaves[$i].oralSkill) >= 200)>> She's such an expert whore that she copes with the stress of being a shemale prostitute. <<elseif random(1,100) > 40+(10*($slaves[$i].analSkill + $slaves[$i].oralSkill))>> The stress of being a shemale prostitute is @@color:red;hard on her.@@ <<set $slaves[$i].health -= 7>> <<set $injury to 1>> <</if>> <<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>> <<if (($slaves[$i].analSkill + $slaves[$i].oralSkill) >= 200)>> She's such an expert whore that she copes with the stress of being limited to buttsex and oral. <<elseif random(1,100) > 40+(10*($slaves[$i].analSkill + $slaves[$i].oralSkill))>> The stress of being being limited to buttsex and oral is @@color:red;hard on her.@@ <<set $slaves[$i].health -= 7>> <<set $injury to 1>> <</if>> <<elseif ($slaves[$i].analSkill + $slaves[$i].oralSkill + $slaves[$i].vaginalSkill) < 300>> <<if random(1,100) > 10+(($slaves[$i].analSkill + $slaves[$i].oralSkill + $slaves[$i].vaginalSkill)/10)>> <<set $injury to 1>> <</if>> <</if>> <<if ($injury == 1)>> <<set $slaves[$i].health -= 3>> <<set $seed to random(1,100)>> <<if ($seed > 80)>> <<set $slaves[$i].minorInjury to "sore ass">> Rough anal with a careless customer left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<elseif ($seed > 60)>> <<set $slaves[$i].minorInjury to "black eye">> A violent customer left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<elseif ($seed > 40)>> <<set $slaves[$i].minorInjury to "split lip">> An abusive customer left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<elseif ($seed > 20)>> <<set $slaves[$i].minorInjury to "bad bruise">> A rough customer left her with a @@color:red;$slaves[$i].minorInjury.@@ <<include "minor injury response">> <<else>> <<set $slaves[$i].minorInjury to "sore muscle">> The hard labor of constant sex left her with a @@color:red;$slaves[$i].minorInjury.@@ <</if>> <</if>> <<if ($slaves[$i].vagina != -1)>> <<if canDoVaginal($slaves[$i])>> <<if ($slaves[$i].vagina == 0)>> <<if ($slaves[$i].aphrodisiacs > 1)>> Her virginity goes to the highest bidder, earning ¤<<print ($beauty*10)>>. She's so full of aphrodisiacs that she @@color:hotpink;enjoys the experience.@@ @@color:lime;Her pussy is now broken in.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].vagina to 1>> <<set $FResult += 10>> <<elseif ($slaves[$i].devotion > 20)>> Her virginity goes to the highest bidder, earning ¤<<print ($beauty*10)>>. Losing her virginity in this way @@color:hotpink;confirms her submission to you.@@ @@color:lime;Her pussy is now broken in.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].vagina to 1>> <<set $FResult += 10>> <<else>> Her virginity goes to the highest bidder, earning ¤<<print ($beauty*10)>>. She tries to resist, and losing her virginity to a rape makes her @@color:mediumorchid;hate@@ and @@color:gold;fear@@ you a great deal. @@color:lime;Her pussy is now broken in.@@ <<set $slaves[$i].devotion -= 10>> <<set $slaves[$i].trust -= 10>> <<set $slaves[$i].vagina to 1>> <<set $FResult += 10>> <</if>> <<elseif ($slaves[$i].vagina < 3)>> <<if (random(1,100) > ((170-$beauty)+($slaves[$i].vagina*10)+($slaves[$i].vaginalSkill/3)))>> @@color:lime;Her pussy gets loosened by the intense use.@@ <<set $slaves[$i].vagina += 1>> <</if>> <</if>> <</if>> <</if>> <<if canDoAnal($slaves[$i])>> <<if ($slaves[$i].anus == 0)>> <<if ($slaves[$i].aphrodisiacs > 1)>> Her tight little anus goes to the highest bidder, earning ¤<<print ($beauty*5)>>. She's so full of aphrodisiacs that she @@color:hotpink;enjoys the experience.@@ Her fresh asshole is fucked all week, and by the end of it @@color:lime;she won't sit down.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].anus to 2>> <<set $FResult += 5>> <<elseif ($slaves[$i].devotion > 20)>> Her tight little anus goes to the highest bidder, earning ¤<<print ($beauty*5)>>. The pain and humiliation @@color:hotpink;confirm her submission to you.@@ Her fresh asshole is fucked all week, and by the end of it @@color:lime;she won't sit down.@@ <<set $slaves[$i].devotion += 4>> <<set $slaves[$i].anus to 2>> <<set $FResult += 5>> <<else>> Her tight little anus goes to the highest bidder, earning ¤<<print ($beauty*5)>>. The pain and humiliation increases her @@color:mediumorchid;hatred@@ and @@color:gold;fear@@ for you. Her fresh asshole is fucked all week, and by the end of it @@color:lime;she won't sit down.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <<set $slaves[$i].anus to 2>> <<set $FResult += 5>> <</if>> <<elseif ($slaves[$i].anus < 3)>> <<if ($slaves[$i].vagina < 0)>> <<if ((random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>> @@color:lime;Her asshole sees constant use in place of a pussy and loosens.@@ <<set $slaves[$i].anus += 1>> <</if>> <<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>> <<if ((random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>> @@color:lime;Her asshole sees constant use in place of her protected pussy and loosens.@@ <<set $slaves[$i].anus += 1>> <</if>> <<else>> <<if ((random(1,100) > ((160-$beauty)+($slaves[$i].anus*10)+($slaves[$i].analSkill/6))))>> @@color:lime;Her asshole loosens with constant use.@@ <<set $slaves[$i].anus += 1>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].devotion > 20)>> <<elseif !canWalk($slaves[$i])>> Since she can't walk, she spends all of her time in her own room in the brothel. Customers come in, fuck her, and leave. <<if ($slaves[$i].whoreSkill <= 10)>> <<elseif ($slaves[$i].whoreSkill <= 30)>> As a skilled prostitute, she gets a little more money out of customers. <<elseif ($slaves[$i].whoreSkill <= 60)>> As a expert prostitute, she gets more money out of customers. <<elseif ($slaves[$i].whoreSkill >= 100)>> As a masterful prostitute, she makes more money. <</if>> <</if>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].whoreSkill < 100)>> <<set $slaves[$i].whoreSkill += 10+$slaves[$i].intelligence>> She @@color:green;gains experience as a public slut,@@ and gets better at <<if ($slaves[$i].whoreSkill <= 30)>> basic street smarts. <<elseif ($slaves[$i].whoreSkill <= 60)>> steering clients to more lucrative sex acts. <<elseif ($slaves[$i].whoreSkill <= 100)>> squeezing johns for every penny. <</if>> <</if>> <</if>> <<if $slaves[$i].aphrodisiacs > 1>> The aphrodisiac cocktail has her so desperately horny that regardless of her personal feelings, she @@color:hotpink;gets off with customers all week.@@ In her drug-addled state she doesn't remember enough to learn sexual skills. <<set $slaves[$i].devotion += 4>> <<elseif ($slaves[$i].devotion <= 20) && ($slaves[$i].energy <= 95)>> <<if $slaves[$i].trust >= -20>> She tries to refuse being sold as a whore, so she is restrained for sale. She loses a bit of herself to a week of rape, but remembers enough to know @@color:mediumorchid;you're responsible,@@ and @@color:gold;can force her if necessary.@@ <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <<else>> She doesn't show much enthusiasm, but the habit of slave prostitution @@color:hotpink;wears away at her will.@@ <<set $slaves[$i].devotion += 4>> <</if>> <<else>> <<if ($slaves[$i].oralSkill + $slaves[$i].analSkill >= 200) && (($slaves[$i].vaginalSkill >= 100) || (canDoVaginal($slaves[$i]) == false))>> She's a @@color:aquamarine;sexual master@@ <<if canDoVaginal($slaves[$i])>> whose <<else>> and despite <<if $slaves[$i].vagina < 0>>her lack of a<<else>>the inaccessibility of her<</if>> front hole, her <</if>> body commands @@color:yellowgreen;a high price.@@ When she's not <<if canDoVaginal($slaves[$i]) && (random(1,4) == 1)>> pleasing the rich with her <<if $slaves[$i].prestige > 0>>prestigious<<else>>popular<</if>> pussy, <<elseif ($beauty > 70) && (random(1,3) == 1)>> getting gangbanged, <<elseif (random(1,2) == 1)>> performing one of her <<if $slaves[$i].prestige > 0>>famous<<else>>top-tier<</if>> blowjobs, <<else>> selling access to her <<if $slaves[$i].prestige > 0>>legendary<<else>>notorious<</if>> anus, <</if>> she works social gatherings and high society. <<else>> She shows diligence, and her sexual skills improve, according to what the customers demand<<if canDoVaginal($slaves[$i]) == false>> and what's possible for her<</if>>. <<set $skillIncrease = 5+$slaves[$i].intelligence+$oralUseWeight>> <<OralSkillIncrease $slaves[$i]>> <<if canDoAnal($slaves[$i])>> <<set $skillIncrease = 5+$slaves[$i].intelligence+$analUseWeight>> <<AnalSkillIncrease $slaves[$i]>> <</if>> <<if canDoVaginal($slaves[$i])>> <<set $skillIncrease = 5+$slaves[$i].intelligence+$vaginalUseWeight>> <<VaginalSkillIncrease $slaves[$i]>> <</if>> <</if>> <<if ($slaves[$i].amp != 1)>> <<if ($slaves[$i].whoreSkill < 100)>> She gains experience as a prostitute. <<set $skillIncrease = 10+$slaves[$i].intelligence>> <<WhoreSkillIncrease $slaves[$i]>> <</if>> <</if>> <</if>> <<if $slaves[$i].minorInjury != 0>> She attracts fewer people due to her minor injury. <<set $beauty -= 1>> <</if>> <<if $showEWM == 1>> <<if ($slaves[$i].releaseRules is "restrictive") && ($slaves[$i].standardReward isnot "orgasm")>> She's a better whore because prostitution is her main sexual outlet. <</if>> <<if $familyTesting == 1>> <<if $slaves[$i].mother > 0 || $slaves[$i].father > 0 || $slaves[$i].daughters > 0 || $slaves[$i].sisters > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$i].ID == $slaves[$j].father || $slaves[$i].ID == $slaves[$j].mother || $slaves[$j].ID == $slaves[$i].father || $slaves[$j].ID == $slaves[$i].mother || areSisters($slaves[$i], $slaves[$j]) > 0) && $slaves[$j].assignment == "whore">> <<set $children.push($slaves[$j])>> <</if>> <</for>> <<if $children.length > 2>> Since her relatives, <<for $j to 0; $j < $children.length; $j++>> <<if $j < $children.length-1>> $children[$j].slaveName, <<else>> and $children[$j].slaveName, <</if>> <</for>> are selling themselves too, she earns extra ¤ by working with them. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Customers are very enthusiastic about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <<elseif $children.length > 1>> Since her relatives, $children[0].slaveName and $children[1].slaveName, are selling themselves too, she earns extra ¤ by working with them. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Customers are very enthusiastic about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <<elseif $children.length > 0>> Since her relative, $children[0].slaveName, is selling herself too, she earns extra ¤ by working with her. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Customers are very enthusiastic about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <</if>> <<set $children = []>> <</if>> <<else>> <<if $slaves[$i].relation != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].relationTarget>> <<if $slaves[$j].assignment is $slaves[$i].assignment>> Since her $slaves[$j].relation $slaves[$j].slaveName is selling herself too, she earns extra ¤ by working with her. <<if $arcologies[0].FSEgyptianRevivalist > 20>> Customers are very enthusiastic about being able to participate in properly ancient Egyptian incestuous sex. <</if>> <</if>> <<break>> <</if>> <</for>> <</if>> <</if>> <<if $slaves[$i].relationship > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].relationshipTarget>> <<if $slaves[$j].assignment is $slaves[$i].assignment>> Her <<if $slaves[$j].relationship <= 1>> friend <<elseif $slaves[$j].relationship <= 2>> best friend <<elseif $slaves[$j].relationship <= 3>> friend with benefits <<elseif $slaves[$j].relationship <= 4>> lover <<elseif $slaves[$j].relationship > 4>> slave wife <</if>> $slaves[$j].slaveName is also whoring, so she earns a bit more. <</if>> <<break>> <</if>> <</for>> <<elseif $slaves[$i].relationship is -1>> She relies on customers' desire to fuck her for emotional support, making her an excellent, if occasionally disturbing, whore. <</if>> <<if $slaves[$i].rivalry != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $slaves[$i].rivalryTarget>> <<if $slaves[$j].assignment is $slaves[$i].assignment>> She earns a little less ¤ due to bickering with $slaves[$j].slaveName. <</if>> <<break>> <</if>> <</for>> <</if>> <<if canTalk($slaves[$i])>> <<if $slaves[$i].voice > 2>> <<if $slaves[$i].voiceImplant > 0>> Her high-pitched bimbo voice makes it easier for her to entice potential customers. <<else>> Her high, girly voice makes it easier for her to entice potential customers. <</if>> <<elseif $slaves[$i].voice == 1>> Most potential customers find her deep voice unattractive, making it harder for her to entice them. <</if>> <</if>> <<if ($arcologies[0].FSTransformationFetishist > 20) || ($arcologies[0].FSDegradationist > 20)>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> Many customers fetishize body mods and consider hers fascinating. <<elseif $modScore > 7>> Many customers fetishize body mods and consider hers interesting. <</if>> <<elseif ($arcologies[0].FSBodyPurist > 20) || ($arcologies[0].FSPaternalist > 20)>> <<if $modScore <= 7>> Most customers disapprove of excessive body ornamentation and are pleased that she's unspoiled in that regard. <<else>> Most customers disapprove of body mods and consider hers unappealing. <</if>> <<else>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> She has so much body art that most customers don't think she needs any more. <<elseif !($slaves[$i].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2)>> Her body art helps attract customers. <</if>> <</if>> <<if $slaves[$i].aphrodisiacs > 1>> On such a heavy aphrodisiac dose, she can't wait for each customer to fuck her. <<elseif $slaves[$i].aphrodisiacs > 0>> On aphrodisiacs, she climaxes with every customer. <<elseif $slaves[$i].devotion > 95>> She's so devoted that she does her best and pleases every customer. <<elseif $slaves[$i].devotion > 50>> She's so devoted that she works hard to please customers. <<elseif $slaves[$i].trust < -20>> She's afraid of you, so she works hard to please customers. <<else>> She neither loves nor fears you enough to work hard, and makes a poor whore. <</if>> <<if ($slaves[$i].butt > 4) && ($slaves[$i].boobs > 800)>> <<if $arcologies[0].FSAssetExpansionist != "unset">> She makes a river of ¤ with her huge, fashionable assets. <<if canTalk($slaves[$i])>> <<if $slaves[$i].voice > 2>> Her high voice contributes to her bimbo image, so she does even better. <</if>> <</if>> <<elseif $arcologies[0].FSSlimnessEnthusiast >= 20>> She makes no extra ¤ with her large assets since many citizens consider them disgusting. <<else>> She receives extra ¤ for having huge assets. <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if $slaves[$i].dick > 0>> The new appetite for stacked whores with dicks makes her especially profitable. <</if>> <</if>> <</if>> <<if ($slaves[$i].visualAge >= 30)>> <<if $arcologies[0].FSMaturityPreferentialist != "unset">> Her mature body is very fashionable. <<elseif $arcologies[0].FSYouthPreferentialist != "unset">> Her old body is badly out of fashion. <</if>> <<else>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> Her youthful body is very fashionable. <<elseif $arcologies[0].FSMaturityPreferentialist != "unset">> Her young body is out of fashion. <</if>> <</if>> <<if ($slaves[$i].boobs < 500) && ($slaves[$i].butt < 3) && ($slaves[$i].weight <= 10) && ($slaves[$i].muscles <= 30)>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> She makes extra ¤ due to her fashionably sleek little body. <<if canTalk($slaves[$i])>> <<if $slaves[$i].voice > 2>> Her high voice contributes to her girlish image, so she does even better. <</if>> <</if>> <<else>> She receives extra ¤ for having a sleek, girlish figure. <</if>> <</if>> <<if ($slaves[$i].boobsImplant == 0) && ($slaves[$i].buttImplant == 0) && ($slaves[$i].waist < 2) && ($slaves[$i].lipsImplant == 0) && ($slaves[$i].bellyImplant == 0) && ($slaves[$i].faceImplant < 2)>> <<if $arcologies[0].FSBodyPurist != "unset">> With her all-natural, implant free appearance, she's very profitable. <<elseif $arcologies[0].FSTransformationFetishist >= 20>> Customers are disappointed by her all-natural, implant free appearance. <<else>> Some discerning customers appreciate her all-natural, implant free appearance. <</if>> <<else>> <<if $arcologies[0].FSTransformationFetishist != "unset">> The public is willing to pay more for her augmented body. <</if>> <</if>> <<if ($slaves[$i].clitPiercing > 2) && ($slaves[$i].devotion >= -20)>> Almost everyone loves her enthusiasm for sex encouraged by her smart piercing. <<elseif ($slaves[$i].clitPiercing > 2)>> Almost everyone appreciates her reduced reluctance towards sex encouraged by her smart piercing. <</if>> <<if $slaves[$i].teeth is "removable">> The extra attention she receives from her ability to give toothless sucks is balanced out by the customers who are disgusted by it. <<elseif $slaves[$i].teeth is "pointy">> The extra attention she receives from her terrifying mouth of sharp teeth is balanced out by the customers who are scared off by them. <</if>> <<if $slaves[$i].dick != 0>> <<if $arcologies[0].FSGenderRadicalist is "unset">> She sees fewer customers because many prefer whores without cocks. <<elseif $arcologies[0].FSGenderRadicalist < 50>> Her cock entices some customers and disappoints others; it has little effect on her popularity. <<else>> The overwhelming majority of potential customers consider her cock an attraction. <</if>> <</if>> <<if $slaves[$i].muscles > 95>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> In the new culture of $arcologies[0].name her muscles make her a very profitable whore. <<else>> Her muscles scare off some customers, but some pay well to enjoy a muscular whore. <</if>> <</if>> <<if $slaves[$i].amp == 1>> Many prefer to fuck a whore with limbs, but some greatly enjoy buying the use of a helpless amputee. <</if>> <<if $slaves[$i].lactation > 0>> She appeals to customers who like lactation play, or just want a whore they can drink milk from. <</if>> <<if $slaves[$i].preg > 10 || $fakeBellies.contains($bellyAccessory) || $slaves[$i].bellyImplant >= 2000>> <<if $arcologies[0].FSRepopulationFocus != "unset">> In the new culture of $arcologies[0].name, her pregnancy makes her a profitable whore. <<elseif $arcologies[0].FSRestart != "unset">> In the new culture of $arcologies[0].name, her pregnancy is a massive turn off to potential customers. <<elseif $arcologies[0].FSGenderFundamentalist != "unset">> The new respect for traditional gender roles has given many citizens a taste for pregnant whores. <<else>> Many customers avoid visibly pregnant whores. <</if>> <</if>> <<if ($seeRace == 1)>> <<if ($slaves[$i].race is "surgically altered to look white") || ($slaves[$i].race is "white")>> Many customers prefer white girls like $slaves[$i].slaveName. <</if>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if $slaves[$i].race != $arcologies[0].FSSupremacistRace>> Some citizens fetishize whores of the servile races. <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if $slaves[$i].race is $arcologies[0].FSSubjugationistRace>> Many prefer to use and abuse whores of the proper slave race. <</if>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if ($slaves[$i].nationality is "Japanese") || ($slaves[$i].nationality is "Edo Revivalist")>> As a proper Japanese girl, she is considered extremely desirable. <</if>> <<elseif $arcologies[0].FSChineseRevivalist != "unset">> <<if ($slaves[$i].nationality is "Chinese") || ($slaves[$i].nationality is "Chinese Revivalist")>> As a proper Chinese girl, she is considered extremely desirable. <</if>> <</if>> <<if $slaves[$i].intelligence > 0>> Her intelligence gives her an advantage at the business of selling her body. <<elseif $slaves[$i].intelligence < 0>> Her stupidity gives her a handicap at the business of selling her body. <</if>> <<if $slaves[$i].prestige > 0>> She attracts more attention because it's prestigious to fuck her. <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength > 60)>> <<if ($slaves[$i].fetish is "submissive")>> She receives extra ¤ for her eagerness to submit to customers. <<elseif ($slaves[$i].fetish is "cumslut")>> She receives extra ¤ for her eagerness to give oral. <<elseif ($slaves[$i].fetish is "humiliation")>> She receives extra ¤ for her eagerness to be humiliated by customers. <<elseif ($slaves[$i].fetish is "buttslut")>> She receives extra ¤ for her eagerness to be buttfucked. <<elseif ($slaves[$i].fetish is "dom")>> She receives some extra ¤ for her enthusiasm dominating other slaves in group sex. <<elseif ($slaves[$i].fetish is "masochist")>> She receives extra ¤ for her obvious enjoyment of pain. <<elseif ($slaves[$i].fetish is "sadist")>> She receives some extra ¤ for her willingness to abuse other slaves. <<elseif ($slaves[$i].fetish is "mindbroken")>> She receives less ¤ because she just lies there, mind broken. <<elseif ($slaves[$i].fetish is "pregnancy") && ($slaves[$i].vagina > 0) && ($slaves[$i].vaginalAccessory != "chastity belt")>> As an impregnation fetishist she's very enthusiastic about vaginal sex. <</if>> <</if>> <</if>> <<if ($slaves[$i].attrKnown == 1)>> <<if ($slaves[$i].energy > 95)>> As a nymphomaniac she enjoys every transaction and is wildly successful. <<elseif ($slaves[$i].energy > 80)>> With her powerful sex drive she rarely has to fake an orgasm. <<elseif ($slaves[$i].energy > 60)>> With her good sex drive she often orgasms with customers. <<elseif ($slaves[$i].energy > 40)>> With her average sex drive she occasionally orgasms with customers. <<elseif ($slaves[$i].energy > 20)>> With her poor sex drive she almost never orgasms with customers. <<else>> Since she's frigid, she rarely experiences authentic arousal at work. <</if>> <<if ($slaves[$i].attrXY <= 15)>> <<if ($slaves[$i].attrXX <= 15)>> Her general disgust with sex makes her a very poor whore. <<elseif ($slaves[$i].attrXX <= 85)>> Her sexual disgust with men makes her a poor whore. <<elseif ($slaves[$i].attrXX <= 95)>> Her sexual disgust with men hinders her, though she is more enthusiastic with female customers. <<else>> Her sexual disgust with men hinders her, though she makes up for it with female customers. <</if>> <<elseif ($slaves[$i].attrXY <= 85)>> <<if ($slaves[$i].attrXX <= 15)>> Her sexual disgust with men makes her a poor whore. <<elseif ($slaves[$i].attrXX <= 85)>> Her indifference to men and women makes her a poor whore. <<elseif ($slaves[$i].attrXX <= 95)>> Her sexual indifference to men hinders her, though she is more enthusiastic with female customers. <<else>> Her sexual indifference to men hinders her, though she makes up for it with female customers. <</if>> <<elseif ($slaves[$i].attrXY <= 95)>> <<if ($slaves[$i].attrXX <= 15)>> Her sexual disgust with women hinders her, though she makes up for it with male customers. <<elseif ($slaves[$i].attrXX <= 85)>> Her sexual indifference to women hinders her, though she makes up for it with male customers. <<elseif ($slaves[$i].attrXX <= 95)>> She has the advantage of sexual sincerity with both men and women. <<else>> She's a good whore with male customers, and truly enthusiastic with women. <</if>> <<else>> <<if ($slaves[$i].attrXX <= 15)>> Her sexual disgust with women hinders her, though she is enthusiastic with male customers. <<elseif ($slaves[$i].attrXX <= 85)>> Her sexual indifference to women hinders her, though she is enthusiastic with male customers. <<elseif ($slaves[$i].attrXX <= 95)>> She's a good whore with female customers, and truly enthusiastic with men. <<else>> She's openly lustful towards all customers, men and women. <</if>> <</if>> <</if>> <<if ($slaves[$i].behavioralQuirk is "confident")>> She's better at her job because she's such a confident whore. <<elseif ($slaves[$i].behavioralQuirk is "cutting")>> She gets a lot of attention for her ability to joke at a customer's expense. <<elseif ($slaves[$i].behavioralQuirk is "funny")>> She brings unintentional comic relief to the hard work of prostitution. <<elseif ($slaves[$i].behavioralQuirk is "adores women")>> She's a favorite among female customers, who she greets with real enthusiasm. <<elseif ($slaves[$i].behavioralQuirk is "adores men")>> She's a favorite among male customers, who she greets with frank and open lust. <<elseif ($slaves[$i].behavioralQuirk is "fitness")>> She's eager to please customers because she finds validation in their willingness to pay for sex with her. <<elseif ($slaves[$i].behavioralQuirk is "insecure")>> She thinks of herself as really beautiful, despite the occasional harshness of sex work. <<elseif ($slaves[$i].behavioralQuirk is "sinful")>> She identifies with prostitutes from the holy books, and scandalizes customers with her explicit scriptural references. <<elseif ($slaves[$i].behavioralQuirk is "advocate")>> She reassures uncomfortable customers that prostitution isn't bad for her at all. <</if>> <<if ($slaves[$i].sexualQuirk is "gagfuck queen")>> She's a favorite among customers who like to throatfuck a retching whore. <<elseif ($slaves[$i].sexualQuirk is "painal queen")>> She's a favorite among customers who like to assrape a struggling whore. <<elseif ($slaves[$i].sexualQuirk is "strugglefuck queen")>> She's a favorite among customers who like to wrestle with a struggling whore. <<elseif ($slaves[$i].sexualQuirk is "tease")>> Despite being a whore, she somehow retains the ability to blush enticingly at nudity. <<elseif ($slaves[$i].sexualQuirk is "romantic")>> Despite being a whore, she somehow retains the ability to make her customers feel special. <<elseif ($slaves[$i].sexualQuirk is "perverted")>> She enjoys unexpected, perverted requests from customers. <<elseif ($slaves[$i].sexualQuirk is "unflinching")>> She's impossible to disgust or surprise, pleasing customers with odd tastes. <<elseif ($slaves[$i].sexualQuirk is "size queen")>> She's very eager to spend quality time with big cocks, making her a favorite among the well-endowed. <<elseif ($slaves[$i].sexualQuirk is "caring")>> She's a relaxing whore to patronize, doing everything she can to make her customers comfortable. <</if>> <<switch $slaves[$i].behavioralFlaw>> <<case "arrogant">> She receives less ¤ because she treats clients like they are beneath her dignity. <<case "bitchy")>> She receives less ¤ because she makes cutting remarks to clients. <<case "odd")>> She receives less ¤ because clients are annoyed by her odd behavior. <<case "hates men")>> She receives less ¤ because she can't conceal her distaste for the company of men. <<case "hates women")>> She receives less ¤ because she can't conceal her distaste for the company of women. <<case "devout")>> She receives less ¤ because people are annoyed by her habit of praying for forgiveness during sex. <<case "liberated")>> She receives less ¤ because people are annoyed by her obvious belief that being forced to serve them is wrong. <</switch>> <<switch $slaves[$i].sexualFlaw>> <<case "hates oral">> She receives less ¤ because she tries to avoid sucking cock. <<case "hates anal")>> She receives less ¤ because she tries to avoid taking it up the ass. <<case "hates penetration")>> She receives less ¤ because she tries to avoid getting fucked. <<case "repressed")>> She receives less ¤ because customers who don't feel like forcing her sometimes have to cajole her past her repressed sexuality. <<case "idealistic")>> She receives less ¤ because customers who don't feel like forcing her sometimes have to convince her to have sex with them. <<case "apathetic")>> She receives less ¤ because she often just lies there taking dick. <<case "crude")>> She receives less ¤ because she isn't exactly the most elegant sexual partner. <<case "judgemental")>> She receives less ¤ because she openly disdains unattractive customers. <<case "shamefast")>> She receives less ¤ because she sometimes hesitates to take her clothes off and get to work. <<case "cum addict">> Her abject begging for cum annoys customers who aren't looking for oral, but this is more than outweighed by how much it delights those who are. <<case "anal addict">> Her abject begging for buttsex annoys customers who aren't interested in fucking her ass, but this is more than outweighed by how much it delights those who are. <<case "attention whore">> She loses customers by her constant attention seeking. <<case "breast growth">> Her excessive obsession with her own breasts, to the detriment of most sexual intercourse, loses customers. <<case "abusive">> She loses customers whenever her sexual abusiveness becomes apparent. <<case "malicious">> She loses customers whenever her sexual maliciousness becomes apparent. <<case "self hating">> She loses customers during the crying jags brought on by her self hatred. <<case "neglectful">> The occasional customer who likes a whore to climax authentically and can tell the difference is disappointed by her neglect of her own pleasure, but they're rare. Most are thrilled by her. <<case "breeder">> Her obsession with pregnancy loses customers who aren't interested in that. <</switch>> <</if>> /* CLOSES EWM */ <<if ($slaves[$i].sexualFlaw is "none")>> <<if $slaves[$i].devotion < 10>> <<if random(1,100) > 70>> <<if ($slaves[$i].vaginalSkill <= 30) && ($slaves[$i].vagina != -1) && ($slaves[$i].vaginalAccessory != "chastity belt")>> After being fucked too hard too often, she now @@color:red;dislikes being penetrated.@@ <<set $slaves[$i].sexualFlaw to "hates penetration">> <<elseif ($slaves[$i].analSkill <= 30)>> After so much anal pain, she now @@color:red;dislikes being buttfucked.@@ <<set $slaves[$i].sexualFlaw to "hates anal">> <<elseif ($slaves[$i].oralSkill <= 30)>> After one too many facials, she now @@color:red;dislikes sucking cock.@@ <<set $slaves[$i].sexualFlaw to "hates oral">> <</if>> <</if>> <</if>> <</if>> In total, you were paid @@color:yellowgreen;¤<<print Math.trunc($beauty*$FResult)>>@@ for the use of $slaves[$i].slaveName's body this week. <<set $cash += Math.trunc(($beauty*$FResult)*(1+(0.002*$slaves[$i].whoreSkill)))>> /* FACILITY DECORATION IMPACTS */ <<if $slaves[$i].assignment is "work in the brothel">> <<if $brothelDecoration != "standard">> <<set $seed to 0.0005*$FSSingleSlaveRep*$beauty>> <<switch $brothelDecoration>> <<case "Roman Revivalist">> <<set $arcologies[0].FSRomanRevivalist += $seed>> <<case "Egyptian Revivalist">> <<set $arcologies[0].FSEgyptianRevivalist += $seed>> <<case "Edo Revivalist">> <<set $arcologies[0].FSEdoRevivalist += $seed>> <<case "Arabian Revivalist">> <<set $arcologies[0].FSArabianRevivalist += $seed>> <<case "Chinese Revivalist">> <<set $arcologies[0].FSChineseRevivalist += $seed>> <<case "Chattel Religionist">> <<set $arcologies[0].FSChattelReligionist += $seed>> <<case "Degradationist">> <<set $arcologies[0].FSDegradationist += $seed>> <<case "Asset Expansionist">> <<set $arcologies[0].FSAssetExpansionist += $seed>> <<case "Transformation Fetishist">> <<set $arcologies[0].FSTransformationFetishist += $seed>> <<case "Repopulation Focus">> <<set $arcologies[0].FSRepopulationFocus += $seed>> <<case "Eugenics">> <<set $arcologies[0].FSRestart += $seed>> <<case "Gender Radicalist">> <<set $arcologies[0].FSGenderRadicalist += $seed>> <<case "Gender Fundamentalist">> <<set $arcologies[0].FSGenderFundamentalist += $seed>> <<case "Physical Idealist">> <<set $arcologies[0].FSPhysicalIdealist += $seed>> <<case "Supremacist">> <<set $arcologies[0].FSSupremacist += $seed>> <<case "Subjugationist">> <<set $arcologies[0].FSSubjugationist += $seed>> <<case "Paternalist">> <<set $arcologies[0].FSPaternalist += $seed>> <<case "Pastoralist">> <<set $arcologies[0].FSPastoralist += $seed>> <<case "Maturity Preferentialist">> <<set $arcologies[0].FSMaturityPreferentialist += $seed>> <<case "Youth Preferentialist">> <<set $arcologies[0].FSYouthPreferentialist += $seed>> <<case "Body Purist">> <<set $arcologies[0].FSBodyPurist += $seed>> <<case "Slimness Enthusiast">> <<set $arcologies[0].FSSlimnessEnthusiast += $seed>> <</switch>> <</if>> <</if>> /* SEX ACT COUNTS */ <<set $oralUseWeight to 5>> <<set $oralUseWeight += ($slaves[$i].oralSkill/30)+$slaves[$i].lips>> <<if $OralEncouragement == 1>> <<set $oralUseWeight += 0.2*$oralUseWeight>> <</if>> <<if $OralDiscouragement == 1>> <<set $oralUseWeight -= 0.2*$oralUseWeight>> <</if>> <<set $analUseWeight to 0>> <<if canDoAnal($slaves[$i])>> <<set $analUseWeight += 5+($slaves[$i].analSkill/30)-$slaves[$i].anus>> <</if>> <<if $AnalEncouragement == 1>> <<set $analUseWeight += 0.2*$analUseWeight>> <</if>> <<if $AnalDiscouragement == 1>> <<set $analUseWeight -= 0.2*$analUseWeight>> <</if>> <<set $vaginalUseWeight to 0>> <<if ($slaves[$i].vagina != -1)>> <<if canDoVaginal($slaves[$i])>> <<set $vaginalUseWeight += 5+($slaves[$i].vaginalSkill/30)-$slaves[$i].vagina>> <</if>> <</if>> <<if $VaginalEncouragement == 1>> <<set $vaginalUseWeight += 0.2*$vaginalUseWeight>> <</if>> <<if $VaginalDiscouragement == 1>> <<set $vaginalUseWeight -= 0.2*$vaginalUseWeight>> <</if>> <<set $mammaryUseWeight to 1>> <<if ($slaves[$i].boobs > 3000)>> <<set $mammaryUseWeight += 3>> <<elseif ($slaves[$i].boobs > 800)>> <<set $mammaryUseWeight += $slaves[$i].boobs/1000>> <</if>> <<set $penetrativeUseWeight to 1>> <<if ($slaves[$i].clit > 1)>> <<set $penetrativeUseWeight += ($slaves[$i].vaginalSkill/30)+$slaves[$i].clit>> <</if>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].balls > 0) || canAchieveErection($slaves[$i])>> <<if ($slaves[$i].hormones <= 0)>> <<if ($slaves[$i].dickAccessory != "chastity belt")>> <<set $penetrativeUseWeight += ($slaves[$i].dick+$slaves[$i].balls)/4>> <<if ($slaves[$i].drugs == "hyper testicle enhancement")>> <<set $penetrativeUseWeight += ($slaves[$i].balls)*4>> <</if>> <</if>> <</if>> <</if>> <</if>> <<set $seed to $oralUseWeight+$analUseWeight+$vaginalUseWeight+$mammaryUseWeight+$penetrativeUseWeight>> <<set $oralUseWeight to $oralUseWeight/$seed>> <<set $analUseWeight to $analUseWeight/$seed>> <<set $vaginalUseWeight to $vaginalUseWeight/$seed>> <<set $mammaryUseWeight to $mammaryUseWeight/$seed>> <<set $penetrativeUseWeight to $penetrativeUseWeight/$seed>> <<if ndef $slaves[$i].publicCount>> <<set $slaves[$i].publicCount to 0>> <</if ndef>> <<set $slaves[$i].oralCount += Math.trunc($beauty*$oralUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$oralUseWeight)>> <<set $oralTotal += Math.trunc($beauty*$oralUseWeight)>> <<set $slaves[$i].analCount += Math.trunc($beauty*$analUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$analUseWeight)>> <<set $analTotal += Math.trunc($beauty*$analUseWeight)>> <<set $slaves[$i].vaginalCount += Math.trunc($beauty*$vaginalUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$vaginalUseWeight)>> <<set $vaginalTotal += Math.trunc($beauty*$vaginalUseWeight)>> <<set $slaves[$i].mammaryCount += Math.trunc($beauty*$mammaryUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$mammaryUseWeight)>> <<set $mammaryTotal += Math.trunc($beauty*$mammaryUseWeight)>> <<set $slaves[$i].penetrativeCount += Math.trunc($beauty*$penetrativeUseWeight)>> <<set $slaves[$i].publicCount += Math.trunc($beauty*$penetrativeUseWeight)>> <<set $penetrativeTotal += Math.trunc($beauty*$penetrativeUseWeight)>> <<set _cervixPump = Math.trunc($beauty*$vaginalUseWeight)>> /* VIGNETTES */ <<if ($showVignettes == 1)>> <<set $vignettes to []>> <<set $seed to random(1,10)>> <<if ($seed == 1)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she witnessed a domestic dispute over another whore,", type: "rep", effect: 0})>> <<elseif ($seed is 2)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she saw a free whore finally sink into slavery,", type: "rep", effect: 0})>> <<elseif ($seed is 3)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that construction forced her to move from her usual spot,", type: "rep", effect: 0})>> <<elseif ($seed is 4)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that a customer used a new and improved sex toy on her,", type: "rep", effect: 0})>> <<elseif ($seed is 5)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was an appointment with an unusually perverted family,", type: "rep", effect: 0})>> <<elseif ($seed is 6)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she saw a man sell his wife into slavery,", type: "rep", effect: 0})>> <<elseif ($seed is 7)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she saw a woman sell her daughters into slavery,", type: "rep", effect: 0})>> <<elseif ($seed is 8)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she watched a citizen descend into aphrodisiac addiction,", type: "rep", effect: 0})>> <<elseif ($seed is 9)>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she watched a citizen develop the beginnings of sex addiction,", type: "rep", effect: 0})>> <<else>> <<set $vignettes.push({text: "the most interesting thing that happened to her at work was that she witnessed a citizen administering a brutal public punishment to one of his slaves,", type: "rep", effect: 0})>> <</if>> <<set $seed to random(1,5)>> <<if ($seed == 1)>> <<set $vignettes.push({text: "a citizen punished one of his slaves by tying her up in public near where $slaves[$i].slaveName was working. This cut into her business that day,", type: "cash", effect: -1})>> <<elseif ($seed is 2)>> <<set $vignettes.push({text: "a citizen shared one of his slaves with the public near where $slaves[$i].slaveName was working. This cut into her business that day,", type: "cash", effect: -1})>> <<elseif ($seed is 3)>> <<set $vignettes.push({text: "a private brothel offered a promotion near where $slaves[$i].slaveName was working. This cut into her business that day,", type: "cash", effect: -1})>> <<elseif ($seed is 4)>> <<set $vignettes.push({text: "some free sluts threw an aphrodisiac street party near where $slaves[$i].slaveName was working. This cut into her business that day,", type: "cash", effect: -1})>> <<else>> <<set $vignettes.push({text: "a contract breaker was punished with the pillory near where $slaves[$i].slaveName was working. This cut into her business that day,", type: "cash", effect: -1})>> <</if>> <<set $seed to random(1,5)>> <<if ($seed == 1)>> <<set $vignettes.push({text: "one of her regular customers got a divorce and came to her for repeated consolation,", type: "cash", effect: 1})>> <<elseif ($seed is 2)>> <<set $vignettes.push({text: "a brothel near where $slaves[$i].slaveName usually works had business trouble,", type: "cash", effect: 1})>> <<elseif ($seed is 3)>> <<set $vignettes.push({text: "a competing whore that looks like her fell ill, driving a customer to look for an alternative,", type: "cash", effect: 1})>> <<elseif ($seed is 4)>> <<set $vignettes.push({text: "a street whore that works near her was badly beaten by an abusive customer and had to take time off. The reduced competition got her more business,", type: "cash", effect: 1})>> <<else>> <<set $vignettes.push({text: "an influx of tourists came into her part of the arcology, earning her more business for a day,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetish is "submissive")>> <<set $vignettes.push({text: "she deeply impressed a customer with her sincere submission to him,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she lost a customer who secretly wanted her to show a little initiative,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].fetish is "cumslut")>> <<set $vignettes.push({text: "she deeply impressed a customer with her hunger for his cum,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disgusted a customer who didn't know how much cum fetishes revolted him until she displayed hers,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "humiliation")>> <<set $vignettes.push({text: "she earned repeat business from a customer who didn't know how much he liked public sex until she got him to try it,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she disgusted a customer who didn't know how much exhibitionism turned him off until he tried public sex with her,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "buttslut")>> <<set $vignettes.push({text: "she earned repeat business from a customer who didn't know how much he liked fucking buttholes until she got him to try fucking hers,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she disgusted a customer who didn't know how much buttsex turned him off until she got him to try fucking her ass,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "boobs")>> <<set $vignettes.push({text: "she deeply impressed a customer by orgasming to nothing but the feeling of her sucking her nipples,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disappointed a female customer who didn't know how uninterested she was in nipple play before trying it,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "sadist")>> <<set $vignettes.push({text: "she deeply impressed a customer who brought his own slave to her for abuse with her sadism,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a customer brought her his own slave to abuse, but the sight proved to be a turn off for him,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "masochist")>> <<set $vignettes.push({text: "she helped a customer discover a new fetish by orgasming when he accidentally hurt her,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she disturbed a customer who accidentally hurt her by orgasming,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "dom")>> <<set $vignettes.push({text: "she made a female customer her bitch: fortunately, the customer wanted to be her bitch and came back for more", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she accidentally overwhelmed a customer with her sexual dominance,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].fetish is "pregnancy")>> <<set $vignettes.push({text: "she earned repeat business from a customer who didn't know how much he liked pregnancy play until she begged him to knock her up,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she disgusted a customer who didn't know how much pregnancy play turned him off until she begged him to knock her up,", type: "rep", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].behavioralFlaw is "arrogant")>> <<set $vignettes.push({text: "she manages to give a citizen the impression she thinks herself better than him,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "bitchy")>> <<set $vignettes.push({text: "she makes an emasculating remark to a customer right after he fucks her,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "odd")>> <<set $vignettes.push({text: "she infuriates a potential customer with her nervous tics,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "hates men")>> <<set $vignettes.push({text: "her disgust towards men surfaces at a bad time, losing her a male customer,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "hates women")>> <<set $vignettes.push({text: "her disgust towards women surfaces at a bad time, losing her a female customer,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "gluttonous")>> <<set $vignettes.push({text: "she accidentally lingers at a meal, missing a customer appointment,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "anorexic")>> <<set $vignettes.push({text: "her bulimia surfaces at an extremely inopportune moment, turning a customer off,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "devout")>> <<set $vignettes.push({text: "a customer catches her praying to herself as he inserts himself into her, turning him off,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].behavioralFlaw is "liberated")>> <<set $vignettes.push({text: "she treats a rude potential customer impolitely, because she thinks that's fair,", type: "cash", effect: -1})>> <</if>> <<if ($slaves[$i].sexualFlaw is "hates oral")>> <<set $vignettes.push({text: "she vomits while trying to deepthroat a customer,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "hates anal")>> <<set $vignettes.push({text: "she cries while taking anal from a customer who isn't into painal,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "hates penetration")>> <<set $vignettes.push({text: "she cries while taking a pounding from a customer who likes his sex consensual,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "shamefast")>> <<set $vignettes.push({text: "she cries while a potential customer looks her over,", type: "cash", effect: -1})>> <<set $vignettes.push({text: "she disrobed so slowly that a potential customer gave up on her,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "idealistic")>> <<set $vignettes.push({text: "she cries when explaining the price of her body to a potential customer,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "repressed")>> <<set $vignettes.push({text: "she misunderstands a potential customer's lewd requests, turning her off,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].sexualFlaw is "apathetic")>> <<set $vignettes.push({text: "she fails to notice when a customer achieves orgasm,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].behavioralQuirk is "confident")>> <<set $vignettes.push({text: "she confidently presses forward with a wavering potential customer, and makes the sale,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "cutting")>> <<set $vignettes.push({text: "she makes such a gloriously cutting remark to a male customer that a female bystander comes to her for repeat business,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "funny")>> <<set $vignettes.push({text: "she makes a group of citizens laugh so hard, one of them comes to her for repeat business,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "fitness")>> <<set $vignettes.push({text: "she continues a marathon gangbang past the point where most would have passed out,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "adores women")>> <<set $vignettes.push({text: "she strikes up a personal friendship with a regular female customer,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "adores men")>> <<set $vignettes.push({text: "she strikes up a personal friendship with a regular male customer,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "insecure")>> <<set $vignettes.push({text: "she successfully convinces a regular customer that she's reliant on him emotionally,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "sinful")>> <<set $vignettes.push({text: "she helps a customer get past her religious hangups through sex with her friendly neighborhood whore,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].behavioralQuirk is "advocate")>> <<set $vignettes.push({text: "she successfully convinces a wavering potential customer that there's nothing wrong with banging a whore,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].sexualQuirk is "gagfuck queen")>> <<set $vignettes.push({text: "she earns repeat business from a citizen who's obsessed with gagfucks,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "painal queen")>> <<set $vignettes.push({text: "she earns repeat business from a citizen who's obsessed with painal,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "strugglefuck queen")>> <<set $vignettes.push({text: "she earns repeat business from a citizen who's obsessed with strugglefucking,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "tease")>> <<set $vignettes.push({text: "she convinces a citizen who's never had sex with a prostitute to patronize her with some truly inspired flirting,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "a few partiers were so impressed with her provocative teasing that they repeated her wit to friends,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "romantic")>> <<set $vignettes.push({text: "a citizen becomes infatuated with her, since he's convinced she's infatuated with him,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "perverted")>> <<set $vignettes.push({text: "she earns some momentary notoriety by engaging in a previously unheard-of sex act,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].sexualQuirk is "caring")>> <<set $vignettes.push({text: "she serves as an impromptu sounding board for a customer having marital trouble,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a customer was so enamored with her kind and caring manner than he proposed to her and offered to take her away, and when she refused, he left a sizable tip,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].pitKills > 0)>> <<set $vignettes.push({text: "she earns repeat business from a customer obsessed with the fact that she's a killer,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].oralCount > 500)>> <<set $vignettes.push({text: "a customer into degradation becomes obsessed with driving her oral mileage as high as possible,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].analCount > 500) && ($slaves[$i].anus > 0)>> <<set $vignettes.push({text: "a customer into degradation becomes obsessed with driving her anal mileage as high as possible,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].vaginalCount > 500) && ($slaves[$i].vagina > 0)>> <<set $vignettes.push({text: "a customer into degradation becomes obsessed with driving her pussy mileage as high as possible,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].devotion > 95)>> <<set $vignettes.push({text: "she really pushed herself to please a customer with tastes that disgusted her,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].devotion < -50)>> <<set $vignettes.push({text: "her fury at being sold for sex turned a customer off before he could fuck her,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].devotion <= 20)>> <<set $vignettes.push({text: "she treasured a love token given to her by a customer she fooled into thinking her affection was real,", type: "devotion", effect: -1})>> <</if>> <<if ($slaves[$i].trust > 95)>> <<set $vignettes.push({text: "she really pushed herself to accept a customer with tastes that frightened her,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].trust < -50)>> <<set $vignettes.push({text: "her tearful terror at being forced to sell herself for sex turned a customer off before he could fuck her,", type: "cash", effect: -1})>> <</if>> <<if $slaves[$i].livingRules is "luxurious">> <<set $vignettes.push({text: "she got a truly perfect night's sleep, which put her in the right frame of mind for the whole day,", type: "rep", effect: 1})>> <<elseif $slaves[$i].livingRules is "spare">> <<set $vignettes.push({text: "she got a poor night's sleep in the noisy dormitory, which took the shine off her efforts for the whole day", type: "rep", effect: -1})>> <</if>> <<if $slaves[$i].releaseRules is "permissive">> <<set $vignettes.push({text: "a customer asked if she masturbates, and then spent an hour jerking off as she described how,", type: "cash", effect: 1})>> <<elseif $slaves[$i].releaseRules is "restrictive">> <<set $vignettes.push({text: "a customer asked if she masturbates, and seemed disappointed when she answered honestly,", type: "cash", effect: 0})>> <<else>> <<set $vignettes.push({text: "a closeted female customer asked about her sex life with other slaves, and was enthralled by her answer,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].health > 80)>> <<set $vignettes.push({text: "a potential customer in the medical field was fascinated by her health, and spent almost as much time examining her as he did having sex with her,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].weight > 95)>> <<set $vignettes.push({text: "a potential customer told her that he's looking forward to patronizing her once she loses a lot of weight.", type: "cash", effect: 0})>> <<elseif ($slaves[$i].weight > 30)>> <<set $vignettes.push({text: "a potential customer told her that he's looking forward to patronizing her once she loses some weight.", type: "cash", effect: 0})>> <<elseif ($slaves[$i].weight <= -30)>> <<set $vignettes.push({text: "a potential customer told her that he's looking forward to patronizing her once she gains some weight.", type: "cash", effect: 0})>> <<elseif ($slaves[$i].weight < -95)>> <<set $vignettes.push({text: "a potential customer told her that he's looking forward to patronizing her once she gains a lot of weight.", type: "cash", effect: 0})>> <</if>> <<if ($slaves[$i].drugs is "testicle enhancement")>> <<set $vignettes.push({text: "she took it in public, with her copious ejaculation getting her another customer right away,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].drugs is "hyper testicle enhancement")>> <<set $vignettes.push({text: "she bloated a female customer's belly with her copious ejaculate, leading her to say she is looking forward to come back and get filled again,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].aphrodisiacs > 1)>> <<set $vignettes.push({text: "her piteous begging for sex due to her extreme aphrodisiac dosage turned a potential customer off,", type: "cash", effect: -1})>> <</if>> <<if ($slaves[$i].addict > 50)>> <<set $vignettes.push({text: "she zoned out badly due to a low point between aphrodisiac doses, disappointing a customer,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].preg > 20)>> <<set $vignettes.push({text: "she earned repeat business from a customer who likes to do nothing more than cuddle with her swollen belly,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].inflation > 1)>> <<set $vignettes.push({text: "she earned repeat business from a customer who loved the way her belly moved as he fucked her,", type: "cash", effect: 1})>> <<if ($slaves[$i].inflation > 1)>> <<set $vignettes.push({text: "she disgusted a customer when his forceful fucking caused her to release her contained $slaves[$i].inflationType all over him,", type: "rep", effect: -2})>> <</if>> <</if>> <<if ($slaves[$i].hormones > 0) && !canAchieveErection($slaves[$i])>> <<if ($slaves[$i].dick > 0)>> <<set $vignettes.push({text: "she disappointed a customer who was sure she could get $slaves[$i].slaveName's cock erect,", type: "rep", effect: -1})>> <<set $vignettes.push({text: "she earned repeat business from a customer who seems unthreatened by her soft dick,", type: "cash", effect: 1})>> <</if>> <<elseif ($slaves[$i].hormones < 0)>> <<if ($slaves[$i].dick == 0)>> <<set $vignettes.push({text: "she earned repeat business from a female customer who adores the masculinity produced by $slaves[$i].slaveName's hormone regime,", type: "cash", effect: 1})>> <</if>> <</if>> <<if ($slaves[$i].hormones <= 0)>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].balls > 0)>> <<set $vignettes.push({text: "she earned repeat business from a customer who likes to see his wife get fucked by a dickgirl whore,", type: "cash", effect: 1})>> <<if ($slaves[$i].dick > 3)>> <<set $vignettes.push({text: "she earned repeat business from a female customer who likes big stiff cocks, and cannot lie,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she irritated a male customer who brought his girlfriend with him by accidentally showing him up,", type: "rep", effect: -1})>> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[$i].balls > 3)>> <<set $vignettes.push({text: "she loses a customer who wants her to look like a natural girl, since her balls are too big to be hidden,", type: "cash", effect: -1})>> <</if>> <<if ($slaves[$i].vagina == 1)>> <<set $vignettes.push({text: "she got extra business from a customer who really likes her, and wants to fuck her pussy as much as possible while it's still tight,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].vagina > 2)>> <<set $vignettes.push({text: "she disappointed a customer whose cock is just too small for her big cunt,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].anus == 1)>> <<set $vignettes.push({text: "she got extra business from a customer who really likes her butthole, and wants to fuck it as much as possible while it's still tight,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].anus > 2)>> <<set $vignettes.push({text: "she disappointed a customer whose cock is just too small for her loose butthole,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].face > 1)>> <<set $vignettes.push({text: "she lost a potential customer who was so intimidated by her great beauty that he decided to find a homelier whore,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].face < 0)>> <<set $vignettes.push({text: "she earned repeat business from a customer who lacks self-confidence, and is more comfortable with homely whores,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].visualAge > 40)>> <<set $vignettes.push({text: "she earned repeat business from a customer with serious mommy issues,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].lips > 70)>> <<set $vignettes.push({text: "she earned repeat business from a customer who likes to play with her lips nonsexually (don't ask),", type: "cash", effect: 1})>> <</if>> <<if (canTalk($slaves[$i]) == false)>> <<set $vignettes.push({text: "she impressed a customer who didn't know how relaxing a girl who can't talk could be,", type: "rep", effect: 1})>> <</if>> <<if ($slaves[$i].muscles > 95)>> <<set $vignettes.push({text: "she impressed a customer who was so eager to share workout plans with her that he almost forgot to have sex with her,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "she gained repeat business from a female customer who likes a girl who can bench-press her before and after they fuck,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she disappointed a customer by accidentally revealing that she's considerably stronger than him,", type: "rep", effect: -1})>> <</if>> <<if ($slaves[$i].lactation > 0)>> <<set $vignettes.push({text: "she was well compensated for providing fresh milk for the coffee served at a customer's business meeting", type: "cash", effect: 1})>> <<set $vignettes.push({text: "she served as a conveniently lactating whore near a trendy arcology coffeehouse,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].amp == 1)>> <<set $vignettes.push({text: "she disappointed a customer who thought he'd enjoy fucking an amputee, but found it revolting,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].amp == -1)>> <<set $vignettes.push({text: "a strange customer was excited by the sight of her prosthetic limbs,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a customer was disgusted at the thought of her basic prosthetic limbs,", type: "rep", effect: -1})>> <<set $vignettes.push({text: "a customer was put off by her prosthetic limbs,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].amp == -2)>> <<set $vignettes.push({text: "a customer was excited by her vibrating fingertips,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a customer was indifferent to the thought of having sex with a slave with artificial limbs,", type: "cash", effect: 0})>> <<set $vignettes.push({text: "a customer was put off by her crude artificial limbs,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].amp == -3)>> <<set $vignettes.push({text: "a strange customer was excited by the sight of her artificial limbs,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a customer was indifferent to the thought of having sex with a slave with artificial limbs,", type: "cash", effect: 0})>> <<set $vignettes.push({text: "a customer was put off by the sight of her prosthetic limbs,", type: "rep", effect: -1})>> <<elseif ($slaves[$i].amp == -4)>> <<set $vignettes.push({text: "a customer was excited by the thought of having sex with a slave with p-limbs, but was scared off by her combat p-limbs,", type: "cash", effect: -1})>> <<set $vignettes.push({text: "a customer was indifferent to the thought of having sex with a slave with artificial limbs,", type: "cash", effect: 0})>> <<set $vignettes.push({text: "a customer was greatly intimidated by her combat p-limbs,", type: "cash", effect: -1})>> <<elseif ($slaves[$i].amp == -5)>> <<set $vignettes.push({text: "a customer was fascinated by her cybernetic limbs, and spent almost as much time examining them as he did having sex with her,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "a customer was excited by the thought of having sex with a cybernetically enhanced slave,", type: "cash", effect: 1})>> <<set $vignettes.push({text: "a customer was greatly intimidated by the sight of her cybernetic limbs and was frightened away,", type: "cash", effect: -1})>> <<else>> <<if ($slaves[$i].heels == 1)>> <<if ($slaves[$i].shoes != "heels") && ($slaves[$i].shoes != "extreme heels") && ($slaves[$i].shoes != "boots")>> <<set $vignettes.push({text: "she enticed a new customer who had never really considered buttsex before he saw her crawling along with her asshole vulnerable,", type: "cash", effect: 1})>> <</if>> <</if>> <<if ($slaves[$i].boobs > 1500)>> <<if ($slaves[$i].boobsImplant == 0)>> <<set $vignettes.push({text: "a young customer hired her to jump rope so he could watch her massive natural breasts flop around,", type: "cash", effect: 1})>> <</if>> <</if>> <</if>> <<if ($slaves[$i].vaginalAccessory is "chastity belt")>> <<set $vignettes.push({text: "a wavering customer who was disappointed that her pussy is unavailable decided to try her ass instead,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].fetish is "mindbroken")>> <<set $vignettes.push({text: "a customer really enjoyed being able to treat her however he liked without eliciting a reaction,", type: "cash", effect: 1})>> <</if>> <<if ($slaves[$i].intelligence <= -2)>> <<set $vignettes.push({text: "a customer managed to trick her into fucking him without payment,", type: "cash", effect: -1})>> <</if>> <<if ($slaves[$i].face > 0)>> <</if>> <<if ($slaves[$i].face > 0)>> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].fetish is "buttslut")>> <<set $vignettes.push({text: "a customer was surprised by her penis, so she hid it and enjoyed the buttsex without touching it,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].analSkill >= 100)>> <<set $vignettes.push({text: "a customer was surprised by her penis, so she hid it and skillfully pretended to be a real girl,", type: "rep", effect: 1})>> <<elseif ($slaves[$i].fetish is "buttslut")>> <<set $vignettes.push({text: "a customer was surprised by her penis, so she hid it, but could barely tolerate anal without touching it", type: "rep", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].analSkill < 100)>> <<if ($slaves[$i].anus > 2)>> <<set $vignettes.push({text: "a pair of customers enticed by her beauty but disappointed by her loose butthole doubled up on her poor anus without mercy,", type: "health", effect: -1})>> <</if>> <</if>> <</if>> <<if ($slaves[$i].fetishKnown == 1)>> <<if ($slaves[$i].fetishStrength > 95)>> <<if ($slaves[$i].fetish is "buttslut") || ($slaves[$i].fetish is "dom")>> <<set $vignettes.push({text: "she advertised herself by forcing a slave in the stocks to eat her ass, drumming up business,", type: "cash", effect: 1})>> <<elseif ($slaves[$i].fetish is "masochist")>> <<set $vignettes.push({text: "she cooperated with a citizen who wanted to whip her tits black and blue", type: "health", effect: -1})>> <</if>> <</if>> <</if>> <<if ($slaves[$i].health < 20)>> <<set $vignettes.push({text: "she attracted the attention of a slaveowner alarmed by her poor health, and thought he seemed kind,", type: "devotion", effect: -1})>> <</if>> <<if ($slaves[$i].vaginalSkill >= 100)>> <<set $vignettes.push({text: "she was hired to apply her skills to a customer's virgin son,", type: "devotion", effect: 0})>> <</if>> <<if ($slaves[$i].analSkill < 100)>> <<if ($slaves[$i].anus < 2)>> <<set $vignettes.push({text: "a guy with a huge cock paid for the right to fuck her in her tight ass all night,", type: "health", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].relationship <= -2)>> <<if ($slaves[$i].intelligence < 1)>> <<set $vignettes.push({text: "she accidentally mentions how much she loves you during intercourse with a customer who doesn't like to share,", type: "rep", effect: -1})>> <</if>> <</if>> <<if ($slaves[$i].prestige > 0)>> <<set $vignettes.push({text: "a college fraternity visiting the arcology for rush week hired her for a gangbang,", type: "cash", effect: 3})>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if ($slaves[$i].race is $arcologies[0].FSSupremacistRace)>> <<set $vignettes.push({text: "she lost a customer who couldn't bear to see a beautiful $arcologies[0].FSSupremacistRace be a whore,", type: "cash", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if ($slaves[$i].race is $arcologies[0].FSSubjugationistRace)>> <<set $vignettes.push({text: "she had a bad time in general, since most of her customers didn't care about a $arcologies[0].FSSubjugationistRace prostitute's health or well-being,", type: "health", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if ($slaves[$i].visualAge > 35)>> <<set $vignettes.push({text: "she got repeat business from a customer who wants to keep his MILF fetish in the closet,", type: "cash", effect: 1})>> <</if>> <<elseif $arcologies[0].FSMaturityPreferentialist != "unset">> <<if ($slaves[$i].visualAge <= 20)>> <<set $vignettes.push({text: "she got repeat business from a customer who wants to keep his fetish for young girls in the closet,", type: "cash", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if ($slaves[$i].dick > 0)>> <<if ($slaves[$i].dick < 3)>> <<set $vignettes.push({text: "she got repeat business from a customer who is coming to terms with Gender Radicalism, and is unthreatened by her little penis,", type: "cash", effect: 1})>> <</if>> <</if>> <<elseif $arcologies[0].FSGenderFundamentalist != "unset">> <<if ($slaves[$i].visualAge > 25)>> <<set $vignettes.push({text: "she got repeat business from a customer who thinks she resembles his ex-wife, who would never let him fuck her butt,", type: "cash", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocus != "unset">> <<if ($slaves[$i].pregType > 1)>> <<set $vignettes.push({text: "she got repeat business from a customer who loves fucking girls with wombs filled by more than a single child,", type: "cash", effect: 1})>> <</if>> <<elseif $arcologies[0].Restart != "unset">> <<if canGetPregnant($slaves[$i])>> <<set $vignettes.push({text: "she got repeat business from a customer who misses the risk of getting a girl pregnant,", type: "cash", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist != "unset">> <<if ($slaves[$i].intelligence > 1)>> <<set $vignettes.push({text: "she got repeat business from a customer who likes to chat with intelligent prostitutes as they fuck her,", type: "cash", effect: 1})>> <</if>> <<elseif $arcologies[0].FSDegradationist != "unset">> <<if canTalk($slaves[$i])>> <<if ($slaves[$i].voice > 2)>> <<set $vignettes.push({text: "she got repeat business from a customer who prefers girls with high-pitched screams,", type: "cash", effect: 1})>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSBodyPurist != "unset">> <<if ($slaves[$i].boobsImplant > 0)>> <<set $vignettes.push({text: "she got repeat business from a customer who wants to keep his fetish for breast implants in the closet,", type: "cash", effect: 1})>> <</if>> <<elseif $arcologies[0].FSTransformationFetishist != "unset">> <<if ($slaves[$i].boobsImplant == 0)>> <<set $vignettes.push({text: "she got repeat business from a customer who wants to keep his fetish for natural breasts in the closet,", type: "cash", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> <<if canTalk($slaves[$i])>> <<if ($slaves[$i].voice > 2)>> <<set $vignettes.push({text: "she got repeat business from a customer who loves her high-pitched squeals of pleasure,", type: "cash", effect: 1})>> <</if>> <</if>> <<if ($slaves[$i].boobs > 800)>> <<set $vignettes.push({text: "she was publicly mocked as an ugly fat cow with dangling udders,", type: "rep", effect: -1})>> <</if>> <<elseif $arcologies[0].FSAssetExpansionist != "unset">> <<if ($slaves[$i].boobs < 300)>> <<set $vignettes.push({text: "she got repeat business from a customer who wants to keep his fetish for flat chested girls in the closet,", type: "cash", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSPastoralist != "unset">> <<if ($slaves[$i].lactation == 0)>> <<set $vignettes.push({text: "she lost a customer who could not understand why nothing was coming out of her nipples when he sucked on them,", type: "cash", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> <<if ($slaves[$i].muscles <= 95)>> <<set $vignettes.push({text: "she lost a customer who could barely believe that she wasn't capable of holding herself in a handstand,", type: "cash", effect: -1})>> <</if>> <</if>> <<if $arcologies[0].FSChattelReligionist != "unset">> <<if ($slaves[$i].behavioralFlaw is "devout")>> <<set $vignettes.push({text: "she got repeat business from a customer who desperately wants his cock to be the one that converts her,", type: "cash", effect: 1})>> <</if>> <</if>> <<if $arcologies[0].FSRomanRevivalist != "unset">> <<if ($slaves[$i].race is "white")>> <<if ($slaves[$i].height >= 185)>> <<set $vignettes.push({text: "she attracted a customer who thought her appearance worthy of a lusty northern barbarian,", type: "cash", effect: 1})>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<set $vignettes.push({text: "she got extra business from a group of citizens competing to get off with whores of each of the arcology's ethnic groups in the least time,", type: "cash", effect: 1})>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if ($slaves[$i].face > 1)>> <<if ($slaves[$i].intelligence > 1)>> <<set $vignettes.push({text: "she got repeat business from a customer who wished to do nothing more than converse with a beautiful and intelligent girl,", type: "cash", effect: 1})>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSArabianRevivalist != "unset">> <<if ($slaves[$i].entertainSkill >= 100)>> <<if canTalk($slaves[$i])>> <<if ($slaves[$i].voice > 0)>> <<if ($slaves[$i].accent < 2)>> <<set $vignettes.push({text: "she got repeat business from a customer who prefers prostitutes who can tell lovely stories,", type: "cash", effect: 1})>> <</if>> <</if>> <</if>> <</if>> <</if>> <<set $vignettes.push({text: "one of the companies with an office in your arcology retained her for a team-building bukkake party for its employees,", type: "rep", effect: 1})>> <<set $vignettes.push({text: "a man dragged his crying wife along so she could watch him fuck a whore,", type: "rep", effect: 0})>> <<set $vignettes.push({text: "a woman dragged her angry husband along so he could watch her get eaten out by a whore,", type: "rep", effect: 0})>> <<set $vignettes.push({text: "she went to sleep after being sold for sex all day, and had a dream about you loving her,", type: "devotion", effect: 1})>> <<set $vignettes.push({text: "she went to sleep after being sold for sex all day, and had a dream about you letting a customer hurt her,", type: "devotion", effect: -1})>> <<set $vignettes.push({text: "she went to sleep after being sold for sex all day, and had a dream about you protecting her from a mean customer,", type: "trust", effect: 1})>> <<set $vignettes.push({text: "she went to sleep after being sold for sex all day, and had a dream about you selling her for good,", type: "trust", effect: -1})>> <<set $vignette to $vignettes.random()>> __This week__ $vignette.text <<if ($vignette.type is "cash")>> <<if ($vignette.effect > 0)>> @@color:yellowgreen;making you an extra ¤<<print Math.trunc($FResult*$vignette.effect)>>.@@ <<elseif ($vignette.effect < 0)>> @@color:red;losing you ¤<<print Math.abs(Math.trunc($FResult*$vignette.effect))>>.@@ <<else>> an incident without lasting effect. <</if>> <<set $cash += Math.trunc($FResult*$vignette.effect)>> <<elseif ($vignette.type is "devotion")>> <<if ($vignette.effect > 0)>> <<if $slaves[$i].devotion > 50>> @@color:hotpink;increasing her devotion to you.@@ <<elseif $slaves[$i].devotion >= -20>> @@color:hotpink;increasing her acceptance of you.@@ <<elseif $slaves[$i].devotion > -10>> @@color:hotpink;reducing her dislike of you.@@ <<else>> @@color:hotpink;reducing her hatred of you.@@ <</if>> <<elseif ($vignette.effect < 0)>> <<if $slaves[$i].devotion > 50>> @@color:mediumorchid;reducing her devotion to you.@@ <<elseif $slaves[$i].devotion >= -20>> @@color:mediumorchid;reducing her acceptance of you.@@ <<elseif $slaves[$i].devotion > -10>> @@color:mediumorchid;increasing her dislike of you.@@ <<else>> @@color:mediumorchid;increasing her hatred of you.@@ <</if>> <<else>> an incident without lasting effect. <</if>> <<set $slaves[$i].devotion += 1*$vignette.effect>> <<elseif ($vignette.type is "trust")>> <<if ($vignette.effect > 0)>> <<if $slaves[$i].trust > 20>> @@color:mediumaquamarine;increasing her trust in you.@@ <<elseif $slaves[$i].trust > -10>> @@color:mediumaquamarine;reducing her fear of you.@@ <<else>> @@color:mediumaquamarine;reducing her terror of you.@@ <</if>> <<elseif ($vignette.effect < 0)>> <<if $slaves[$i].trust > 20>> @@color:gold;reducing her trust in you.@@ <<elseif $slaves[$i].trust > -20>> @@color:gold;increasing her fear of you.@@ <<else>> @@color:gold;increasing her terror of you.@@ <</if>> <<else>> an incident without lasting effect. <</if>> <<set $slaves[$i].trust += 1*$vignette.effect>> <<elseif ($vignette.type is "health")>> <<if ($vignette.effect > 0)>> @@color:green;improving her health.@@ <<elseif ($vignette.effect < 0)>> @@color:red;affecting her health.@@ <<else>> an incident without lasting effect. <</if>> <<set $slaves[$i].health += 2*$vignette.effect>> <<else>> <<if ($vignette.effect > 0)>> @@color:green;gaining you a bit of reputation.@@ <<elseif ($vignette.effect < 0)>> @@color:red;losing you a bit of reputation.@@ <<else>> an incident without lasting effect. <</if>> <<set $rep += Math.trunc($FResult*$vignette.effect*0.1)>> <</if>> <</if>> /* CLOSES VIGNETTES */ <<if $slaves[$i].energy > 40 && $slaves[$i].energy < 95>> Being used sexually all week @@color:lime;increases her sex drive.@@ <<set $slaves[$i].energy += 1>> <</if>> <<if $slaves[$i].cervixImplant == 1 && _cervixPump > 0 >> She notices her @@color:orange;belly has grown@@ from vaginal sex throughout week. <<set $slaves[$i].bellyImplant += _cervixPump*20>> <</if>>
r3d/fc
src/uncategorized/saWhore.tw
tw
bsd-3-clause
86,160
:: SA work a glory hole [nobr] <<if $arcologies[0].FSDegradationist != "unset">> <<set $beauty to random(80,100)+(20*(4-$slaves[$i].anus))+(10*(4-$slaves[$i].vagina))+Math.trunc($arcologies[0].FSDegradationist/2)>> <<else>> <<set $beauty to random(80,100)+(20*(4-$slaves[$i].anus))+(10*(4-$slaves[$i].vagina))>> <</if>> <<if $arcologies[0].FSDegradationistLaw == 1>> <<set $beauty = Math.trunc($beauty*1.5)>> <<elseif $ACitizens > $ASlaves*2>> <<set $beauty = Math.trunc($beauty*1.1)>> <<elseif $ACitizens > $ASlaves>> <<set $beauty = Math.trunc($beauty*1)>> <<elseif $ACitizens > $ASlaves*0.5>> <<set $beauty = Math.trunc($beauty*0.95)>> <<elseif $ACitizens > $ASlaves*0.25>> <<set $beauty = Math.trunc($beauty*0.9)>> <<else>> <<set $beauty = Math.trunc($beauty*0.85)>> <</if>> <<if $beauty < 10>> <<set $beauty to 10>> <</if>> <<if $ACitizens > $ASlaves*0.5>> <<set $FResult to 3>> <<elseif $ACitizens > $ASlaves*0.25>> <<set $FResult to 2>> <<else>> <<set $FResult to 1>> <</if>> is <<if $slaves[$i].fuckdoll == 0>>restrained in a glory hole<<else>>set out for use<</if>>. $beauty customers (<<print Math.trunc($beauty/7)>> a day) paid ¤$FResult to use $possessive holes. <<if ($arcologies[0].FSDegradationist > 0)>> Demand for $possessive holes is strong due to the appetite for degradation rampant in $arcologies[0].name. <</if>> <<if ($slaves[$i].curatives > 0)>> The drugs $pronoun's on protect $possessive health from the stress of being used as a sexual appliance. <<elseif ($slaves[$i].health < -50)>> The stress of being used while very ill @@color:red;damaged $possessive health.@@ <<set $slaves[$i].health -= 10>> <<elseif ($slaves[$i].health < -10)>> <<if (random(1,100) > 10)>> The stress of being used while weak has @@color:red;damaged $possessive health.@@ <<set $slaves[$i].health -= 10>> <</if>> <<elseif ($slaves[$i].vagina is -1)>> <<if (random(1,100) > 70)>> The stress of being used in only two holes has @@color:red;damaged $possessive health.@@ <<set $slaves[$i].health -= 10>> <</if>> <<elseif (random(1,100) > 25)>> The stress of being used has @@color:red;damaged $possessive health.@@ <<set $slaves[$i].health -= 10>> <</if>> <<if ($slaves[$i].vagina == 0) && canDoVaginal($slaves[$i])>> A <<if $slaves[$i].fuckdoll == 0>>glory hole <</if>>user takes $possessive virginity. He does not notice or care. @@color:lime;$possessiveCap pussy has been broken in@@ in a @@color:gold;painful@@ and @@color:mediumorchid;degrading@@ way. <<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 10, $slaves[$i].vagina to 1>> <<elseif ($slaves[$i].vagina < 3) && (canDoVaginal($slaves[$i])) && (random(1,100) > ((170-$beauty)+($slaves[$i].vagina*10)))>> @@color:lime;$possessiveCap pussy gets stretched out by the use.@@ <<set $slaves[$i].vagina += 1>> <</if>> <<if ($slaves[$i].anus == 0) && canDoAnal($slaves[$i])>> $possessiveCap anal virginity goes to a <<if $slaves[$i].fuckdoll == 0>>glory hole <</if>>user, who doesn't understand why this particular run at <<if $slaves[$i].fuckdoll == 0>>the glory hole<<else>>a Fuckdoll<</if>> is so great. @@color:lime;$possessiveCap ass has been broken in@@ in a @@color:gold;painful@@ and @@color:mediumorchid;degrading@@ way. <<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5, $slaves[$i].anus to 1>> <<elseif ($slaves[$i].anus < 3) && canDoAnal($slaves[$i]) && (random(1,100) > ((150-$beauty)+($slaves[$i].anus*10)))>> @@color:lime;$possessiveCap asshole sees constant use and loosens.@@ <<set $slaves[$i].anus += 1>> <</if>> <<if ($slaves[$i].fetish is "mindbroken")>> $pronounCap serves $possessive role as a mindless set of holes to perfection. <<else>> <<set $skillIncrease = 5>> <<if ($slaves[$i].oralSkill <= 10)>> With $possessive throat being brutally used, $possessive gag reflex is suppressed and $possessive oral skills improve. <<OralSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].vaginalSkill <= 10) && (canDoVaginal($slaves[$i]))>> With $possessive pussy being harshly used, $possessive vaginal skills improve. <<VaginalSkillIncrease $slaves[$i]>> <<elseif ($slaves[$i].analSkill <= 10) && (canDoAnal($slaves[$i]))>> With $possessive butt being mercilessly fucked, $possessive anal skills improve. <<AnalSkillIncrease $slaves[$i]>> <</if>> <<if $slaves[$i].sexualFlaw == "self hating">> $possessiveCap self hatred is so deep that $pronoun believes $pronoun deserves to serve in a glory hole, and even gets off on the degradation. <<elseif ($slaves[$i].sentence > 0)>> <<if ($slaves[$i].behavioralFlaw != "odd") && (random(1,100) > (100+($slaves[$i].devotion/5)))>> Constant confinement coupled with brutal use has left $object with involuntary nervous tics. <<set $slaves[$i].behavioralFlaw to "odd">> <</if>> <<set $slaves[$i].devotion -= 5, $slaves[$i].trust -= 5>> <<if ($slaves[$i].devotion > 50)>> $pronounCap does $possessive best to tolerate $possessive sentence to the glory hole, but @@color:mediumorchid;$possessive devotion is hurt@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<elseif ($slaves[$i].devotion > 20)>> $pronounCap does not understand why $possessive obedience has earned $object a sentence to this torture. @@color:mediumorchid;$possessiveCap obedience is hurt@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<elseif ($slaves[$i].devotion >= -20)>> $possessiveCap fear of you turns to desperation during $possessive sentence. @@color:mediumorchid;$possessiveCap obedience is reduced@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<elseif ($slaves[$i].devotion >= -50)>> Though $pronoun is only temporarily sentenced to suffer, @@color:mediumorchid;$possessive resistance is increased@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<else>> $pronounCap has hope $pronoun'll be released after $possessive sentence, but @@color:mediumorchid;$possessive hatred of you is increased@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <</if>> <<else>> <<if ($slaves[$i].behavioralFlaw != "odd") && (random(1,100) > (70+($slaves[$i].devotion/5)))>> Constant confinement coupled with brutal use has left $object with involuntary nervous tics. <<set $slaves[$i].behavioralFlaw to "odd">> <</if>> <<set $slaves[$i].devotion -= 10, $slaves[$i].trust -= 10>> <<if ($slaves[$i].devotion > 50)>> $pronounCap feels starved of personal contact. @@color:mediumorchid;$possessiveCap devotion is hurt@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<elseif ($slaves[$i].devotion > 20)>> $pronounCap does not understand why $possessive obedience has earned $object this immurement. @@color:mediumorchid;$possessiveCap obedience is hurt@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<elseif ($slaves[$i].devotion >= -20)>> $possessiveCap fear of you has increased into something like a pathology. @@color:mediumorchid;$possessiveCap obedience is reduced@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<elseif ($slaves[$i].devotion >= -50)>> $possessiveCap resistance is deepening into hatred. @@color:mediumorchid;$possessiveCap resistance is increased@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <<else>> @@color:mediumorchid;$possessiveCap helpless hatred of you is increased@@ and $pronoun is @@color:gold;filled with fear@@ $pronoun won't be let out. <</if>> <</if>> <</if>> <<if ($slaves[$i].assignment is "be confined in the arcade") && ($arcadeUpgradeInjectors == 1)>> <<set $FResult += 1>> <</if>> $possessiveCap feelings, skills, and appearance do not matter. $pronounCap is condemned to a world that consists of a tiny cell, featureless except for the never-ending dicks $pronoun is required to service. You were paid @@color:yellowgreen;¤<<print ($beauty*$FResult)>>@@ for the use of $slaves[$i].slaveName's holes this week. /* FACILITY DECORATION IMPACTS */ <<if ($slaves[$i].assignment is "be confined in the arcade") && ($arcadeDecoration != "standard")>> <<set _seed to 0.0001*$FSSingleSlaveRep*$beauty>> <<switch $arcadeDecoration>> <<case "Roman Revivalist">> <<set $arcologies[0].FSRomanRevivalist += _seed>> <<case "Egyptian Revivalist">> <<set $arcologies[0].FSEgyptianRevivalist += _seed>> <<case "Edo Revivalist">> <<set $arcologies[0].FSEdoRevivalist += _seed>> <<case "Arabian Revivalist">> <<set $arcologies[0].FSArabianRevivalist += _seed>> <<case "Chinese Revivalist">> <<set $arcologies[0].FSChineseRevivalist += _seed>> <<case "Repopulation Focus">> <<set $arcologies[0].FSRepopulationFocus += _seed>> <<case "Eugenics">> <<set $arcologies[0].FSRestart += _seed>> <<case "Chattel Religionist">> <<set $arcologies[0].FSChattelReligionist += _seed>> <<case "Degradationist">> <<set $arcologies[0].FSDegradationist += _seed>> <<case "Asset Expansionist">> <<set $arcologies[0].FSAssetExpansionist += _seed>> <<case "Transformation Fetishist">> <<set $arcologies[0].FSTransformationFetishist += _seed>> <<case "Gender Radicalist">> <<set $arcologies[0].FSGenderRadicalist += _seed>> <<case "Gender Fundamentalist">> <<set $arcologies[0].FSGenderFundamentalist += _seed>> <<case "Physical Idealist">> <<set $arcologies[0].FSPhysicalIdealist += _seed>> <<case "Supremacist">> <<set $arcologies[0].FSSupremacist += _seed>> <<case "Subjugationist">> <<set $arcologies[0].FSSubjugationist += _seed>> <<case "Paternalist">> <<set $arcologies[0].FSPaternalist += _seed>> <<case "Pastoralist">> <<set $arcologies[0].FSPastoralist += _seed>> <<case "Maturity Preferentialist">> <<set $arcologies[0].FSMaturityPreferentialist += _seed>> <<case "Youth Preferentialist">> <<set $arcologies[0].FSYouthPreferentialist += _seed>> <<case "Body Purist">> <<set $arcologies[0].FSBodyPurist += _seed>> <<case "Slimness Enthusiast">> <<set $arcologies[0].FSSlimnessEnthusiast += _seed>> <</switch>> <</if>> /* SEX ACT COUNTS */ <<if ndef $slaves[$i].publicCount>> <<set $slaves[$i].publicCount to 0>> <</if ndef>> <<if canDoVaginal($slaves[$i]) && canDoAnal($slaves[$i])>> <<set _seed = Math.trunc($beauty/3)>> <<set $slaves[$i].oralCount += _seed, $oralTotal += _seed>> <<set $slaves[$i].vaginalCount += _seed, $vaginalTotal += _seed>> <<set $slaves[$i].analCount += _seed, $analTotal += _seed>> <<set $slaves[$i].publicCount += (_seed * 3)>> <<set $_cervixPump = _seed>> <<elseif canDoVaginal($slaves[$i])>> <<set _seed = Math.trunc($beauty/2)>> <<set $slaves[$i].oralCount += _seed, $oralTotal += _seed>> <<set $slaves[$i].vaginalCount += _seed, $vaginalTotal += _seed>> <<set $slaves[$i].publicCount += (_seed + _seed)>> <<set $_cervixPump = _seed>> <<elseif canDoAnal($slaves[$i])>> <<set _seed = Math.trunc($beauty/2)>> <<set $slaves[$i].oralCount += _seed, $oralTotal += _seed>> <<set $slaves[$i].analCount += _seed, $analTotal += _seed>> <<set $slaves[$i].publicCount += (_seed + _seed)>> <<else>> <<set _seed = Math.trunc($beauty)>> <<set $slaves[$i].oralCount += _seed, $oralTotal += _seed>> <<set $slaves[$i].publicCount += _seed>> <</if>> <<set $cash += ($beauty*$FResult)>> <<if $slaves[$i].cervixImplant == 1 && _cervixPump > 0>> $pronounCap notices $possessive @@color:orange;belly swell@@ after vaginal sex throughout the week. <<set $slaves[$i].bellyImplant += _cervixPump*20>> <</if>>
r3d/fc
src/uncategorized/saWorkAGloryHole.tw
tw
bsd-3-clause
11,475
:: Salon <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Slave Interact">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "The Auto Salon">> <</nobr>>\ \ $activeSlave.slaveName is seated in the auto salon. $pronounCap is awaiting your artistic pleasure. <<nobr>> <<if $activeSlave.eyes > -1>> $possessiveCap vision is normal, and $pronoun <<if $activeSlave.eyewear is "none">> has no eyewear. <<else>> is wearing $activeSlave.eyewear. <</if>> [[Cosmetic glasses|Salon][$activeSlave.eyewear to "glasses",$cash -= $modCost]] | [[Blurring glasses|Salon][$activeSlave.eyewear to "blurring glasses",$cash -= $modCost]] | [[Blurring contacts|Salon][$activeSlave.eyewear to "blurring contacts",$cash -= $modCost]] | [[None|Salon][$activeSlave.eyewear to "none"]] <br>&nbsp;&nbsp;&nbsp;&nbsp; //Blurring options are annoying and impede performance on some assignments// <<else>> $pronounCap is nearsighted, and $pronoun <<if $activeSlave.eyewear is "none">> has no eyewear. <<else>> is wearing $activeSlave.eyewear. <</if>> [[Cosmetic glasses|Salon][$activeSlave.eyewear to "glasses",$cash -= $modCost]] | [[Corrective glasses|Salon][$activeSlave.eyewear to "corrective glasses",$cash -= $modCost]] | [[Corrective contacts|Salon][$activeSlave.eyewear to "corrective contacts",$cash -= $modCost]] | [[None|Salon][$activeSlave.eyewear to "none"]] <br>&nbsp;&nbsp;&nbsp;&nbsp; //Nearsightedness will impede performance on some assignments// <</if>> <</nobr>> <<nobr>> $possessiveCap eyes are $activeSlave.eyeColor. <br>&nbsp;&nbsp;&nbsp;&nbsp; Give $possessive cosmetic contact lenses: [[Blue|Salon][$activeSlave.eyeColor to "blue",$cash -= $modCost]] | [[Black|Salon][$activeSlave.eyeColor to "black",$cash -= $modCost]] | [[Brown|Salon][$activeSlave.eyeColor to "brown",$cash -= $modCost]] | [[Green|Salon][$activeSlave.eyeColor to "green",$cash -= $modCost]] | [[Turquoise|Salon][$activeSlave.eyeColor to "turquoise",$cash -= $modCost]] | [[Sky-blue|Salon][$activeSlave.eyeColor to "sky-blue",$cash -= $modCost]] | [[Hazel|Salon][$activeSlave.eyeColor to "hazel",$cash -= $modCost]] | [[Pale-grey|Salon][$activeSlave.eyeColor to "pale-grey",$cash -= $modCost]] | [[White|Salon][$activeSlave.eyeColor to "white",$cash -= $modCost]] | [[Pink|Salon][$activeSlave.eyeColor to "pink",$cash -= $modCost]] | [[Amber|Salon][$activeSlave.eyeColor to "amber",$cash -= $modCost]] | [[Red|Salon][$activeSlave.eyeColor to "red",$cash -= $modCost]] | [[Catlike|Salon][$activeSlave.eyeColor to "catlike",$cash -= $modCost]] | [[Serpent-like|Salon][$activeSlave.eyeColor to "serpent-like",$cash -= $modCost]] | [[Devilish|Salon][$activeSlave.eyeColor to "devilish",$cash -= $modCost]] | [[Demonic|Salon][$activeSlave.eyeColor to "demonic",$cash -= $modCost]] | [[Hypnotic|Salon][$activeSlave.eyeColor to "hypnotic",$cash -= $modCost]] | [[Heart-shaped|Salon][$activeSlave.eyeColor to "heart-shaped",$cash -= $modCost]] <br>&nbsp;&nbsp;&nbsp;&nbsp; //Colored contact settings will be applied in addition to eyewear choices.// <</nobr>> <<nobr>> <<if $activeSlave.makeup == 1>> $pronounCap's wearing minimal makeup. <<elseif $activeSlave.makeup is 2>> $pronounCap's wearing expensive, luxurious makeup. <<elseif $activeSlave.makeup is 3>> $possessiveCap makeup is color-coordinated with $possessive $activeSlave.hColor hair. <<elseif $activeSlave.makeup is 4>> $pronounCap's wearing stereotypical, garish streetwalker makeup. <<elseif $activeSlave.makeup == 11>> $pronounCap's wearing expensive, metallic makeup. <<elseif $activeSlave.makeup == 12>> $possessiveCap metallic makeup is color-coordinated with $possessive $activeSlave.hColor hair. <<elseif $activeSlave.lipsTat is "permanent makeup">> $possessiveCap face appears to bear very heavy, slutty makeup, but on closer inspection, the makeup is actually tattooed on. <<else>> $possessiveCap face is makeup-free. <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Makeup-free|Salon][$activeSlave.makeup to 0,$cash -= $modCost]] | [[Nice makeup|Salon][$activeSlave.makeup to 1,$cash -= $modCost]] | [[Gorgeous makeup|Salon][$activeSlave.makeup to 2,$cash -= $modCost]] | [[Color-coordinate makeup with hair|Salon][$activeSlave.makeup to 3,$cash -= $modCost]] | [[Metallic makeup|Salon][$activeSlave.makeup to 11,$cash -= $modCost]] | [[Color-coordinate metallic makeup with hair|Salon][$activeSlave.makeup to 12,$cash -= $modCost]] | [[Slutty makeup|Salon][$activeSlave.makeup to 4,$cash -= $modCost]] <</nobr>> <<nobr>> <<if $activeSlave.amp == 1>> $pronounCap has no hands, and thus, no nails. <<elseif $activeSlave.nails == 1>> $possessiveCap nails are long and elegant. <<elseif $activeSlave.nails is 2>> $possessiveCap nails are color-coordinated with $possessive $activeSlave.hColor hair. <<elseif $activeSlave.nails is 3>> $possessiveCap nails are sharp and claw-like. <<elseif $activeSlave.nails is 4>> $possessiveCap nails are bright and glittery. <<elseif $activeSlave.nails is 11>> $possessiveCap nails are shiny and metallic. <<elseif $activeSlave.nails is 12>> $possessiveCap nails are shiny, mettalic and color-coordinated with $possessive $activeSlave.hColor hair. <<elseif $activeSlave.nails is 5>> $possessiveCap nails are long and garish, streetwalker-style. <<else>> $possessiveCap nails are neatly clipped. <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.amp != 1>> [[Clip nails|Salon][$activeSlave.nails to 0,$cash -= $modCost]] | [[Extend nails|Salon][$activeSlave.nails to 1,$cash -= $modCost]] | [[Color-coordinate nails with hair|Salon][$activeSlave.nails to 2,$cash -= $modCost]] | [[Sharp, claw-like nails|Salon][$activeSlave.nails to 3,$cash -= $modCost]] | [[Bright, glittery nails|Salon][$activeSlave.nails to 4,$cash -= $modCost]] | [[Shiny, metallic nails|Salon][$activeSlave.nails to 11,$cash -= $modCost]] | [[Streetwalker-style nails|Salon][$activeSlave.nails to 5,$cash -= $modCost]] <</if>> <</nobr>> <<nobr>> <<set $tannableSkin to ["lightened", "white", "fair", "pale", "light"]>> <<set $lightenableSkin to ["dark", "olive", "black", "brown", "light brown", "tanned"]>> <<set $bleachableSkin to ["lightened", "white", "fair", "light"]>> $possessiveCap skin is $activeSlave.skin. <<if ($tannableSkin.indexOf($activeSlave.skin) != -1)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Tan|Salon][$activeSlave.skin to "tanned",$cash -= $modCost]] <<elseif ($lightenableSkin.indexOf($activeSlave.skin) != -1)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Lighten skin|Salon][$activeSlave.skin to "lightened",$cash -= $modCost]] <</if>> <<if ($bleachableSkin.indexOf($activeSlave.skin) != -1)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Bleach skin|Salon][$activeSlave.skin to "pale",$cash -= $modCost]] <</if>> <<if $activeSlave.skin != "black">> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Darken skin|Salon][$activeSlave.skin to "dark",$cash -= $modCost]] <</if>> <</nobr>> <<nobr>> <<if ($activeSlave.markings is "beauty mark")>> $pronounCap has a prominent mole on $possessive face, which <<if $activeSlave.face > 1>> qualifies as a beauty mark and enhances $possessive attractiveness due to $possessive facial beauty. <<elseif $activeSlave.face > 1>> detracts from $possessive attractiveness. <<else>> qualifies as a beauty mark since $pronoun's pretty, having no significant impact on $possessive beauty. <</if>> [[Remove it|Salon][$activeSlave.markings to "none",$cash -= $modCost]] <</if>> <<if ($activeSlave.markings is "birthmark")>> $pronounCap has a large birthmark, which <<if $activeSlave.prestige > 0>> enhances $possessive attractiveness due to $possessive prestige. <<else>> detracts from $possessive attractiveness. <</if>> [[Bleach it|Salon][$activeSlave.markings to "none",$cash -= $modCost]] <</if>> <</nobr>> <<nobr>> $possessiveCap hair is $activeSlave.hColor. <br>&nbsp;&nbsp;&nbsp;&nbsp; Dye $possessive hair: [[Blonde|Salon][$activeSlave.hColor to "blonde",$cash -= $modCost]] | [[Golden|Salon][$activeSlave.hColor to "golden",$cash -= $modCost]] | [[Platinum Blonde|Salon][$activeSlave.hColor to "platinum blonde",$cash -= $modCost]] | [[Strawberry-blonde|Salon][$activeSlave.hColor to "strawberry-blonde",$cash -= $modCost]] | [[Copper|Salon][$activeSlave.hColor to "copper",$cash -= $modCost]] | [[Ginger|Salon][$activeSlave.hColor to "ginger",$cash -= $modCost]] | [[Red|Salon][$activeSlave.hColor to "red",$cash -= $modCost]] | [[Green|Salon][$activeSlave.hColor to "green",$cash -= $modCost]] | [[Blue|Salon][$activeSlave.hColor to "blue",$cash -= $modCost]] | [[Pink|Salon][$activeSlave.hColor to "pink",$cash -= $modCost]] | [[Dark Brown|Salon][$activeSlave.hColor to "dark brown",$cash -= $modCost]] | [[Brown|Salon][$activeSlave.hColor to "brown",$cash -= $modCost]] | [[Auburn|Salon][$activeSlave.hColor to "auburn",$cash -= $modCost]] | [[Burgundy|Salon][$activeSlave.hColor to "burgundy",$cash -= $modCost]] | [[Chocolate|Salon][$activeSlave.hColor to "chocolate brown",$cash -= $modCost]] | [[Chestnut|Salon][$activeSlave.hColor to "chestnut",$cash -= $modCost]] | [[Hazel|Salon][$activeSlave.hColor to "hazel",$cash -= $modCost]] | [[Black|Salon][$activeSlave.hColor to "black",$cash -= $modCost]] | [[Grey|Salon][$activeSlave.hColor to "grey",$cash -= $modCost]] | [[Silver|Salon][$activeSlave.hColor to "silver",$cash -= $modCost]] | [[White|Salon][$activeSlave.hColor to "white",$cash -= $modCost]] <</nobr>> <<nobr>> $possessiveCap hair is $activeSlave.hStyle. <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.hLength > 1>> Style $possessive hair: [[Neat|Salon][$activeSlave.hStyle to "neat",$cash -= $modCost]] | [[Shaved|Salon][$activeSlave.hStyle to "shaved",$activeSlave.hLength to 0,$cash -= $modCost]] | [[Trimmed short|Salon][$activeSlave.hStyle to "trimmed",$activeSlave.hLength to 10,$cash -= $modCost]] | [[Buzzcut|Salon][$activeSlave.hStyle to "buzzcut",$activeSlave.hLength to 1,$cash -= $modCost]] | [[Up|Salon][$activeSlave.hStyle to "up",$cash -= $modCost]] | [[In a ponytail|Salon][$activeSlave.hStyle to "ponytail",$cash -= $modCost]] | [[In a bun|Salon][$activeSlave.hStyle to "bun",$cash -= $modCost]] | [[Curled|Salon][$activeSlave.hStyle to "curls",$cash -= $modCost]] | [[Permed|Salon][$activeSlave.hStyle to "permed",$cash -= $modCost]] | [[Luxurious|Salon][$activeSlave.hStyle to "luxurious",$cash -= $modCost]] | [[Dreadlocks|Salon][$activeSlave.hStyle to "dreadlocks",$cash -= $modCost]] | [[Cornrows|Salon][$activeSlave.hStyle to "cornrows",$cash -= $modCost]] | [[Braided|Salon][$activeSlave.hStyle to "braided",$cash -= $modCost]] | [[In tails|Salon][$activeSlave.hStyle to "tails",$cash -= $modCost]] | [[Afro|Salon][$activeSlave.hStyle to "afro",$cash -= $modCost]] | [[Shaved sides|Salon][$activeSlave.hStyle to "strip",$cash -= $modCost]] <<else>> //$possessiveCap hair is too short to style meaningfully// <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp;//General hairstyles will conform to hair length and clothing choices.// <</nobr>> <<nobr>> $possessiveCap hair is $activeSlave.hLength cm long. <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.hLength == 1>> [[Apply hair growth stimulating treatment|Salon][$activeSlave.hLength to 1,$cash -= $modCost]] <<elseif $activeSlave.hLength < 150>> [[Extensions|Salon][$activeSlave.hLength += 10,$cash -= $modCost]] <<else>> //$possessiveCap hair is extremely long// <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; Cut $possessive hair: <<if $activeSlave.hLength > 5>> [[Very short|Salon][$activeSlave.hLength to 5,$cash -= $modCost]] <<if $activeSlave.hLength > 10>> | [[Short|Salon][$activeSlave.hLength to 10,$cash -= $modCost]] <</if>> <<if $activeSlave.hLength > 30>> | [[Shoulder length|Salon][$activeSlave.hLength to 30,$cash -= $modCost]] <</if>> <<if $activeSlave.hLength > 60>> | [[Long|Salon][$activeSlave.hLength to 60,$cash -= $modCost]] <</if>> <<if $activeSlave.hLength > 100>> | [[Very long|Salon][$activeSlave.hLength = 100,$cash -= $modCost]] <</if>> <<else>> //$possessiveCap hair is already very short// <</if>> <</nobr>> <<nobr>> $possessiveCap pubic hair, if present, is $activeSlave.pubicHColor. <br>&nbsp;&nbsp;&nbsp;&nbsp; Dye $possessive pubic hair: [[Blonde|Salon][$activeSlave.pubicHColor to "blonde",$cash -= $modCost]] | [[Golden|Salon][$activeSlave.pubicHColor to "golden",$cash -= $modCost]] | [[Platinum blonde|Salon][$activeSlave.pubicHColor to " platinum blonde",$cash -= $modCost]] | [[Strawberry-blonde|Salon][$activeSlave.pubicHColor to "strawberry-blonde",$cash -= $modCost]] | [[Copper|Salon][$activeSlave.pubicHColor to "copper",$cash -= $modCost]] | [[Ginger|Salon][$activeSlave.pubicHColor to "ginger",$cash -= $modCost]] | [[Red|Salon][$activeSlave.pubicHColor to "red",$cash -= $modCost]] | [[Green|Salon][$activeSlave.pubicHColor to "green",$cash -= $modCost]] | [[Blue|Salon][$activeSlave.pubicHColor to "blue",$cash -= $modCost]] | [[Pink|Salon][$activeSlave.pubicHColor to "pink",$cash -= $modCost]] | [[Dark Brown|Salon][$activeSlave.pubicHColor to "dark brown",$cash -= $modCost]] | [[Brown|Salon][$activeSlave.pubicHColor to "brown",$cash -= $modCost]] | [[Auburn|Salon][$activeSlave.pubicHColor to "auburn",$cash -= $modCost]] | [[Burgundy|Salon][$activeSlave.pubicHColor to "burgundy",$cash -= $modCost]] | [[Chocolate|Salon][$activeSlave.pubicHColor to "chocolate brown",$cash -= $modCost]] | [[Chestnut|Salon][$activeSlave.pubicHColor to "chestnut",$cash -= $modCost]] | [[Hazel|Salon][$activeSlave.pubicHColor to "hazel",$cash -= $modCost]] | [[Black|Salon][$activeSlave.pubicHColor to "black",$cash -= $modCost]] | [[Grey|Salon][$activeSlave.pubicHColor to "grey",$cash -= $modCost]] | [[Silver|Salon][$activeSlave.pubicHColor to "silver",$cash -= $modCost]] | [[White|Salon][$activeSlave.pubicHColor to "white",$cash -= $modCost]] <</nobr>> <<nobr>> $possessiveCap pubic hair is $activeSlave.pubicHStyle. <br>&nbsp;&nbsp;&nbsp;&nbsp; Style $possessive pubic hair: [[Hairless|Salon][$activeSlave.pubicHStyle to "hairless",$cash -= $modCost]] | [[Waxed|Salon][$activeSlave.pubicHStyle to "waxed",$cash -= $modCost]] | [[Landing strip|Salon][$activeSlave.pubicHStyle to "in a strip",$cash -= $modCost]] | [[Neat|Salon][$activeSlave.pubicHStyle to "neat",$cash -= $modCost]] | [[Bushy in the front|Salon][$activeSlave.pubicHStyle to "bushy in the front and neat in the rear",$cash -= $modCost]] | [[Bushy|Salon][$activeSlave.pubicHStyle to "bushy",$cash -= $modCost]] <</nobr>> <<nobr>> $possessiveCap armpit hair, if present, is $activeSlave.underArmHColor. <br>&nbsp;&nbsp;&nbsp;&nbsp; Dye $possessive armpit hair: [[Blonde|Salon][$activeSlave.underArmHColor to "blonde",$cash -= $modCost]] | [[Golden|Salon][$activeSlave.underArmHColor to "golden",$cash -= $modCost]] | [[Platinum blonde|Salon][$activeSlave.underArmHColor to " platinum blonde",$cash -= $modCost]] | [[Strawberry-blonde|Salon][$activeSlave.underArmHColor to "strawberry-blonde",$cash -= $modCost]] | [[Copper|Salon][$activeSlave.underArmHColor to "copper",$cash -= $modCost]] | [[Ginger|Salon][$activeSlave.underArmHColor to "ginger",$cash -= $modCost]] | [[Red|Salon][$activeSlave.underArmHColor to "red",$cash -= $modCost]] | [[Green|Salon][$activeSlave.underArmHColor to "green",$cash -= $modCost]] | [[Blue|Salon][$activeSlave.underArmHColor to "blue",$cash -= $modCost]] | [[Pink|Salon][$activeSlave.underArmHColor to "pink",$cash -= $modCost]] | [[Dark Brown|Salon][$activeSlave.underArmHColor to "dark brown",$cash -= $modCost]] | [[Brown|Salon][$activeSlave.underArmHColor to "brown",$cash -= $modCost]] | [[Auburn|Salon][$activeSlave.underArmHColor to "auburn",$cash -= $modCost]] | [[Burgundy|Salon][$activeSlave.underArmHColor to "burgundy",$cash -= $modCost]] | [[Chocolate|Salon][$activeSlave.underArmHColor to "chocolate brown",$cash -= $modCost]] | [[Chestnut|Salon][$activeSlave.underArmHColor to "chestnut",$cash -= $modCost]] | [[Hazel|Salon][$activeSlave.underArmHColor to "hazel",$cash -= $modCost]] | [[Black|Salon][$activeSlave.underArmHColor to "black",$cash -= $modCost]] | [[Grey|Salon][$activeSlave.underArmHColor to "grey",$cash -= $modCost]] | [[Silver|Salon][$activeSlave.underArmHColor to "silver",$cash -= $modCost]] | [[White|Salon][$activeSlave.underArmHColor to "white",$cash -= $modCost]] <</nobr>> <<nobr>> $possessiveCap armpit hair is $activeSlave.underArmHStyle. <br>&nbsp;&nbsp;&nbsp;&nbsp; Style $possessive armpit hair: [[Hairless|Salon][$activeSlave.underArmHStyle to "hairless",$cash -= $modCost]] | [[Waxed|Salon][$activeSlave.underArmHStyle to "waxed",$cash -= $modCost]] | [[Shaved|Salon][$activeSlave.underArmHStyle to "shaved",$cash -= $modCost]] | [[Neat|Salon][$activeSlave.underArmHStyle to "neat",$cash -= $modCost]] | [[Bushy|Salon][$activeSlave.underArmHStyle to "bushy",$cash -= $modCost]] <</nobr>>
r3d/fc
src/uncategorized/salon.tw
tw
bsd-3-clause
16,865
:: Scheduled Event <<set $showEncyclopedia to 0>> <<if $expired == 1>> <<set $expiree to 0>> <<include "Remove activeSlave">> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].indenture == 0>> <<set $expiree to $slaves[$i]>> <<break>> <</if>> <</for>> <</if>> <<set $expired to 0>> <<if $retired == 1>> <<set $retiree to 0>> <<include "Remove activeSlave">> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].indenture < 0>> <<if $slaves[$i].actualAge >= $retirementAge && $PhysicalRetirementAgePolicy != 1>> <<set $retiree to $slaves[$i]>> <<break>> <</if>> <<if $slaves[$i].physicalAge >= $retirementAge && $PhysicalRetirementAgePolicy == 1>> <<set $retiree to $slaves[$i]>> <<break>> <</if>> <<if $SexMilestoneRetirement == 1>> <<if $slaves[$i].oralCount + $slaves[$i].analCount + $slaves[$i].vaginalCount + $slaves[$i].penetrativeCount + $slaves[$i].mammaryCount >= $retirementSex>> <<set $retiree to $slaves[$i]>> <<break>> <</if>> <</if>> <<if $MilkMilestoneRetirement == 1>> <<if $slaves[$i].milk >= $retirementMilk>> <<set $retiree to $slaves[$i]>> <<break>> <</if>> <</if>> <<if $BirthsMilestoneRetirement == 1>> <<if $slaves[$i].births >= $retirementBirths>> <<set $retiree to $slaves[$i]>> <<break>> <</if>> <</if>> <<if $KillsMilestoneRetirement == 1>> <<if $slaves[$i].pitkills >= $retirementKills>> <<set $retiree to $slaves[$i]>> <<break>> <</if>> <</if>> <</if>> <</for>> <</if>> <<set $retired to 0>> /* birth scheduled event */ <<if $birthed == 1>> <<set $birthee to 1>> <</if>> <<set $birthed to 0>> /* burst scheduled event */ <<if $burst == 1>> <<set $burstee to 1>> <</if>> <<set $burst to 0>> <<if $week is 30>> <<set $fcnn.push("...is where I'll be when the bombs hit. Survival is my first...")>> <<set $fcnn.push("...time to prepare for major shortages is now, since there's no likelihood...")>> <<set $fcnn.push("...construction of shelters accelerated last quarter, due to fears...")>> <<set $fcnn.push("...major drought across the entire hemisphere shows no signs of...")>> <<set $fcnn.push("...medical organization offered no explanation, stating that...")>> <<elseif $week is 50>> <<set $fcnn.push("...tested a thermonuclear device of some five megatons last night...")>> <<set $fcnn.push("...heavy fighting for the third week in the capital city of...")>> <<set $fcnn.push("...economic recovery looking increasingly unlikely in the event of...")>> <<set $fcnn.push("...complete exhaustion of safe water reserves across...")>> <<set $fcnn.push("...climate refugees streamed across the border despite...")>> <<elseif $week is 70>> <<set $fcnn.push("...second low-order nuclear detonation in the city of...")>> <<set $fcnn.push("...total societal collapse induced by rising sea levels declared today in...")>> <<set $fcnn.push("...likelihood of containing Influenza-M was downgraded to a lower...")>> <<set $fcnn.push("...threatened immediate use of chemical weapons should those forces not withdraw...")>> <<set $fcnn.push("...relief organizations unable to deal with casualties from nuclear exchange between...")>> <<elseif $week is 90>> <<set $fcnn to ["FCNN service has been temporarily suspended. Please stand by."]>> <</if>> <<if $rivalOwner is -1>> <<goto "P rival initiation">> <<elseif $PC.labor == 1>> <<goto "SE Player Birth">> <<elseif ($independenceDay == 1) && (Math.trunc(($week-23)/52) is ($week-23)/52)>> <<goto "SE independence day">> <<elseif ($weddingPlanned > 0)>> <<set $seed to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $weddingSlaveID)>> <<set $activeSlave to $slaves[$i]>> <<set $seed to 1>> <<goto "SE wedding">> <</if>> <</for>> <<if $seed == 0>> <<set $weddingPlanned to 0, $cash += 10000>> <<goto "Scheduled Event">> <</if>> <<elseif $playerBred == 1 && ($PC.preg == 0 || $PC.preg == -1)>> <<goto "P insemination">> <<elseif ($retiree != 0)>> <<goto "SE retirement">> <<elseif ($expiree != 0)>> <<goto "SE expiration">> <<elseif ($burstee != 0)>> <<set $burst to 0>> <<goto "SE Burst">> <<elseif ($birthee != 0)>> <<set $birthed to 0>> <<goto "SE Birth">> <<elseif ($recruiterProgress >= 13)>> <<goto "SE recruiter success">> <<elseif ($customSlaveOrdered == 1)>> <<goto "SE custom slave delivery">> <<elseif ($huskSlaveOrdered == 1)>> <<goto "SE husk slave delivery">> <<elseif ($Lurcher != 0) && ($CoursingAssociation != 0) && (Math.trunc($week/4) is ($week/4)) && ($coursed != 1)>> <<goto "SE coursing">> <<elseif ((($fighterIDs.length > 1) && ($pitBG == 0)) || (($fighterIDs.length > 0) && ($Bodyguard != 0) && ($pitBG == 1))) && ($pitFought == 0)>> <<if $pitLethal == 1>><<goto "SE lethal pit">><<else>><<goto "SE nonlethal pit">><</if>> <<elseif ($bioreactorPerfectedID != 0) && ($bioreactorsAnnounced != 1)>> <<goto "P bioreactor perfected">> <<elseif ($TSS.schoolPresent == 1) && ($TSS.schoolProsperity <= -10)>> <<goto "RES Failure">> <<elseif ($GRI.schoolPresent == 1) && ($GRI.schoolProsperity <= -10)>> <<goto "RES Failure">> <<elseif ($SCP.schoolPresent == 1) && ($SCP.schoolProsperity <= -10)>> <<goto "RES Failure">> <<elseif ($LDE.schoolPresent == 1) && ($LDE.schoolProsperity <= -10)>> <<goto "RES Failure">> <<elseif ($TGA.schoolPresent == 1) && ($TGA.schoolProsperity <= -10)>> <<goto "RES Failure">> <<elseif ($TFS.schoolPresent == 1) && ($TFS.schoolProsperity <= -10)>> <<goto "RES Failure">> <<elseif ($TFS.schoolPresent == 1) && ($organFarmUpgrade != 0) && ($TFS.farmUpgrade == 0)>> <<goto "TFS Farm Upgrade">> <<elseif ($nicaea == 1) && ($organFarmUpgrade != 0) && ($TFS.farmUpgrade == 0)>> <<goto "TFS Farm Upgrade">> <<elseif $arcologies[0].FSChattelReligionist != "unset">> <<if $nicaeaHeld == 1>> <<if $plot == 1>><<goto "Nonrandom Event">><<else>><<goto "Random Nonindividual Event">><</if>> <<elseif ($nicaeaAnnounceable == 1) && ($nicaeaAnnounced != 1)>> <<goto "SE nicaea announcement">> <<elseif $nicaeaPreparation == 1>> <<if $nicaeaInvolvement != 0>> <<goto "SE nicaea preparation">> <<else>> <<set $nicaeaPreparation = 0>> <<if $plot == 1>><<goto "Nonrandom Event">><<else>><<goto "Random Nonindividual Event">><</if>> <</if>> <<elseif $nicaeaInvolvement >= 0>> <<set $nicaeaRollA = random(-1,0), $nicaeaRollB = random(-1,0), $nicaeaRollC = random(-1,0)>> <<set $nicaeaFocus = either("owners", "slaves")>> <<set $nicaeaAssignment = either("whore", "serve the public", "please you")>> <<set $nicaeaAchievement = either("devotion", "trust", "slaves")>> <<goto "SE nicaea council">> <<else>> <<if $plot == 1>><<goto "Nonrandom Event">><<else>><<goto "Random Nonindividual Event">><</if>> <</if>> <<elseif $plot == 1>> <<goto "Nonrandom Event">> <<else>> <<goto "Random Nonindividual Event">> <</if>>
r3d/fc
src/uncategorized/scheduledEvent.tw
tw
bsd-3-clause
6,811
:: Schoolroom <<nobr>> <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Schoolroom">> <<if $schoolroomName != "the Schoolroom">> <<set $schoolroomNameCaps to $schoolroomName.replace("the ", "The ")>> <</if>> <<set $schoolroomSlaves to 0>> <<set $notSchoolroomSlaves to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].assignment is "learn in the schoolroom">> <<set $schoolroomSlaves++>> <<else>> <<set $notSchoolroomSlaves++>> <</if>> <</for>> $schoolroomNameCaps is well-equipped, with wall screens to display lessons. These are currently <<switch $schoolroomDecoration>> <<case "Roman Revivalist">> showing the story of a famous Roman slave who sacrificed her life for the life of <<if def $PC.customTitle>>her $PC.customTitle<<elseif $PC.title != 0>>her master<<else>>her mistress<</if>>. <<case "Egyptian Revivalist">> showing an interpretation of Egyptian history that attributes many great monuments to the enlightened use slave labor. <<case "Edo Revivalist">> showing an interpretation of Japanese cultural history that emphasizes a serf's duty to her social superiors. <<case "Arabian Revivalist">> showing an interpretation of Arabian cultural history that focuses on thriving slave markets and vibrant harems. <<case "Chinese Revivalist">> showing an interpretation of Chinese cultural history that focuses on concubinage, palace etiquette, and social order. <<case "Chattel Religionist">> displaying a passage from the holy book that supports slavery. <<case "Degradationist">> displaying a rote recitation of a slave's proper acceptance of her subhuman status. <<case "Repopulation Focus">> reviewing a number a of sexual positions to accommodate a heavily pregnant girl. <<case "Eugenics">> reviewing ways to better your owner's standing intermixed with exagerated pregnancy horror stories focused on slave pregnancy. <<case "Asset Expansionist">> reviewing techniques that allow two slaves with huge breasts to inspect and moisturize each others' hard to reach areas. <<case "Transformation Fetishist">> offering a brief primer on surgical recovery, with practical techniques to make it quicker. <<case "Gender Radicalist">> going over how to keep one's asspussy ready for intercourse at any time, including how to schedule regular enemata and pre-lubrication. <<case "Gender Fundamentalist">> going over the trifecta that is the standard approach of sex slaves: a blowjob, followed by vaginal, finished with anal. <<case "Physical Idealist">> offering a brief primer on the arcology's nutritional system which will allow slaves to double check their own protein intake. <<case "Supremacist">> reviewing the scientific evidence for $arcologies[0].FSSupremacistRace superiority. <<case "Subjugationist">> reviewing the scientific evidence for $arcologies[0].FSSubjugationistRace inferiority. <<case "Paternalist">> reviewing a lesson on time-management skills, and the students are taking notes on their own tablets. <<case "Pastoralist">> reviewing how to help fellow slaves with huge, lactating breasts. <<case "Maturity Preferentialist">> going over daily sets of exercises designed to keep mature slaves' holes as tight as possible. <<case "Youth Preferentialist">> reviewing social cues that young slaves who have been enslaved through their entire adulthood might not understand. <<case "Body Purist">> offering a brief primer on the arcology's nutritional system which will allow slaves to double check their own caloric intake. <<case "Slimness Enthusiast">> offering a brief primer on the arcology's nutritional system which will allow slaves to double check their own caloric intake. <<default>> reviewing the often complex subject of how to address citizens other that one's owner. <</switch>> <<if $schoolroomSlaves > 2>> $schoolroomNameCaps is busy with slaves, repeating their lessons out loud to drill the instruction home. A few girls are maintaining uncomfortable positions in the corner as punishment for poor work. <<elseif $schoolroomSlaves > 0>> $schoolroomNameCaps sparsely populated, the few students repeating their lessons out loud to drill the instruction home. One girl is maintaining an uncomfortable position in the corner as punishment for poor work. <<elseif $Schoolteacher != 0>> $Schoolteacher.slaveName is alone in $schoolroomName, and has nothing to do but work on her lesson plans. <<else>> None of your slaves are learning in $schoolroomName. [[Decommission the schoolroom|Main][$schoolroom to 0, $schoolroomUpgradeSkills to 0, $schoolroomUpgradeLanguage to 0, $schoolroomUpgradeRemedial to 0, $schoolroomDecoration to "standard"]] <</if>> <br>$schoolroomNameCaps has room to house $schoolroom slaves while they learn. [[Expand the schoolroom|Schoolroom][$cash -= Math.trunc($schoolroom*1000*$upgradeMultiplierArcology), $schoolroom += 5]] //Costs ¤<<print Math.trunc($schoolroom*1000*$upgradeMultiplierArcology)>>// <br> <<if $schoolroomUpgradeSkills == 1>> $schoolroomNameCaps provides slaves with some intermediate skills, including a solid foundation in oral sex, efficient and safe prostitution, and the rudiments of courtesanship. <<else>> $schoolroomNameCaps inculcates the basic skills necessary to a sex slave. [[Upgrade the curriculum to cover some intermediate skills|Schoolroom][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $schoolroomUpgradeSkills to 1]] //Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>>// <</if>> <br> <<if $schoolroomUpgradeLanguage == 1>> $schoolroomNameCaps boasts state of the art linguistic interfaces that allow it to teach the basics of the arcology's lingua franca with increased success. <<else>> $schoolroomNameCaps includes only basic language classes in its curriculum. [[Install advanced linguistic interfaces to efficiently teach the arcology's lingua franca|Schoolroom][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $schoolroomUpgradeLanguage to 1]] //Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>// <</if>> <br> <<if $schoolroomUpgradeRemedial == 1>> $schoolroomNameCaps has been upgraded with advanced teaching tools to help even the stupidest slave learn at an acceptable pace. Intelligent slaves won't learn much faster as a result, but idiots will benefit a great deal. <<else>> $schoolroomNameCaps teaches idiots using standard methods. [[Purchase specialized materials to help stupid slaves learn good|Schoolroom][$cash -= Math.trunc(5000*$upgradeMultiplierArcology), $schoolroomUpgradeRemedial to 1]] //Costs ¤<<print Math.trunc(5000*$upgradeMultiplierArcology)>>// <</if>> <br><br> <<if $Schoolteacher != 0>> <<set $Flag to 2>> <<include "Slave Summary">> <<else>> You do not have a slave serving as a Schoolteacher. [[Appoint one|Schoolteacher Select]] <</if>> <<if $schoolroomSlaves > 0>> <br><br>''Bring a slave out of $schoolroomName:'' <<set $Flag to 1>> <<include "Slave Summary">> <</if>> <<if $notSchoolroomSlaves > 0>> <br><br>''Send a slave to study in $schoolroomName:'' <<set $Flag to 0>> <<include "Slave Summary">> <</if>> <<unset $Flag>> <br><br>Rename $schoolroomName: <<textbox "$schoolroomName" $schoolroomName "Schoolroom">> //Use a noun or similar short phrase// <</nobr>>
r3d/fc
src/uncategorized/schoolroom.tw
tw
bsd-3-clause
7,255
:: Schoolroom Report [nobr] <<set $schoolroomSlaves = 0, _idleBonus = 0, _schoolteacherFetish = 0, _SL = $slaves.length, _ST = -1>> <<if $Schoolteacher != 0>> <<for _ST = 0; _ST < _SL; _ST++>> <<if $slaves[_ST].ID == $Schoolteacher.ID>> <<break>> <</if>> <</for>> <</if>> <<if _ST != -1>> /* 000-250-006 */ /* <<if $seeImages == 1>><<SlaveArt $slaves[_ST] 0 0>><</if>> */ <<if $seeImages == 1>> <div class="imageRef tinyImg"> <<SlaveArt $slaves[_ST] 0 0>> </div> <</if>> /* 000-250-006 */ <<set $i = _ST>> <<silently>> <<include "SA long term effects">> <<include "SA relationships">> <<include "SA rivalries">> <</silently>> <<if ($slaves[_ST].health < -80)>> <<set $slaves[_ST].health += 20>> <<elseif ($slaves[_ST].health < -40)>> <<set $slaves[_ST].health += 15>> <<elseif ($slaves[_ST].health < 0)>> <<set $slaves[_ST].health += 10>> <<elseif ($slaves[_ST].health < 90)>> <<set $slaves[_ST].health += 7>> <</if>> <<if ($slaves[_ST].devotion <= 60)>> <<set $slaves[_ST].devotion += 1>> <</if>> <<if $schoolroomDecoration != "standard">> <<set $slaves[_ST].devotion += 1>> <</if>> <<if ($slaves[_ST].trust < -30)>> <<set $slaves[_ST].trust += 1>> <</if>> <<if $slaves[_ST].fetishStrength <= 95>> <<if $slaves[_ST].fetish != "dom">> <<fetishChangeChance $slaves[_ST]>> <<if $fetishChangeChance > random(0,100)>> <<set _schoolteacherFetish to 1, $slaves[_ST].fetishKnown to 1, $slaves[_ST].fetish to "dom">> <</if>> <<elseif $slaves[_ST].fetishKnown == 0>> <<set _schoolteacherFetish to 1, $slaves[_ST].fetishKnown to 1>> <<else>> <<set _schoolteacherFetish to 2, $slaves[_ST].fetishStrength += 4>> <</if>> <</if>> <<set $Schoolteacher = $slaves[_ST]>> <</if>> <<for _i to 0; _i < _SL; _i++>> <<if ($slaves[_i].assignment != "learn in the schoolroom")>><<continue>><</if>> /* 000-250-006 */ /* <<if $seeImages == 1>><<SlaveArt $slaves[_i] 0 0>><</if>> */ <<if $seeImages == 1>> <div class="imageRef tinyImg"> <<SlaveArt $slaves[_i] 0 0>> </div> <</if>> /* 000-250-006 */ <<set $schoolroomSlaves++>> <<silently>> <<set $i = _i>> <<include "SA take classes">> <<include "SA long term effects">> <<include "SA relationships">> <<include "SA rivalries">> <</silently>> <<if $schoolroomDecoration != "standard">> <<set $slaves[_i].devotion++>> <</if>> <<if ($slaves[_i].health < -80)>> <<set $slaves[_i].health += 20>> <<elseif ($slaves[_i].health < -40)>> <<set $slaves[_i].health += 10>> <<elseif ($slaves[_i].health < 0)>> <<set $slaves[_i].health += 7>> <<elseif ($slaves[_i].health < 90)>> <<set $slaves[_i].health += 3>> <</if>> <</for>> <<if ($schoolroomSlaves > 0)>> <<if $seeImages == 1>><br style="clear:both" /><</if>> <<if ($schoolroomSlaves == 1)>>''There is one slave studying in $schoolroomName.''<<else>>''There are $schoolroomSlaves slaves studying in $schoolroomName.''<</if>> <<if ($Schoolteacher != 0)>> $Schoolteacher.slaveName is serving as your schoolteacher.<<if $Schoolteacher.relationship is -3>> As your wife, she tries her best to teach her pupils how to please you.<</if>> <<if (_schoolteacherFetish == 1)>> She's allowed and even expected to use her students for her own sexual gratification, and in their own way her students are complicit, offering sexual favors for an easier time in the classroom. Before long, she's running a hungry eye over the tits and asses of new trainees; she now @@color:lightcoral;more dominant.@@ <<elseif (_schoolteacherFetish == 2)>> Every new student in class is a new target for her personal educational attention. @@color:lightsalmon;She becomes more dominant.@@ <</if>> <<if $schoolteacherCareers.contains($Schoolteacher.career)>> She has experience with students and learning from her life before she was a slave, making her more effective. <</if>> <<if ($Schoolteacher.visualAge > 35)>> Her age earns her the respect of her students. <<set _idleBonus++>> <</if>> <<if ($Schoolteacher.intelligence > 0)>> She's intelligent enough to be a good teacher. <<set _idleBonus++>> <</if>> <<if ($Schoolteacher.intelligenceImplant == 1)>> Since she's educated herself, she understands her students. <<set _idleBonus++>> <</if>> <<if ($Schoolteacher.face > 1)>> Her students want to be just like their beautiful teacher. <<set _idleBonus++>> <</if>> <<for _i to 0; _i < _SL; _i++>> <<if $slaves[_i].assignment != "learn in the schoolroom">><<continue>><</if>> <<if $familyTesting == 1>> <<if $slaves[_i].mother == $Schoolteacher.ID>> She makes sure to spend extra time teaching her daughter, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].father == $Schoolteacher.ID>> She makes sure to spend extra time teaching her daughter, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].ID == $Schoolteacher.father>> She makes sure to spend extra time teaching her father, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].ID == $Schoolteacher.mother>> She makes sure to spend extra time teaching her mother, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if areSisters($slaves[_i], $Schoolteacher) == 1>> She makes sure to spend extra time teaching her twin, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <<elseif areSisters($slaves[_i], $Schoolteacher) == 2>> She makes sure to spend extra time teaching her sister, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <<elseif areSisters($slaves[_i], $Schoolteacher) == 3>> She makes sure to spend extra time teaching her half-sister, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<else>> <<if $Schoolteacher.relationTarget is $slaves[_i].ID>> She makes sure to spend extra time teaching her $slaves[_i].relation, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <</if>> /*closes extended family mode */ <<if $Schoolteacher.relationshipTarget is $slaves[_i].ID>> She dedicates most of her attention to her <<if $Schoolteacher.relationship == 1>>friend<<elseif $Schoolteacher.relationship is 2>>best friend<<elseif $Schoolteacher.relationship is 3>>friend with benefits<<elseif $Schoolteacher.relationship is 4>>lover<<elseif $Schoolteacher.relationship is 5>>slave wife<</if>>, $slaves[_i].slaveName making sure she understands that day's lesson. <<set $slaves[_i].devotion += 2, $slaves[_i].trust += 2>> <</if>> <<if $Schoolteacher.rivalryTarget is $slaves[_i].ID>> Ever since her <<if $Schoolteacher.rivalry == 1>>growing rival<<elseif $Schoolteacher.rivalry is 2>>rival<<elseif $Schoolteacher.rivalry is 3>>bitter rival<</if>>, was enrolled, she began stalking the classroom carrying a large paddle, much to $slaves[_i].slaveName terror. <<set $slaves[_i].devotion -= 4, $slaves[_i].trust -= 4>> <<if random(1,100) > 35>> <<set $Schoolteacher.rivalry += 1, $slaves[_ST].rivalry += 1, $slaves[_i].rivalry += 1>> <</if>> <</if>> <</for>> <<if ($schoolroomSlaves < $schoolroom)>> <<set _seed to random(1,10)+(($schoolroom-$schoolroomSlaves)*(random(150,170)+(_idleBonus*10)))>> <<set $cash += _seed>> Since she doesn't have enough students to occupy all her time, $schoolroomName takes in citizens' slaves on a contract basis and she teaches them too, earning @@color:yellowgreen;¤_seed.@@ <</if>> <</if>> <<if $schoolroomDecoration != "standard">> $schoolroomNameCaps's $schoolroomDecoration atmosphere @@color:hotpink;has a minor impact on the students.@@ <</if>> <<elseif ($Schoolteacher != 0)>> <<set _seed to random(1,10)+(($schoolroom-$schoolroomSlaves)*(random(150,170)+(_idleBonus*10)))>> <<set $cash += _seed>> ''$schoolroomNameCaps is empty'' except for $Schoolteacher.slaveName, the schoolteacher. Since she doesn't have anyone to teach, she teaches citizens' slaves, earning @@color:yellowgreen;¤_seed.@@ <<else>> ''$schoolroomNameCaps is empty.'' <</if>> <br><br>
r3d/fc
src/uncategorized/schoolroomReport.tw
tw
bsd-3-clause
7,983
:: Schoolteacher Select <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Schoolroom">> <<set $showEncyclopedia to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $Schoolteacher.ID == $slaves[_i].ID>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Schoolteacher. <<set $slaves[_i].assignment to "be the Schoolteacher">> <<set $slaves[_i].assignmentVisible to 0>> <br><br>She will help teach your slaves. <<break>> <</if>> <</for>> <<if ($Schoolteacher == 0)>> You have not selected a Schoolteacher. <</if>> <br><br>''Appoint a Schoolteacher from your devoted slaves:'' <<include "Slave Summary">> <br><br>[[None|Schoolteacher Workaround][$Schoolteacher to 0]] <</nobr>>
r3d/fc
src/uncategorized/schoolteacherSelect.tw
tw
bsd-3-clause
711
:: Schoolteacher Workaround <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].assignment is "be the Schoolteacher") && ($slaves[$i].ID != $Schoolteacher.ID)>> <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $Schoolteacher.ID == $slaves[$i].ID>> <<if $slaves[$i].ID is $personalAttention>> <<if $PC.career == "escort">> <<set $personalAttention to "whoring">> <<elseif $PC.career == "servant">> <<set $personalAttention to "upkeep">> <<else>> <<set $personalAttention to "business">> <</if>> <</if>> <<set $slaves[$i].assignment to "be the Schoolteacher">> <<if $slaves[$i].choosesOwnClothes == 1>><<include "SA chooses own clothes">><</if>> <<set $slaves[$i].assignmentVisible to 0>> <<set $slaves[$i].sentence to 0>> <<set $slaves[$i].livingRules to "luxurious">> <<if $slaves[$i].ID is $HeadGirl.ID>> <<set $HeadGirl to 0>> <</if>> <<if $slaves[$i].ID is $Recruiter.ID>> <<set $Recruiter to 0>> <</if>> <<if $slaves[$i].ID is $Bodyguard.ID>> <<set $Bodyguard to 0>> <</if>> <<break>> <</if>> <</for>> <<goto "Schoolroom">>
r3d/fc
src/uncategorized/schoolteacherWorkaround.tw
tw
bsd-3-clause
1,216
:: SE coursing <<nobr>> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $nextButton to "Continue">> <<set $coursed to 1>> <<set $seed to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $Lurcher.ID>> <<set $Lurcher to $slaves[$i]>> <<break>> <</if>> <</for>> It's time to go coursing. You meet with fellow members of the Coursing Association while the automated maintenance drones clear the plaza and lay down the green, sharing a refine discussion of recent events over <<if $PC.refreshmentType == 0>>a $PC.refreshment<<elseif $PC.refreshmentType == 1>>glasses of $PC.refreshment<<elseif $PC.refreshmentType == 2>>plates of $PC.refreshment<<elseif $PC.refreshmentType == 3>>hits of $PC.refreshment<<else>>shots of $PC.refreshment<</if>>. Once the field is ready, the day's hares are led out and chained in a row along one side of the plaza, naked. You and the other members watch this process intently, since you won't get any more information on them than what you can learn by looking. <br><br> The rules have been explained to the hares: they're to be freed if they can reach the other side of the plaza without being caught and raped by the lurchers who will be released to chase them. <<set $hare1 to 0>> <<set $hare2 to 0>> <<set $hare3 to 0>> <<set $origins to []>> <<if $seeDicks != 100>> <<set $origins.push("housewife")>> <<set $origins.push("heavily pregnant")>> <<set $origins.push("virgin")>> <<set $origins.push("disobedient young")>> <</if>> <<if $seeDicks != 0>> <<set $origins.push("huge balled")>> <<set $origins.push("feminized")>> <<set $origins.push("disobedient young dickgirl")>> <</if>> <<for $i to 0; $i < 3; $i++>> <<if $i == 0>> The first hare <<elseif $i == 1>> The second hare <<else>> The third and final hare <</if>> <<set $origin to $origins.pluck()>> <<if $origin is "virgin">> <<set $activeSlaveOneTimeMaxAge to 20>> <<include "Generate XX Slave">> <<set $activeSlave.anus to 1>> <<set $activeSlave.vagina to 0>> <<set $activeSlave.analCount += 1>> <<set $analTotal += 1>> <<set $activeSlave.preg to -1>> <<set $activeSlave.ovaries to 1>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.oralSkill = 0>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.whoreSkill = 0>> is an appealingly young $activeSlave.race girl, and has V symbols drawn over her cunt and on her lower back, in the interests of fairness. She's a @@color:pink;double virgin.@@<<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is fastened around her neck.<</if>> <<elseif $origin is "heavily pregnant">> <<set $activeSlaveOneTimeMinAge to $fertilityAge>> <<set $activeSlaveOneTimeMaxAge to 20>> <<set $one_time_age_overrides_pedo_mode to 1>> /% Old enough to be pregnant. %/ <<include "Generate XX Slave">> <<set $activeSlave.anus to 1>> <<set $activeSlave.vagina to 1>> <<set $activeSlave.vaginalCount += 1>> <<set $vaginalTotal += 1>> <<set $activeSlave.preg to random(25,30)>> <<set $activeSlave.ovaries to 1>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.oralSkill = 0>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.whoreSkill = 0>> <<set $activeSlave.career to $youngCareers.random()>> is <<if $activeSlave.race is "asian">>an<<else>>a<</if>> $activeSlave.race girl, young and healthy but @@color:pink;heavily pregnant.@@ She's probably been selected to be a hare as a joke, or because someone hates her. <<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is attached to her popped navel.<</if>> <<elseif $origin is "housewife">> <<set $activeSlaveOneTimeMinAge to 35>> <<set $activeSlaveOneTimeMaxAge to 39>> <<include "Generate XX Slave">> <<set $activeSlave.boobs += 800>> <<set $activeSlave.boobsImplant += 800>> <<set $activeSlave.butt += 1>> <<set $activeSlave.buttImplant += 1>> <<set $activeSlave.face to 2>> <<set $activeSlave.faceImplant += 1>> <<set $activeSlave.anus to 1>> <<set $activeSlave.vagina to 1>> <<set $activeSlave.analCount += 1>> <<set $analTotal += 1>> <<set $activeSlave.preg to -1>> <<set $activeSlave.ovaries to 1>> <<set $activeSlave.vaginalSkill = 35>> <<set $activeSlave.oralSkill = 100>> <<set $activeSlave.analSkill = 15>> <<set $activeSlave.whoreSkill = 35>> <<set $activeSlave.career to either("a housewife", "a trophy wife")>> is <<if $activeSlave.race is "asian">>an<<else>>a<</if>> $activeSlave.race woman, no longer young, but attractive enough in a fake sort of way. She has obviously been crying, and has probably been recently enslaved from a comfortable life, like that of a @@color:pink;housewife or a trophy wife.@@<<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is fastened around her neck.<</if>> <<elseif $origin is "disobedient young">> <<set $activeSlaveOneTimeMaxAge to 25>> <<include "Generate XX Slave">> <<set $activeSlave.anus to 1>> <<set $activeSlave.vagina to 1>> <<set $activeSlave.analCount += 1>> <<set $analTotal += 1>> <<set $activeSlave.preg to -1>> <<set $activeSlave.ovaries to 1>> <<set $activeSlave.vaginalSkill = 15>> <<set $activeSlave.oralSkill = 15>> <<set $activeSlave.analSkill = 15>> <<set $activeSlave.whoreSkill = 15>> <<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration", "idealistic")>> <<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "hates men")>> <<set $activeSlave.energy to 10>> <<set $activeSlave.fetish to "none">> <<set $activeSlave.muscles to either(20,50)>> is a fit young $activeSlave.race girl, and is far more watchful and alert than her fellow hares. She may be a @@color:pink;disobedient slave@@ here because she was difficult to train.<<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is fastened around her neck.<</if>> <<elseif $origin is "disobedient young dickgirl">> <<set $activeSlaveOneTimeMaxAge to 25>> <<include "Generate XY Slave">> <<set $activeSlave.anus to 2>> <<set $activeSlave.analCount += 1>> <<set $analTotal += 1>> <<set $activeSlave.dick to random(2,4)>> <<set $activeSlave.balls to random(2,4)>> <<set $activeSlave.oralSkill = 0>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.whoreSkill = 0>> <<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration")>> <<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "hates men")>> <<set $activeSlave.attrXY to 0>> <<set $activeSlave.attrXX to 70>> <<set $activeSlave.fetish to "none">> <<set $activeSlave.muscles to either(20,50)>> is a strong young $activeSlave.race girl with who retains her cock and balls, and looks determined. Perhaps she's a @@color:pink;resistant dickgirl@@ who's been difficult to turn into a good girl.<<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is fastened around her cock.<</if>> <<elseif $origin is "huge balled">> <<set $activeSlaveOneTimeMaxAge to 25>> <<include "Generate XY Slave">> <<set $activeSlave.anus to 1>> <<set $activeSlave.analCount += 1>> <<set $analTotal += 1>> <<set $activeSlave.balls to 5>> <<set $activeSlave.dick to random(3,5)>> <<set $activeSlave.oralSkill = 0>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.whoreSkill = 0>> is <<if $activeSlave.race is "asian">>an<<else>>a<</if>> $activeSlave.race slave whose distinguishing characteristic is a dangling scrotum and a pair of @@color:pink;huge balls.@@ This impediment bumps against her thighs as she's made ready.<<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is fastened around her hefty testicles.<</if>> <<elseif $origin is "feminized">> <<set $activeSlaveOneTimeMaxAge to 25>> <<include "Generate XY Slave">> <<set $activeSlave.boobs += 800>> <<set $activeSlave.boobsImplant += 800>> <<set $activeSlave.butt += 1>> <<set $activeSlave.buttImplant += 1>> <<set $activeSlave.face += 1>> <<set $activeSlave.faceImplant += 1>> <<set $activeSlave.anus to 3>> <<set $activeSlave.analCount += 1>> <<set $analTotal += 1>> <<set $activeSlave.balls to random(0,1)>> <<set $activeSlave.dick to random(1,2)>> <<set $activeSlave.oralSkill = 15>> <<set $activeSlave.analSkill = 35>> <<set $activeSlave.whoreSkill = 15>> <<set $activeSlave.attrXY to 100>> <<set $activeSlave.attrXX to 0>> is <<if $activeSlave.race is "asian">>an<<else>>a<</if>> $activeSlave.race bitch with a tiny dick who has been @@color:pink;heavily feminized,@@ yet seems terrified and very new to slavery. Her fake tits and girly behavior must be from her life before she was a slave.<<if !canSee($Lurcher)>> To accommodate your blind lurcher, a bell is fastened around her neck.<</if>> <</if>> <<set $activeSlave.origin to "Your lurcher " + $Lurcher.slaveName + " caught her coursing; she was a " + $origin + " hare.">> <<set $activeSlave.health = random(30,50)>> <<set $activeSlave.devotion = random(-45,-25)>> <<set $activeSlave.trust = random(-60,-75)>> <<set $activeSlave.oldDevotion to $activeSlave.devotion>> <<if $activeSlave.weight > 95>> She's a catastrophically fat slut of a slave, and may stand a better chance of getting away rolling than running. <<set $hareSpeed -= 2>> <<elseif $activeSlave.weight > 30>> She's chubby enough that her weight will reduce her speed. <<set $hareSpeed -= 1>> <<elseif $activeSlave.weight < -95>> She's so skinny that it's not likely she's physically fit enough to be quick. <<set $hareSpeed -= 1>> <</if>> <<if $activeSlave.muscles > 30>> She's so heavily muscled that she's probably slower than she would be if she were merely fit. <<set $hareSpeed -= 1>> <<elseif $activeSlave.muscles <= 5>> She's soft, and her legs show no sign of tone at all. <<set $hareSpeed -= 1>> <</if>> <<if $activeSlave.height >= 185>> She's tall enough that her height will probably slow her down. <<set $hareSpeed -= 1>> <<elseif $activeSlave.height < 150>> She's short enough that her short legs will probably slow her down. <<set $hareSpeed -= 2>> <</if>> <<if $activeSlave.boobs >= 2000>> She has absurd tits that will destroy any chance she has of getting away. <<set $hareSpeed -= 1>> <<elseif $activeSlave.boobs >= 800>> She has huge boobs that will make it painful for her to run hard. <<set $hareSpeed -= 1>> <</if>> <<if $activeSlave.butt >= 6>> She has a monstrous bottom that won't help her gait. <<set $hareSpeed -= 1>> <</if>> <<if $activeSlave.dick >= 5>> Her big cock is going to bounce around cruelly. <<set $hareSpeed -= 1>> <</if>> <<if $activeSlave.balls >= 5>> Her balls are likely to hurt badly enough, running naked, to slow her down. <<set $hareSpeed -= 1>> <</if>> <<if $activeSlave.preg >= 20>> Her pregnant belly will probably stop her from running at all. <<set $hareSpeed -= 5>> <</if>> <<if $i == 0>> <<set $hare1 to $activeSlave>> <<set $origin1 to $origin>> <<set $hareSpeed1 to $hareSpeed>> <<elseif $i == 1>> <<set $hare2 to $activeSlave>> <<set $origin2 to $origin>> <<set $hareSpeed2 to $hareSpeed>> <<else>> <<set $hare3 to $activeSlave>> <<set $origin3 to $origin>> <<set $hareSpeed3 to $hareSpeed>> <</if>> <</for>> <br><br> You lead your lurcher $Lurcher.slaveName out on a leash, naked just like the hares. <<if ($Lurcher.dick > 0)>> <<if ($Lurcher.balls > 0) && ($Lurcher.dickAccessory != "chastity") && ($Lurcher.hormones <= 0) && ($Lurcher.dick > 1) && ($Lurcher.energy > 60) && ($Lurcher.devotion > 20)>> <<if ($Lurcher.dick > 4)>> She's sporting an enormous half-erection, which has already been heavily lubricated to prevent permanent damage to the hares' holes. As you bring her up to the mark, she grabs its base and begins to slap it against her thigh, hard. The hares look around to see what the wet smacking noise is, and are understandably frightened; one of them begins to beg openly. Your fellow competitors @@color:green;think this is hilarious.@@ <<set $rep += 50>> <<set $phallus to "huge dick">> <<else>> She's ready to do her best. Since she's concentrating on the immediate challenge of catching rather than the secondary challenge of raping, she isn't hard yet, but she's not indifferent to the prospect of getting her dick wet. There's a bead of precum forming at her tip. <<set $phallus to "dick">> <</if>> <<elseif !canAchieveErection($Lurcher)>> There's no way she's going to be able to achieve an erection, so she's holding a lubricated dildo in one hand. This is technically permitted under the rules, but your fellow competitors and the crowd gathering to spectate @@color:red;consider it poor form.@@ <<set $rep -= 50>> <<set $phallus to "dildo">> <<elseif ($Lurcher.energy <= 60) || ($Lurcher.devotion <= 20)>> She looks nervous, and obviously doesn't find the situation arousing. She knows she's to catch a slave and rape her, but may not be able to get hard enough to to do the deed properly. Your fellow competitors and the crowd gathering to spectate @@color:red;are unimpressed@@ by her lack of spirit. <<set $rep -= 50>> <<set $phallus to "fingers">> <<elseif ($Lurcher.energy <= 60) || ($Lurcher.devotion <= 20)>> Her dick is not a fit instrument for sexual assault, so she's holding a lubricated dildo in one hand. This is technically permitted under the rules, but your fellow competitors and the crowd gathering to spectate @@color:red;consider it poor form.@@ <<set $rep -= 50>> <<set $phallus to "dildo">> <</if>> <<elseif ($Lurcher.clit > 1) && ($Lurcher.energy > 60) && ($Lurcher.devotion > 20)>> She's gently masturbating as you bring her up to the mark, her enormous clit becoming engorged and stiff. Your fellow competitors and the gathering crowd of spectators @@color:green;are fascinated,@@ realizing that she intends to attempt rape with it. <<set $rep += 50>> <<set $phallus to "clit">> <<elseif $seeDicks != 0>> She's holding a lubricated dildo in one hand, since she's missing a natural phallus of her own. This is technically permitted under the rules, but your fellow competitors and the crowd gathering to spectate @@color:red;consider it poor form.@@ <<set $rep -= 50>> <<set $phallus to "dildo">> <<else>> She's holding a lubricated dildo in one hand. As you bring her up to the mark, she begins to slap it against her thigh out of nervousness and eagerness to begin. The hares look around to see what the wet smacking noise is, and are understandably frightened; one of them begins to cry openly. <<set $phallus to "dildo">> <</if>> <<if canSee($Lurcher)>>$Lurcher.slaveName looks at you questioningly, wondering which of the hares she should try to chase down and molest<<else>>$Lurcher.slaveName looks at you questioningly, wondering which of the dingling bells she should try to chase down and molest<</if>>. <</nobr>>\ <span id="result"> <<link "The first">> <<replace "#result">> <<nobr>> <<set $activeSlave to $hare1>> <<set $origin to $origin1>> <<set $hareSpeed to $hareSpeed1>> You place your hand on the leash's quick release and whisper your direction into her ear without letting the other competitors or their lurchers hear. Then, you gently push her down into her starting crouch. The umpire trips the hares' releases, a few yards in front of you and $Lurcher.slaveName, and you instantly let your lurcher off her leash. <<set $LurcherSpeed to 10>> <<if $Lurcher.devotion > 50>> She's eager to do well for you, and immediately takes off. <<set $LurcherSpeed += 2>> <<elseif $Lurcher.trust < -20>> She's frightened of failing you, and immediately takes off. <<set $LurcherSpeed += 1>> <<elseif $Lurcher.devotion < -20>> She's disgusted by this, and is slow to start. <<set $LurcherSpeed -= 1>> <<else>> She's a bit hesitant about this, but gets off reasonably well. <</if>> <<if $Lurcher.health > 60>> Her shining health allows her to pour it on. <<set $LurcherSpeed += 1>> <<elseif $Lurcher.health < 0>> Her poor health slows her down. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.weight > 95>> It takes her a while to get her fat ass up to her top speed, such as it is. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.weight > 30>> It takes her a while to get her chubby body up to speed. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.weight < -95>> She's so thin that she lacks the vigor to run really well. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.muscles > 30>> She's musclebound, without the range of motion to move freely. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.muscles <= 5>> She's soft, and is panting desperately within a few short strides. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.muscles <= -30>> She's very weak, and is panting desperately from just walking to the starting line. <<set $LurcherSpeed -= 4>> <<elseif $Lurcher.muscles <= -95>> She's physically frail, barely capable of walking let alone running. <<set $LurcherSpeed -= 20>> <</if>> <<if $Lurcher.height >= 185>> Her steps are long, too long, in fact, her long legs slowing her gait. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.height < 150>> Her stride is too short, but it's the best her little legs can manage. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.boobs >= 2000>> Her naked breasts slosh around wildly, ruining her attempt at running. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.boobs >= 800>> Her big tits bounce energetically, looking quite nice but hurting her speed. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.butt >= 6>> She does her best to stay light on her feet despite her inconveniently huge buttocks. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.dick >= 5>> Her cock bounces up and down wildly; she does her best to ignore it, but it does get in the way. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.balls >= 5>> As you watch her go, her testicles smack into her thigh, and she gasps with pain. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.inflation == 3>> Her hugely bloated, <<print $Lurcher.inflationType>>-filled belly is taut and painful, forcing her to a slow waddle. <<set $LurcherSpeed -= 5>> <<elseif $Lurcher.inflation == 2>> Her bloated, <<print $Lurcher.inflationType>>-stuffed belly is constantly jiggling and moving, making it extremely difficult to run. <<set $LurcherSpeed -= 4>> <<elseif $Lurcher.inflation == 1>> Her distended, <<print $Lurcher.inflationType>>-belly is uncomfortable and heavy, slowing her down. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.preg >= 20>> She can barely waddle along with her huge pregnant belly. <<set $LurcherSpeed -= 5>> <<elseif $Lurcher.bellyImplant >= 32000>> She can barely move, let alone consider chasing something with her titanic belly implant. <<set $LurcherSpeed -= 20>> <<elseif $Lurcher.bellyImplant >= 16000>> She can barely walk with her enormous belly implant. <<set $LurcherSpeed -= 10>> <<elseif $Lurcher.bellyImplant >= 8000>> She can barely waddle along with her giant belly implant. <<set $LurcherSpeed -= 6>> <<elseif $Lurcher.bellyImplant >= 4000>> She can barely waddle along with her huge belly implant. <<set $LurcherSpeed -= 5>> <</if>> <<if !canSee($Lurcher)>> Her inability to see causes her to be cautious of her footing, making her first several strides slow and uncertain. <<set $LurcherSpeed -= 1>> <</if>> <<if $LurcherSpeed > 10>> Her turn of speed is impressive. <<elseif $LurcherSpeed > 8>> She runs reasonably fast. <<elseif $LurcherSpeed > 6>> In all, she runs slowly. <<elseif $LurcherSpeed > 4>> In all, she barely manages a quick jog. <<else>> In all, she can barely do more than stumble after the hares. <</if>> <<if $hareSpeed >= $LurcherSpeed>> <<if $origin is "virgin">> The virgin, however, <<elseif $origin is "heavily pregnant">> Despite her pregnancy, the hare <<elseif $origin is "housewife">> Despite her fake boobs, the hare <<elseif $origin is "disobedient young">> The fit young slave, however, <<elseif $origin is "disobedient young dickgirl">> The strong young slave, however, <<elseif $origin is "huge balled">> Despite her ridiculous ballsack, the hare <<else>> Despite her fake boobs and exaggeratedly feminine gait, the hare <</if>> <<if $hareSpeed > $LurcherSpeed>>immediately pulls away<<else>>manages to maintain her narrow head start<</if>>. Realizing that she stands no chance of catching her assigned target, $Lurcher.slaveName <<if canSee($Lurcher)>>looks around for a slower hare<<else>>listens for a nearby bell<</if>>. <<if $hareSpeed2 < $hareSpeed3>> <<set $activeSlave to $hare2>> <<set $origin to $origin2>> <<set $hareSpeed to $hareSpeed2>> <<else>> <<set $activeSlave to $hare3>> <<set $origin to $origin3>> <<set $hareSpeed to $hareSpeed3>> <</if>> <<if canSee($Lurcher)>>Seeing that the $origin hare is slower<<else>>hearing the $origin hare's bell nearby<</if>>, she angles after her instead. <<if $hareSpeed >= $LurcherSpeed>> She does no better with her new target; her course is over. <<elseif random(1,2) == 1>> One of her rival lurchers has the same idea, however, and tries to trip her up. <<if !canSee($Lurcher)>> Unable to see it coming, she goes down with a crash; her course is over. <<elseif $Lurcher.combatSkill == 1>> She parries the attempt with contemptuous ease and catches up to her new target. <<set $seed to 1>> <<elseif $Lurcher.muscles > 30>> She muscles through the attempt and catches up to her new target. <<set $seed to 1>> <<else>> She goes down with a crash; her course is over. <</if>> <<else>> She manages to overtake her new target. <<set $seed to 1>> <</if>> <<else>> She rapidly overtakes the $origin hare. <<set $seed to 1>> <</if>> <<if $seed == 1>> <<if $origin is "heavily pregnant">> Her quarry is unwilling to be tackled, probably out of fear for her baby, and flings herself down as soon as $Lurcher.slaveName gets near.<<if !canSee($Lurcher)>> She screams as she sees $Lurcher.slaveName preparing to dive on her, alerting the blind lurcher that her prey has already surrendered.<</if>> <<elseif !canSee($Lurcher) and random(1,3) == 1>> Her prey takes advantage of her lack of eyesight, baiting $Lurcher.slaveName to dive in the wrong direction. As she rises to her feet, the slave is too far gone to make another lunge. $Lurcher.slaveName's course is over. <<elseif $Lurcher.combatSkill == 1>> Her tackle is expert: she wraps her quarry up and pulls her down, falling on top of the struggling body. <<elseif $Lurcher.muscles > 30>> She's burly enough that she tackles her quarry by simple force, an approach no less effective for its inelegance. <<elseif $origin is "virgin">> <<if random(1,3) == 1>> The young slave manages to evade her inexpert tackle, however, and there is no space for another before she crosses the plaza. $Lurcher.slaveName's course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the young slave stumbles and falls anyway. <</if>> <<elseif $origin is "housewife">> <<if random(1,4) == 1>> The spoiled slave shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the top-heavy bimbo goes down anyway. <</if>> <<elseif $origin is "feminized">> <<if random(1,4) == 1>> The sissy bitch shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the sissy bitch goes down with a wail. <</if>> <<elseif $origin is "huge balled">> <<if random(1,4) == 1>> The slave shows surprising agility despite her flopping ballsack, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the slave goes down, screaming with pain when her balls get trapped under their combined weight. <</if>> <<else>> <<if random(1,2) == 1>> The determined young slave evades her inexpert attempts to tackle all the way across the plaza, however. $Lurcher.slaveName's course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the determined slave is unlucky, stumbling and going down anyway. <</if>> <</if>> <</if>> <<if $seed == 1>> The hare knows that once her knees touched the field, her chance at freedom was gone. She begins to cry <<if $phallus is "huge dick">> and then scream as $Lurcher.slaveName <<if $origin is "virgin">> rapes her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. She has to be very careful, since her cock is big enough to seriously hurt an anal virgin, but despite her care the racket is appallingly loud. <<elseif $origin is "heavily pregnant">> fucks her cunt. As her belly attests, she's no virgin, but the lurcher's dick is big enough to reach her cervix. Her screams crescendo into shrieks as she experiences this internal torment. <<elseif $origin is "housewife">> fucks her in the ass. A kept woman like her is probably no stranger to giving up her butthole to please a cock, but she apparently isn't used to dick quite this formidable. The lurcher leaves her sobbing disconsolately with a fresh load of cum leaking out of her backdoor. <<elseif $origin is "feminized">> fucks her in the ass. The high-pitched shrieking produces some discussion in the crowd. If the slave didn't want huge cock up her girly anus, why did she feminize herself so thoroughly? A mystery. <<elseif $origin is "huge balled">> fucks her in the ass. The lurcher pounds her doggy style, taking nice long strokes that slide her formidable shaft almost all the way out of her victim's poor butthole before shoving it back in again. The slave's balls brush the field with each thrust. <<else>> fucks her in the ass. She never stops struggling, though this isn't much proof of undiminished resistance. After all, the lurcher's dick is so big that she'd probably fight to get it out of her butthole even if she weren't in need of breaking. <</if>> <<elseif $phallus is "dick">> as $Lurcher.slaveName <<if $origin is "virgin">> penetrates her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as she experiences the rare delight of raping an anal virgin. <<elseif $origin is "heavily pregnant">> uses her cunt. The lurcher pulls the slave upright so she can cradle her pregnant belly while she fucks her. When she climaxes, she thrusts as deeply as she can manage, though more cum won't make the slave any more pregnant. <<elseif $origin is "housewife">> fucks her in the ass. Her tears seem to come more from disappointment than anal pain; a kept woman like her has probably put up with more than one buttfuck she didn't want. <<elseif $origin is "feminized">> fucks her in the ass. The whining produces some discussion in the crowd. If the slave didn't want cock up her girly anus, why did she feminize herself so thoroughly? A mystery. <<elseif $origin is "huge balled">> uses her anus. With them facing away from you, the coupling takes the usual stacked symmetry of a dickgirl fucking a dickgirl, though the bottom's generous balls sway eye-catchingly back and forth with the rhythm of the assrape. <<else>> fucks her in the ass. She never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped more than once before today, but she fights this like it's the first time. <</if>> <<elseif $phallus is "clit">> as $Lurcher.slaveName <<if $origin is "virgin">> grinds herself against the hare to get her pseudophallic clit into her victim's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as her enormous bitch button slips up the slave's asshole. <<elseif $origin is "heavily pregnant">> grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The lurcher has to force the hare down, legs spread, in order to work her enormous clit inside the slave, but she manages it and you see her back stiffen as her pseudophallus, small by the standards of penises but much more sensitive, slides inside. <<elseif $origin is "housewife">> grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The slave doesn't seem to know what to make of this. Being raped by a huge clit is very probably a novel experience for her, but it isn't really painful. She closes her eyes and visibly tries to pretend it's a small penis. <<elseif $origin is "feminized">> grinds herself against the hare to get her pseudophallic clit inside her victim's experienced anus. The slave stiffens with shock. She's obviously had quite a variety of things pushed up her girly butthole, but apparently this is her first time being fucked by a clit. <<elseif $origin is "huge balled">> grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave stiffens with shock. Though it's huge by the standards of clitorises, the pseudophallus isn't big enough to make assrape painful, but the extreme inversion of gender roles makes up for it, to go by the slave's horror. <<else>> grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped by much larger phalli, but she fights it anyway. <</if>> <<elseif $phallus is "dildo">> as $Lurcher.slaveName <<if $origin is "virgin">> inserts her dildo into the slave's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. The dildo is reasonably sized and well lubricated, but the poor slave shrieks with anal pain anyway. <<elseif $origin is "heavily pregnant">> pushes her dildo inside the slave's fertile cunt. Desperate to preserve her baby, the slave complies as best she can. Taking the cue, your lurcher caresses her, producing a grotesque parody of loving pregnant sex that holds the crowd's attention. <<elseif $origin is "housewife">> pushes her dildo up the slave's ass. A kept woman like her is not likely to be any stranger to sex toys, but to go by her reaction, she probably prefers to put them in her cunt. <<elseif $origin is "feminized">> pushes her dildo up the slave's sissy ass. The whining produces some discussion in the crowd. Why would a girl who feminized herself so thoroughly have any problem with something being shoved inside her rear pussy? A mystery. <<elseif $origin is "huge balled">> pushes her dildo up the slave's ass. Knowing that she should do her best to create a spectacle, she takes the slave's dangling balls in one hand, squeezing them to force her bottom to be a good little butthole bitch, and then stimulating them until the slave achieves a shameful anal orgasm. <<else>> pushes her dildo up the slave's ass. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably had several dildos pushed up her disobedient asshole, but it seems she's determined to learn nothing. <</if>> <<else>> as $Lurcher.slaveName hesitates over her. The lurcher realizes that she won't be able to get hard. Desperate to avoid failure, she <<if $origin is "virgin">> shoves a couple of fingers into the slave's virgin ass. She has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. <<elseif $origin is "heavily pregnant">> gives up and fingerfucks the pregnant girl. Desperate to preserve her baby, the slave complies as best she can, producing a contest between her attempts to go along and the lurcher's attempts to make it unpleasant. This degenerates into a sobbing cunt fisting session. <<elseif $origin is "housewife">> shoves a couple of fingers up the slave's ass. A kept woman like her is not likely to be any stranger to a little anal play, but she doesn't seem to be much of a fan. She does her best to relax, but it's obvious that she doesn't appreciate having her asshole fingered. <<elseif $origin is "feminized">> shoves her fingers up the slave's sissy ass. It's so loose that this fails to have the desired effect. Afraid that she has to produce some sort of reaction, the lurcher shoves her entire fist up there, producing a wail of anal anguish. <<elseif $origin is "huge balled">> shoves a couple of fingers up the slave's ass. Casting about for something to do to distract from her inadequacy, the lurcher seizes the slave's dangling balls and shoves one of them up her loosened butt. This produces a shriek of pain and surprise, followed by a long fight to get the other one up there. <<else>> shoves a couple of fingers up the slave's ass. The slave never stops struggling, producing nothing more interesting than an extended wrestling match in which one of the parties has some fingers inside the other's butthole. <</if>> The crowd is unimpressed by this disappointing display. <</if>> <<if $Lurcher.fetishKnown == 1>> <<if $Lurcher.fetishStrength > 60>> <<if ($Lurcher.fetish is "sadist")>> @@color:hotpink;What is finest in life,@@ in the mind of your sadistic lurcher? <<if $origin is "virgin">> To sodomize a virgin asshole, and to hear screams of anal pain. <<elseif $origin is "heavily pregnant">> To molest a pregnant slut, and hear her sob with fear. <<elseif $origin is "housewife">> To rape a stuck-up bitch, and hear her cry with anal pain. <<elseif $origin is "feminized">> To rape a sissy's asspussy, and hear her squeal. <<elseif $origin is "huge balled">> To abuse defenseless testicles, and make their owner scream. <<else>> To rape a struggling victim, and taste her tears of defeat. <</if>> <<set $Lurcher.devotion += 5>> <<elseif $Lurcher.fetish is "pregnancy" && $origin is "heavily pregnant">> You lurcher is @@color:hotpink;thrilled@@ to have had the privilege of chasing down and raping a pregnant woman. <<set $Lurcher.devotion += 5>> <</if>> <</if>> <</if>> <<set $Lurcher.penetrativeCount += 1>> <<set $penetrativeTotal += 1>> <<AddSlave $activeSlave>> <<else>> <<if $Lurcher.devotion > 50>> She makes her way back to you dejectedly, hanging her head. <<else>> She makes her way back to you slowly, doing her best to look contrite. <</if>> On the other side of the plaza, there is a scream of triumph followed by tears of joy as one of the hares successfully wins her freedom. This cheerful noise mixes strangely with screams of a very different sort and the slap of flesh on flesh as a more successful lurcher rapes her capture. <</if>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $Lurcher.ID>> <<set $slaves[$i] to $Lurcher>> <<break>> <</if>> <</for>> <</nobr>> <</replace>> <</link>> <<link "The second">> <<replace "#result">> <<nobr>> <<set $activeSlave to $hare2>> <<set $origin to $origin2>> <<set $hareSpeed to $hareSpeed2>> You place your hand on the leash's quick release and whisper your direction into her ear without letting the other competitors or their lurchers hear. Then, you gently push her down into her starting crouch. The umpire trips the hares' releases, a few yards in front of you and $Lurcher.slaveName, and you instantly let your lurcher off her leash. <<set $LurcherSpeed to 10>> <<if $Lurcher.devotion > 50>> She's eager to do well for you, and immediately takes off. <<set $LurcherSpeed += 2>> <<elseif $Lurcher.trust < -20>> She's frightened of failing you, and immediately takes off. <<set $LurcherSpeed += 1>> <<elseif $Lurcher.devotion < -20>> She's disgusted by this, and is slow to start. <<set $LurcherSpeed -= 1>> <<else>> She's a bit hesitant about this, but gets off reasonably well. <</if>> <<if $Lurcher.health > 60>> Her shining health allows her to pour it on. <<set $LurcherSpeed += 1>> <<elseif $Lurcher.health < 0>> Her poor health slows her down. <<set $LurcherSpeed -= 1>> <</if>> <<if !canSee($Lurcher)>> Her inability to see causes her to be cautious of her footing, making her first several strides slow and uncertain. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.weight > 95>> It takes her a while to get her fat ass up to her top speed, such as it is. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.weight > 30>> It takes her a while to get her chubby body up to speed. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.weight < -95>> She's so thin that she lacks the vigor to run really well. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.muscles > 30>> She's musclebound, without the range of motion to move freely. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.muscles <= 5>> She's soft, and is panting desperately within a few short strides. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.muscles <= -30>> She's very weak, and is panting desperately from just walking to the starting line. <<set $LurcherSpeed -= 4>> <<elseif $Lurcher.muscles <= -95>> She's physically frail, barely capable of walking let alone running. <<set $LurcherSpeed -= 20>> <</if>> <<if $Lurcher.height >= 185>> Her steps are long, too long, in fact, her long legs slowing her gait. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.height < 150>> Her stride is too short, but it's the best her little legs can manage. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.boobs >= 2000>> Her naked breasts slosh around wildly, ruining her attempt at running. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.boobs >= 800>> Her big tits bounce energetically, looking quite nice but hurting her speed. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.butt >= 6>> She does her best to stay light on her feet despite her inconveniently huge buttocks. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.dick >= 5>> Her cock bounces up and down wildly; she does her best to ignore it, but it does get in the way. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.balls >= 5>> As you watch her go, her testicles smack into her thigh, and she gasps with pain. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.inflation == 3>> Her hugely bloated, <<print $Lurcher.inflationType>>-filled belly is taut and painful, forcing her to a slow waddle. <<set $LurcherSpeed -= 5>> <<elseif $Lurcher.inflation == 2>> Her bloated, <<print $Lurcher.inflationType>>-stuffed belly is constantly jiggling and moving, making it extremely difficult to run. <<set $LurcherSpeed -= 4>> <<elseif $Lurcher.inflation == 1>> Her distended, <<print $Lurcher.inflationType>>-belly is uncomfortable and heavy, slowing her down. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.preg >= 20>> She can barely waddle along with her huge pregnant belly. <<set $LurcherSpeed -= 5>> <<elseif $Lurcher.bellyImplant >= 32000>> She can barely move, let alone consider chasing something with her titanic belly implant. <<set $LurcherSpeed -= 20>> <<elseif $Lurcher.bellyImplant >= 16000>> She can barely walk with her enormous belly implant. <<set $LurcherSpeed -= 10>> <<elseif $Lurcher.bellyImplant >= 8000>> She can barely waddle along with her giant belly implant. <<set $LurcherSpeed -= 6>> <<elseif $Lurcher.bellyImplant >= 4000>> She can barely waddle along with her huge belly implant. <<set $LurcherSpeed -= 5>> <</if>> <<if $LurcherSpeed > 10>> Her turn of speed is impressive. <<elseif $LurcherSpeed > 8>> She runs reasonably fast. <<elseif $LurcherSpeed > 6>> In all, she runs slowly. <<elseif $LurcherSpeed > 4>> In all, she barely manages a quick jog. <<else>> In all, she can barely do more than stumble after the hares. <</if>> <<if $hareSpeed >= $LurcherSpeed>> <<if $origin is "virgin">> The virgin, however, <<elseif $origin is "heavily pregnant">> Despite her pregnancy, the hare <<elseif $origin is "housewife">> Despite her fake boobs, the hare <<elseif $origin is "disobedient young">> The fit young slave, however, <<elseif $origin is "disobedient young dickgirl">> The strong young slave, however, <<elseif $origin is "huge balled">> Despite her ridiculous ballsack, the hare <<else>> Despite her fake boobs and exaggeratedly feminine gait, the hare <</if>> <<if $hareSpeed > $LurcherSpeed>>immediately pulls away<<else>>manages to maintain her narrow head start<</if>>. Realizing that she stands no chance of catching her assigned target, $Lurcher.slaveName <<if canSee($Lurcher)>>looks around for a slower hare<<else>>listens for a nearby bell<</if>>. <<if $hareSpeed1 < $hareSpeed3>> <<set $activeSlave to $hare1>> <<set $origin to $origin1>> <<set $hareSpeed to $hareSpeed1>> <<else>> <<set $activeSlave to $hare3>> <<set $origin to $origin3>> <<set $hareSpeed to $hareSpeed3>> <</if>> <<if canSee($Lurcher)>>Seeing that the $origin hare is slower<<else>>hearing the $origin hare's bell nearby<</if>>, she angles after her instead. <<if $hareSpeed >= $LurcherSpeed>> She does no better with her new target; her course is over. <<elseif random(1,2) == 1>> One of her rival lurchers has the same idea, however, and tries to trip her up. <<if !canSee($Lurcher)>> Unable to see it coming, she goes down with a crash; her course is over. <<elseif $Lurcher.combatSkill == 1>> She parries the attempt with contemptuous ease and catches up to her new target. <<set $seed to 1>> <<elseif $Lurcher.muscles > 30>> She muscles through the attempt and catches up to her new target. <<set $seed to 1>> <<else>> She goes down with a crash; her course is over. <</if>> <<else>> She manages to overtake her new target. <<set $seed to 1>> <</if>> <<else>> She rapidly overtakes the $origin hare. <<set $seed to 1>> <</if>> <<if $seed == 1>> <<if $origin is "heavily pregnant">> Her quarry is unwilling to be tackled, probably out of fear for her baby, and flings herself down as soon as $Lurcher.slaveName gets near.<<if !canSee($Lurcher)>> She screams as she sees $Lurcher.slaveName preparing to dive on her, alerting the blind lurcher that her prey has already surrendered.<</if>> <<elseif !canSee($Lurcher) and random(1,3) == 1>> Her prey takes advantage of her lack of eyesight, baiting $Lurcher.slaveName to dive in the wrong direction. As she rises to her feet, the slave is too far gone to make another lunge. $Lurcher.slaveName's course is over. <<elseif $Lurcher.combatSkill == 1>> Her tackle is expert: she wraps her quarry up and pulls her down, falling on top of the struggling body. <<elseif $Lurcher.muscles > 30>> She's burly enough that she tackles her quarry by simple force, an approach no less effective for its inelegance. <<elseif $origin is "virgin">> <<if random(1,3) == 1>> The young slave manages to evade her inexpert tackle, however, and there is no space for another before she crosses the plaza. $Lurcher.slaveName's course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the young slave stumbles and falls anyway. <</if>> <<elseif $origin is "housewife">> <<if random(1,4) == 1>> The spoiled slave shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the top-heavy bimbo goes down anyway. <</if>> <<elseif $origin is "feminized">> <<if random(1,4) == 1>> The sissy bitch shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the sissy bitch goes down with a wail. <</if>> <<elseif $origin is "huge balled">> <<if random(1,4) == 1>> The slave shows surprising agility despite her flopping ballsack, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the slave goes down, screaming with pain when her balls get trapped under their combined weight. <</if>> <<else>> <<if random(1,2) == 1>> The determined young slave evades her inexpert attempts to tackle all the way across the plaza, however. $Lurcher.slaveName's course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the determined slave is unlucky, stumbling and going down anyway. <</if>> <</if>> <</if>> <<if $seed == 1>> The hare knows that once her knees touched the field, her chance at freedom was gone. She begins to cry <<if $phallus is "huge dick">> and then scream as $Lurcher.slaveName <<if $origin is "virgin">> rapes her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. She has to be very careful, since her cock is big enough to seriously hurt an anal virgin, but despite her care the racket is appallingly loud. <<elseif $origin is "heavily pregnant">> fucks her cunt. As her belly attests, she's no virgin, but the lurcher's dick is big enough to reach her cervix. Her screams crescendo into shrieks as she experiences this internal torment. <<elseif $origin is "housewife">> fucks her in the ass. A kept woman like her is probably no stranger to giving up her butthole to please a cock, but she apparently isn't used to dick quite this formidable. The lurcher leaves her sobbing disconsolately with a fresh load of cum leaking out of her backdoor. <<elseif $origin is "feminized">> fucks her in the ass. The high-pitched shrieking produces some discussion in the crowd. If the slave didn't want huge cock up her girly anus, why did she feminize herself so thoroughly? A mystery. <<elseif $origin is "huge balled">> fucks her in the ass. The lurcher pounds her doggy style, taking nice long strokes that slide her formidable shaft almost all the way out of her victim's poor butthole before shoving it back in again. The slave's balls brush the field with each thrust. <<else>> fucks her in the ass. She never stops struggling, though this isn't much proof of undiminished resistance. After all, the lurcher's dick is so big that she'd probably fight to get it out of her butthole even if she weren't in need of breaking. <</if>> <<elseif $phallus is "dick">> as $Lurcher.slaveName <<if $origin is "virgin">> penetrates her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as she experiences the rare delight of raping an anal virgin. <<elseif $origin is "heavily pregnant">> uses her cunt. The lurcher pulls the slave upright so she can cradle her pregnant belly while she fucks her. When she climaxes, she thrusts as deeply as she can manage, though more cum won't make the slave any more pregnant. <<elseif $origin is "housewife">> fucks her in the ass. Her tears seem to come more from disappointment than anal pain; a kept woman like her has probably put up with more than one buttfuck she didn't want. <<elseif $origin is "feminized">> fucks her in the ass. The whining produces some discussion in the crowd. If the slave didn't want cock up her girly anus, why did she feminize herself so thoroughly? A mystery. <<elseif $origin is "huge balled">> uses her anus. With them facing away from you, the coupling takes the usual stacked symmetry of a dickgirl fucking a dickgirl, though the bottom's generous balls sway eye-catchingly back and forth with the rhythm of the assrape. <<else>> fucks her in the ass. She never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped more than once before today, but she fights this like it's the first time. <</if>> <<elseif $phallus is "clit">> as $Lurcher.slaveName <<if $origin is "virgin">> grinds herself against the hare to get her pseudophallic clit into her victim's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as her enormous bitch button slips up the slave's asshole. <<elseif $origin is "heavily pregnant">> grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The lurcher has to force the hare down, legs spread, in order to work her enormous clit inside the slave, but she manages it and you see her back stiffen as her pseudophallus, small by the standards of penises but much more sensitive, slides inside. <<elseif $origin is "housewife">> grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The slave doesn't seem to know what to make of this. Being raped by a huge clit is very probably a novel experience for her, but it isn't really painful. She closes her eyes and visibly tries to pretend it's a small penis. <<elseif $origin is "feminized">> grinds herself against the hare to get her pseudophallic clit inside her victim's experienced anus. The slave stiffens with shock. She's obviously had quite a variety of things pushed up her girly butthole, but apparently this is her first time being fucked by a clit. <<elseif $origin is "huge balled">> grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave stiffens with shock. Though it's huge by the standards of clitorises, the pseudophallus isn't big enough to make assrape painful, but the extreme inversion of gender roles makes up for it, to go by the slave's horror. <<else>> grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped by much larger phalli, but she fights it anyway. <</if>> <<elseif $phallus is "dildo">> as $Lurcher.slaveName <<if $origin is "virgin">> inserts her dildo into the slave's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. The dildo is reasonably sized and well lubricated, but the poor slave shrieks with anal pain anyway. <<elseif $origin is "heavily pregnant">> pushes her dildo inside the slave's fertile cunt. Desperate to preserve her baby, the slave complies as best she can. Taking the cue, your lurcher caresses her, producing a grotesque parody of loving pregnant sex that holds the crowd's attention. <<elseif $origin is "housewife">> pushes her dildo up the slave's ass. A kept woman like her is not likely to be any stranger to sex toys, but to go by her reaction, she probably prefers to put them in her cunt. <<elseif $origin is "feminized">> pushes her dildo up the slave's sissy ass. The whining produces some discussion in the crowd. Why would a girl who feminized herself so thoroughly have any problem with something being shoved inside her rear pussy? A mystery. <<elseif $origin is "huge balled">> pushes her dildo up the slave's ass. Knowing that she should do her best to create a spectacle, she takes the slave's dangling balls in one hand, squeezing them to force her bottom to be a good little butthole bitch, and then stimulating them until the slave achieves a shameful anal orgasm. <<else>> pushes her dildo up the slave's ass. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably had several dildos pushed up her disobedient asshole, but it seems she's determined to learn nothing. <</if>> <<else>> as $Lurcher.slaveName hesitates over her. The lurcher realizes that she won't be able to get hard. Desperate to avoid failure, she <<if $origin is "virgin">> shoves a couple of fingers into the slave's virgin ass. She has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. <<elseif $origin is "heavily pregnant">> gives up and fingerfucks the pregnant girl. Desperate to preserve her baby, the slave complies as best she can, producing a contest between her attempts to go along and the lurcher's attempts to make it unpleasant. This degenerates into a sobbing cunt fisting session. <<elseif $origin is "housewife">> shoves a couple of fingers up the slave's ass. A kept woman like her is not likely to be any stranger to a little anal play, but she doesn't seem to be much of a fan. She does her best to relax, but it's obvious that she doesn't appreciate having her asshole fingered. <<elseif $origin is "feminized">> shoves her fingers up the slave's sissy ass. It's so loose that this fails to have the desired effect. Afraid that she has to produce some sort of reaction, the lurcher shoves her entire fist up there, producing a wail of anal anguish. <<elseif $origin is "huge balled">> shoves a couple of fingers up the slave's ass. Casting about for something to do to distract from her inadequacy, the lurcher seizes the slave's dangling balls and shoves one of them up her loosened butt. This produces a shriek of pain and surprise, followed by a long fight to get the other one up there. <<else>> shoves a couple of fingers up the slave's ass. The slave never stops struggling, producing nothing more interesting than an extended wrestling match in which one of the parties has some fingers inside the other's butthole. <</if>> The crowd is unimpressed by this disappointing display. <</if>> <<if $Lurcher.fetishKnown == 1>> <<if $Lurcher.fetishStrength > 60>> <<if ($Lurcher.fetish is "sadist")>> @@color:hotpink;What is finest in life,@@ in the mind of your sadistic lurcher? <<if $origin is "virgin">> To sodomize a virgin asshole, and to hear screams of anal pain. <<elseif $origin is "heavily pregnant">> To molest a pregnant slut, and hear her sob with fear. <<elseif $origin is "housewife">> To rape a stuck-up bitch, and hear her cry with anal pain. <<elseif $origin is "feminized">> To rape a sissy's asspussy, and hear her squeal. <<elseif $origin is "huge balled">> To abuse defenseless testicles, and make their owner scream. <<else>> To rape a struggling victim, and taste her tears of defeat. <</if>> <<set $Lurcher.devotion += 5>> <<elseif $Lurcher.fetish is "pregnancy" && $origin is "heavily pregnant">> You lurcher is @@color:hotpink;thrilled@@ to have had the privilege of chasing down and raping a pregnant woman. <<set $Lurcher.devotion += 5>> <</if>> <</if>> <</if>> <<set $Lurcher.penetrativeCount += 1>> <<set $penetrativeTotal += 1>> <<AddSlave $activeSlave>> <<else>> <<if $Lurcher.devotion > 50>> She makes her way back to you dejectedly, hanging her head. <<else>> She makes her way back to you slowly, doing her best to look contrite. <</if>> On the other side of the plaza, there is a scream of triumph followed by tears of joy as one of the hares successfully wins her freedom. This cheerful noise mixes strangely with screams of a very different sort and the slap of flesh on flesh as a more successful lurcher rapes her capture. <</if>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $Lurcher.ID>> <<set $slaves[$i] to $Lurcher>> <<break>> <</if>> <</for>> <</nobr>> <</replace>> <</link>> <<link "The third">> <<replace "#result">> <<nobr>> <<set $activeSlave to $hare3>> <<set $origin to $origin3>> <<set $hareSpeed to $hareSpeed3>> You place your hand on the leash's quick release and whisper your direction into her ear without letting the other competitors or their lurchers hear. Then, you gently push her down into her starting crouch. The umpire trips the hares' releases, a few yards in front of you and $Lurcher.slaveName, and you instantly let your lurcher off her leash. <<set $LurcherSpeed to 10>> <<if $Lurcher.devotion > 50>> She's eager to do well for you, and immediately takes off. <<set $LurcherSpeed += 2>> <<elseif $Lurcher.trust < -20>> She's frightened of failing you, and immediately takes off. <<set $LurcherSpeed += 1>> <<elseif $Lurcher.devotion < -20>> She's disgusted by this, and is slow to start. <<set $LurcherSpeed -= 1>> <<else>> She's a bit hesitant about this, but gets off reasonably well. <</if>> <<if $Lurcher.health > 60>> Her shining health allows her to pour it on. <<set $LurcherSpeed += 1>> <<elseif $Lurcher.health < 0>> Her poor health slows her down. <<set $LurcherSpeed -= 1>> <</if>> <<if !canSee($Lurcher)>> Her inability to see causes her to be cautious of her footing, making her first several strides slow and uncertain. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.weight gt 95>> It takes her a while to get her fat ass up to her top speed, such as it is. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.weight > 30>> It takes her a while to get her chubby body up to speed. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.weight < -95>> She's so thin that she lacks the vigor to run really well. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.muscles > 30>> She's musclebound, without the range of motion to move freely. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.muscles <= 5>> She's soft, and is panting desperately within a few short strides. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.muscles <= -30>> She's very weak, and is panting desperately from just walking to the starting line. <<set $LurcherSpeed -= 4>> <<elseif $Lurcher.muscles <= -95>> She's physically frail, barely capable of walking let alone running. <<set $LurcherSpeed -= 20>> <</if>> <<if $Lurcher.height >= 185>> Her steps are long, too long, in fact, her long legs slowing her gait. <<set $LurcherSpeed -= 1>> <<elseif $Lurcher.height < 150>> Her stride is too short, but it's the best her little legs can manage. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.boobs >= 2000>> Her naked breasts slosh around wildly, ruining her attempt at running. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.boobs >= 800>> Her big tits bounce energetically, looking quite nice but hurting her speed. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.butt >= 6>> She does her best to stay light on her feet despite her inconveniently huge buttocks. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.dick >= 5>> Her cock bounces up and down wildly; she does her best to ignore it, but it does get in the way. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.balls >= 5>> As you watch her go, her testicles smack into her thigh, and she gasps with pain. <<set $LurcherSpeed -= 1>> <</if>> <<if $Lurcher.inflation == 3>> Her hugely bloated, <<print $Lurcher.inflationType>>-filled belly is taut and painful, forcing her to a slow waddle. <<set $LurcherSpeed -= 5>> <<elseif $Lurcher.inflation == 2>> Her bloated, <<print $Lurcher.inflationType>>-stuffed belly is constantly jiggling and moving, making it extremely difficult to run. <<set $LurcherSpeed -= 4>> <<elseif $Lurcher.inflation == 1>> Her distended, <<print $Lurcher.inflationType>>-belly is uncomfortable and heavy, slowing her down. <<set $LurcherSpeed -= 2>> <<elseif $Lurcher.preg >= 20>> She can barely waddle along with her huge pregnant belly. <<set $LurcherSpeed -= 5>> <<elseif $Lurcher.bellyImplant >= 32000>> She can barely move, let alone consider chasing something with her titanic belly implant. <<set $LurcherSpeed -= 20>> <<elseif $Lurcher.bellyImplant >= 16000>> She can barely walk with her enormous belly implant. <<set $LurcherSpeed -= 10>> <<elseif $Lurcher.bellyImplant >= 8000>> She can barely waddle along with her giant belly implant. <<set $LurcherSpeed -= 6>> <<elseif $Lurcher.bellyImplant >= 4000>> She can barely waddle along with her huge belly implant. <<set $LurcherSpeed -= 5>> <</if>> <<if $LurcherSpeed > 10>> Her turn of speed is impressive. <<elseif $LurcherSpeed > 8>> She runs reasonably fast. <<elseif $LurcherSpeed > 6>> In all, she runs slowly. <<elseif $LurcherSpeed > 4>> In all, she barely manages a quick jog. <<else>> In all, she can barely do more than stumble after the hares. <</if>> <<if $hareSpeed >= $LurcherSpeed>> <<if $origin is "virgin">> The virgin, however, <<elseif $origin is "heavily pregnant">> Despite her pregnancy, the hare <<elseif $origin is "housewife">> Despite her fake boobs, the hare <<elseif $origin is "disobedient young">> The fit young slave, however, <<elseif $origin is "disobedient young dickgirl">> The strong young slave, however, <<elseif $origin is "huge balled">> Despite her ridiculous ballsack, the hare <<else>> Despite her fake boobs and exaggeratedly feminine gait, the hare <</if>> <<if $hareSpeed > $LurcherSpeed>>immediately pulls away<<else>>manages to maintain her narrow head start<</if>>. Realizing that she stands no chance of catching her assigned target, $Lurcher.slaveName <<if canSee($Lurcher)>>looks around for a slower hare<<else>>listens for a nearby bell<</if>>. <<if $hareSpeed1 < $hareSpeed2>> <<set $activeSlave to $hare1>> <<set $origin to $origin1>> <<set $hareSpeed to $hareSpeed1>> <<else>> <<set $activeSlave to $hare2>> <<set $origin to $origin2>> <<set $hareSpeed to $hareSpeed2>> <</if>> <<if canSee($Lurcher)>>Seeing that the $origin hare is slower<<else>>hearing the $origin hare's bell nearby<</if>>, she angles after her instead. <<if $hareSpeed >= $LurcherSpeed>> She does no better with her new target; her course is over. <<elseif random(1,2) == 1>> One of her rival lurchers has the same idea, however, and tries to trip her up. <<if !canSee($Lurcher)>> Unable to see it coming, she goes down with a crash; her course is over. <<elseif $Lurcher.combatSkill == 1>> She parries the attempt with contemptuous ease and catches up to her new target. <<set $seed to 1>> <<elseif $Lurcher.muscles > 30>> She muscles through the attempt and catches up to her new target. <<set $seed to 1>> <<else>> She goes down with a crash; her course is over. <</if>> <<else>> She manages to overtake her new target. <<set $seed to 1>> <</if>> <<else>> She rapidly overtakes the $origin hare. <<set $seed to 1>> <</if>> <<if $seed == 1>> <<if $origin is "heavily pregnant">> Her quarry is unwilling to be tackled, probably out of fear for her baby, and flings herself down as soon as $Lurcher.slaveName gets near.<<if !canSee($Lurcher)>> She screams as she sees $Lurcher.slaveName preparing to dive on her, alerting the blind lurcher that her prey has already surrendered.<</if>> <<elseif !canSee($Lurcher) and random(1,3) == 1>> Her prey takes advantage of her lack of eyesight, baiting $Lurcher.slaveName to dive in the wrong direction. As she rises to her feet, the slave is too far gone to make another lunge. $Lurcher.slaveName's course is over. <<elseif $Lurcher.combatSkill == 1>> Her tackle is expert: she wraps her quarry up and pulls her down, falling on top of the struggling body. <<elseif $Lurcher.muscles > 30>> She's burly enough that she tackles her quarry by simple force, an approach no less effective for its inelegance. <<elseif $origin is "virgin">> <<if random(1,3) == 1>> The young slave manages to evade her inexpert tackle, however, and there is no space for another before she crosses the plaza. $Lurcher.slaveName's course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the young slave stumbles and falls anyway. <</if>> <<elseif $origin is "housewife">> <<if random(1,4) == 1>> The spoiled slave shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the top-heavy bimbo goes down anyway. <</if>> <<elseif $origin is "feminized">> <<if random(1,4) == 1>> The sissy bitch shows surprising agility, however, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the sissy bitch goes down with a wail. <</if>> <<elseif $origin is "huge balled">> <<if random(1,4) == 1>> The slave shows surprising agility despite her flopping ballsack, and evades $Lurcher.slaveName's inexpert attempts to tackle all the way across the plaza. Her course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the slave goes down, screaming with pain when her balls get trapped under their combined weight. <</if>> <<else>> <<if random(1,2) == 1>> The determined young slave evades her inexpert attempts to tackle all the way across the plaza, however. $Lurcher.slaveName's course is over. <<set $seed to 0>> <<else>> Her tackle is inexpert, but the determined slave is unlucky, stumbling and going down anyway. <</if>> <</if>> <</if>> <<if $seed == 1>> The hare knows that once her knees touched the field, her chance at freedom was gone. She begins to cry <<if $phallus is "huge dick">> and then scream as $Lurcher.slaveName <<if $origin is "virgin">> rapes her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. She has to be very careful, since her cock is big enough to seriously hurt an anal virgin, but despite her care the racket is appallingly loud. <<elseif $origin is "heavily pregnant">> fucks her cunt. As her belly attests, she's no virgin, but the lurcher's dick is big enough to reach her cervix. Her screams crescendo into shrieks as she experiences this internal torment. <<elseif $origin is "housewife">> fucks her in the ass. A kept woman like her is probably no stranger to giving up her butthole to please a cock, but she apparently isn't used to dick quite this formidable. The lurcher leaves her sobbing disconsolately with a fresh load of cum leaking out of her backdoor. <<elseif $origin is "feminized">> fucks her in the ass. The high-pitched shrieking produces some discussion in the crowd. If the slave didn't want huge cock up her girly anus, why did she feminize herself so thoroughly? A mystery. <<elseif $origin is "huge balled">> fucks her in the ass. The lurcher pounds her doggy style, taking nice long strokes that slide her formidable shaft almost all the way out of her victim's poor butthole before shoving it back in again. The slave's balls brush the field with each thrust. <<else>> fucks her in the ass. She never stops struggling, though this isn't much proof of undiminished resistance. After all, the lurcher's dick is so big that she'd probably fight to get it out of her butthole even if she weren't in need of breaking. <</if>> <<elseif $phallus is "dick">> as $Lurcher.slaveName <<if $origin is "virgin">> penetrates her virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as she experiences the rare delight of raping an anal virgin. <<elseif $origin is "heavily pregnant">> uses her cunt. The lurcher pulls the slave upright so she can cradle her pregnant belly while she fucks her. When she climaxes, she thrusts as deeply as she can manage, though more cum won't make the slave any more pregnant. <<elseif $origin is "housewife">> fucks her in the ass. Her tears seem to come more from disappointment than anal pain; a kept woman like her has probably put up with more than one buttfuck she didn't want. <<elseif $origin is "feminized">> fucks her in the ass. The whining produces some discussion in the crowd. If the slave didn't want cock up her girly anus, why did she feminize herself so thoroughly? A mystery. <<elseif $origin is "huge balled">> uses her anus. With them facing away from you, the coupling takes the usual stacked symmetry of a dickgirl fucking a dickgirl, though the bottom's generous balls sway eye-catchingly back and forth with the rhythm of the assrape. <<else>> fucks her in the ass. She never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped more than once before today, but she fights this like it's the first time. <</if>> <<elseif $phallus is "clit">> as $Lurcher.slaveName <<if $origin is "virgin">> grinds herself against the hare to get her pseudophallic clit into her victim's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. You see her back stiffen with overstimulation as her enormous bitch button slips up the slave's asshole. <<elseif $origin is "heavily pregnant">> grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The lurcher has to force the hare down, legs spread, in order to work her enormous clit inside the slave, but she manages it and you see her back stiffen as her pseudophallus, small by the standards of penises but much more sensitive, slides inside. <<elseif $origin is "housewife">> grinds herself against the hare to get her pseudophallic clit inside her victim's cunt. The slave doesn't seem to know what to make of this. Being raped by a huge clit is very probably a novel experience for her, but it isn't really painful. She closes her eyes and visibly tries to pretend it's a small penis. <<elseif $origin is "feminized">> grinds herself against the hare to get her pseudophallic clit inside her victim's experienced anus. The slave stiffens with shock. She's obviously had quite a variety of things pushed up her girly butthole, but apparently this is her first time being fucked by a clit. <<elseif $origin is "huge balled">> grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave stiffens with shock. Though it's huge by the standards of clitorises, the pseudophallus isn't big enough to make assrape painful, but the extreme inversion of gender roles makes up for it, to go by the slave's horror. <<else>> grinds herself against the hare to get her pseudophallic clit inside her victim's asshole. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably been assraped by much larger phalli, but she fights it anyway. <</if>> <<elseif $phallus is "dildo">> as $Lurcher.slaveName <<if $origin is "virgin">> inserts her dildo into the slave's virgin ass. The lurcher has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. The dildo is reasonably sized and well lubricated, but the poor slave shrieks with anal pain anyway. <<elseif $origin is "heavily pregnant">> pushes her dildo inside the slave's fertile cunt. Desperate to preserve her baby, the slave complies as best she can. Taking the cue, your lurcher caresses her, producing a grotesque parody of loving pregnant sex that holds the crowd's attention. <<elseif $origin is "housewife">> pushes her dildo up the slave's ass. A kept woman like her is not likely to be any stranger to sex toys, but to go by her reaction, she probably prefers to put them in her cunt. <<elseif $origin is "feminized">> pushes her dildo up the slave's sissy ass. The whining produces some discussion in the crowd. Why would a girl who feminized herself so thoroughly have any problem with something being shoved inside her rear pussy? A mystery. <<elseif $origin is "huge balled">> pushes her dildo up the slave's ass. Knowing that she should do her best to create a spectacle, she takes the slave's dangling balls in one hand, squeezing them to force her bottom to be a good little butthole bitch, and then stimulating them until the slave achieves a shameful anal orgasm. <<else>> pushes her dildo up the slave's ass. The slave never stops struggling, which is eloquent proof of the slave's undiminished resolve to resist her lot in life. She's probably had several dildos pushed up her disobedient asshole, but it seems she's determined to learn nothing. <</if>> <<else>> as $Lurcher.slaveName hesitates over her. The lurcher realizes that she won't be able to get hard. Desperate to avoid failure, she <<if $origin is "virgin">> shoves a couple of fingers into the slave's virgin ass. She has to fuck the slave to claim her for you, and she knows that a virgin pussy is more valuable than a virgin rosebud. <<elseif $origin is "heavily pregnant">> gives up and fingerfucks the pregnant girl. Desperate to preserve her baby, the slave complies as best she can, producing a contest between her attempts to go along and the lurcher's attempts to make it unpleasant. This degenerates into a sobbing cunt fisting session. <<elseif $origin is "housewife">> shoves a couple of fingers up the slave's ass. A kept woman like her is not likely to be any stranger to a little anal play, but she doesn't seem to be much of a fan. She does her best to relax, but it's obvious that she doesn't appreciate having her asshole fingered. <<elseif $origin is "feminized">> shoves her fingers up the slave's sissy ass. It's so loose that this fails to have the desired effect. Afraid that she has to produce some sort of reaction, the lurcher shoves her entire fist up there, producing a wail of anal anguish. <<elseif $origin is "huge balled">> shoves a couple of fingers up the slave's ass. Casting about for something to do to distract from her inadequacy, the lurcher seizes the slave's dangling balls and shoves one of them up her loosened butt. This produces a shriek of pain and surprise, followed by a long fight to get the other one up there. <<else>> shoves a couple of fingers up the slave's ass. The slave never stops struggling, producing nothing more interesting than an extended wrestling match in which one of the parties has some fingers inside the other's butthole. <</if>> The crowd is unimpressed by this disappointing display. <</if>> <<if $Lurcher.fetishKnown == 1>> <<if $Lurcher.fetishStrength > 60>> <<if ($Lurcher.fetish is "sadist")>> @@color:hotpink;What is finest in life,@@ in the mind of your sadistic lurcher? <<if $origin is "virgin">> To sodomize a virgin asshole, and to hear screams of anal pain. <<elseif $origin is "heavily pregnant">> To molest a pregnant slut, and hear her sob with fear. <<elseif $origin is "housewife">> To rape a stuck-up bitch, and hear her cry with anal pain. <<elseif $origin is "feminized">> To rape a sissy's asspussy, and hear her squeal. <<elseif $origin is "huge balled">> To abuse defenseless testicles, and make their owner scream. <<else>> To rape a struggling victim, and taste her tears of defeat. <</if>> <<set $Lurcher.devotion += 5>> <<elseif $Lurcher.fetish is "pregnancy" && $origin is "heavily pregnant">> You lurcher is @@color:hotpink;thrilled@@ to have had the privilege of chasing down and raping a pregnant woman. <<set $Lurcher.devotion += 5>> <</if>> <</if>> <</if>> <<set $Lurcher.penetrativeCount += 1>> <<set $penetrativeTotal += 1>> <<AddSlave $activeSlave>> <<else>> <<if $Lurcher.devotion > 50>> She makes her way back to you dejectedly, hanging her head. <<else>> She makes her way back to you slowly, doing her best to look contrite. <</if>> On the other side of the plaza, there is a scream of triumph followed by tears of joy as one of the hares successfully wins her freedom. This cheerful noise mixes strangely with screams of a very different sort and the slap of flesh on flesh as a more successful lurcher rapes her capture. <</if>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $Lurcher.ID>> <<set $slaves[$i] to $Lurcher>> <<break>> <</if>> <</for>> <</nobr>> <</replace>> <</link>> </span>\
r3d/fc
src/uncategorized/seCoursing.tw
tw
bsd-3-clause
76,234
:: SE custom slave delivery <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Enslaving People">> <<set $customSlaveOrdered to 0>> <<set $activeSlave to $customSlave>> <<set $activeSlave.ID to $IDNumber>> <<set $IDNumber += 1>> <<set $activeSlave.weekAcquired to $week>> <<set $activeSlave.origin to "You purchased her by special order.">> <<RandomizeAttraction>> <<set $activeSlave.fetishStrength = random(0,90)>> <<set $activeSlave.fetish to either("none", "none", "none", "none", "none", "none", "submissive", "cumslut", "humiliation", "buttslut", "boobs", "pregnancy")>> <<set $activeSlave.sexualFlaw to either("none")>> <<set $activeSlave.behavioralFlaw to either("none")>> <<set $activeSlave.devotion = random(-10,10)>> <<set $activeSlave.trust = random(-10,10)>> <<NationalityToRace $activeSlave>> <<NationalityToName $activeSlave>> <<NationalityToAccent $activeSlave>> <<if $activeSlave.race is "black">> <<set $activeSlave.skin to either("black", "brown", "light brown")>> <<set $activeSlave.hColor to either("black", "black", "black", "brown")>> <<set $activeSlave.hStyle to either("shoulder-length", "short", "very short", "shaved bald", "crinkled")>> <<elseif $activeSlave.race is "white">> <<set $activeSlave.skin to either("pale", "tanned", "fair")>> <<set $activeSlave.eyeColor to either("blue", "brown", "green")>> <<set $activeSlave.hColor to either("black", "blonde", "red", "brown")>> <<set $activeSlave.hStyle to either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>> <<elseif $activeSlave.race is "latina">> <<set $activeSlave.skin to either("olive", "brown", "light brown", "tanned", "fair")>> <<set $activeSlave.hColor to either("black", "black", "brown", "brown")>> <<set $activeSlave.hStyle to either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>> <<elseif $activeSlave.race is "asian">> <<set $activeSlave.skin to either("pale", "dark", "light")>> <<set $activeSlave.hColor to either("black")>> <<set $activeSlave.hStyle to either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>> <<elseif ($activeSlave.race is "indo-aryan") || ($activeSlave.race is "malay") || ($activeSlave.race is "pacific islander") || ($activeSlave.race is "amerindian")>> <<set $activeSlave.skin to either("pale", "dark", "light")>> <<set $activeSlave.hColor to either("black")>> <<set $activeSlave.hStyle to either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>> <<elseif ($activeSlave.race is "middle eastern") || ($activeSlave.race is "semitic") || ($activeSlave.race is "southern European")>> <<set $activeSlave.skin to either("pale", "dark", "light")>> <<set $activeSlave.hColor to either("black")>> <<set $activeSlave.hStyle to either("ass-length", "long", "shoulder-length", "short", "very short", "shaved bald")>> <</if>> <<set $activeSlave.slaveName to $activeSlave.birthName>> <<if $activeSlave.anus == 0>> <<set $activeSlave.analSkill = 0>> <</if>> <<if $activeSlave.balls > 0>> <<set $activeSlave.scrotum to $activeSlave.balls >> <</if>> <<if $activeSlave.vagina is -1>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.clit to 0>> <<set $activeSlave.preg to -2>> <<if $activeSlave.fetish is "pregnancy">><<set $activeSlave.fetish to "none">><</if>> <</if>> <<slaveCost $activeSlave>> <<set $slaveCost to $slaveCost*2>> <</nobr>>\ \ A slave dealer has submitted a slave to satisfy the order you posted. //As usual, the asking price is quite high, to cover the costs of finding a slave to order. In compensation, you can freely decline the slave and keep the order open, or even modify it later.// <<set $saleDescription to 1>><<include "Long Slave Description">><<set $saleDescription to 0>> Her price is ¤<<print $slaveCost>>. <span id="result"> <<if $cash >= $slaveCost>>\ <<link "Accept the offered slave">> <<AddSlave $activeSlave>> <<set $cash -= $slaveCost>> <<replace "#result">> She has been reasonably broken by the dealer that offered her to you. She has also picked up on the fact that she was specially selected, and is a little hopeful that this means she may be treated well. She is now awaiting your instructions. <<set $nextLink to "AS Dump">>\ <<set $returnTo to "Random Nonindividual Event">>\ <<include "New Slave Intro">> <</replace>> <</link>> <<else>>\ //You lack the necessary funds to accept the offered slave.// <</if>>\ </span>
r3d/fc
src/uncategorized/seCustomSlaveDelivery.tw
tw
bsd-3-clause
4,587
:: SE expiration <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $expired to 1>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $expiree.ID>> <<set $activeSlave to $slaves[$i]>> <<break>> <</if>> <</for>> $activeSlave.slaveName's indentured servitude is ending this week, meaning that your arcology is gaining a citizen. <<set $ACitizens += 1>> <<set $seed to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].devotion <= 20>> <<set $seed to 1>> <<set $slaves[$i].devotion -= 1>> <</if>> <</for>> <<if $seed == 1>> Those of your slaves who are unhappy with their lives under you are @@color:mediumorchid;envious or angry@@ to see her become free, according to their individual natures. <</if>> <<set $activeSlave.indenture to 52>> <<slaveCost $activeSlave>> <<if $activeSlave.fetish is "mindbroken">> Since she is mindbroken, there is precisely no chance that she will be able to look after herself. She stands before you dumbly, betraying no reaction to the prospect of becoming free from sexual slavery. In situations like this, it is perfectly acceptable to subject her to another indenture for her own good. <br><br> <span id="result"> <<if $cash > 1000>> <<link "Plead necessity and reactivate her indenture">> <<replace "#result">> <<nobr>> You plead necessity and place her under another indenture, paying the trivial fees left over once she has been charged for her own forecasted upkeep. Naturally, she offers no response at all to any of this. <</nobr>> <<set $cash -= 1000>> <<set $ACitizens -= 1>> <<set $expired to 0>><<set $expiree to 0>> <</replace>> <</link>> //This cost ¤1000// <<else>>//You cannot afford to do this// <</if>> </span> <<elseif ($activeSlave.relationship < -1) && ($activeSlave.devotion > 95) && ($activeSlave.trust > 95)>> She has been trying desperately hard not to think about this trying situation, but when she comes before you on the day of her indenture's expiration, she can ignore it no longer. She <<if $activeSlave.amp == 1>> wriggles disconsolately, probably wishing she could throw herself at your feet or cling to your knees. <<else>> throws herself at your feet and clings to your knees, bursting into tears. <</if>> <<if canTalk($activeSlave) == false>> She does her best to communicate an earnest desire to stay, and repeats over and over that she loves you. She begins to indicate a willingness to accept true, unlimited slavery, if that's what it takes to stay. <<elseif SlaveStatsChecker.checkForLisp($activeSlave)>> "Pleathe <<if $PC.title == 1>>Mathter<<else>>Mithtreth<</if>>, don't thend me away," she sobs. "I love you! I'll d-do anything - I'll be your thlave! Pleathe, enthlave me. I l-love you...," she moans, trailing off into convulsive blubbering. <<else>> "P-please <<if $PC.title == 1>>Master<<else>>Mistress<</if>>, don't send me away," she sobs. "I love you! I'll d-do anything - I'll be your slave! Please, enslave me. I l-love you...," she moans, trailing off into convulsive blubbering. <</if>> <br><br> <span id="result"> <<if $cash > 1000>> <<link "Enslave her">> <<replace "#result">> <<nobr>> She's beside herself with joy when you accept her plea and enslave her. She's given you the finest proof of loyalty a slave possibly can, having tasted a moment of freedom under the law, and thrown it away with utter contempt. Her $activeSlave.eyeColor eyes watch you with eager anticipation, radiating gladness that the prospect of separation from you has gone. <</nobr>> <<set $activeSlave.indenture to -1>> <<set $activeSlave.indentureRestrictions to 0>> <<set $cash -= 1000>> <<set $ACitizens -= 1>> <<set $expired to 0>><<set $expiree to 0>> <</replace>> <</link>> //This will cost ¤1000// <<else>>//You cannot afford to do this// <</if>> </span> <<elseif ($activeSlave.devotion > 50) && ($activeSlave.trust > 50)>> <<set $slaveCost = Math.trunc(($slaveCost*0.5)/500)*500>> <<set $slaveCost to Math.clamp($slaveCost, $minimumSlaveCost, 100000)>> Her feelings on this are quite mixed, since she has come to feel that she has a place under you. <<if $activeSlave.amp == 1>> Propped up <<else>> Standing before you <</if>> at the moment of her scheduled emancipation, she seems to be struggling to express herself. <<if canTalk($activeSlave) == false>> She does her best to communicate a willingness to remain your slave, indicating that she wouldn't press too hard about the price if you offered her another indenture. <<elseif SlaveStatsChecker.checkForLisp($activeSlave)>> "<<if $PC.title == 1>>Mathter<<else>>Mithtreth<</if>>, um," she lisps hesitantly. "I don't mind being your thlave. Could I - would you pleathe give me another indenture? I'm, um, not too worried about the prithe." <<else>> "<<if $PC.title == 1>>Master<<else>>Mistress<</if>>, um," she says hesitantly. "I don't mind being your slave. Could I - would you please give me another indenture? I'm, um, not too worried about the price." <</if>> <br><br> <span id="result"> <<if $cash > $slaveCost>> <<link "Offer her a one year supplementary indenture">> <<replace "#result">> <<nobr>> She smiles almost shyly when you offer her a one year supplementary indenture. The price is reasonable, but definitely favorable to you. She accepts it anyway, and you transfer the money into an escrow account to be held for her until her new indenture is done. Your sex slave once again, she awaits your pleasure without a hint of fear. <</nobr>> <<set $cash -= $slaveCost>> <<set $ACitizens -= 1>> <<set $expired to 0>><<set $expiree to 0>> <</replace>> <</link>> //This will cost ¤$slaveCost// <<else>>//You cannot afford to do this// <</if>> </span> <<elseif ($activeSlave.devotion >= -20) && ($activeSlave.trust > 20)>> She approaches the moment with calculation, since she has found more of a place in slavery than she probably expected when she became an indentured servant. <<if $activeSlave.amp == 1>> Propped up <<else>> Standing before you <</if>> at the moment of her scheduled emancipation, she seems willing to consider a short term continuation of service. <br><br> <span id="result"> <<if $cash > $slaveCost>> <<link "Offer her a one year supplementary indenture">> <<replace "#result">> <<nobr>> She looks pensive when you offer her a one year supplementary indenture. The price reflects the market, and is a reasonable compensation for a year of sexual slavery. She accepts it after some consideration, and you transfer the money into an escrow account to be held for her until her new indenture is done. Your sex slave once again, she awaits orders with complacency. <</nobr>> <<set $cash -= $slaveCost>> <<set $ACitizens -= 1>> <<set $expired to 0>><<set $expiree to 0>> <</replace>> <</link>> //This will cost ¤$slaveCost// <<else>>//You cannot afford to do this// <</if>> </span> <<else>> She makes no effort at all to conceal her joy at being a free woman again. It seems very unlikely that she'll stay in the arcology; she'll probably take what remains of her indenture payment, held in escrow for this day, and be off to wherever it is that she came from in the first place. <</if>> <</nobr>>
r3d/fc
src/uncategorized/seExpiration.tw
tw
bsd-3-clause
7,200
:: SE independence day <<nobr>> <<set $nextLink to "Scheduled Event">> <<set $nextButton to "Continue">> <<set $independenceDay to 0>> Independence Day is this week. <br><br> In the Free Cities, Independence Day falls on the day when the Free City achieved its de facto freedom from the laws of the old world. In most of the Free Cities, including yours, this was an unspectacular event that involved a lot of signing of contracts and not much storming of bastions. Nevertheless, this is the anniversary of the day that this tiny patch of earth became truly free, and its inhabitants became free to exercise their dominion over the freedom of others. It will pass unnoticed and uncelebrated unless you take action to make it special. <</nobr>>\ <span id="result"> <<link "Give a speech">> <<replace "#result">> <<nobr>> You broadcast a speech to mark the occasion, using the arcology's media systems to reach a wide audience. It is unnecessary to make an effort to ensure attention; <<if $arcologies[0].FSChattelReligionistLaw == 1>> the Prophet's word always receives complete attention on the rare occasions that it is publicly given. <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.9>> the Keeper of the Blade and Chalice can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.9>> the First Consul can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Living God can command complete attention from his arcology the moment he wishes. <<else>> the Living Goddess can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Emperor and Descendant of Amaterasu can command command complete attention from his arcology the moment he wishes. <<else>> the Amaterasu Reborn can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Caliph command can command complete attention from his arcology the moment he wishes. <<else>> the Handmaiden of Allah can command complete attention from her arcology the moment she wishes. <</if>>x <<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Emperor and Holder of the Mandate of Heaven can command complete attention from his arcology the moment he wishes. <<else>> the Empress and Holder of the Mandate of Heaven can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.9>> the Grand Champion of the Blood can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.9>> the Grand Overseer of the Inferior Race <<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Progenitor of the Future can command complete attention from her arcology the moment he wishes. <<else>> the Midwife of the Future can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSRestart >= $FSLockinLevel*0.9>> such an esteemed member of the Societal Elite can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.9>> the Buttfucker of All Slaves can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Father to the City can command complete attention from his arcology the moment he wishes. <<else>> the Mother to the City can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Protector to All Slaves can command complete attention from his arcology the moment he wishes. <<else>> the Protectrix to All Slaves can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.9>> the Holder of the Rod and the Lash can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.9>> the Purifier of the Breasts can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.9>> the Expander of the Breasts can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> the Master of Stock can command complete attention from his arcology the moment he wishes. <<else>> the Mistress of Stock can command complete attention from her arcology the moment she wishes. <</if>> <<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.9>> the beloved of Brodin can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.9>> the Grand Preserver of MILFS can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.9>> the Keeper of the Magnificent Young Harem can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.6>> as the Champion of the Faith can command complete attention from <<if $PC.title == 1>>his arcology the moment he<<else>>her arcology the moment she<</if>> wishes. <<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.6>> as the Aedile, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.6>> as the Pharaoh, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.6>> as the Shogun, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> as the Sultan, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<else>> as the Sultana, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <</if>> <<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> as the Emperor, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<else>> as the Empress, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <</if>> <<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.6>> as the Champion of the Blood, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.6>> as the Overseer of the Inferior Race, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.6>> as the Sodomizer of the Traps, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.6>> as the Defender of Women, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> as the Benefactor of Slaves, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<else>> as the Benefactrix of Slaves, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <</if>> <<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.6>> as the Subduer of Slaves, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.6>> as the Discerning, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.6>> as the Expander, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.6>> as the Rancher, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> as he of the godlike Body, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<else>> as she of the godlike Body, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <</if>> <<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.6>> as the Fucker of MILFS, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.6>> as the Keeper of Virgins, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <<else>> as the owner of the arcology, you command enough respect that your citizens will listen to you so long as you do not abuse the privilege. <</if>> After you are announced, you greet the citizens of your arcology and begin by reviewing the state of things. You commend those most responsible for the arcology's current prosperity, and express confidence that it will continue to improve. <<if $daughtersVictory >= 1>> You offer brief remembrance of those lost during the Daughters' attack on the arcology, and pledge that all enemies, foreign and domestic, will be similarly defeated. <<elseif $invasionVictory >= 1>> You remind your citizens of the ongoing threat from the degenerating old world, and pledge to defeat all attacks as you helped defeat the recent invasion. <<elseif $nationHate > 1>> You express resolution in the face of threats to the arcology, and pledge that they will be dealt with efficiently. <</if>> <<if ($mercenaries >= 5)>> You mention the mercenaries that have become an integral part of arcology society, and compliment their efficiency. <<elseif ($mercenaries >= 5)>> You mention the mercenaries that have a major place in the security of the arcology, and add that you hope they will become an even more integral part of its society. <</if>> <br><br> Of course, you do not neglect the opportunity to improve your own position. <<if $PC.career is "wealth">> You recall your own wealthy background, cleverly drawing parallels between yourself and your richest citizens. <<elseif $PC.career is "capitalist">> You briefly remind your listeners of your background as a successful capitalist. <<elseif $PC.career is "mercenary">> You share an impressive anecdote from your background as a mercenary; the moral of the story is that you know how to keep your head. <<elseif $PC.career is "slaver">> You share a cruelly amusing anecdote from your background as a slaver; the moral of the story is that you're not one to spare the lash when it's necessary. <<elseif $PC.career is "engineer">> You reference your background as an arcology engineer, cleverly making it obvious that you know this huge building down to its very bones. <<elseif $PC.career is "medicine">> You share an impressive anecdote from your background as a surgeon; the moral of the story is that you can be trusted with a delicate operation. <<elseif $PC.career is "gang">> You share a bloody anecdote about the fate of one of your former gang members. The moral of the story is that you have to know your limits. <<elseif $PC.career is "escort">> You share a rather sordid anecdote from your background as an escort; the moral of the story is that you can go very far when you know the right people, or things about said people. <<elseif $PC.career is "servant">> You share a rather some of the highlights of your late master's life; the moral of the story is that you've seen how to lead from someone who was a leader... It didn't help your standing much. <<elseif $PC.career is "celebrity">> You share a hilarious anecdote from your background as a celebrity, one which the old world tabloids never did learn about, until now. <<else>> You cast yourself as one of the leading citizens of the Free Cities, from the beginning. <</if>> Transitioning to the future, you supply fresh fuel for rumors about how you managed to acquire the arcology by expressing confidence that <<if $PC.rumor is "wealth">> sufficient wealth <<elseif $PC.rumor is "diligence">> hard work and diligence <<elseif $PC.rumor is "force">> a good supply of ammunition <<elseif $PC.rumor is "social engineering">> cultural development <<else>> positivity <</if>> will remain the answer to any new crises that may confront the arcology. <br><br> With this bridge, you move to arcology culture. <<if $arcologies[0].FSRomanRevivalist != "unset">> <<if $arcologies[0].FSRomanRevivalist >= 90>> You speak warmly of the state of New Rome, and express a hope that Roman honor and justice shall once again last a thousand years. <<elseif $arcologies[0].FSRomanRevivalist >= 40>> You ask that your citizens will support Roman values. <</if>> <<elseif $arcologies[0].FSEgyptianRevivalist != "unset">> <<if $arcologies[0].FSEgyptianRevivalist >= 90>> You speak warmly of the state of the new land of the Nile, and express a hope that that most enduring of cultures shall endure again. <<elseif $arcologies[0].FSEgyptianRevivalist >= 40>> You ask that your citizens will support the beauty of ancient Egypt. <</if>> <<elseif $arcologies[0].FSEdoRevivalist != "unset">> <<if $arcologies[0].FSEdoRevivalist >= 90>> You speak warmly of the state of the new land of Amaterasu, and express a hope that honor and virtue shall never cease their advance towards perfection. <<elseif $arcologies[0].FSEdoRevivalist >= 40>> You ask that your citizens will support the honor and beauty of Edo culture. <</if>> <<elseif $arcologies[0].FSArabianRevivalist != "unset">> <<if $arcologies[0].FSArabianRevivalist >= 90>> You speak warmly of the state of the new Caliphate, and express a hope that its prosperity shall continue to encompass more people each day. <<elseif $arcologies[0].FSArabianRevivalist >= 40>> You ask that your citizens will continue to enjoy the good works of the new Caliphate. <</if>> <<elseif $arcologies[0].FSChineseRevivalist != "unset">> <<if $arcologies[0].FSChineseRevivalist >= 90>> You speak warmly of the state of the Middle Kingdom, and express a hope that it will continue to be worthy of the Mandate of Heaven. <<elseif $arcologies[0].FSChineseRevivalist >= 40>> You ask that your citizens will continue to support your pursuit of the Mandate of Heaven. <</if>> <</if>> <<if $arcologies[0].FSChattelReligionist != "unset">> <<if $arcologies[0].FSChattelReligionist >= 90>> You speak warmly of the spiritual state of the arcology, and express a hope that enjoyment of the pleasure of creation through the holy office of sexual slavery will be perpetual. <<elseif $arcologies[0].FSChattelReligionist >= 40>> You ask that your citizens will continue to support the new faith by regularly fucking their sex slaves. <</if>> <</if>> <<if $arcologies[0].FSDegradationist != "unset">> <<if $arcologies[0].FSDegradationist >= 90>> You speak warmly of the degraded state of the arcology's slaves, and express a hope that your citizens will remain vigilant on this matter. <<elseif $arcologies[0].FSDegradationist >= 40>> You ask that your citizens will continue to be inventive in coming up with new ways to degrade sex slaves. <</if>> <<elseif $arcologies[0].FSPaternalist != "unset">> <<if $arcologies[0].FSPaternalist >= 90>> You speak warmly of the creditable state of the arcology's slaves, and express a hope that their improvement will never stop. <<elseif $arcologies[0].FSPaternalist >= 40>> You ask that your citizens will make an effort to leave at least one slave happier tonight than she was this morning. <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<if $arcologies[0].FSYouthPreferentialist >= 90>> You almost lose track of time rhapsodizing about young girls, but it's not like your citizens ever tire of the subject. <<elseif $arcologies[0].FSYouthPreferentialist >= 40>> You rhapsodize about how wonderful sex with a tight young girl is, and encourage citizens who haven't done so to give it a try. <</if>> <<elseif $arcologies[0].FSMaturityPreferentialist != "unset">> <<if $arcologies[0].FSMaturityPreferentialist >= 90>> <<elseif $arcologies[0].FSMaturityPreferentialist >= 40>> You rhapsodize about how wonderful sex with a tight young girl is, and encourage citizens who haven't done so to give it a try. <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocus != "unset">> <<if $arcologies[0].FSRepopulationFocus >= 90>> You rhapsodize on the wonderful display of pregnancies you see daily, and affirm that the arcology will continue to be to bastion of the future. <<elseif $arcologies[0].FSRepopulationFocus >= 40>> You ask that your citizens will make an effort to put a child in at least one of their slaves tonight. <</if>> <</if>> <<if $arcologies[0].FSRestart != "unset">> <<if $arcologies[0].FSRestart >= 90>> You implore your citizens to cease reproducing and accept the Societal Elite as the world's heirs. <<elseif $arcologies[0].FSRestart >= 40>> You ask that your citizens will make an effort to prevent slave pregnancies. <</if>> <</if>> <<if $arcologies[0].FSAssetExpansionist != "unset">> <<if $arcologies[0].FSAssetExpansionist >= 90>> You rhapsodize on the wonderful display of tits and ass you see daily, and affirm that despite this, no boob is ever big enough, and the expansion should never stop. <<elseif $arcologies[0].FSAssetExpansionist >= 40>> You request that your citizens continue to do their best to expand their slaves' breasts. <</if>> <<elseif $arcologies[0].FSSlimnessEnthusiast != "unset">> <<if $arcologies[0].FSSlimnessEnthusiast >= 90>> You rhapsodize on the wonderfully girlish bodies you see daily, and affirm that the arcology will continue to make its own way in slave fashion. <<elseif $arcologies[0].FSSlimnessEnthusiast >= 40>> You request that your citizens continue to do their best to keep their slaves fit and slim. <</if>> <</if>> <<if $arcologies[0].FSTransformationFetishist != "unset">> <<if $arcologies[0].FSTransformationFetishist >= 90>> You note some of the most interesting transformations you've seen in the arcology, and hold them up as examples of surgical inventiveness. <<elseif $arcologies[0].FSTransformationFetishist >= 40>> You advocate for continued research and development into new ways to surgically transform slaves. <</if>> <<elseif $arcologies[0].FSBodyPurist != "unset">> <<if $arcologies[0].FSBodyPurist >= 90>> You note your approval of the arcology's progress in achieving slave beauty without polluting slave bodies, and hope it will never stop. <<elseif $arcologies[0].FSBodyPurist >= 40>> You advocate for continued research and development into less invasive ways of altering slaves' bodies. <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if $arcologies[0].FSGenderRadicalist >= 90>> You review your arcology's near-perfect eagerness to treat every slave like the girl she is with approval. <<elseif $arcologies[0].FSGenderRadicalist >= 40>> You argue for continued progress towards a society that is willing to accept anyone who sucks dick or takes a buttfuck as a girl. <</if>> <<elseif $arcologies[0].FSGenderFundamentalist != "unset">> <<if $arcologies[0].FSGenderFundamentalist >= 90>> You review your arcology's refinement of old world gender mores into a future populated by beautiful slave women with approval. <<elseif $arcologies[0].FSGenderFundamentalist >= 40>> You argue for continued progress towards a society that maintains all the best parts of old world gender mores. <</if>> <</if>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> <<if $arcologies[0].FSPhysicalIdealist >= 90>> You wax poetic on the physical achievements of your arcology, but caution your citizens that perfection in this area is impossible: one must always strive. <<elseif $arcologies[0].FSPhysicalIdealist >= 40>> You review some recent physical achievements by notable slaves, compliment their owners, and express a hope for continued physical development. <</if>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if $arcologies[0].FSSupremacist >= 90>> You express confidence in the state of the $arcologies[0].FSSupremacistRace race in your arcology, and express the hope that it will serve as a worldwide model. <<elseif $arcologies[0].FSSupremacist >= 40>> You compliment the $arcologies[0].FSSupremacistRace citizens who have done the most work to exalt their race over others. <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if $arcologies[0].FSSubjugationist >= 90>> You mention the state of the $arcologies[0].FSSubjugationistRace race here with approval, but ask your citizens to continue to support you here, since vigilance will never be unnecessary. <<elseif $arcologies[0].FSSubjugationist >= 40>> You commend your citizens for their attention to subjugation of the $arcologies[0].FSSubjugationistRace race, and exhort them to greater efforts there. <</if>> <</if>> <<if $arcologies[0].FSPastoralist != "unset">> <<if $arcologies[0].FSPastoralist >= 90>> You communicate your pride in the state of cow husbandry in your arcology, and hope that its global cachet for quality will continue to grow. <<elseif $arcologies[0].FSPastoralist >= 40>> You tell the touching story of the arcology's most loving cow, and offer some lessons to slaveowners from it. <</if>> <</if>> You conclude by briefly recounting the story of the founding of the Free City, the building of the arcology, and what is publicly known of your accession to ownership, before a ringing close that reminds your citizens that they have the freedom to decide where their stories in the Free Cities go from there. Your speech is @@color:green;very well received.@@ <<if $PC.career == "servant">> <<set $rep += 100>> <<else>> <<set $rep += 200>> <</if>> <</nobr>> <</replace>> <</link>> </span>\ \ <span id="result2"> <<link "Pay for a lavish fireworks display">> <<replace "#result2">> <<nobr>> <<set $cash -= 10000>> Once darkness falls outside the arcology, a traditional fireworks display erupts from mortars mounted on your penthouse balconies. The noise and light @@color:green;delights@@ your citizens, terrifies the arcology's stupider slaves, and serves a useful ancillary purpose in defense preparedness. The arcology's radar and laser sensors track the display, using it as an opportunity to calibrate the point defense systems on real targets. There is general agreement that this sort of thing should be a yearly tradition here, just like it was in some parts of the old world: old ideas aren't all bad. <<set $rep += 1000>> <</nobr>> <</replace>> <</link>> //Costs ¤10000// </span>\
r3d/fc
src/uncategorized/seIndependenceDay.tw
tw
bsd-3-clause
24,977
:: SE lethal pit <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $pitFought to 1>> <<set $fighterOne to 0>> <<set $fighterTwo to 0>> <<if $pitBG == 0>> <<set $fighterOne to $fighterIDs.random()>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $fighterOne)>> <<set $fighterOne to $slaves[$i]>> <<break>> <</if>> <</for>> <<else>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $Bodyguard.ID)>> <<set $fighterOne to $slaves[$i]>> <<break>> <</if>> <</for>> <</if>> <<set $fighterIDs to $fighterIDs.shuffle()>> <<for $i to 0; $i < $fighterIDs.length; $i++>> <<if ($fighterIDs[$i] != $fighterOne.ID)>> <<set $fighterTwo to $fighterIDs[$i]>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $fighterTwo)>> <<set $fighterTwo to $slaves[$i]>> <<break>> <</if>> <</for>> <<if ($fighterOne == 0) || ($fighterTwo == 0)>> <<goto "Nonrandom Event">> <</if>> <</nobr>>\ \ <<nobr>> This week's pit fight is between $fighterOne.slaveName and $fighterTwo.slaveName. <<if $pitAudience is "none">>You are alone above the pit, left to watch them kill and die in private.<<elseif $pitAudience is "free">>Your guests line the rim of the pit, joking and betting, nervous and excited by the close prospect of watching a girl die.<<else>>The attendees line the rim of the pit, betting and arguing, nervous and excited by the close prospect of watching a girl die.<</if>> <<if $arcologies[0].FSRomanRevivalist != "unset">> They @@color:green;passionately approve@@ of your hosting lethal combat between slaves; this advances ideas from antiquity about what public events should be. <<set $rep += 20*$FSSingleSlaveRep*($arcologies[0].FSRomanRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSRomanRevivalist += 0.4*$FSSingleSlaveRep>> <</if>> You review the rules - the combatants will use their choice of swords, and the fight will be to the death, with both combatants executed if no decision is reached. The winner will earn two complete days of rest, not to mention continued life. You take a moment to look over your girls before giving the word. After all, it's the last time you'll be seeing one of them alive. <</nobr>> <<nobr>> <<Deadliness $fighterOne>> <<set $fighterOneDeadliness to $deadliness>> <<if $fighterOne.fetish is "mindbroken">> $fighterOne.slaveName is too broken to care about whether she lives or dies; <<elseif $fighterOneDeadliness > 5>> $fighterOne.slaveName seems very confident; <<elseif $fighterOneDeadliness > 3>> $fighterOne.slaveName seems nervous, but steels herself; <<elseif $fighterOneDeadliness > 1>> $fighterOne.slaveName seems hesitant and unsure; <<else>> $fighterOne.slaveName is obviously terrified, and might flee if there were a way out of the pit; <</if>> <<if $fighterOne.fetish is "mindbroken">> she is indifferent to the prospect of killing, as well. <<elseif $fighterOne.devotion > 95>> she is clearly willing to do her best to kill for you. <<elseif ($fighterOne.fetish is "sadist") && ($fighterOne.fetishKnown == 1) && ($fighterOne.fetishStrength > 60)>> the prospect of killing does not seem to concern her. <<elseif $fighterOne.devotion > 50>> she obviously does not want to kill, but will do as you order. <<elseif $fighterOne.devotion >= -20>> she is clearly unhappy at the prospect of killing, but knows that the alternative is death. <<else>> she knows that it's kill or be killed, and puts aside her hatred of you in an effort to live. <</if>> <<if $fighterOne.combatSkill > 0>> Her grip on her sword is sure and easy. <</if>> <<if $fighterOne.muscles > 95>> She is wielding a massive two-handed blade few others could even heft. <<elseif $fighterOne.muscles > 30>> She is strong enough to handle a bastard sword. <<elseif $fighterOne.muscles > 5>> She has selected a longsword suited to her strength. <<elseif $fighterOne.muscles < -95>> She has selected a meager dagger; even then she can barely wield it. <<elseif $fighterOne.muscles < -30>> She has selected a dagger, the heaviest weapon she can manage. <<elseif $fighterOne.muscles < -5>> She has selected a short sword, despite being able to barely lift it. <<else>> She has selected a short sword, the heaviest weapon she can manage. <</if>> <<if $fighterOne.height >= 170>> Her height gives her a reach advantage. <</if>> <<if $fighterOne.health > 50>> Her shining health makes her a better fighter. <</if>> <<if $fighterOne.weight > 30>> Her heavy weight is an impediment as a pit fighter. <</if>> <<if $fighterOne.weight < -10>> Her light weight is an impediment as a pit fighter. <</if>> <<if $fighterOne.health < -50>> Her poor health makes her a weaker combatant. <</if>> <<if $fighterOne.inflation == 3>> Her hugely bloated, <<print $fighterOne.inflationType>>-filled belly is taut and painful, hindering her ability to fight. <<elseif $fighterOne.inflation == 2>> Her bloated, <<print $fighterOne.inflationType>>-stuffed belly is constantly jiggling and moving, distracting her and throwing off her weight. <<elseif $fighterOne.inflation == 1>> Her distended, <<print $fighterOne.inflationType>>-belly is uncomfortable and heavy, distracting her. <</if>> <<if $fighterOne.bellyImplant >= 32000>> Her immense, <<print $fighterOne.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterOne.bellyImplant >= 16000>> Her massive, <<print $fighterOne.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterOne.bellyImplant >= 8000>> Her huge, <<print $fighterOne.bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off her weight and making her far less effective. <<elseif $fighterOne.bellyImplant >= 4000>> Her large, <<print $fighterOne.bellyImplant>>cc implant filled belly is heavy and unwieldy, rendering her less effective. <<elseif $fighterOne.bellyImplant >= 2000>> Her swollen, <<print $fighterOne.bellyImplant>>cc implant filled belly is heavy and makes her less effective. <</if>> <<if $fighterOne.preg > 10>> <<if $fighterOne.pregType >= 20>> Her massive belly is practically a death sentence, she can barely keep it together while thinking about the lives of her brood. <<elseif $fighterOne.pregType >= 10>> Her huge belly gets in her way and weighs her down. She is terrified for the lives of her children. <<else>> Her advanced pregnancy makes her much less effective, not to mention terrified for her child. <</if>> <</if>> <<if not canSee($fighterOne)>> Her lack of eyesight is certain death. <<elseif ($fighterOne.eyes is -1 and ($fighterOne.eyewear != "corrective glasses" or $fighterOne.eyewear != "corrective contacts")) || ($fighterOne.eyes == 1 and ($fighterOne.eyewear is "blurring glasses" or $fighterOne.eyewear is "blurring contacts"))>> Her poor eyesight makes her a weaker combatant. <</if>> <<if $fighterOne.amp < 0>> The pit lights gleam on her P-Limbs. <<if $fighterOne.amp == -4>> Their integral weapons are fully uncaged. <<elseif $fighterOne.amp == -5>> The limits on her cybernetic limbs have been lifted, turning them deadly. <</if>> <</if>> <</nobr>> <<nobr>> <<Deadliness $fighterTwo>> <<set $fighterTwoDeadliness to $deadliness>> <<if $fighterTwo.fetish is "mindbroken">> $fighterTwo.slaveName is too broken to care about whether she lives or dies; <<elseif $fighterTwoDeadliness > 5>> $fighterTwo.slaveName seems very confident; <<elseif $fighterTwoDeadliness > 3>> $fighterTwo.slaveName seems nervous, but steels herself; <<elseif $fighterTwoDeadliness > 1>> $fighterTwo.slaveName seems hesitant and unsure; <<else>> $fighterTwo.slaveName is obviously terrified, and might flee if there were a way out of the pit; <</if>> <<if $fighterTwo.fetish is "mindbroken">> she is indifferent to the prospect of killing, as well. <<elseif $fighterTwo.devotion > 95>> she is clearly willing to do her best to kill for you. <<elseif ($fighterTwo.fetish is "sadist") && ($fighterTwo.fetishKnown == 1) && ($fighterTwo.fetishStrength > 60)>> the prospect of killing does not seem to concern her. <<elseif $fighterTwo.devotion > 50>> she obviously does not want to kill, but will do as you order. <<elseif $fighterTwo.devotion >= -20>> she is clearly unhappy at the prospect of killing, but knows that the alternative is death. <<else>> she knows that it's kill or be killed, and puts aside her hatred of you in an effort to live. <</if>> <<if $fighterTwo.combatSkill > 0>> Her grip on her sword is sure and easy. <</if>> <<if $fighterTwo.muscles > 95>> She is wielding a massive two-handed blade few others could even heft. <<elseif $fighterTwo.muscles > 30>> She is strong enough to handle a bastard sword. <<elseif $fighterTwo.muscles > 5>> She has selected a longsword suited to her strength. <<elseif $fighterTwo.muscles < -95>> She has selected a meager dagger; even then she can barely wield it. <<elseif $fighterTwo.muscles < -30>> She has selected a dagger, the heaviest weapon she can manage. <<elseif $fighterTwo.muscles < -5>> She has selected a short sword, despite being able to barely lift it. <<else>> She has selected a short sword, the heaviest weapon she can manage. <</if>> <<if $fighterTwo.height >= 170>> Her height gives her a reach advantage. <</if>> <<if $fighterTwo.health > 50>> Her shining health makes her a better fighter. <</if>> <<if $fighterTwo.weight > 30>> Her heavy weight is an impediment as a pit fighter. <</if>> <<if $fighterTwo.weight < -10>> Her light weight is an impediment as a pit fighter. <</if>> <<if $fighterTwo.health < -50>> Her poor health makes her a weaker combatant. <</if>> <<if $fighterTwo.inflation == 3>> Her hugely bloated, <<print $fighterTwo.inflationType>>-filled belly is taut and painful, hindering her ability to fight. <<elseif $fighterTwo.inflation == 2>> Her bloated, <<print $fighterTwo.inflationType>>-stuffed belly is constantly jiggling and moving, distracting her and throwing off her weight. <<elseif $fighterTwo.inflation == 1>> Her distended, <<print $fighterTwo.inflationType>>-belly is uncomfortable and heavy, distracting her. <</if>> <<if $fighterTwo.bellyImplant >= 32000>> Her immense, <<print $fighterTwo.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterTwo.bellyImplant >= 16000>> Her massive, <<print $fighterTwo.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterTwo.bellyImplant >= 8000>> Her huge, <<print $fighterTwo.bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off her weight and making her far less effective. <<elseif $fighterTwo.bellyImplant >= 4000>> Her large, <<print $fighterTwo.bellyImplant>>cc implant filled belly is heavy and unwieldy, rendering her less effective. <<elseif $fighterTwo.bellyImplant >= 2000>> Her swollen, <<print $fighterTwo.bellyImplant>>cc implant filled belly is heavy and makes her less effective. <</if>> <<if $fighterTwo.preg > 10>> <<if $fighterTwo.pregType >= 20>> Her massive belly is practically a death sentence, she can barely stand let alone fight. The lives of her brood way heavily on her. <<elseif $fighterTwo.pregType >= 10>> Her huge belly gets in her way and weighs her down. She is terrified for the lives of her children. <<else>> Her advanced pregnancy makes her much less effective, not to mention terrified for her child. <</if>> <</if>> <<if not canSee($fighterTwo)>> Her lack of eyesight is certain death. <<elseif ($fighterTwo.eyes is -1 and ($fighterTwo.eyewear != "corrective glasses" or $fighterTwo.eyewear != "corrective contacts")) || ($fighterTwo.eyes == 1 and ($fighterTwo.eyewear is "blurring glasses" or $fighterTwo.eyewear is "blurring contacts"))>> Her poor eyesight makes her a weaker combatant. <</if>> <<if $fighterTwo.amp < 0>> The pit lights gleam on her P-Limbs. <<if $fighterTwo.amp == -4>> Their integral weapons are fully uncaged. <<elseif $fighterTwo.amp == -5>> The limits on her cybernetic limbs have been lifted, turning them deadly. <</if>> <</if>> In any case, both of the slaves have been dosed with aggression enhancers and inhibition blockers; they'll fight to kill. <</nobr>> <<nobr>> <<if $fighterTwoDeadliness > $fighterOneDeadliness>> <<set _winner to $fighterTwo>> <<set _winnerDeadliness to $fighterTwoDeadliness>> <<set _loser to $fighterOne>> <<set _loserDeadliness to $fighterOneDeadliness>> <<elseif $fighterTwoDeadliness < $fighterOneDeadliness>> <<set _loser to $fighterTwo>> <<set _loserDeadliness to $fighterTwoDeadliness>> <<set _winner to $fighterOne>> <<set _winnerDeadliness to $fighterOneDeadliness>> <<elseif random(1,100) > 50>> <<set _winner to $fighterTwo>> <<set _winnerDeadliness to $fighterTwoDeadliness>> <<set _loser to $fighterOne>> <<set _loserDeadliness to $fighterOneDeadliness>> <<else>> <<set _loser to $fighterTwo>> <<set _loserDeadliness to $fighterTwoDeadliness>> <<set _winner to $fighterOne>> <<set _winnerDeadliness to $fighterOneDeadliness>> <</if>> <<if !canSee(_winner) and !canSee(_loser)>> _winner.slaveName and _loser.slaveName are both blind making the fight a staredown. Neither slave wants to make the first move, especially with the drowning cacophony coming from the jeering crowd. Slowly, _winner.slaveName moves forward, waving her sword side to side in the hopes of finding her opponent before she herself gets found. _loser.slaveName's sword clips the tip of _winner.slaveName's setting off a surprisingly brutal series of slashes. The two slaves violently lay into each other, suffering more and more strikes as the struggle goes on. Less than a minute from first contact, both slaves are laying in their combined blood. As you begin to call it a draw, you notice _winner.slaveName start to stir. She staggers to her feet, coated in her and _loser.slaveName's blood, before dropping back to her knees. It seems she lived through this fight, odds aren't likely she'll do it again. <<set _winner.health -= 50>> <<if $pitAudience is "paid">> The audience is surprised by the sudden violence after so much standing around, and your @@color:yellowgreen;cut of the betting@@ is modest. <<set $cash += 5000>> <<elseif $pitAudience is "free">> The audience is @@color:green;surprised@@ by the sudden violence after so much standing around. <<set $rep += 250>> <</if>> <<elseif (_winnerDeadliness > _loserDeadliness+1) && (_winner.amp == -4)>> Upon your word the two combatants approach each other. _winner.slaveName drops her sword as she comes, raising only her hands, but these are terrifying, modern weapons themselves. _loser.slaveName tries a probing sweep, but _winner.slaveName catches her blade in one hand, slides it down to the hilt with a shriek of metal on metal, and snaps the blade cleanly. As _loser.slaveName watches this, dumbstruck, _winner.slaveName places a gentle hand under her chin and then extends that arm's integral blade up and through her opponent's skull. Though the fight was short, <<if $pitAudience is "paid">> the audience is quite impressed by the display, and your @@color:yellowgreen;cut of the betting@@ is quite good. <<set $cash += 10000>> <<elseif $pitAudience is "free">> the audience is @@color:green;very impressed@@ by the display. <<set $rep += 500>> <</if>> <<elseif (_winnerDeadliness > _loserDeadliness+1) && (_winner.amp == -5)>> Upon your word the two combatants approach each other. _winner.slaveName does not carry a sword, raising only her hands, but these are terrifying, modern weapons themselves. _loser.slaveName tries a probing sweep, but _winner.slaveName catches her blade in one hand, slides it down to the hilt with a shriek of metal on metal, and snaps the blade cleanly. _loser.slaveName watches this, dumbstruck, before regaining composure and taking a fighting stance again. _winner.slaveName manages to touch her opponent's bare skin with her own cybernetics, incapacitating _loser.slaveName with an electric shock. While _loser.slaveName is temporarily stunned, _winner.slaveName strikes _loser.slaveName on the head with deadly force, crushing her opponent's skull. Though the fight was short, <<if $pitAudience is "paid">> the audience is quite impressed by the display, and your @@color:yellowgreen;cut of the betting@@ is quite good. <<set $cash += 10000>> <<elseif $pitAudience is "free">> the audience is @@color:green;very impressed@@ by the display. <<set $rep += 500>> <</if>> <<elseif !canSee(_winner)>> _winner.slaveName centers herself and hones in on _loser.slaveName's rapid breath. She readies herself, knowing she has a single chance to live. With heavy steps, _loser.slaveName rushes her, fully prepared to slaughter the helpless combatant. _winner.slaveName gambles everything on a single high slash, a slash that cut _loser.slaveName's undefended neck wide open. _winner.slaveName collapses to the ground, fully aware of _loser.slaveName's final gurgles, and the sword @@color:red;firmly planted in her side@@. She lived this time, barely, but she doubts she can do it again. <<set _winner.health -= 80>> <<if $pitAudience is "paid">> The audience is awestruck by the blind girl's triumph, and your @@color:yellowgreen;cut of the betting@@ is enormous. <<set $cash += 40000>> <<elseif $pitAudience is "free">> The audience is @@color:green;awestruck@@ by the blind girl's triumph. <<set $rep += 2000>> <</if>> <<elseif !canSee(_loser)>> _winner.slaveName sighs at _loser.slaveName's random slashing and calmly struts around the panicking slave. In one quick swoop, she buries her blade in _loser.slaveName's back, ending the poor girl's flailing. <<set _winner.health -= 80>> <<if $pitAudience is "paid">> The audience found the fight embarrassing, and your @@color:yellowgreen;cut of the betting@@ is pitiful. <<set $cash += 40>> <<elseif $pitAudience is "free">> The audience is @@color:red;annoyed@@ by this waste of a fight. <<set $rep -= 20>> <</if>> <<elseif (_winnerDeadliness > _loserDeadliness+3)>> <<if (_winner.combatSkill > 0)>> _winner.slaveName wants to win, and she opens the fight with a furious attack. _loser.slaveName manages to get her blade up, blocking a strike with a ringing clash and a few sparks, but by doing so leaves her abdomen open and obscures her vision enough that she is unprepared for the following horizontal slash, which opens her belly wide. The stricken girl collapses, feebly trying to push her viscera back into place. Whether out of mercy or a desire to get it over with, _winner.slaveName quickly removes the dying girl's head. <<if $pitAudience is "paid">> The audience is reasonably impressed by the gore, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 4000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the gore. <<set $rep += 200>> <</if>> <<else>> _winner.slaveName wants to win and is confident she will, but she isn't particularly sure about how to do so. She fights cautiously, swinging her sword in powerful but inaccurate strokes. It is only a matter of time before one of these strikes gets through; it's telling that rather than hitting what she aimed at, _winner.slaveName accidentally opens a massive gash down _loser.slaveName's thigh. Realizing she has to do something, _loser.slaveName makes a desperate counterattack, pouring blood as she goes. _winner.slaveName panics and fails to parry one of the last counterstrikes before loss of blood ends the attack, suffering a @@color:red;terrible cut@@ to her shoulder. Down to one arm, _winner.slaveName is forced to make a long, loud butchery of ending the fight. <<set _winner.health -= 20>> <<if $pitAudience is "paid">> The audience is reasonably impressed by the blood, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 4000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the blood. <<set $rep += 200>> <</if>> <</if>> <<elseif (_winner.combatSkill > 0) && (_loser.combatSkill > 0)>> Upon your word the two combatants approach each other warily, both knowing the other is reasonably competent. Before long they are trading thrust and parry, swing and block. _winner.slaveName is slowly pressed back, so she decides to change the nature of the fight. After three tries she manages to force _loser.slaveName to close, suffering a @@color:red;nearly severed ear@@ as she does. _loser.slaveName realizes she only retains an advantage at long range but cannot back up fast enough to avoid close combat. _loser.slaveName is forced back fast enough that she trips; she's barely fallen on her back before she grunts with shock and pain, dying with a look of surprise as she stares at the sword growing out of her chest. <<set _winner.health -= 20>> <<if $pitAudience is "paid">> The audience is quite impressed by the expert fight, and your @@color:yellowgreen;cut of the betting@@ is quite good. <<set $cash += 10000>> <<elseif $pitAudience is "free">> The audience is @@color:green;very impressed@@ by the expert fight. <<set $rep += 500>> <</if>> <<elseif (_winner.height-_loser.height <= -10)>> _winner.slaveName realizes that _loser.slaveName's wingspan gives her a huge reach advantage. She bores straight in, taking @@color:red;a glancing scalp wound@@ but coming on regardless. _loser.slaveName understands her opponent's intention and backs off, but the pit is small and there isn't much room to retreat. When her back hits a padded wall, _winner.slaveName aims a gutting cut that _loser.slaveName struggles to block. She manages it, but the wall catches her point, so the block is with her wrist, not her sword. The sharp blade cuts almost all the way through the joint, leaving her in agony and totally incapable of defense. _winner.slaveName pushes her head back against the wall and cuts her throat down to the spine. <<set _loser.health -= 20>> <<if $pitAudience is "paid">> The audience is reasonably impressed by the blood, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 4000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the blood. <<set $rep += 200>> <</if>> <<elseif (_winner.muscles > 30)>> _winner.slaveName is so massively muscular that she's actually impeded by her lack of speed and flexibility. _loser.slaveName is properly afraid of her strength, though, so she tries to stay away as much as she can. The few times their blades clash reinforces this approach, since _winner.slaveName is able to beat her opponent's blocks out of the way with contemptuous ease. The fight takes a long, long time, but it takes more out of _loser.slaveName to survive than it takes out of _winner.slaveName to keep swinging. Eventually the gasping, weeping _loser.slaveName trips and does not struggle to her feet in time. It takes her tired opponent several overhead butcher's cleaves to end it. <<if $pitAudience is "paid">> The audience is reasonably impressed by the show of strength, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 1000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the show of strength. <<set $rep += 50>> <</if>> <<elseif (_loser.preg > 10) && (_loser.pregType >= 20)>> _winner.slaveName wants to live badly enough that she takes and extremely brutal shortcut to victory. The instant the fight starts, she quickly slices right across _loser.slaveName's massive belly, which is far to large to possibly defend. _loser.slaveName's belly ruptures like a popped water balloon, showering _winner.slaveName with blood. _loser.slaveName collapses into the pile of organs and babies released from her body. _winner.slaveName walks over to the bleeding out slave and quickly cuts her throat. <<if $pitAudience is "paid">> The audience is not very impressed by this easy kill, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 2000>> <<elseif $pitAudience is "free">> the audience is @@color:green;not very impressed@@ by this easy kill. <<set $rep += 100>> <</if>> <<elseif (_loser.boobs > 1200)>> _winner.slaveName takes an extremely simple shortcut to victory. The instant the fight starts, she slices _loser.slaveName right across her huge tits, which are so large the cannot properly be defended. _loser.slaveName reflexively drops her sword to clasp her hands over her ruined breasts, gushing blood<<if _loser.boobsImplant > 400>> and implant fluid<</if>>. _winner.slaveName's followup is neither artful nor particularly well planned, but it is effective. She hits the distracted girl's neck from the side, almost but not quite separating her head from her body. <<if $pitAudience is "paid">> The audience is not very impressed by this easy kill, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 2000>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy kill. <<set $rep += 100>> <</if>> <<elseif (_loser.dick > 0)>> _winner.slaveName wants to live badly enough that she takes an extremely brutal shortcut to victory. The instant the fight starts, she furiously swings for _loser.slaveName's face. _loser.slaveName reflexively raises her sword to block, at which point _winner.slaveName simply kicks her in the dick. _loser.slaveName goes down like a marionette with cut strings, her mouth soundlessly opening and closing and tears leaking from her closed eyes. _winner.slaveName walks over to the prostrate slave and cuts her throat without much trouble. <<if $pitAudience is "paid">> The audience is not very impressed by this easy kill, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 2000>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy kill. <<set $rep += 100>> <</if>> <<else>> _winner.slaveName wants to live badly enough that she takes an extremely brutal shortcut to victory. The instant the fight starts, she furiously swings for _loser.slaveName's face. _loser.slaveName reflexively raises her sword to block, at which point _winner.slaveName simply kicks her in the cunt. _loser.slaveName goes down like a marionette with cut strings, her mouth soundlessly opening and closing and tears leaking from her closed eyes. _winner.slaveName walks over to the prostrate slave and cuts her throat without much trouble. <<if $pitAudience is "paid">> The audience is not very impressed by this easy kill, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 2000>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy kill. <<set $rep += 1000>> <</if>> <</if>> <</nobr>> <<nobr>> You let the winner _winner.slaveName, shaking as she comes off the adrenaline, drugs, and the fear, exit the pit. <<if _winner.fetish is "mindbroken">> She was already so broken before today that she will not be seriously affected by having killed with her own hands. <<elseif _winner.devotion > 95>> She is so worshipful of you that she does not see killing _loser.slaveName as special in her own internal listing of things that she has willingly done and would willingly do again on your behalf. <<elseif _winner.devotion > 80>> She will never forget having killed _loser.slaveName with her own hands. The only way she will be able to live with herself is to @@color:hotpink;subsume her will to yours,@@ telling herself that the killing was to serve and obey you. <<set _winner.devotion += 10>> <<elseif (_winner.fetishKnown == 1) && (_winner.fetishStrength > 60) && (_winner.fetish is "sadist")>> She has sunk even deeper into cruelty, callousness, and a total disregard of the value of other slaves' lives. Going forward, she's even @@color:hotpink;less likely to question@@ even the most abominable commands. <<set _winner.devotion += 4>> <<elseif _winner.devotion > 50>> She will never forget having killed _loser.slaveName with her own hands. The only way she will be able to live with herself is to tell herself that the killing was done on your orders. <<else>> She will never forget having killed _loser.slaveName with her own hands. The only way she will be able to live with herself is to @@color:mediumorchid;blame you,@@ telling herself that the killing was the only choice you gave her if she wanted to live. <<set _winner.devotion -= 10>> <</if>> <<if (_winner.fetish != "sadist")>> <<if random(1,100) > 50>> Cruelty and callousness seeps its way into her sexuality; she has become a @@color:pink;bloody sadist.@@ <<set _winner.fetish to "sadist">> <<set _winner.fetishKnown to 1>> <<set _winner.fetishStrength = 65>> <</if>> <</if>> <<if (_winner.rivalry > 0) and(_loser.ID is _winner.rivalryTarget)>> <<if (_winner.devotion > 75)>> She is so accepting of the low value of slave life that she @@color:hotpink;is pleased@@ to have killed her rival _loser.slaveName. <<set _winner.devotion += 4>> <</if>> <<elseif (_winner.relationship >= 0) && (_loser.ID is _winner.relationshipTarget)>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her only friend at her own hand as an @@color:hotpink;honorable@@ end to their doomed slave relationship. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her only friend at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <<elseif _winner.mother == _loser.ID>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her mothern at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her mother at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <<elseif _winner.father == _loser.ID>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her father at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her father at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <<elseif _loser.mother == _winner.ID || _loser.father == _winner.ID>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her daughter at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her daughter at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <<elseif _winner.sisters > 0>> <<if areSisters(_winner, _loser) == 1>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her twin at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her twin at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <<elseif areSisters(_winner, _loser) == 2>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her sister at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her sister at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <<elseif areSisters(_winner, _loser) == 3>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her half-sister at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She is @@color:mediumorchid;utterly devastated@@ at being forced to take the life of her half-sister. <<set _winner.devotion -= 50>> <</if>> <</if>> <<elseif (_winner.relation != 0) && (_loser.ID is _winner.relationTarget)>> <<if (_winner.devotion > 95)>> She is so worshipful of you that she sees the death of her _loser.relation at her own hand as an @@color:hotpink;honorable@@ end to their doomed family. <<set _winner.devotion += 4>> <<else>> She shows little reaction to the death of her _loser.relation at her own hand. In the coming days, it becomes clear that this is because she is @@color:red;no longer capable@@ of reacting to anything on an emotional level. Ever again. <<set _winner.fetish to "mindbroken">> <<set _winner.fetishKnown to 1>> <</if>> <</if>> <<if (_winner.combatSkill == 0)>> With lethal experience in $pitName, _winner.slaveName has @@color:green;learned basic combat skills.@@ <<set _winner.combatSkill += 1>> <</if>> <<set _winner.pitKills += 1>> <<set $pitKillsTotal += 1>> <<if _loser.ID == $fighterOne.ID>> <<set $fighterOne to 0>> <<elseif _loser.ID == $fighterTwo.ID>> <<set $fighterTwo to 0>> <</if>> <<for $i to 0; $i < $slaves.length; $i++>> <<if _winner.ID == $slaves[$i].ID>> <<set $slaves[$i] to _winner>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if _loser.ID == $slaves[$i].ID>> <<set $activeSlave to $slaves[$i]>> <<include "Remove activeSlave">> <<break>> <</if>> <</for>> <</nobr>>\
r3d/fc
src/uncategorized/seLethalPit.tw
tw
bsd-3-clause
34,857
:: SE nicaea council [nobr] <<if $plot == 1>><<set $nextLink to "Nonrandom Event">><<else>><<set $nextLink to "Random Nonindividual Event">><</if>> <<set $nextButton to "Continue">> <<set $nicaeaHeld = 1, $arcologies[0].FSChattelReligionistCreed = 1>> <<if $nicaeaInvolvement == 0>> <<set $arcologies[0].FSChattelReligionistCreed = 1>> The $nicaeaName is held in another arcology, without your involvement. Your abstention has weakened it. It authored a creed which the Council claims all good Chattel Religionists should subscribe. Most of it is uncontroversial, giving beliefs about slavery and faith that virtually all Chattel Religionists agree on. However, the new creed does purport to settle three major points of contention. <br><br> First, it emphasizes <<if $nicaeaFocus == "slaves">> slaves throughout. The creed goes so far as to imply that slaveowners have a duty to slaves, which they fulfill by providing them the opportunity to enjoy the holy and pure state of being a sex slave. <<else>> reverence for and obedience to slaveowners. This is not likely to have a great impact on slaves, but it affirms the total superiority of slaveowners and is likely to attract wealthy religious people from the old world. <</if>> <br><br> Second, one of the ways it states that free people can make their devotions is to <<if $nicaeaAssignment == "whore">> fuck a slave whore. Not surprisingly, this will increase demand for prostitutes. <<elseif $nicaeaAssignment == "serve the public">> fuck a public slut. Not surprisingly, this will increase demand for public servants. <<else>> have sex with one's slaves. This will likely increase respect for those that keep their own fucktoys. <</if>> <br><br> Third, the aspirational part of the creed for slaveowners focuses on <<if $nicaeaAchievement == "slaves">> owning many slaves to spread the gift of sexual slavery as widely as possible. This will increase respect for people who own many sex slaves, regardless of how they're used. <<elseif $nicaeaAchievement == "devotion">> making slaves worshipful. Naturally, this will increase respect for people with many devoted slaves. <<else>> building slaves's trust. Naturally, this will increase respect for people with many trusting slaves. <</if>> <br><br> //Since you did not participate in the Council, $arcologies[0].name does not subscribe to the creed. It is effectively a policy. Its impacts can be reviewed from the policy menu, and conformity to the creed can be decided from the policy menu if you decided to change it.// <<else>> The $nicaeaName is held in your arcology. Everyone in attendance is agreed that a Chattel Religionist creed should be created to give the faith a set of shared beliefs to unify and drive it. Many parts of the creed are uncontroversial, but there are three great controversies to be decided: whose role in slavery is most important in Chattel Religionism, which assignment best exemplifies a Chattel Religionist slave's sacred sexual servitude, and what a Chattel Religionist slaveowner should most aspire to achieve. All the slaveowners who are participating have committed to support whatever the Council decides collectively, <<if $nicaeaPower > 1>>and the strong Council should be able to promulgate a strong creed<<else>>but the weak Council may lead to a weak creed<</if>>. The Council <<if $nicaeaInfluence > 0>> is ongoing, and you have <<if $nicaeaInfluence > 2>>an immense<<elseif $nicaeaInfluence > 1>>a large<<else>>some<</if>> leverage with the rest of the Council to influence the Council's decisions. <br><br> On the first question, the great debate is between those Chattel Religionists who focus on their slaves and those who think that the focus should be on the slaveowner. The former vaunt the pure, holy state of grace to which a well trained slave can attain, and describe slaveowning as a positive duty, arguing that slaveowners must work to help their slaves attain purity, not exploit or torment them. The latter consider this belief inverted and dangerous, and think that slaves' primary role is to serve and revere their owners, making the whim and caprice of the owner sacred. The group whose role is placed centrally in the creed will likely get more enjoyment from its role in Chattel Religionism. <br>&nbsp;&nbsp;&nbsp;&nbsp; A majority of the Council currently supports deciding this question in favor of ''the <<if $nicaeaFocus == "slaves">>slave<<else>>slaveowner<</if>> centrality.'' <br>&nbsp;&nbsp;&nbsp;&nbsp; <<link "Support the slave centrality">> <<set $nicaeaInfluence -= 1, $nicaeaRollA += 1>> <<if $nicaeaRollA > 0>><<set $nicaeaFocus = "slaves">><</if>> <<goto "SE nicaea council">> <</link>> | <<link "Support the slaveowner centrality">> <<set $nicaeaInfluence -= 1, $nicaeaRollA += 1>> <<if $nicaeaRollA > 0>><<set $nicaeaFocus = "owners">><</if>> <<goto "SE nicaea council">> <</link>> <br><br> On the second question, there are advocates for holy prostitution, sacred public sluts, and pure private harems. Whatever is decided, Chattel Religionism will continue to support and advocate for slaves performing all these roles. This decision will be most important in how it affects Chattel Religionist citizens. The question is whether the creed should encourage free people to patronize slave whores, have sex with public sluts, or purchase and keep their own sex slaves and respect those who have large harems of them? The effectiveness of slaves on the emphasized assignment will be improved. <br>&nbsp;&nbsp;&nbsp;&nbsp; A majority of the Council currently supports deciding this question in favor of ''<<if $nicaeaAssignment == "whore">>prostitution<<elseif $nicaeaAssignment == "serve the public">>public service<<else>>fucktoy duty<</if>>.'' <br>&nbsp;&nbsp;&nbsp;&nbsp; <<link "Support prostitution">> <<set $nicaeaInfluence -= 1, $nicaeaRollB += 1>> <<if $nicaeaRollB > 0>><<set $nicaeaAssignment = "whore">><</if>> <<goto "SE nicaea council">> <</link>> | <<link "Support public service">> <<set $nicaeaInfluence -= 1, $nicaeaRollB += 1>> <<if $nicaeaRollB > 0>><<set $nicaeaAssignment = "serve the public">><</if>> <<goto "SE nicaea council">> <</link>> | <<link "Support fucktoy duty">> <<set $nicaeaInfluence -= 1, $nicaeaRollB += 1>> <<if $nicaeaRollB > 0>><<set $nicaeaAssignment = "please you">><</if>> <<goto "SE nicaea council">> <</link>> <br><br> On the third question, some with seats on the Council think owning sex slaves is the crux of being a good Chattel Religionist, because it gives the slaves the proper and pure experience of sexual slavery. Owning many sex slaves would therefore confer respect. Others believe in good works, and think that trust in slaves is the surest indication of a good slaveowner, and the only proper mark worth looking up to. Finally, and inevitably, some think worshipful slaves are a more appropriate measure of how righteous a slaveowner is. <br>&nbsp;&nbsp;&nbsp;&nbsp; A majority of the Council currently supports deciding this question in favor of ''<<if $nicaeaAchievement == "slaves">>owning slaves<<else>>$nicaeaAchievement<</if>>.'' <br>&nbsp;&nbsp;&nbsp;&nbsp; <<link "Support owning many slaves">> <<set $nicaeaInfluence -= 1, $nicaeaRollC += 1>> <<if $nicaeaRollC > 0>><<set $nicaeaAchievement = "whore">><</if>> <<goto "SE nicaea council">> <</link>> | <<link "Support trust">> <<set $nicaeaInfluence -= 1, $nicaeaRollC += 1>> <<if $nicaeaRollC > 0>><<set $nicaeaAchievement = "trust">><</if>> <<goto "SE nicaea council">> <</link>> | <<link "Support devotion">> <<set $nicaeaInfluence -= 1, $nicaeaRollC += 1>> <<if $nicaeaRollC > 0>><<set $nicaeaAchievement = "devotion">><</if>> <<goto "SE nicaea council">> <</link>> <br><br> [[Conclude the Council|SE nicaea council][$nicaeaInfluence = 0, $rep += $nicaeaInfluence*2000]] //This will let the currently prevailing views stand, and convert your remaining influence with the Council into general reputation// <<else>> has concluded. <br><br> The first question was decided in favor of ''the <<if $nicaeaFocus == "slaves">>slave<<else>>slaveowner<</if>> centrality.'' <br><br> The second question was decided in favor of ''<<if $nicaeaAssignment == "whore">>prostitution<<elseif $nicaeaAssignment == "serve the public">>public service<<else>>fucktoy duty<</if>>.'' <br><br> The third question was decided in favor of ''<<if $nicaeaAchievement == "slaves">>owning slaves<<else>>$nicaeaAchievement<</if>>.'' <br><br> //The creed has now taken effect in $arcologies[0].name. It is effectively a policy. Its impacts can be reviewed from the policy menu, and conformity to the creed can be decided from the policy menu if you decided to change it.// <</if>> <</if>>
r3d/fc
src/uncategorized/seNicaeaCouncil.tw
tw
bsd-3-clause
8,714
:: SE nicaea preparation [nobr] <<if $plot == 1>><<set $nextLink to "Nonrandom Event">><<else>><<set $nextLink to "Random Nonindividual Event">><</if>> <<set $nextButton to "Continue">> <<set $nicaeaPreparation = 0>> <<if $nicaeaInvolvement == -1>> Your vigorous opposition to a religious council to establish an agreed upon creed for Chattel Religionism has been successful, but not without cost. The furious controversy @@color:red;cost you friends and damaged your reputation@@ among those of your religious peers who wanted to see Chattel Religionists draw closer together, and as happens in controversies as heated as this, the influence and reputation you gain from those who agree with you doesn't match what you lose among those who think you're standing in the way of progress. Furthermore, not all of your citizens agreed with you, either. A few citizens of consequence have actually left $arcologies[0].name over it, @@color:red;damaging its economic prosperity.@@ Also, Chattel Religionists have had a serious disagreement here for the first time. @@color:red;Full acceptance of slaveowning theocracy in your arcology has been set back.@@ A majority of your citizens still approve and participate, but it will take time to rebuild. <<set $rep -= 4000, $arcologies[0].prosperity -= 5, $arcologies[0].FSChattelReligionist *= 0.6>> <br><br> But you did win. Chattel Religionism will remain a free and open faith that accepts any slaveowner willing to declare that they consider holding slaves holy. You'll be remembered by those who opposed you as the arcology owner who kept Chattel Religionism from developing into a great force, and by those who agreed with you as the arcology owner who preserved Chattel Religionism as a welcoming and open as it was always meant to be. You have no doubt that the latter view dominates now and will come to predominate as it becomes settled. After all this, there's no chance that anyone who calls for another Chattel Religionist synod any time soon will get a serious hearing. <<else>> You have a busy week preparing for the $nicaeaName ahead of you. Planning the event itself is the easy part. Modern arcologies are designed to host big events, and it's not like you don't have a lot of labor available to assist you. Furthermore, one of $assistantName's standard functions is event planning. <<if $assistant == 0>>It<<else>>She<</if>> helps manage the thousand details of hosting a group of rich, powerful, opinionated people, letting you focus on the most important matters. <<if $HeadGirl != 0>>$HeadGirl.slaveName is also a great help. She does her best to supervise your other slaves even more thoroughly than usual, giving you precious time.<</if>> <<if $Concubine != 0>>Of course, $Concubine.slaveName is always there to help you relax when you need it.<</if>> <br><br> The first major choice you have to make concerns the seats on the Council. There are some Chattel Religionists you simply have to invite; they're so prominent that if you don't, the Council's decisions will lack any weight. But that doesn't mean you don't have room to manipulate the list of people invited in order to enhance your influence in the council. It wouldn't be difficult to selectively invite Chattel Religionist slaveowners that have the reputation to support attendance, who you know to be philosophically aligned with your thoughts about the faith. On the other hand, managing the seats on the Council with perfect impartiality would definitely help acceptance of any creed the Council agrees upon. <br><br> <span id="result"> <<link "Apportion Council seats impartially">> <<replace "#result">> You apportion the seats impartially, doing everything you can to help ensure that all Chattel Religionists will see the Council as authoritative. <</replace>> <</link>> <br><<link "Invite Chattel Religionists you agree with">> <<replace "#result">> You do your best to invite Chattel Religionists you hope will agree with you, while trying to keep what you're doing from being too obvious. <<set $nicaeaPower -= 1, $nicaeaInfluence += 1>> <</replace>> <</link>> </span> <br><br> Second, you need to decide whether you intend to engage in a canvassing campaign before the Council begins. There's nothing stopping you from airing your views with invitees before they arrive. However, swaying them is going to require you to really throw your weight around. These are powerful people, and you'll have to expend Free Cities political capital without holding back if you hope to sway even one of them. It's not like you lack for favors you could call in, though. <br><br> <span id="result2"> <<link "Rely on your prominence">> <<replace "#result2">> You decide that you don't need to spend precious reputational power. You're prominent enough that you expect to achieve your goals without special leverage. <</replace>> <</link>> <br><<link "Leverage reputation into power">> <<replace "#result2">> This isn't an opportunity that will come again. @@color:red;You call in every favor you have.@@ You'll have to rebuild your reputation later. <<set $rep *= 0.3, $nicaeaInfluence += 1>> <</replace>> <</link>> //This will cost a great deal of reputation// </span> <br><br> Finally, you could use money to influence the Council. Everyone who's likely to accept a seat is wealthy, so even you don't have the financial resources to buy votes, and many of the attendees are the type of people who would take offense at any attempt to bribe them on a subject as important as the future of Chattel Religionism. You could, however, host the Council as opulently as possible, and turn it into a simultaneous religious festival for all your citizens and any Chattel Religionist people who feel like visiting. A holiday atmosphere you created should buttress your position with the Council. <br><br> <span id="result3"> <<link "Just host the Council">> <<replace "#result3">> The Council doesn't need the distraction of a lot of less important people enjoying themselves loudly nearby, so you decide not to broaden the event. <</replace>> <</link>> <br><<link "Leverage reputation into power">> <<replace "#result3">> Good works will spread the joy of a Chattel Religionist revival, and make you even more influential with the Council. You plan a public festival as part of the event. <<set $cash -= 50000, $nicaeaInfluence += 1>> <</replace>> <</link>> //This will cost ¤50000// </span> <</if>>
r3d/fc
src/uncategorized/seNicaeaPreperation.tw
tw
bsd-3-clause
6,447
:: SE nonlethal pit <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $pitFought to 1>> <<set $fighterOne to 0>> <<set $fighterTwo to 0>> <<if $pitBG == 0>> <<set $fighterOne to $fighterIDs.random()>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $fighterOne)>> <<set $fighterOne to $slaves[$i]>> <<break>> <</if>> <</for>> <<else>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $Bodyguard.ID)>> <<set $fighterOne to $slaves[$i]>> <<break>> <</if>> <</for>> <</if>> <<set $fighterIDs to $fighterIDs.shuffle()>> <<for $i to 0; $i < $fighterIDs.length; $i++>> <<if ($fighterIDs[$i] != $fighterOne.ID)>> <<set $fighterTwo to $fighterIDs[$i]>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].ID == $fighterTwo)>> <<set $fighterTwo to $slaves[$i]>> <<break>> <</if>> <</for>> <<if ($fighterOne == 0) || ($fighterTwo == 0)>> <<goto "Nonrandom Event">> <</if>> <</nobr>>\ \ <<nobr>> This week's pit fight is between $fighterOne.slaveName and $fighterTwo.slaveName. <<if $pitAudience is "none">>You are alone above $pitName, left to watch them square off in private.<<elseif $pitAudience is "free">>Your guests line the rim of $pitName, joking and betting.<<else>>The attendees line the rim of $pitName, betting and arguing.<</if>> <<if $arcologies[0].FSRomanRevivalist != "unset">> They @@color:green;strongly approve@@ of your hosting combat between slaves; this advances ideas from antiquity about what public events should be. <<set $rep += 10*$FSSingleSlaveRep*($arcologies[0].FSRomanRevivalist/$FSLockinLevel)>> <<set $arcologies[0].FSRomanRevivalist += 0.2*$FSSingleSlaveRep>> <</if>> You review the rules - the combatants are wearing light gloves, and the fight will be nonlethal, with you as the judge. The winner will have the right to do anything she wishes to the loser, and earn two complete days of rest. You take a moment to look over your girls before giving the word. <</nobr>> <<nobr>> <<Deadliness $fighterOne>> <<set $fighterOneDeadliness to $deadliness>> <<if $fighterOneDeadliness > 5>> $fighterOne.slaveName seems very confident, even eager to win a break. <<elseif $fighterOneDeadliness > 3>> $fighterOne.slaveName seems nervous, but steels herself to fight for time off. <<elseif $fighterOneDeadliness > 1>> $fighterOne.slaveName seems hesitant and unsure. <<else>> $fighterOne.slaveName is obviously terrified, and might flee if there were a way out of the pit. <</if>> <<if $fighterOne.combatSkill > 0>> Her stance is obviously well-practiced. <</if>> <<if $fighterOne.muscles > 95 && $fighterOne.height >= 185>> Her huge muscles are an intimidating sight and, despite their massive size, she is tall enough to not be hindered by them. <<elseif $fighterOne.muscles > 95>> Her huge muscles are an intimidating sight, but may hinder her flexibility. <<elseif $fighterOne.muscles > 30>> Her muscles are a trim and powerful sight. <<elseif $fighterOne.muscles < -95>> She can barely stand, let alone defend herself. <<elseif $fighterOne.muscles < -30>> She is very weak, a single punch will likely floor her. <<elseif $fighterOne.muscles < -5>> She is rather unfit, she will likely be outmatched by near any real opponent. <</if>> <<if $fighterOne.height >= 170>> Her height gives her a reach advantage with her fists and feet. <</if>> <<if $fighterOne.health > 50>> Her shining health makes her a better fighter. <</if>> <<if $fighterOne.weight > 30>> Her heavy weight is an impediment as a pit fighter. <</if>> <<if $fighterOne.weight < -10>> Her light weight is an impediment as a pit fighter. <</if>> <<if $fighterOne.health < -50>> Her poor health makes her a weaker combatant. <</if>> <<if $fighterOne.inflation == 3>> Her hugely bloated, <<print $fighterOne.inflationType>>-filled belly is taut and painful, hindering her ability to fight. <<elseif $fighterOne.inflation == 2>> Her bloated, <<print $fighterOne.inflationType>>-stuffed belly is constantly jiggling and moving, distracting her and throwing off her weight. <<elseif $fighterOne.inflation == 1>> Her distended, <<print $fighterOne.inflationType>>-belly is uncomfortable and heavy, distracting her. <</if>> <<if $fighterOne.bellyImplant >= 32000>> Her immense, <<print $fighterOne.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterOne.bellyImplant >= 16000>> Her massive, <<print $fighterOne.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterOne.bellyImplant >= 8000>> Her huge, <<print $fighterOne.bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off her weight and making her far less effective. <<elseif $fighterOne.bellyImplant >= 4000>> Her large, <<print $fighterOne.bellyImplant>>cc implant filled belly is heavy and unwieldy, rendering her less effective. <<elseif $fighterOne.bellyImplant >= 2000>> Her swollen, <<print $fighterOne.bellyImplant>>cc implant filled belly is heavy and makes her less effective. <</if>> <<if $fighterOne.preg > 10>> <<if $fighterOne.pregType >= 20>> Her massive belly is nearly a guaranteed loss, she can barely stand let alone fight. <<elseif $fighterOne.pregType >= 10>> Her huge belly is unwieldy and hinders her efforts. <<else>> Her advanced pregnancy makes her much less effective. <</if>> <</if>> <<if not canSee($fighterOne)>> Her lack of eyesight means certain defeat. <<elseif ($fighterOne.eyes is -1 and ($fighterOne.eyewear != "corrective glasses" or $fighterOne.eyewear != "corrective contacts")) || ($fighterOne.eyes == 1 and ($fighterOne.eyewear is "blurring glasses" or $fighterOne.eyewear is "blurring contacts"))>> Her poor eyesight makes her a weaker fighter. <</if>> <<if $fighterOne.amp < 0>> The pit lights gleam on her P-Limbs. <<if $fighterOne.amp == -4>> Though their integral weapons are disabled, her upgraded prosthetics are almost as fast as natural limbs, and they can hit much, much harder. <<elseif $fighterOne.amp == -5>> Her advanced cybernetic limbs are faster than natural limbs, and their force is amplified, so that they can become potent weapons. <</if>> <</if>> <<if $fighterOne.devotion <= 20>> <<if $fighterOne.trust < -20>> She is unwilling to fight, but she knows the punishment for refusing to do so will be even worse. <</if>> <</if>> <</nobr>> <<nobr>> <<Deadliness $fighterTwo>> <<set $fighterTwoDeadliness to $deadliness>> <<if $fighterTwoDeadliness > 5>> $fighterTwo.slaveName seems very confident, even eager to win a break. <<elseif $fighterTwoDeadliness > 3>> $fighterTwo.slaveName seems nervous, but steels herself to fight for time off. <<elseif $fighterTwoDeadliness > 1>> $fighterTwo.slaveName seems hesitant and unsure. <<else>> $fighterTwo.slaveName is obviously terrified, and might flee if there were a way out of the pit. <</if>> <<if $fighterTwo.combatSkill > 0>> Her stance is obviously well-practiced. <</if>> <<if $fighterTwo.muscles > 95 && $fighterTwo.height >= 185>> Her huge muscles are an intimidating sight and, despite their massive size, she is tall enough to not be hindered by them. <<elseif $fighterTwo.muscles > 95>> Her huge muscles are an intimidating sight, but may hinder her flexibility. <<elseif $fighterTwo.muscles > 30>> Her muscles are a trim and powerful sight. <<elseif $fighterTwo.muscles < -95>> She can barely stand, let alone defend herself. <<elseif $fighterTwo.muscles < -30>> She is very weak, a single punch will likely floor her. <<elseif $fighterTwo.muscles < -5>> She is rather unfit, she will likely be outmatched by near any real opponent. <</if>> <<if $fighterTwo.height >= 170>> Her height gives her a reach advantage with her fists and feet. <</if>> <<if $fighterTwo.health > 50>> Her shining health makes her a better fighter. <</if>> <<if $fighterTwo.weight > 30>> Her heavy weight is an impediment as a pit fighter. <</if>> <<if $fighterTwo.weight < -10>> Her light weight is an impediment as a pit fighter. <</if>> <<if $fighterTwo.health < -50>> Her poor health makes her a weaker combatant. <</if>> <<if $fighterTwo.inflation == 3>> Her hugely bloated, <<print $fighterTwo.inflationType>>-filled belly is taut and painful, hindering her ability to fight. <<elseif $fighterTwo.inflation == 2>> Her bloated, <<print $fighterTwo.inflationType>>-stuffed belly is constantly jiggling and moving, distracting her and throwing off her weight. <<elseif $fighterTwo.inflation == 1>> Her distended, <<print $fighterTwo.inflationType>>-belly is uncomfortable and heavy, distracting her. <</if>> <<if $fighterTwo.bellyImplant >= 32000>> Her immense, <<print $fighterTwo.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterTwo.bellyImplant >= 16000>> Her massive, <<print $fighterTwo.bellyImplant>>cc implant filled belly is extremely heavy, unwieldy and an easy target, practically damning her in combat. <<elseif $fighterTwo.bellyImplant >= 8000>> Her huge, <<print $fighterTwo.bellyImplant>>cc implant filled belly is very heavy and unwieldy, throwing off her weight and making her far less effective. <<elseif $fighterTwo.bellyImplant >= 4000>> Her large, <<print $fighterTwo.bellyImplant>>cc implant filled belly is heavy and unwieldy, rendering her less effective. <<elseif $fighterTwo.bellyImplant >= 2000>> Her swollen, <<print $fighterTwo.bellyImplant>>cc implant filled belly is heavy and makes her less effective. <</if>> <<if $fighterTwo.preg > 10>> <<if $fighterTwo.pregType >= 20>> Her massive belly is nearly a guaranteed loss, she can barely stand let alone fight. <<elseif $fighterTwo.pregType >= 10>> Her huge belly is unwieldy and hinders her efforts. <<else>> Her advanced pregnancy makes her much less effective. <</if>> <</if>> <<if not canSee($fighterTwo)>> Her lack of eyesight means certain defeat. <<elseif ($fighterTwo.eyes is -1 and ($fighterTwo.eyewear != "corrective glasses" or $fighterTwo.eyewear != "corrective contacts")) || ($fighterTwo.eyes == 1 and ($fighterTwo.eyewear is "blurring glasses" or $fighterTwo.eyewear is "blurring contacts"))>> Her poor eyesight makes her a weaker fighter. <</if>> <<if $fighterTwo.amp < 0>> The pit lights gleam on her P-Limbs. <<if $fighterTwo.amp == -4>> Though their integral weapons are disabled, her upgraded prosthetics are almost as fast as natural limbs, and they can hit much, much harder. <<elseif $fighterTwo.amp == -5>> Her advanced cybernetic limbs are faster than natural limbs, and their force is amplified, so that they can become potent weapons. <</if>> <</if>> <<if $fighterTwo.devotion <= 20>> <<if $fighterTwo.trust < -20>> She is unwilling to fight, but she knows the punishment for refusing to do so will be even worse. <</if>> <</if>> <</nobr>> <<nobr>> <<if $fighterTwoDeadliness > $fighterOneDeadliness>> <<set _winner to $fighterTwo>> <<set _winnerDeadliness to $fighterTwoDeadliness>> <<set _loser to $fighterOne>> <<set _loserDeadliness to $fighterOneDeadliness>> <<elseif $fighterTwoDeadliness < $fighterOneDeadliness>> <<set _loser to $fighterTwo>> <<set _loserDeadliness to $fighterTwoDeadliness>> <<set _winner to $fighterOne>> <<set _winnerDeadliness to $fighterOneDeadliness>> <<elseif random(1,100) > 50>> <<set _winner to $fighterTwo>> <<set _winnerDeadliness to $fighterTwoDeadliness>> <<set _loser to $fighterOne>> <<set _loserDeadliness to $fighterOneDeadliness>> <<else>> <<set _loser to $fighterTwo>> <<set _loserDeadliness to $fighterTwoDeadliness>> <<set _winner to $fighterOne>> <<set _winnerDeadliness to $fighterOneDeadliness>> <</if>> <<if !canSee(_winner) and !canSee(_loser)>> _winner.slaveName and _loser.slaveName are both blind making the fight a staredown. Neither slave wants to make the first move, especially with the drowning cacophony coming from the jeering crowd. Slowly, _winner.slaveName moves forward, waving feeling for her opponent before she herself gets found. _loser.slaveName's hand meets _winner.slaveName's and the two move to grab eachother in a headlock. The two slaves violently thrash against each other, suffering more and more strikes as the struggle goes on. Eventually, _loser.slaveName can take no more and releases her grip on _winner.slaveName neck. It takes a moment for _winner.slaveName to stop wrestling the submitting _loser.slaveName and accepting her victory. <<if $pitAudience is "paid">> The audience is surprised by the sudden wrestling match, and your @@color:yellowgreen;cut of the betting@@ is modest. <<set $cash += 500>> <<elseif $pitAudience is "free">> The audience is @@color:green;surprised@@ by the impromptu wrestling match. <<set $rep += 50>> <</if>> <<elseif (_winnerDeadliness > _loserDeadliness+1) && (_winner.amp == -4)>> Upon your word the two combatants approach each other. _winner.slaveName keeps her artificial limbs up in a protective position. _loser.slaveName probes her with some light blows, puzzled by this ironclad defense. Gradually, she hits harder and harder, her opponent grunting under the impacts but holding steady. Finally, _loser.slaveName overcommits to a body blow, and _winner.slaveName grips her forearm. That is the end. The augmented grip is effectively unbreakable, and _winner.slaveName uses it to pull her opponent in and grab her neck with the other hand, using it to exert just the right amount of pressure to choke her out harmlessly. Though the fight was short, <<if $pitAudience is "paid">> the audience is quite impressed by the display, and your @@color:yellowgreen;cut of the betting@@ is quite good. <<set $cash += 2000>> <<elseif $pitAudience is "free">> the audience is @@color:green;very impressed@@ by the display. <<set $rep += 100>> <<else>> it was a good test of the slave's enhancements. <</if>> <<elseif (_winnerDeadliness > _loserDeadliness+1) && (_winner.amp == -5)>> Upon your word the two combatants approach each other. _winner.slaveName keeps her advanced cybernetic limbs up in a protective position. _loser.slaveName probes her with some light blows, puzzled by this ironclad defense. Gradually, she hits harder and harder, her opponent grunting under the impacts but holding steady. Finally, _loser.slaveName tires, gets off balance, and _winner.slaveName manages to grab her forearm. _winner.slaveName's limbs emit an electric shock that temporarily incapacitates her opponent. _winner.slaveName uses her grip to pull her stunned opponent in and grab her neck with the other hand, using it to exert just the right amount of pressure to choke her out harmlessly. Though the fight was short, <<if $pitAudience is "paid">> the audience is quite impressed by the display, and your @@color:yellowgreen;cut of the betting@@ is quite good. <<set $cash += 2000>> <<elseif $pitAudience is "free">> the audience is @@color:green;very impressed@@ by the display. <<set $rep += 100>> <<else>> it was a good test of the slave's enhancements. <</if>> <<elseif !canSee(_winner)>> _winner.slaveName centers herself and hones in on _loser.slaveName's rapid breath. She readies herself, knowing she has a single chance to win. With heavy steps, _loser.slaveName rushes her, fully prepared to tackle the helpless combatant. _winner.slaveName gambles everything on a single high punch, a strike that slams _loser.slaveName's undefended neck. _loser.slaveName falls to the ground before the panicking _winner.slaveName, who quickly pins the coughing loser. <<if $pitAudience is "paid">> The audience is awestruck by the blind girl's triumph, and your @@color:yellowgreen;cut of the betting@@ is enormous. <<set $cash += 4000>> <<elseif $pitAudience is "free">> The audience is @@color:green;awestruck@@ by the blind girl's triumph. <<set $rep += 200>> <</if>> <<elseif !canSee(_loser)>> _winner.slaveName grins at _loser.slaveName's random swings and poor form. She centers in on her favorite part of _loser.slaveName's body before rushing between her strikes and tackling her to the ground. _loser.slaveName lays there, helpless to stop _winner.slaveName from molesting her. <<if $pitAudience is "paid">> The audience found the fight embarrassing, and your @@color:yellowgreen;cut of the betting@@ is pitiful. <<set $cash += 40>> <<elseif $pitAudience is "free">> The audience is @@color:red;annoyed@@ by this lack of a fight. <<set $rep -= 20>> <</if>> <<elseif (_winnerDeadliness > _loserDeadliness+3)>> <<if (_winner.combatSkill > 0)>> _winner.slaveName wants to win, and she opens the fight with a furious attack. _loser.slaveName manages to get her forearms up, blocking a few blows, but by doing so leaves her abdomen open and obscures her vision enough that she is unprepared for the following kidney strike, which brings her gasping to one knee. _winner.slaveName lets her rise just a little before delivering a calculated hard right that sends _loser.slaveName to the mat. <<if $pitAudience is "paid">> The audience is not very impressed by this execution, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 500>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this execution. <<set $rep += 25>> <</if>> <<else>> _winner.slaveName wants to win and is confident she will, but she isn't particularly sure about how to do so. She fights cautiously, mostly hitting _loser.slaveName from afar. Slowly, the rain of blows begins to tell, opening _loser.slaveName's lip, giving her a bloody nose, and bruising her face. Realizing she has to do something, _loser.slaveName makes a desperate counterattack, @@color:red;dripping blood@@ as she goes. As she does she manages to get her face in the way of another of _winner.slaveName's inexpert strikes and goes down hard. She makes to rise, but _winner.slaveName decides the fight by the simple expedient of kicking her in the crotch. <<set _loser.health -= 10>> <<if $pitAudience is "paid">> The audience is reasonably impressed by the beating, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 100>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the beating. <<set $rep += 50>> <</if>> <</if>> <<elseif (_winner.preg > 30) && (_winner.pregType >= 30) && (_loser.preg > 30) && (_loser.pregType >= 30)>> _winner.slaveName and _loser.slaveName stare each other down and both come to a realization. Neither can reach the other around their massive pregnancies. Instead, they choose to ram their bulk into each other in hopes of toppling the weaker. After a drawn out struggle, both slaves' bellies are @@color:red;dark red and shuddering@@, ready to burst open. Rather than continue, _loser.slaveName lets the next strike down her hoping that the outcome of this fight isn't fatal. <<set _winner.health -= 50>> <<set _loser.health -= 50>> <<if $pitAudience is "paid">> The audience is very impressed by the showdown, and your @@color:yellowgreen;cut of the betting@@ is good. <<set $cash += 1500>> <<elseif $pitAudience is "free">> The audience is @@color:green;very impressed@@ by the showdown. <<set $rep += 75>> <</if>> <<elseif (_winner.preg > 30) && (_winner.pregType >= 20) && (_loser.preg < 10)>> _loser.slaveName spies an easy win against her massively bloated opponent and rushes in to topple _winner.slaveName. In an effort to defend herself, _winner.slaveName hoists her belly and turns suddenly, accidentally impacting _loser.slaveName with her massive pregnancy and knocking her to the ground. Seeing an oppertunity, _winner.slaveName releases her grip and slams her weighty womb down on _loser.slaveName bashing the wind out of her. _loser.slaveName struggles to slip out of her squirming prison but the wight is too great and she passes out. <<if $pitAudience is "paid">> The audience is impressed by this absurd win, and your @@color:yellowgreen;cut of the betting@@ is reasonably. <<set $cash += 1000>> <<elseif $pitAudience is "free">> The audience is @@color:green;impressed@@ by this absurd win. <<set $rep += 50>> <</if>> <<elseif (_winner.combatSkill > 0) && (_loser.combatSkill > 0)>> Upon your word the two combatants approach each other warily, both knowing the other is reasonably competent. Before long they are trading expert blows. _winner.slaveName is getting the worst of it, so she decides to change the nature of the fight. After three tries she manages to bring _loser.slaveName to the ground, suffering a @@color:red;broken nose@@ as she does. _loser.slaveName tries to break the imperfect hold but only earns herself an elbow to the face. She's furious and _winner.slaveName is obliged to wrench her arm @@color:red;to the point of damage@@ before she allows herself to go limp. <<set _loser.health -= 10>> <<set _winner.health -= 10>> <<if $pitAudience is "paid">> The audience is quite impressed by the expert fight, and your @@color:yellowgreen;cut of the betting@@ is quite good. <<set $cash += 2000>> <<elseif $pitAudience is "free">> The audience is @@color:green;very impressed@@ by the expert fight. <<set $rep += 100>> <</if>> <<elseif (_winner.height-_loser.height >= 10)>> _winner.slaveName realizes that _loser.slaveName's wingspan gives her a huge reach advantage. She bores straight in, taking a hit or two but coming on regardless. _loser.slaveName understands her opponent's intention and backs off, but the pit is small and there isn't much room to retreat. When her back hits a padded wall, _winner.slaveName manages to land a light hit to her stomach that leaves _loser.slaveName winded enough that a hard kick to the side of her knee goes undefended. It causes @@color:red;considerable damage,@@ dropping her and ending the fight. <<set _loser.health -= 10>> <<if $pitAudience is "paid">> The audience is reasonably impressed by the takedown, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 1000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the takedown. <<set $rep += 50>> <</if>> <<elseif (_loser.eyebrowPiercing > 0)>> The fight starts slowly, with the girls trading jabs. Just as the spectators are getting bored, _loser.slaveName takes a glancing blow to the eyebrow. Her piercing catches on _winner.slaveName's glove and tears out. _loser.slaveName goes after her tormentor in fury, streaming blood, the piercing forgotten on the mat. Any tendency _winner.slaveName might have had to feel badly about this is extinguished by the assault, and soon _winner.slaveName is even willing to follow up on the success by targeting pierced body parts. The fight ends with poor _loser.slaveName writhing in pain on the mat, @@color:red;leaking blood@@ from several terribly shredded areas. <<set _loser.health -= 10>> <<if $pitAudience is "paid">> The audience is reasonably impressed by the gory spectacle, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 1000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the gory spectacle. <<set $rep += 50>> <</if>> <<elseif (_winner.muscles > 30)>> _winner.slaveName is so massively muscular that she's actually impeded by her size. _loser.slaveName is properly afraid of her strength, though, so she tries to stay away as much as she can. The pit isn't large, however, and eventually _winner.slaveName manages to lay a hand on her. She pulls her down, and then it's all over but the beating. _loser.slaveName rains blows on her huge oppressor, but all _winner.slaveName has to do is hold on with one arm and deliver damage with the other. By the time she gives up and goes limp, _loser.slaveName has collected @@color:red;many minor injuries.@@ <<set _loser.health -= 10>> <<if $pitAudience is "paid">> The audience is reasonably impressed by the show of strength, and your @@color:yellowgreen;cut of the betting@@ is reasonable. <<set $cash += 1000>> <<elseif $pitAudience is "free">> The audience is @@color:green;reasonably impressed@@ by the show of strength. <<set $rep += 50>> <</if>> <<elseif (_loser.preg > 10) && (_loser.pregType >= 10)>> _winner.slaveName wants to win badly enough that she takes and extremely brutal shortcut to victory. The instant the fight starts, she quickly knees _loser.slaveName in the stomach. The massively pregnant _loser.slaveName goes down with a loud thud and plenty of jiggling. _winner.slaveName gloats over the struggling _loser.slaveName watching as she is unable to pull her bloated form off the ground. <<if $pitAudience is "paid">> The audience is not very impressed by this easy win, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 500>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy win. <<set $rep += 50>> <</if>> <<elseif (_loser.boobs > 1200)>> _winner.slaveName wants to win badly enough that she takes an extremely simple shortcut to victory. The instant the fight starts, she hits _loser.slaveName right in her huge tits, as hard as she can. This is a sucker punch of the worst kind; _loser.slaveName's boobs are so big that she has no real chance of defending them. She gasps with pain and wraps her arms around her aching bosom, giving _winner.slaveName a clear opening to deliver a free and easy blow to the jaw that sends the poor top-heavy slave to the mat. Any chance of _loser.slaveName rising is extinguished by her breasts; it takes her so long to muster an attempt to get up that _winner.slaveName can rain hits on her while she does. <<if $pitAudience is "paid">> The audience is not very impressed by this easy win, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 500>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy win. <<set $rep += 25>> <</if>> <<elseif (_loser.dick > 0)>> _winner.slaveName wants to win badly enough that she takes an extremely brutal shortcut to victory. The instant the fight starts, she furiously goes for _loser.slaveName's face. _loser.slaveName defends herself with her arms, at which point _winner.slaveName delivers a mighty kick to the dick. _loser.slaveName goes down like a marionette with cut strings, her mouth soundlessly opening and closing and tears leaking from her closed eyes. _winner.slaveName winds up to kick her again but hesitates, wondering whether it's even necessary. <<if $pitAudience is "paid">> The audience is not very impressed by this easy win, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 500>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy win. <<set $rep += 25>> <</if>> <<else>> _winner.slaveName wants to win badly enough that she takes an extremely unpleasant shortcut to victory. The instant the fight starts, she furiously goes for _loser.slaveName's eyes, hands forming claws. _loser.slaveName defends herself with her arms, at which point _winner.slaveName delivers a mighty cunt punt. _loser.slaveName goes straight down, her mouth soundlessly opening and closing and tears leaking from her closed eyes while her hands desperately shield her outraged pussy. _winner.slaveName follows her down and puts the unresisting girl's head in a simple lock. <<if $pitAudience is "paid">> The audience is not very impressed by this easy win, and your @@color:yellowgreen;cut of the betting@@ is unimpressive. <<set $cash += 500>> <<elseif $pitAudience is "free">> The audience is @@color:green;not very impressed@@ by this easy win. <<set $rep += 25>> <</if>> <</if>> <</nobr>> <<nobr>> You throw the victor's strap-on down to _winner.slaveName. <<if (_winner.dick > 0) && canAchieveErection(_winner)>> She has no need of it, only taking a moment to pump her dick a few times to get it to rock hardness. <<elseif (_winner.dick > 0)>> She needs it, since her soft dick won't be raping anything. <</if>> <<set _winner.penetrativeCount += 1>> <<set $penetrativeTotal += 1>> <<if (_loser.vagina < 0) && (_loser.anus == 0)>> She respects _loser.slaveName's anal virginity, and hauls the loser to her knees for a facefuck. <<set _loser.oralCount += 1>> <<set $oralTotal += 1>> <<elseif (_loser.vagina < 0)>> She shoves _loser.slaveName's face into the mat, spreads her buttocks, and spits on her asshole before penetrating it roughly. <<set _loser.analCount += 1>> <<set $analTotal += 1>> <<elseif (_loser.vagina == 0) && (_loser.anus == 0)>> She respects _loser.slaveName's virgin holes, and hauls the loser to her knees for a facefuck. <<set _loser.oralCount += 1>> <<set $oralTotal += 1>> <<elseif (_loser.vagina == 0)>> She shoves _loser.slaveName's face into the mat, spreads her buttocks, and spits on her asshole before penetrating it roughly. <<set _loser.analCount += 1>> <<set $analTotal += 1>> <<else>> She pushes _loser.slaveName's back down onto the mat, forces her legs apart, and penetrates the loser's cunt. <<set _loser.vaginalCount += 1>> <<set $vaginalTotal += 1>> <<if (_winner.dick > 0) && (_winner.balls > 0) && (_winner.hormones < 1)>> <<if isFertile(_loser)>> <<if canTalk(_loser) == false>>_loser.slaveName tries to gesture a protest before _winner.slaveName fills her fertile pussy with cum, but _winner.slaveName grabs her hands and pins them to keep her from complaining.<<else>>_loser.slaveName starts to scream a protest to stop _winner.slaveName raping her pregnant, but _winner.slaveName grinds her face into the mat to shut her up.<</if>> <<if random(1,100) > 50>> <<set (_loser.preg to 1)>> <<set (_loser.pregSource to _winner.ID)>> <</if>> <</if>> <</if>> <</if>> <<if (_winner.energy > 95)>> _winner.slaveName doesn't have to feign willingness to rape a slave girl. She uses _loser.slaveName for her @@color:hotpink;pleasure@@, groping her, kissing her unwilling mouth, and showing off for the spectators. The audience @@color:green;greatly enjoys@@ the depraved spectacle. <<set _winner.devotion += 1>> <<set $rep += 50>> <<elseif (_winner.fetish is "sadist") && (_winner.fetishStrength > 60)>> _winner.slaveName doesn't have to feign willingness abuse and violate a slave girl. She uses _loser.slaveName for her @@color:hotpink;pleasure@@, slapping her cruelly, pinching her until she draws blood, and showing off for the spectators. The audience @@color:green;greatly enjoys@@ the depraved spectacle. <<set _winner.devotion += 1>> <<set $rep += 50>> <<elseif (_winner.devotion > 75)>> _winner.slaveName is so broken to slavery that she @@color:hotpink;enjoys@@ winning the fight and raping _loser.slaveName. The audience @@color:green;greatly enjoys@@ the depraved spectacle. <<set _winner.devotion += 1>> <<set $rep += 50>> <<elseif (_winner.devotion > 20)>> _winner.slaveName understands her role and thoroughly rapes _loser.slaveName. The audience @@color:green;enjoys@@ the spectacle. <<set $rep += 25>> <<else>> _winner.slaveName is unenthusiastic and just thrusts mechanically, to avoid being punished. She @@color:mediumorchid;resents@@ having to fight and fuck. The audience barely pays attention. <<set _winner.devotion -= 2>> <</if>> <<if (_winner.rivalry > 0) && (_loser.ID is _winner.rivalryTarget)>> She @@color:hotpink;relishes@@ the chance to abuse _loser.slaveName, who she dislikes. <<set _winner.devotion += 5>> <<elseif (_winner.relationship >= 0) && (_loser.ID is _winner.relationshipTarget) && (_winner.devotion >= 20)>> She accepts having to abuse _loser.slaveName, and plans to make it up to her later. <<elseif (_winner.relationship >= 0) && (_loser.ID is _winner.relationshipTarget)>> She @@color:mediumorchid;hates@@ having to abuse _loser.slaveName. <<set _winner.devotion -= 10>> <<elseif _winner.mother == _loser.ID>> <<if _winner.devotion >= 20>> She accepts having to abuse her mother, _loser.slaveName, and plans to make it up to her later. <<else>> She @@color:mediumorchid;hates@@ having to abuse her mother, _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <<elseif _winner.father == _loser.ID>> <<if _winner.devotion >= 20>> She accepts having to abuse her father, _loser.slaveName, and plans to make it up to her later. <<else>> She @@color:mediumorchid;hates@@ having to abuse her father, _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <<elseif _loser.mother == _winner.ID || _loser.father == _winner.ID>> <<if _winner.devotion >= 20>> She accepts having to abuse her daughter, _loser.slaveName, and plans to make it up to her later. <<else>> She @@color:mediumorchid;hates@@ having to abuse her daughter, _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <<elseif _winner.sisters > 0>> <<if areSisters(_winner, _loser) == 1>> <<if _winner.devotion >= 20>> She accepts having to abuse her twin sister, _loser.slaveName, and plans to make it up to her later. <<else>> She @@color:mediumorchid;hates@@ having to abuse her twin sister, _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <<elseif areSisters(_winner, _loser) == 2>> <<if _winner.devotion >= 20>> She accepts having to abuse her sister, _loser.slaveName, and plans to make it up to her later. <<else>> She @@color:mediumorchid;hates@@ having to abuse her sister, _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <<elseif areSisters(_winner, _loser) == 3>> <<if _winner.devotion >= 20>> She accepts having to abuse her half-sister, _loser.slaveName, and plans to make it up to her later. <<else>> She @@color:mediumorchid;hates@@ having to abuse her half-sister, _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <</if>> <<elseif (_winner.relation != 0) && (_loser.ID is _winner.relationTarget) && (_winner.devotion >= 20)>> She accepts having to abuse _loser.slaveName, and plans to make it up to her later. <<elseif (_winner.relation != 0) && (_loser.ID is _winner.relationTarget)>> She @@color:mediumorchid;hates@@ having to abuse _loser.slaveName. <<set _winner.devotion -= 10>> <</if>> <<if (_loser.fetish is "masochist") && (_loser.fetishKnown == 1) && (_loser.fetishStrength > 60)>> _loser.slaveName @@color:hotpink;gets off@@ on being beaten and molested. <<set _loser.devotion += 5>> <<elseif (_loser.fetish is "humiliation") && (_loser.fetishKnown == 1) && (_loser.fetishStrength > 60)>> _loser.slaveName @@color:hotpink;enjoys@@ the humiliation of being openly beaten and raped. <<set _loser.devotion += 5>> <<elseif (_loser.devotion <= 50)>> _loser.slaveName @@color:mediumorchid;resents@@ being beaten and molested and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<if (_loser.rivalry > 0) && (_winner.ID is _loser.rivalryTarget)>> She is @@color:mediumorchid;embarrassed@@ by losing to and being raped by _winner.slaveName, who she dislikes, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <<elseif (_loser.relationship >= 0) && (_winner.ID is _loser.relationshipTarget) && (_loser.devotion >= 20)>> She accepts _winner.slaveName having to rape her. <<elseif (_loser.relationship >= 0) && (_winner.ID is _loser.relationshipTarget)>> She @@color:mediumorchid;hates@@ having to accept rape from _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<set _loser.devotion -= 10>> <<elseif _loser.mother == _winner.ID>> <<if _loser.devotion >= 20>> She accepts her mother, _winner.slaveName, having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<else>> She @@color:mediumorchid;hates@@ having to accept rape from her own mother, _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<elseif _loser.father == _winner.ID>> <<if _loser.devotion >= 20>> She accepts her father, _winner.slaveName, having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<else>> She @@color:mediumorchid;hates@@ having to accept rape from her own father, _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<elseif _winner.mother == _loser.ID || _winner.father == _loser.ID>> <<if _loser.devotion >= 20>> She accepts her daughter, _winner.slaveName, having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<else>> She @@color:mediumorchid;hates@@ having to accept rape from her own daughter, _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<elseif _loser.sisters > 0>> <<if areSisters(_winner, _loser) == 1>> <<if _loser.devotion >= 20>> She accepts her twin sister, _winner.slaveName, having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<else>> She @@color:mediumorchid;hates@@ having to accept rape from her own twin, _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<elseif areSisters(_winner, _loser) == 2>> <<if _loser.devotion >= 20>> She accepts her sister, _winner.slaveName, having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<else>> She @@color:mediumorchid;hates@@ having to accept rape from her own sister, _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<elseif areSisters(_winner, _loser) == 3>> <<if _loser.devotion >= 20>> She accepts her half-sister, _winner.slaveName, having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<else>> She @@color:mediumorchid;hates@@ having to accept rape from her own half-sister, _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <</if>> <<elseif (_loser.relation != 0) && (_winner.ID is _loser.relationTarget) && (_loser.devotion >= 20)>> She accepts _winner.slaveName having to rape her, but she @@color:gold;fears@@ that it will happen again. <<set _loser.trust -= 10>> <<elseif (_loser.relation != 0) && (_winner.ID is _loser.relationTarget)>> She @@color:mediumorchid;hates@@ having to accept rape from _winner.slaveName, and @@color:gold;fears@@ that it will happen again. <<set _loser.devotion -= 10>> <<set _loser.trust -= 10>> <</if>> <<if (_loser.relationship != 0)>> <<if (_loser.relationship <= 4)>> <<if (_loser.relationshipTarget is _winner.ID)>> Fighting and rape have @@color:lightsalmon;damaged@@ the relationship between the slaves. <<set _loser.relationship -= 1>> <<set _winner.relationship -= 1>> <</if>> <</if>> <</if>> <<if (_winner.combatSkill == 0)>> <<if random(1,100) < (20+_winner.devotion)>> With experience in $pitName, _winner.slaveName has @@color:green;learned basic combat skills.@@ <<set _winner.combatSkill += 1>> <</if>> <</if>> <<for $i to 0; $i < $slaves.length; $i++>> <<if _winner.ID == $slaves[$i].ID>> <<set $slaves[$i] to _winner>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if _loser.ID == $slaves[$i].ID>> <<set $slaves[$i] to _loser>> <</if>> <</for>> <</nobr>>\
r3d/fc
src/uncategorized/seNonlethalPit.tw
tw
bsd-3-clause
40,055
:: SE recruiter success <<nobr>> <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $returnTo to "Scheduled Event">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Enslaving People">> <<set $recruiterProgress to 0>> <<set $applyLaw to 0>> <<if $recruiterTarget is "young migrants">> <<set $activeSlaveOneTimeMaxAge to 22>> <<include "Generate New Slave">> <<set $activeSlave.origin to "She submitted to enslavement for a better chance at survival than she had as a migrant.">> <<set $activeSlave.devotion = random(-15,5)>> <<set $activeSlave.trust = random(-10,10)>> <<set $activeSlave.health = random(-80,20)>> <<set $activeSlave.anus to 0>> <<if $activeSlave.vagina > 0>> <<set $activeSlave.vagina to random(1,3)>> <<set $activeSlave.vaginalSkill to random(15,40)>> <</if>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.earPiercing to random(0,1)>> Your recruiter $Recruiter.slaveName has succeeded; she's convinced a starving young migrant from the old world that she'll have a better chance at survival as one of your slaves. <<elseif $recruiterTarget is "reassignment candidates">> <<include "Generate XY Slave">> <<set $activeSlave.origin to "She submitted to enslavement as her only way to obtain surgery to transform her into a woman.">> <<set $activeSlave.devotion = random(-15,5)>> <<set $activeSlave.trust = random(-10,10)>> <<set $activeSlave.health = random(-40,20)>> <<if $activeSlave.balls == 0>> <<set $activeSlave.balls to random(1,3)>> <</if>> <<set $activeSlave.tonguePiercing to random(0,1)>> <<set $activeSlave.earPiercing to random(0,1)>> <<set $activeSlave.nosePiercing to random(0,1)>> <<set $activeSlave.sexualFlaw to "hates women">> Your recruiter $Recruiter.slaveName has succeeded; she's convinced an old world person desperate for modern reassignment surgery that you'll provide it if she agrees to be a sex slave after she's recreated as a female. <<elseif $recruiterTarget is "dissolute sissies">> <<include "Generate XY Slave">> <<set $activeSlave.origin to "She submitted to enslavement out of a misguided desire to join a sexually libertine society.">> <<set $activeSlave.devotion = random(-15,5)>> <<set $activeSlave.trust = random(-10,10)>> <<set $activeSlave.health = random(-40,20)>> <<set $activeSlave.anus to random(1,3)>> <<if $activeSlave.balls == 0>> <<set $activeSlave.balls to random(1,3)>> <</if>> <<set $activeSlave.oralSkill to random(15,40)>> <<set $activeSlave.analSkill to random(15,40)>> <<set $activeSlave.faceImplant to random(0,1)>> <<set $activeSlave.face += $activeSlave.faceImplant>> <<set $activeSlave.lipsPiercing to random(0,1)>> <<set $activeSlave.tonguePiercing to random(0,1)>> <<set $activeSlave.earPiercing to random(0,1)>> <<set $activeSlave.nosePiercing to random(0,1)>> <<set $activeSlave.eyebrowPiercing to random(0,1)>> <<set $activeSlave.navelPiercing to random(0,1)>> <<set $activeSlave.nipplesPiercing to random(0,1)>> <<set $activeSlave.clitPiercing to random(0,1)>> <<set $activeSlave.sexualFlaw to "hates women">> Your recruiter $Recruiter.slaveName has succeeded; she's convinced an old world sissy that she'd be better off as a slave in a society that is so totally sexually libertine as to accept as female and respectable anyone who takes cock. <<elseif $recruiterTarget is "expectant mothers">> <<set $activeSlaveOneTimeMinAge to Math.max($fertilityAge, $minimumSlaveAge)>> <<set $one_time_age_overrides_pedo_mode to 1>> /% Old enough to be pregnant. %/ <<include "Generate XX Slave">> <<set $activeSlave.origin to "She submitted to enslavement to get access to modern prenatal care.">> <<set $activeSlave.devotion = random(-15,5)>> <<set $activeSlave.trust = random(-10,10)>> <<set $activeSlave.health = random(-80,-20)>> <<set $activeSlave.vagina to random(1,3)>> <<set $activeSlave.preg to random(10,30)>> <<set $activeSlave.boobs += 50*random(0,6)>> <<set $activeSlave.lactation to random(0,1)>> <<set $activeSlave.weight = random(0,50)>> Your recruiter $Recruiter.slaveName has succeeded; she's convinced an unhealthy expectant mother that you'll provide her with modern medicine in return for her enslavement. <<else>> <<set $activeSlaveOneTimeMinAge to 11>> <<set $activeSlaveOneTimeMaxAge to 22>> <<include "Generate New Slave">> <<set $activeSlave.origin to "She submitted to enslavement to escape the hard life of an Old World whore.">> <<set $activeSlave.career to "a prostitute">> <<set $activeSlave.devotion = random(-15,5)>> <<set $activeSlave.trust = random(-10,10)>> <<set $activeSlave.health = random(-80,20)>> <<set $activeSlave.anus to random(1,3)>> <<if $activeSlave.balls > 0>> <<set $activeSlave.vagina to random(1,3)>> <<set $activeSlave.vaginalSkill to random(15,40)>> <</if>> <<set $activeSlave.oralSkill to random(15,40)>> <<set $activeSlave.analSkill to random(15,40)>> <<set $activeSlave.whoreSkill to random(15,40)>> <<set $activeSlave.boobsImplant to random(0,3)*200>> <<set $activeSlave.boobs += $activeSlave.boobsImplant>> <<set $activeSlave.buttImplant to random(0,2)>> <<set $activeSlave.butt to $activeSlave.buttImplant>> <<set $activeSlave.lipsImplant to either(0,10)>> <<set $activeSlave.lips += $activeSlave.lipsImplant>> <<set $activeSlave.lipsPiercing to random(0,1)>> <<set $activeSlave.tonguePiercing to random(0,1)>> <<set $activeSlave.earPiercing to random(0,1)>> <<set $activeSlave.nosePiercing to random(0,1)>> <<set $activeSlave.eyebrowPiercing to random(0,1)>> <<set $activeSlave.navelPiercing to random(0,1)>> <<set $activeSlave.nipplesPiercing to random(0,1)>> <<set $activeSlave.clitPiercing to random(0,1)>> Your recruiter $Recruiter.slaveName has succeeded; she's convinced a desperate old world whore that she'd be better off as a slave in $arcologies[0].name than as a free prostitute on the rough streets of a traditional city. <</if>> <<set $contractCost = 1000>> <<slaveCost $activeSlave>> <<set $slaveCost -= $contractCost>> <</nobr>>\ \ <<set $saleDescription to 1>>\ <<include "Long Slave Description">>\ <<set $saleDescription to 0>>\ <span id="result"> <<if $cash >= $contractCost>>\ <<link "Enslave her">> <<AddSlave $activeSlave>> <<set $cash -= $contractCost>> <<replace "#result">> <<set $nextLink to "AS Dump">>\ <<set $returnTo to "Nonrandom Event">>\ <<include "New Slave Intro">> <</replace>> <</link>> //This will cost ¤$contractCost// <<link "Sell her immediately">> <<set $cash += $slaveCost>> <<include "Remove activeSlave">> <<replace "#result">> $activeSlave.slaveName accepts being resold without much fuss. She's merely exchanged one unknown owner for another. For all she knows her new buyer will be less abusive than you would have been. She would be less complacent if she knew who her buyers are; she'll be immured in an arcade within the hour. <</replace>> <</link>> //This will bring in ¤$slaveCost// <<else>>\ //You lack the necessary funds to enslave her.// <<set $recruiterProgress to 7>> <</if>>\ </span>
r3d/fc
src/uncategorized/seRecruiterSuccess.tw
tw
bsd-3-clause
6,964
:: SE retirement [nobr] <<set $nextButton to "Continue">> <<set $nextLink to "Scheduled Event">> <<set $retired to 1>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $retiree.ID>> <<set $activeSlave to $slaves[$i]>> <<break>> <</if>> <</for>> $activeSlave.slaveName is retiring from sexual slavery this week, <<if $CitizenRetirement == 1>> in a way that will fill the rest of your property with envy and @@color:mediumaquamarine;trust.@@ <<for $i to 0; $i < $slaves.length; $i++>> <<set $slaves[$i].trust += 3>> <</for>> <<if $activeSlave.relationship > 3>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $activeSlave.relationshipTarget>> ($slaves[$i].slaveName, for her part, is @@color:hotpink;overjoyed,@@ though also a bit sad. She looks forward to joining $activeSlave.slaveName one day.) <<set $slaves[$i].devotion += 10>> <</if>> <</for>> <</if>> <br><br> She is retiring into citizenship, with a substantial annuity that will provide her with a secure if not luxurious life. <<if $activeSlave.fetish is "mindbroken">> Sadly, she is not mentally equipped to look after herself, but the arcology hosts several fine institutions capable of caring for her. They'll have someone check in on her daily. <<elseif $activeSlave.relationship is -3>> She wishes she could continue to be your slave wife, but she understands that marriages between slaves and slave owners are predicated on the slave relationship. She knows that her retirement has come, meaning that her slave relationship to you is ending. She's had a long time to get used to the idea, and gets through the process with dignity, doing her best to avoid embarrassing you. <<elseif $activeSlave.devotion > 95>> She desperately wishes she could continue to be your sex slave, but she understands that her retirement has come. More importantly, she's had a long time to get used to the idea, and gets through the process with resolution, doing her best to avoid embarrassing herself or you. <<elseif $activeSlave.devotion > 20>> She is very happy to be a free person again, though she does her best to do you the favor of not being too ostentatious about this. <<else>> It is with an ill-disguised triumphalism that she leaves sexual slavery behind her, and enters into a life in which she can decline to have things inserted into her body. <</if>> She's certainly going to have some adjustments to make. <<if $activeSlave.energy > 90>> Notably, dealing with her formidable sex drive is now her business. You suspect the arcology's clubs are about to receive a fanatical new regular, and the arcology's whores may not know what hit them when she realizes that she's now quite capable of buying whatever she wants on a semi-regular basis. <<if $activeSlave.analSkill+$activeSlave.oralSkill >= 120>> She's so sexually skilled, though, that she probably won't have much trouble. She'll probably have more than a few eager lovers within days. <</if>> <<if $activeSlave.face > 1>> She's certainly attractive enough that she'll have no trouble finding as many casual hookups as she likes. <</if>> <</if>> <<if $activeSlave.prestigeDesc == 0>> <<set $toSearch to "null">> <<else>> <<set $toSearch to $activeSlave.prestigeDesc>> <</if>> <<if ($toSearch.indexOf("Head Girl") != -1) || ($HeadGirl.ID is $activeSlave.ID)>> <br><br> She has a reputation from her long service as your Head Girl. To her bemusement, and considerable satisfaction, she has multiple job offers from slaving operations without even having to circulate her resume. <<if $activeSlave.fetish is "sadist">> The prospect of a virtually unlimited field for abuse and rape is something she'd pay for, now that she has her own money. She's excited beyond description to find that there are people interested in paying her to exercise her exquisitely horrible skills. <<elseif $activeSlave.fetish is "dom">> Dominance is second nature to her. Though she doesn't have to work, her slaving skills are valuable enough that she'd probably be tempted by the pay she can expect, even if she didn't derive real pleasure from exercising them. <<else>> Her annuity means that she doesn't have to work, but she's inclined to do so. Her skills command reasonable wages in the slave training field, and between those prospects and her annuity, she stands to become wealthy. <</if>> <<elseif ($toSearch.indexOf("is world famous for") != -1)>> <br><br> <<set $seed to $activeSlave.prestigeDesc>> <<set $seed to $seed.replace("She is famous for her recurring role in slave pornography. Her many fans relish", "enjoy")>> In addition to her annuity, you've laid the groundwork for her to become wealthy by the way you publicized pornography of her. Many thousands of people across the world are willing to pay to $seed, and they enjoy it in part because she doesn't mind it, either. She's in a position to make great money for doing on camera what she would probably do anyway. <<elseif ($activeSlave.intelligence >= -1) && ($activeSlave.muscles > 5) && ($activeSlave.combatSkill >= 1) && ($activeSlave.amp != 1) && ($activeSlave.face > 0)>> <br><br> She's pretty and deadly. If she feels she prefers wealth and danger to living on her annuity, she'll have no trouble finding work. In fact, she'll likely have trouble sifting through all the mercenary organizations, businesses in need of attractive and competent guards for public spaces, and citizens looking for effective bodyguards willing to hire her. <<elseif ($activeSlave.intelligence >= 2) && ($activeSlave.intelligenceImplant >= 1)>> <br><br> She has no skills extraordinary enough to bring prospective employers in search of her, in this new, slaveowning economy, but she is highly intelligent, educated, and has a small income. As you know from your own abundant personal experience, her intelligence is a lever, her annuity is a fulcrum, and with the two, she may move the world someday. You have no doubt that, at the very least, she will be far from the poorest of your citizens. <</if>> <br><br> As she takes her leave, heading the short distance down to her modest little apartment, she presents a strange appearance. She's wearing cheap but not unattractive clothing, and you are struck by a crystal-clear mental image of what she looks like nude. <<if $activeSlave.fetish != "mindbroken">> <<if $activeSlave.devotion > 20>> <<if $activeSlave.devotion > 95>> She's doing her absolute best not to sob, but her lips are quivering. <<else>> She looks like she might cry. <</if>> <<if $activeSlave.relationship is -3>> The ring she wore when she was your slave wife is nowhere to be seen; she's either taken it with her as a souvenir, or left it back in her sleeping area. If it's the former, no matter: you can always get more. <</if>> <<if (canTalk($activeSlave) == false)>> She gestures her thanks, and ironically indicates that she'll see you around. <<elseif SlaveStatsChecker.checkForLisp($activeSlave)>> "Well, thankth, <<if def $PC.customTitleLisp>>$PC.customTitleLisp<<elseif $PC.title != 0>>Mathter<<else>>Mithtreth<</if>>, um, I mean $PCName. I g-gueth I'll thee you around. I mean, the arcology. Anyway. Bye." <<else>> "Well, thanks, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>, um, I mean $PCName. I g-guess I'll see you around. I mean, the arcology. Anyway. Bye." <</if>> <<if $activeSlave.devotion > 95>> She turns resolutely away and flees, trying to choke back her tears. <<else>> She turns resolutely away. <</if>> <</if>> <</if>> <br><br> <<if $activeSlave.energy > 50>> <<if $activeSlave.devotion > 20>> <span id="result"> <<link "See her around">> <<replace "#result">> Later that week, <<if $club > 0>>as you take an evening to enjoy $clubName in person<<else>>out in one of $arcologies[0].name's better clubs<</if>>, you run into $activeSlave.slaveName. She looks good, and happy, and is not at all displeased to see you. She sidles up to you and makes it clear without a <<if (canTalk($activeSlave) == false)>> gesture <<else>> word <</if>> that she's quite eager to fuck you as a free woman. <<if $activeSlave.relationship is -3>> When she knows she has your attention, she produces the steel ring that she wore when she was your slave wife. She doesn't put it on, but she kisses it suggestively before putting it back in her purse. <</if>> <<if ($activeSlave.fetish is "submissive") && ($activeSlave.fetishKnown == 1)>> Taking the lead as you know she prefers, you lead her to a private booth and make love to her, holding her down with the gentle but firm grip that never fails to bring her through a long and gasping climax. <<elseif ($activeSlave.fetish is "cumslut") && ($activeSlave.fetishKnown == 1)>> She <<if $PC.dick == 1>>sucks your dick<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>eats you out<</if>> right there, eagerly <<if $activeSlave.vagina > -1>>jilling off<<else>>jacking off<</if>> as she enjoys your infinitely familiar taste and scent. <<elseif ($activeSlave.fetish is "humiliation") && ($activeSlave.fetishKnown == 1)>> You take her right there, the humiliation slut getting what she came to the club to get: an opportunity to orgasm in public with many eyes enjoying the sight of her pleasure. <<elseif ($activeSlave.fetish is "buttslut") && ($activeSlave.fetishKnown == 1)>> Your <<if $PC.dick == 1>>dick is<<else>>fingers are<</if>> up her ass in no time, and she's so primed for anal that she climaxes with indecent speed. She begs you to keep fucking her butt, and you do. <<elseif ($activeSlave.fetish is "boobs") && ($activeSlave.fetishKnown == 1)>> She grinds shamelessly against you, your hands holding her breasts just the way you know she loves them held. Your <<if $PC.boobs == 1>>own tits press softly<<else>>manly chest presses<</if>> against her back as she cranes back to kiss you. <<elseif ($activeSlave.fetish is "pregnancy") && ($activeSlave.fetishKnown == 1)>> She begs shamelessly for your seed, right here and right now, and <<if $PC.dick == 1>>you give it to her, producing the usual perverted orgasm as she feels it inside her.<<else>>as usual, she doesn't care that the phallus you fuck her with is actually a strap-on. She manages to pretend it's a cock knocking her up.<</if>> <<elseif ($activeSlave.fetish is "dom") && ($activeSlave.fetishKnown == 1)>> After some mutually aggressive dancing that leaves you both panting and sweaty, you work together to attract another free dancer, a girl who $activeSlave.slaveName had her eye on already. Before long, the poor girl is screaming with orgasm in a private booth as you take her together. <<elseif ($activeSlave.fetish is "sadist") && ($activeSlave.fetishKnown == 1)>> After some mutually aggressive dancing that leaves you both panting and sweaty, you mutually select one of the club's slaves, and drag her back to a private booth. Before long, her screams for mercy are audible on the floor. <<elseif ($activeSlave.fetish is "masochist") && ($activeSlave.fetishKnown == 1)>> You don't have the setup for really elaborate pain, so you fuck her hard and fast, to give her that edge of discomfort that she now requires to get off. She gasps as she gets what she needs, not free of her perversions despite her status as a citizen. <<else>> You remember her uncomplicated tastes well, though the total confidence that her willingness and pleasure are unfeigned is novel. You dance, you laugh, and you make love to her, all through the night. <</if>> <</replace>> <</link>> <br /> <<if $activeSlave.relationship >= 4>> <<link "Send her girl into retirement with her">> <<replace "#result">> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $activeSlave.relationshipTarget>> She doesn't get far before she hears a desperate pursuit behind her. It's her <<if $activeSlave.relationship >= 5>>wife<<else>>lover<</if>>, $slaves[$i].slaveName, hurrying to catch up. Watching on the monitors, you see $activeSlave.slaveName's mixed pleasure and pain at seeing her again so soon, followed by a tearful explanation and an embrace so heartfelt that the pair of ex-slaves collapse to the floor together, sobbing. <<set $activeSlave to $slaves[$i]>> <<include "Remove activeSlave">> <<break>> <</if>> <</for>> <br><br> <<if $arcologies[0].FSPaternalist != "unset">> Of course, your paternalistic arcology thinks this @@color:green;almost too romantic,@@ and there are jesting suggestions that outcomes this adorable ought to be illegal. The pair become celebrated citizens immediately. <<set $rep += 10*$FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel)>> <<set $arcologies[0].FSPaternalist += 0.1*$FSSingleSlaveRep>> <<else>> Though it is not ordinarily paternalistic, even your society thinks this is @@color:green;pretty romantic.@@ <<set $rep += 5*$FSSingleSlaveRep>> <</if>> <</replace>> <</link>> <</if>> </span> <</if>> <</if>> <br><br> Your arcology has gained a citizen. <<set $ACitizens += 1>> <<elseif $BioreactorRetirement == 1>> in a way that will inevitably fill the rest of your property with @@color:gold;fear.@@ <<for $i to 0; $i < $slaves.length; $i++>> <<set $slaves[$i].trust -= 3>> <</for>> <<if $activeSlave.relationship > 3>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $activeSlave.relationshipTarget>> ($slaves[$i].slaveName, for her part, is @@color:mediumorchid;horrified.@@) <<set $slaves[$i].devotion -= 20>> <</if>> <</for>> <</if>> <br><br> She is retiring into a featureless existence where the only realities are the phalli ejaculating food, fluid, and drugs into her <<if $activeSlave.vagina > -1>> vagina,<</if>> anus, and throat,<<if $activeSlave.balls > 0>> the relentless sodomy forcing semen out of her distended balls,<</if>> and the milk flowing into the milkers tugging at her painfully engorged nipples. <<if $activeSlave.fetish is "mindbroken">> She's already broken in spirit, and she complies with her installation into a milking machine with the dumb obedience of the animal she has become. <<elseif $activeSlave.devotion > 20>> She complies with her installation into a milking machine with the dumb obedience of someone whose mind will not allow them to understand their true situation out of simple immediate self-preservation. <<elseif $activeSlave.trust < 50>> She is so terrified of punishment that she complies with her installation into a milking machine to avoid pain. She knows that if she does not obey, there will be pain, and if she obeys, there may be pain but it will come later. <<else>> She resists, of course, giving the compliance systems an excuse to unload quite a few volts of electricity into her. This disobedience is one of her more abortive attempts to resist your will, and it is her last. <</if>> <br><br> It will take her some time to reach full production, a state that she'll be kept in until it becomes impossible for the most reckless drug regime to keep her there. Near the end of the week, you check in on her idly. Her breasts are already swelling under the hormonal treatments that can only be applied when the sole priority is production. The rhythm of the milkers gives them a slight pulsing heave, first one, then the other. Her milk whitens the lines running away from her udders. <br><br> <span id="result"> <<link "Have a taste">> <<replace "#result">> You tug one of the milkers off a nipple, producing a lewd sucking noise as the wet flesh pops free of the machinery. It must have been quite painful, but the feeding apparatus that covers much of the slave's face affords no indication of her reaction, if any. You heft the boob with both hands and take the nipple into your mouth, sucking gently. A rich jet of cream hits your tongue, the milkfat luscious with hints of vanilla. The warm breastflesh fills your hands, and you fancy that you can feel the prosperity under your fingers as her body desperately hurries to make more. <</replace>> <</link>> </span> <br><br> You have @@color:yellowgreen;gained a standard bioreactor.@@ <<set $menialBioreactors += 1>> <<elseif $ArcadeRetirement == 1>> in a way that will inevitably fill the rest of your property with @@color:gold;fear.@@ <<for $i to 0; $i < $slaves.length; $i++>> <<set $slaves[$i].trust -= 3>> <</for>> <<if $activeSlave.relationship > 3>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $activeSlave.relationshipTarget>> ($slaves[$i].slaveName, for her part, is @@color:mediumorchid;horrified.@@) <<set $slaves[$i].devotion -= 20>> <</if>> <</for>> <</if>> <br><br> She is retiring into a dark, featureless eternity in which the only realities are phalli intruding into her<<if $activeSlave.vagina > -1>> vagina,<</if>> anus, and throat, and the drug-induced haze that will leave her no choice but to orgasm when she is penetrated. <<if $activeSlave.fetish is "mindbroken">> She's already broken in spirit, and she complies with the conversion process with the dumb obedience of the animal she has become. <<elseif $activeSlave.devotion > 20>> She complies with the conversion process with the dumb obedience of someone whose mind will not allow them to understand their true situation out of simple immediate self-preservation. <<elseif $activeSlave.trust < 50>> She is so terrified of punishment that she complies with the conversion process to avoid pain. She knows that if she does not obey, there will be pain, and if she obeys, there may be pain but it will come later. <<else>> She resists, of course, giving the compliance systems an excuse to unload quite a few volts of electricity into her. This disobedience is one of her more abortive attempts to resist your will, and it is her last. <</if>> <br><br> She is brought down to <<if $arcade != 0>> $arcadeName, <<else>> the autosurgery, <</if>> and, a disturbingly short time later, there is a new Fuckdoll, a humanoid figure encased in a tough black bodysuit, in your office. <<if $activeSlave.amp == 1>> Its limbless form is not obviously human. It's a sex toy, with several interesting holes and nothing else worth noticing. <<else>> It stands immobile, the hydraulic system hidden within the suit stiffened to make voluntary movement impossible. <</if>> <<if $activeSlave.boobs > 2000>> The suit has a pair of gaps for its monstrous breasts, bare expanses of $activeSlave.skin skin. <</if>> <<if $activeSlave.lips > 40>> Its upper hole is surrounded by a ludicrous set of swollen lips. <</if>> <<if $activeSlave.labia > 0>> The conversion process left its labia permanently engorged. <</if>> <<if $activeSlave.vaginaLube > 0>> Its front hole is dripping streams of natural lubrication. <</if>> <<if $activeSlave.anus > 2>> The gap in the suit over its rear hole opens into the Fuckdoll's interior, since it's the same size as the Fuckdoll's loose sphincter. <</if>> <br><br> <span id="result"> <<link "Fuck it">> <<replace "#result">> <<if $PC.dick == 1>> You enter a command, and the Fuckdoll instantly <<if $activeSlave.amp == 1>>presents its upper hole<<else>>collapses to its knees<</if>>. You tug the plug clear of its upper hole, and insert your cock. The Fuckdoll's nose ports open when it needs to breathe, but periodically close without warning to force its throat to spasm. When you're bored of this, you pull your dick clear and haul the Fuckdoll over to the couch, entering the command that forces it to present its rear hole. Your saliva-slicked shaft slides readily inside the sex toy's warm interior. After a while, you enter the tightening command, and the Fuckdoll's sphincter obediently cinches down, encouraging you to shoot your load inside it. A low moaning sound issues from its upper hole. <<else>> You shove the Fuckdoll backward onto the couch, and enter a command that forces it into a bridged position. <<if $activeSlave.vagina > -1>>Its clit is brought to full hardness, and its front hole becomes wet and flushed. You ride this until you orgasm, the Fuckdoll's copious juices adding lewd noises to each grinding motion.<<else>>Its dick is forced to perfect hardness. Its tubes have been tied to prevent any unseemly contamination, allowing you to ride it until you are satisfied. When you're done, the Fuckdoll is allowed to go soft. It did not climax.<</if>> <</if>> You leave it where it is, your personal assistant directing a slave to perform maintenance on it when she has the time. <</replace>> <</link>> </span> <br><br> You have @@color:yellowgreen;gained a fuckdoll.@@ <<set $fuckdolls += 1>> <<else>> into a life of menial drudgery. This has little impact on your other human property. <<if $activeSlave.relationship > 3>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID is $activeSlave.relationshipTarget>> ($slaves[$i].slaveName, for her part, is @@color:mediumorchid;saddened,@@ but not seriously affected. She knew this was coming.) <<set $slaves[$i].devotion -= 5>> <</if>> <</for>> <</if>> There are a thousand things a slave like her can usefully do around the arcology, and she'll do them. But she's reached the age where it's time for you and the arcology's citizens to fuck younger girls. <br><br> You have @@color:yellowgreen;gained a menial slave.@@ <<set $helots += 1>> <</if>>
r3d/fc
src/uncategorized/seRetirement.tw
tw
bsd-3-clause
21,329
:: Security Force Proposal <<nobr>> <<set $nextLink to "Next Week">> <<set $nextButton to "Continue">> <</nobr>>\ \ The Free Cities were founded on the principles of unrestrained anarcho-capitalism. To those with such beliefs, the very idea of possessing an armed force, a key tool of government control, or weapons at all, was anathema. In the period since, however, your citizens have seen the value in weaponry. They watched on their news-feed as some Free Cities were sacked by the armies and mobs of the Old World, driven by their hatred of the citizens' luxurious lifestyles. They've seen other Cities toppled from within, by slave conspiracies or infighting among citizen groupings with differing beliefs. They've witnessed the distressingly rapid rise of fanatical anti-slavery organizations, who would like nothing more than to see them slowly bled by their own chattel. They are learned people, and they know what happens to slaveowners who lose their power. They've also seen the results of your policies. Your actions towards the arming of both yourself and the arcology proved critical, and ensured their safety when the Old World came for them. And your victory over the Daughters of Liberty, who the citizens know would have executed every single one of them, has created an opportunity. If you insisted upon the creation of a standing 'security' force for the arcology, many would support you and, more importantly, nobody of note would object. Such a force would solve many problems. More soldiers would mean more control, which is very good for you. More soldiers would mean more security for the arcology and the approaches to it, which is very good for business. More soldiers would mean more obedience from rebellious slaves who can see how powerless they truly are, which is very good for everybody. The force would be tiny compared to the Old World militaries that still exist, but money and technology can, of course, overcome massive numerical inferiority. This being the Free Cities, they would have other uses besides security. Perhaps, in time, you could exert some manner of influence on the Old World itself. ''This is a unique and very important opportunity'', and is possible only because of your recent victory over the Daughters. If you do not seize it, the memories and fears of your citizens will fade, and you will not be able to raise the matter again. -------------------- <<set $securityForceEventSeen to 1>> <span id="result"> <<link "Prepare for an announcement">> <<replace "#result">> You instruct $assistantName to announce to the arcology's citizenry that you will be making an important announcement in the near future regarding the security situation. Given the damage still present from the Daughters' attack, everyone will be turning in. You also instruct your assistant to begin quietly investigating potential leadership figures for the force itself. <<set $securityForceCreate to 1>> <<set $cash -= 20000>> <<set $nextButton to "Continue">> <</replace>> <</link>> //Initial costs are ¤20000, and upon establishment force will have significant support costs until it is self-sufficient.// <<link "The mercenaries are enough">> <<replace "#result">> On second thought, such a force is not needed. Your methods have served well so far - why should there be any change going forward? <<set $nextButton to "Continue">> <</replace>> <</link>> </span>
r3d/fc
src/uncategorized/securityForceProposal.tw
tw
bsd-3-clause
3,416
:: Sell Slave <<set $nextButton to "Back">>\ <<set $nextLink to "Slave Interact">>\ <<nobr>> You prepare her for sale. Her response to being put up for purchase is <<if $activeSlave.devotion < -50>>muted; perhaps she hopes a new master will be less hateful than you. <<elseif $activeSlave.devotion < -20>>muted weeping; for some reason, she doesn't like being treated like meat on a slab. <<elseif $activeSlave.devotion <= 20>>hesitant; she can't seem to make up her mind whether this is going to mean an improvement or not. <<elseif $activeSlave.devotion <= 50>>obedient, if mechanical; she may want to stay with you. <<elseif $activeSlave.devotion <= 95>>ill-concealed sorrow; she clearly wants to stay with you very much. <<else>>open, abject, and heart-wrenching begging. Staying with you truly seems to be her only wish. <</if>> <<if $activeSlave.trust < -50>>She's certainly very willing to get away from your horrible punishments. <<elseif $activeSlave.trust < -20>>She's probably hoping she'll be a little less frightened all the time, wherever she does. <<elseif $activeSlave.trust < 20>>She does seem concerned that, hard as you are, her buyer may be less fair. <<elseif $activeSlave.trust < 50>>She's worried, probably because she's learned how to avoid punishment here and will have to learn new rules. <<elseif $activeSlave.trust < 95>>She promises she will do her best to make you proud by being a good slave to her new owners. <<else>>She tries to conceal her terror at going from a trustworthy slave master to the cruel and uncertain world outside your penthouse, but she fails. <</if>> <<set $slim to 0>> <<set $stacked to 0>> <<slaveCost $activeSlave>> <<set $slaveCost to (random(70,80)*Math.trunc($slaveCost/100))>> <<if $activeSlave.breedingMark == 1>> Since you are selling a breeding slave, she will be sent to auction before other members of the Societal Elite. <<else>> <<if $showAppraisal == 1>> <br><br> <<set $seed to []>> <<if $arcologies[0].FSRomanRevivalist > 20>> <<set $seed.push("roman")>> <<elseif $arcologies[0].FSEgyptianRevivalist > 20>> <<set $seed.push("egyptian")>> <<elseif $arcologies[0].FSEdoRevivalist > 20>> <<set $seed.push("edo")>> <<elseif $arcologies[0].FSArabianRevivalist > 20>> <<set $seed.push("arabian")>> <<elseif $arcologies[0].FSChineseRevivalist > 20>> <<set $seed.push("chinese")>> <</if>> <<if $arcologies[0].FSChattelReligionist > 20>> <<set $seed.push("priestess")>> <</if>> <<if $arcologies[0].FSRestartDecoration == 100>> <<set $seed.push("Elite")>> <</if>> <<if $seeDicks != 0>> <<set $seed.push("futa")>> <<set $seed.push("businesswoman")>> <<set $seed.push("slaver")>> <<set $seed.push("accountant")>> <<else>> <<set $seed.push("businesswoman")>> <<set $seed.push("slaver")>> <<set $seed.push("accountant")>> <</if>> <<set $appraiser to $seed.random()>> A reputable slave appraiser arrives promptly to inspect her and certify her qualities for sale. The appraiser, <<if $appraiser is "roman">> one of the arcology's appointed censors, sweeps in grandly in his toga with its blue stripe of office, greets you confidently, and turns to the slave. He unrolls a scroll-shaped soft tablet, reviewing video of the girl's skills and referring back to her body as he works his way through the prescribed method of valuation. Finished, he turns to you. <<if def $PC.customTitle>> "$PC.customTitle, <<else>> <<if $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.9>> "First Consul, <<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.6>> "Quaestor, <<else>> "Aedile, <</if>> <</if>> I have appraised your slave. As directed by law, my appraisal is based on her potential income in a brothel, with modification for any significant qualities. I have found the following. <<set $appraiserGender to 1>> <<elseif $appraiser is "egyptian">> one of the arcology's traditional slave examiners, comes elegantly in wearing a simple gown shift that sweeps low, baring her bronzed back.<<if $arcologies[0].FSRepopulationLaw == 1>> Her gown is noticeably swollen with pregnancy.<</if>> She greets you warmly, and then turns to the slave. She inspects her and carries on a polite conversation with her, learning about her by talking with her. When she finishes, she turns to you and bows deeply. <<if def $PC.customTitle>> "My $PC.customTitle, <<else>> <<if $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.9>> "Your worship, <<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.6>> "Pharaoh, <<else>> <<if $PC.title == 1>> "My prince, <<else>> "My princess, <</if>> <</if>> <</if>> I have appraised your slave. My appraisal is based on her potential income in a brothel, with modification for her special qualities. I have found the following. <<elseif $appraiser is "edo">> one of the arcology's recognized slave examiners, arrives alone, but is no less regal for it. She is dressed as a proper Edo lady, and is a natural at it, slim<<if $arcologies[0].FSRepopulationLaw == 1>>, despite her large pregnancy<</if>>, pretty, and proper. She greets you correctly, the only sign of her middle age being a little creasing at the corners of her eyes, and then turns to the slave. She seems to have researched her skills already, and so performs a skilled inspection without even needing to touch the girl. <<if def $PC.customTitle>> "$PC.customTitle, <<else>> <<if $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> "Honored Emperor, <<else>> "Honored Deity, <</if>> <<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.6>> "Honored Shogun, <<else>> "Honored Daimyo, <</if>> <</if>> I have appraised your slave. My appraisal is based on her potential income in a brothel, with modification for special matters. I have found the following. <<elseif $appraiser is "arabian">> a huge, jovial man, sweeps in and fills the room with bonhomie. He wears loose silk pantaloons, a silk sash with a short leather whip thrust into it, and a little jacket that leaves most of his dark-skinned, massive chest bare. After booming a respectful greeting, he turns to the slave. He seems to have asked around about her skills, and so limits himself to a quick physical inspection before rumbling, <<if def $PC.customTitle>> "$PC.customTitle, <<else>> <<if $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> "Honored Caliph, <<else>> "Handmaiden of Allah, your servant's heart is desolate with the honor of looking upon you. <</if>> <<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> "Honored Sultan, <<else>> "Sultana, your servant's heart is desolate with the honor of looking upon you. <</if>> <<else>> "Peace be upon you, honored slaveowner. <</if>> <</if>> I have appraised your slave. My appraisal is based on her potential income in the whorehouse, with modification for special matters. As to them, I have found the following. <<set $appraiserGender to 1>> <<elseif $appraiser is "chinese">> an older and rather stout woman<<if $arcologies[0].FSRepopulationLaw == 1>>, with an noticeably heavy pregnancy,<</if>> in traditional Chinese dress, gives you a precise and proper greeting. She extracts a tablet from one of her wide sleeves and reviews video of the slave in action before performing a physical inspection. Then she seats herself, stows her tablet again, and recites in a didactic tone, "Honored <<if def $PC.customTitle>> "$PC.customTitle, <<else>> <<if $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("Emperor and Holder of the Mandate of Heaven")>> <<else>> <<set $titles.push("Empress and Holder of the Mandate of Heaven")>> <</if>> <<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> <<set $titles.push("Emperor")>> <<else>> <<set $titles.push("Empress")>> <</if>> <<else>> <<if $PC.title == 1>> <<set $titles.push("Governor of the Province")>> <<else>> <<set $titles.push("Governess of the Province")>> <</if>> <</if>> <</if>> my appraisals are based on a slave's potential income as a prostitute, with modifiers for special characteristics. I have appraised your slave, and I have found the following. <<set $appraiserGender to 0>> <<elseif $appraiser is "priestess">> a holy woman ordained to provide this service, wears a white surplice that covers her hair and a long white dress - but since she is a priestess of the new religion, not one of the old faiths, the ensemble also includes a white leather corset, chased with gold, that displays her breasts magnificently. It's easy to tell she's no slave, though, since her nipples are covered. She accepts your gaze with a smile, and assumes a straight-backed recitation posture. "Book of the Slaver, Chapter Seven: the Appraisal, Verse Six. The appraiser shall value a slave based on her income as a whore, with allowances for special qualities, which she shall disclose to the Owner. Amen." She turns to her work, and then adopts her recitation posture again. <<if def $PC.customTitle>> "$PC.customTitle, <<else>> <<if $arcologies[0].FSChattelReligionistLaw == 1>> "Prophet, this is an honor. <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.9>> "Honored Keeper, <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.6>> "Honored Champion of the Faith, <<else>> "Your Holiness, <</if>> <</if>> I have examined your slave in accordance with the Book. <<elseif $appraiser is "Elite">> a member of the Societal Elite you are familiar with greets you respectfully and <<if $PC.dick == 1>>tosses you a wink as she pats her rounded belly. "He's doing well.<<else>>calms her kicking child so she can continue. "Think he'll look as good as his father?<</if>> Anyway, as I'm sure you know, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>sir<<else>>madame<</if>>," she says as she uses curt instructions to direct $activeSlave.slaveName, "appraisals are based on a slave's potential worth as a toy, with modifiers for special characteristics." She scrolls down the list. "I'll just mention the interesting ones. <<elseif $appraiser is "futa">> a curvy, middle aged, and quite attractive woman wearing a tank top and yoga pants, greets you cheerfully and turns to the slave. As she does, you can't help but notice that the yoga pants make it obvious she has a penis almost as long as one of her forearms. She makes notes on a tablet, flipping through videos that display the slave in action as she works. "<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>Sir<<else>>Madame<</if>>, I'm, like, sorry to have to say this to you since I know you know it better than I do, but it's the script, you know? Anyway appraisals are based on a slave's potential performance as a public slut, with modifiers for special characteristics." She makes notes. "I'll just mention the significant ones. <<set $appraiserGender to 0>> <<elseif $appraiser is "businesswoman">> an older businesswoman with a reputation for correctness, gives you a prim nod before turning to the nude slave without wasting further time. She deftly makes notes on a haptic wrist interface, flipping through videos of the slave in action as she works. "As I'm sure you know, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>sir<<else>>madame<</if>>," she says as she uses curt instructions to direct $activeSlave.slaveName, "appraisals are based on a slave's potential income as a prostitute, with modifiers for special characteristics." Her fingers fly across the interface. "I'll just mention the significant ones. <<elseif $appraiser is "slaver">> a scarred old slaver with calloused hands and a knowing face, greets you in his companionable way before clapping his hands together and turning to the slave. He switches back and forth between the girl and a battered old tablet with video proving her skills. "Well, as you know <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>suh<<else>>ma'am<</if>>," he says as he firmly repositions $activeSlave.slaveName, "appraisals are based on a slave's potential income as a whore, with modifiers for special things." He pauses, prodding the tablet. "I'll just mention the main items. <<else>> a fashionably but formally dressed young man with slicked-back hair, greets you correctly before activating an examination visor and reviewing video evidence of the slave's skills. That done, he deactivates the visor and performs a quick physical examination. "As I'm sure you know, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>sir<<else>>madame<</if>>," he says as he gently repositions $activeSlave.slaveName to get a good look at her, "appraisals are based on a slave's potential income as a whore, with modifiers for special characteristics." He pauses, using subvocalizations to make data entries. "I'll just mention the significant ones. <</if>> <<if $activeSlave.eyes is -2>> Her blindness is an obvious issue. <</if>> <<if $activeSlave.career != 0>> <<if $bodyguardCareers.contains($activeSlave.career)>> Her background would help make her a good Bodyguard; that's valuable. <<elseif $wardenessCareers.contains($activeSlave.career)>> Her background would help make her a good Wardeness; that's valuable. <<elseif $attendantCareers.contains($activeSlave.career)>> Her background would help make her a good Attendant; that's valuable. <<elseif $schoolteacherCareers.contains($activeSlave.career)>> Her background would help make her a good Schoolteacher; that's valuable. <<elseif $stewardessCareers.contains($activeSlave.career)>> Her background would help make her a good Stewardess; that's valuable. <<elseif $milkmaidCareers.contains($activeSlave.career)>> Her background would help make her a good Milkmaid; that's valuable. <<elseif $madamCareers.contains($activeSlave.career)>> Her background would help make her a good Madam; that's valuable. <<elseif $DJCareers.contains($activeSlave.career)>> Her background would help make her a good DJ; that's valuable. <<elseif $HGCareers.contains($activeSlave.career)>> Her background would help make her a good Head Girl; that's valuable. <<elseif $recruiterCareers.contains($activeSlave.career)>> Her background would help make her a good recruiter; that's valuable. <<elseif $entertainmentCareers.contains($activeSlave.career)>> Her background should help her flirting a little. <<elseif $whoreCareers.contains($activeSlave.career)>> Her background should help her fucking a little. <<elseif $gratefulCareers.contains($activeSlave.career)>> Her background should make her a bit more trusting. <<elseif $menialCareers.contains($activeSlave.career)>> Her background should make her a bit more tractable. <</if>> <</if>> <<if ($week-$activeSlave.weekAcquired >= 20) && ($activeSlave.entertainSkill >= 100)>> <<if $entertainmentCareers.contains($activeSlave.career)>> <<else>> She's gotten enough experience as a slave entertainer that she has the added value of a girl with a history in entertainment from before she was a slave. <</if>> <</if>> <<if ($activeSlave.oralCount + $activeSlave.analCount + $activeSlave.vaginalCount + $activeSlave.mammaryCount + $activeSlave.penetrativeCount > 1000)>> <<if $whoreCareers.contains($activeSlave.career)>> <<else>> I see she's sexually very experienced; that counts as a stand-in for the usual bonus value from having been a sex worker before enslavement. <</if>> <</if>> <<if $activeSlave.behavioralFlaw != "none">> <<if $activeSlave.sexualFlaw != "none">> She has both a behavioral flaw and a sexual flaw; those are both minor negatives. <<else>> She has a behavioral flaw, which is a minor negative. <</if>> <</if>> <<if $activeSlave.sexualFlaw == "breeder" && $arcologies[0].FSRepopulationFocus != "unset">> She is obsessed with breeding, that will make her very popular in your arcology. <<elseif $activeSlave.sexualFlaw != "none">> <<if $activeSlave.behavioralFlaw is "none">> She has a sexual flaw, which is a minor negative. <</if>> <</if>> <<if ($activeSlave.behavioralFlaw != "none") || ($activeSlave.sexualFlaw != "none")>> <<if $activeSlave.behavioralQuirk != "none">> <<if $activeSlave.sexualQuirk != "none">> On the other hand, she has both a behavioral quirk and a sexual quirk; those are both minor positives. <<else>> On the other hand, she has a behavioral quirk, which is a minor positive. <</if>> <</if>> <<if $activeSlave.sexualQuirk != "none">> <<if $activeSlave.behavioralQuirk is "none">> On the other hand, she has a sexual quirk, which is a minor positive. <</if>> <</if>> <<else>> <<if $activeSlave.behavioralQuirk != "none">> <<if $activeSlave.sexualQuirk != "none">> She has both a behavioral quirk and a sexual quirk; those are both minor positives. <<else>> She has a behavioral quirk, which is a minor positive. <</if>> <</if>> <<if $activeSlave.sexualQuirk != "none">> <<if $activeSlave.behavioralQuirk is "none">> She has a sexual quirk, which is a minor positive. <</if>> <</if>> <</if>> <<if $activeSlave.fetishKnown == 1>> <<if $activeSlave.fetish is "mindbroken">> It's a shame she's mindbroken. From a price perspective. <<elseif $activeSlave.fetish != "none">> Her fetish is good for performance, of course, but it adds a little bonus to value, too. <</if>> <<else>> It's a pity there's no information on her fetishes. Without it, buyers tend to assume the worst. <</if>> <<if $activeSlave.attrKnown == 1>> <<if $activeSlave.energy > 95>> Nymphomania adds a major price bonus. <</if>> <<else>> With her sex drive not well tested, I cannot award her any value in that area. <</if>> <<if $activeSlave.vagina == 0>> Virgin pussies are less common than you might think; that's a minor positive. <</if>> <<if $arcologies[0].FSRepopulationFocusSMR != 0>> <<if $activeSlave.preg < -1>> The lack of an ability to become pregnant greatly decreases value, the global market being what it is. <<elseif ($activeSlave.preg > 20) && ($activeSlave.pregType >= 10)>> Such a massive pregnancy demands a high value, the global market being what it is. <<elseif ($activeSlave.preg > 10)>> The advanced pregnancy adds a little value, the global market being what it is. <</if>> <<elseif $arcologies[0].FSRestartSMR != 0>> <<if $activeSlave.preg < -1>> Her infertility improves her value, since her kind should not be allowed to reproduce. <<elseif ($activeSlave.preg > 20) && ($activeSlave.pregType >= 10)>> What a disgusting creature, that filth inside her will destroy her value. <<elseif ($activeSlave.preg > 10)>> What a waste, if she weren't pregnant, she might be worth something. <</if>> <<else>> <<if $activeSlave.preg < -1>> The lack of a natural vagina still removes a little value, the global market being what it is. <<elseif ($activeSlave.preg > 20) && ($activeSlave.pregType >= 10)>> Such a massive and dangerous pregnancy removes some value, the global market being what it is. <<elseif ($activeSlave.preg > 10)>> The advanced pregnancy removes a little value, the global market being what it is. <</if>> <</if>> <<if $activeSlave.mpreg == 1>> What's this strange organ listed here? She can become anally pregnant? That will certainly interest some buyers. <</if>> <<if $activeSlave.intelligence >= 3>> Her genius is probably going to bring in very generous bids. <<if $activeSlave.intelligenceImplant == 1>> Her education is an added positive, beyond that. <</if>> <<elseif $activeSlave.intelligence > 0>> Of course, her intelligence is an asset outside of its sexual applications. <<if $activeSlave.intelligenceImplant == 1>> Her education is an added positive, beyond that. <</if>> <<elseif $activeSlave.intelligence < 0>> Of course, her stupidity will be a minor negative. <<if $activeSlave.intelligenceImplant == 1>> Her education will help ameliorate that in price terms. <<else>> She's uneducated, too. <</if>> <</if>> <<if $activeSlave.anus == 0>> Her virgin anus is a minor positive, since anal defloration is in such high demand. <</if>> <<if $activeSlave.vagina > -1>> <<if $activeSlave.dick > 0>> She has both sets of equipment, I see; that's very valuable. <<if $activeSlave.ovaries > 0 && $arcologies[0].FSRestartSMR isnot 1>> <<if $activeSlave.balls > 0>> And both are fertile? Incredible. She'll appraise extremely well for that. <</if>> <<else>> <<if $activeSlave.balls > 0>> And both are fertile? Horrible. Such fertility is wasted on trash. <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.pubertyXY == 0 && $activeSlave.phyiscalAge >= $potencyAge && $arcologies[0].FSGenderRadicalist == "unset" && $activeSlave.balls > 0>> She never went through male puberty, that's a plus. <</if>> <<if $activeSlave.prestige > 0>> I see notes on her notoriety in her file. That will drive up her price. <</if>> <<if $activeSlave.devotion > 95>> Her worshipfulness is a major positive <<elseif $activeSlave.devotion > 50>> Her devotion is a significant positive <<elseif $activeSlave.devotion > 20>> Her acceptance of slavery is a minor positive <<elseif $activeSlave.devotion >= -20>> Her acceptance of slavery is equivocal <<elseif $activeSlave.devotion >= -50>> Her resistance to slavery is a minor negative <<elseif $activeSlave.devotion >= -75>> Her hatred of slavery is a significant negative <<else>> Her rebelliousness is a major negative <</if>> <<if (($activeSlave.devotion+30) > $activeSlave.trust) && (($activeSlave.devotion-30) < $activeSlave.trust)>> and <<else>> but <</if>> <<if $activeSlave.trust > 95>> her powerful trust is a major positive. <<elseif $activeSlave.trust > 50>> her trust is a significant positive. <<elseif $activeSlave.trust > 20>> her carefulness is a minor positive. <<elseif $activeSlave.trust >= -20>> her fearfulness is equivocal. <<elseif $activeSlave.trust >= -50>> her fear is a minor negative. <<elseif $activeSlave.devotion >= -90>> her terrified state is a significant negative. <<else>> her abjectly terrified state is a major negative. <</if>> <<if $activeSlave.brand != 0>> <<if $rep > 10000>> I see she's branded with your mark; with your stellar reputation, that will make her appraise better. <<elseif $rep < 5000>> I see she's branded with your mark; unfortunately, that will make her appraise slightly less well. <<else>> I see she's branded with your mark; that won't have a significant impact. <</if>> <</if>> <<if ($activeSlave.actualAge >= $retirementAge-5) && $PhysicalRetirementAgePolicy != 1>> <<set $seed to 52*($retirementAge-$activeSlave.actualAge)>> Since she has a mere $seed weeks left until the local retirement age for sex slaves, buyers will be willing to offer much less for her. <</if>> <<if ($activeSlave.physicalAge >= $retirementAge-5) && $PhysicalRetirementAgePolicy == 1>> <<set $seed to 52*($retirementAge-$activeSlave.physicalAge)>> Since she has a mere $seed weeks left until the local retirement age for sex slaves, buyers will be willing to offer much less for her. <</if>> <<if $arcologies[0].FSSupremacistLawME != 0>> <<if $activeSlave.race != $arcologies[0].FSSupremacistRace>> Your supremacism has pushed a lot of subhumans like her into the market, so her race is a negative. <</if>> <</if>> <<if $arcologies[0].FSSubjugationistLawME != 0>> <<if $activeSlave.race is $arcologies[0].FSSubjugationistRace>> Your subjugationism has pushed a lot of animals like her into the market, so her race is a negative. <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocusSMR != 0>> <<if $activeSlave.preg > 0>> Pregnant slaves appraise quite well, thanks to your leadership on repopulation. <</if>> <</if>> <<if $arcologies[0].FSRestart > 70>> <<if $activeSlave.dick > 0>> Subhumans with dicks appraise less well, since they don't need them. <</if>> <<if $activeSlave.balls > 0>> She has balls too. A slave that can impregnate is worth little under your vision of the future. <</if>> <<if $activeSlave.vagina > 0>> Subhumans with vaginas appraise less well, since they don't need them. <</if>> <<if $activeSlave.ovaries > 0>> She can get pregnant too. A slave that can bear children is worth little under your vision of the future. <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalistSMR != 0>> <<if $activeSlave.dick > 0>> Slaves with dicks appraise less well, thanks to your leadership on gender. <<if $activeSlave.balls > 0>> That's especially true for her, since she still has her balls. <</if>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalistLawDicks != 0>> <<if $activeSlave.dick > 0>> <<if $activeSlave.balls > 0>> Slaves with cocks and balls appraise quite well, thanks to your leadership on gender. <</if>> <</if>> <<elseif $arcologies[0].FSGenderRadicalistLawFuta != 0>> <<if $activeSlave.dick > 0>> <<if $activeSlave.vagina > -1>> Futas appraise better than ever, thanks to your leadership on gender. <</if>> <</if>> <</if>> <<if $arcologies[0].FSArabianRevivalist > 50>> And of course, we can't forget the premium you get on selling slaves. <</if>> <<if $activeSlave.indenture > -1>> Though I dislike mentioning something so obvious, being an indentured servant will have a huge impact on her valuation. <</if>> <<if $appraiser is "roman">> That is all." He rolls his screen-scroll up and tucks it into his toga, and nods. "A pleasure." <<elseif $appraiser is "egyptian">> That's all. Thank you for this delightful opportunity." She turns to go, but turns again in the doorway to offer another deep bow, this one so low that her linen dress discloses just a hint of her dimpled rear. <<elseif $appraiser is "edo">> That is all. Thank you." She performs a perfect bow and retreats. <<elseif $appraiser is "arabian">> That is all. She may fetch a fine price, if the Almighty will it." He bows deeply and backs out the door. <<elseif $appraiser is "chinese">> That is all." She bows and backs out the door. <<elseif $appraiser is "priestess">> Amen." She forms a holy symbol with her hands, kneels before you to bow so low that her cleavage presses against the floor, and retreats. <<elseif $appraiser is "futa">> That's all. Thanks! Cute girl." She goes, but pauses in the doorway to give you a little wave. <<elseif $appraiser is "Elite">> That's all. <<if $PC.dick == 1>>See you around! Have to have a few other guy's kids before we can have some more fun, but I'll keep you in mind!<<else>>See you around, we'll have to go drinking after I'm done sometime!<</if>>" She waves, as she leaves. <<elseif $appraiser is "businesswoman">> That will be all. Thank you, and good day." She bows curtly and goes. <<elseif $appraiser is "slaver">> That's all I've got for you, <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title == 1>>suh<<else>>ma'am<</if>>, thank you kindly." He offers a genteel bow and leaves. <<else>> And that is all. Thank you." He nods in a businesslike fashion and departs. <</if>> <</if>> /* CLOSES APPRAISAL */ <</if>> <</nobr>> <<if $activeSlave.breedingMark == 1>> <<set $buyer to 0>> <<set $seed to 500*Math.trunc(($slaveCost*1.1)/500)>> <br>The current offer for her stands at ''¤$seed''. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "elite auction">> <<goto "Slave Sold">> <</link>> <<else>> __Bids Received__\ <<nobr>> <<set $buyer to 0>> <<set $seed to 500*Math.trunc(($slaveCost*1.15)/500)>> <<if ($activeSlave.visualAge < 20) && ($activeSlave.weight < -10) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes his slaves young and slender. <<set $seed to 1>> <<elseif ($activeSlave.visualAge > 40) && ($activeSlave.weight > 10) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes her slaves mature and motherly. <<set $seed to 1>> <<elseif ($activeSlave.dick > 3) && ($activeSlave.balls > 0) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes fat cocks. <<set $seed to 1>> <<elseif ($activeSlave.dick > 3) && ($activeSlave.balls == 0) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes a big limp dick flopping around when he fucks a slave's asspussy. <<set $seed to 1>> <<elseif ($activeSlave.dick == 1) && ($activeSlave.balls == 0) && ($activeSlave.anus is 3) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes sissies with anal slits longer than their little limp dicks. <<set $seed to 1>> <<elseif ($activeSlave.dick > 0) && ($activeSlave.boobs < 300) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes traps. <<set $seed to 1>> <<elseif ($activeSlave.dick > 0) && ($activeSlave.balls > 0) && ($activeSlave.boobs > 600) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who likes lusty shemales. <<set $seed to 1>> <<elseif ($activeSlave.anusPiercing > 1) && ($activeSlave.nipplesPiercing > 1) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who is clearly fascinated by her lewd piercings. <<set $seed to 1>> <<elseif ($activeSlave.anusTat > 1) && ($activeSlave.buttTat > 1) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who is clearly aroused by her slutty tattoos. <<set $seed to 1>> <<elseif ($activeSlave.boobs > 800) && ($activeSlave.areolae > 3) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who can't take his eyes off her unique areolae. <<set $seed to 1>> <<elseif ($activeSlave.clit > 2) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who keeps running her tongue over her lips while staring at the slave's giant clit. <<set $seed to 1>> <<elseif ($activeSlave.labia > 1) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who has an obvious fascination with her dangling labia. <<set $seed to 1>> <<elseif ($activeSlave.boobs > 2000) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen with an obvious breast expansion fetish. <<set $seed to 1>> <<elseif ($activeSlave.preg > 20) && ($activeSlave.lactation == 1) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who pays obsessive attention to her gravid belly and naturally lactating breasts. <<set $seed to 1>> <<elseif ($activeSlave.ovaries == 1) && ($activeSlave.physicalAge < 25) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who pays unusually close attention to the section of the medical report on her fertility. <<set $seed to 1>> <<elseif ($activeSlave.butt > 6) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen with an obvious butt expansion fetish. <<set $seed to 1>> <<elseif ($activeSlave.face > 0) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who can't keep his eyes off her pretty face. <<set $seed to 1>> <<elseif ($activeSlave.analSkill >= 100) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen interested in acquiring a skilled butthole bitch. <<set $seed to 1>> <<elseif ($activeSlave.vaginalSkill >= 100) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen interested in acquiring a slut with real vaginal skill. <<set $seed to 1>> <<elseif ($activeSlave.oralSkill >= 100) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen interested in acquiring a skilled cocksucker. <<set $seed to 1>> <<elseif ($activeSlave.health > 80) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen who pays creepily close attention to the state of her health, and ignores everything else. <<set $seed to 1>> <<elseif ($activeSlave.nationality != 0) && (random(1,100) > 80)>> <br>''¤$seed'' from a citizen with a special appetite for $activeSlave.nationality girls. <<set $seed to 1>> <</if>> <<if $seed == 1>> <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.15)/500)>> <<goto "Slave Sold">> <</link>> <</if>> <<if $activeSlave.physicalAge > 30>> <<if $activeSlave.devotion > 20>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*0.9)/500)>>'' from a polite older citizen looking for a housekeeper and bedwarmer. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*0.9)/500)>> <<set $buyer to "housekeeper">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if isFertile($activeSlave)>> <<if $slaveCost > 10000>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a male citizen who wants to ensure his posterity by using her to carry his children. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "preg fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <<if $activeSlave.mpreg == 1>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from an organ modifier interested in her anal womb. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "organ crafter">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <<if $seeHyperPreg == 1 && $seeExtreme == 1>> <<if $activeSlave.vagina == 0>> <<if random(1,100) > 60>> <br>''¤<<print 400*Math.trunc(($slaveCost*1.05)/500)>>'' from a pharmaceuticals corporation looking for fertile virgins for testing extreme fertility drugs. <<link "Accept bid">> <<set $cash += 400*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "womb filler">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.intelligence >= 2>> <<if $activeSlave.face >= 2>> <<if $activeSlave.faceShape != "masculine">> <<if random(1,100) > 90>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a fellow arcology owner seeking a smart, pretty slave to use as a breeder to produce superior children. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*2.05)/500)>> <<set $buyer to "eugenics arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.hips > 1>> <<if $activeSlave.vagina == 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a fellow arcology owner focusing on building a future society based on his genes: he seeks fertile virgins with wide hips, feeling they will be the best mothers. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "repopulationist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.vagina == 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.3)/500)>>'' from a slave trader with a notorious virgin impregnation fetish: he uses his work to provide himself with an endless supply of virgins to knock up and resell. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.3)/500)>> <<set $buyer to "virgin trader">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $seeHyperPreg == 1 && $seeExtreme == 1>> <<if $activeSlave.preg > 20>> <<if $activeSlave.pregType >= 10>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a group that takes pleasure in performing abortions on live TV. <<link "Accept bid">> <<set $cash += 400*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "abortion TV">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.nipples is "huge">> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a female citizen with a very specific fetish: she loves breasts to the point of enjoying slaves with nipples large enough to meaningfully penetrate her. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "nipple fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <<if $activeSlave.balls > 0>> <<if $activeSlave.analSkill > 10>> <<if $activeSlave.devotion > 20>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a citizen who enjoys buttfucking slaves with the necessary equipment, willingness, and anal skill to reward his efforts with messy, hands-free orgasms of their own. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "anal fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.oralSkill > 30>> <<if $activeSlave.devotion > 20>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from an unusually well-endowed citizen who strongly prefers oral sex with willing partners who can deepthroat him successfully. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "oral fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.fetish != "masochist">> <<if $activeSlave.devotion > 50>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a sadistic citizen who likes hurting her slaves, dislikes masochists for their enjoyment of her treatment, yet prefers slaves who will not hate her. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "pain fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.muscles > 30>> <<if $activeSlave.height >= 170>> <<if $activeSlave.intelligence < 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a sadistic citizen who is looking for an imposing, stupid slave she can train to rape her victims on command. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "sadism fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.devotion > 20>> <<if $activeSlave.intelligence > 1>> <<if $activeSlave.intelligenceImplant == 1>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a newly wealthy citizen who is expanding his household and is interested in smart, educated, and obedient slaves for leadership roles. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "dom fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.devotion > 50>> <<if $activeSlave.oralSkill >= 100>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.05)/500)>>'' from a citizen whose job keeps her deskbound; bored, she's looking for a devoted oral slave to occupy the space under the desk and be her constant pussylicking appliance. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.05)/500)>> <<set $buyer to "sub fetishist">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.anus == 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.3)/500)>>'' from a wealthy citizen infamous for cruelly raping anal virgins in public; he buys and abuses a new one every few weeks. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.3)/500)>> <<set $buyer to "buttbreaker">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <<if $activeSlave.oralSkill >= 100>> <<if $activeSlave.analSkill >= 100>> <<if $activeSlave.intelligence > 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a small, local slave trainer interested in using her to help train new slaves in the sexual arts. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "trainer staffing">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.oralSkill >= 100>> <<if $activeSlave.analSkill >= 100>> <<if $activeSlave.intelligence > 0>> <<if $activeSlave.intelligenceImplant == 1>> <<if $activeSlave.physicalAge > 35>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.4)/500)>>'' from a skilled slave trainer who feels that MILFs make the best slave trainers. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.4)/500)>> <<set $buyer to "D milf staffing">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.boobsImplant == 0>> <<if $activeSlave.lactation > 0>> <<if $activeSlave.ovaries > 0>> <<if $activeSlave.boobs > 1000>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a prominent citizen with a notorious fetish for fertile, natural cows. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "D hucow">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.muscles > 5>> <<if $activeSlave.weight < -10>> <<if $activeSlave.teeth is "pointy">> <<if $activeSlave.combatSkill > 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen who's pursuing some sort of mercenary project that requires worryingly large numbers of thin girls with sharp teeth. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D startled the witch">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.vagina == 0>> <<if $activeSlave.anus > 1>> <<if $activeSlave.analSkill >= 100>> <<if $activeSlave.physicalAge < 25>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen who appreciates girls who are both vaginal virgins and anal veterans. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D virgin asspussy">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.vagina == 0>> <<if ($activeSlave.fetish is "submissive") || ($activeSlave.fetish is "pregnancy")>> <<if $activeSlave.entertainSkill > 30>> <<if $activeSlave.physicalAge < 30>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen with moist palms who insistently refers to her as "his waifu," whatever that means. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D waifu">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick > 0>> <<if $activeSlave.oralSkill >= 100>> <<if $activeSlave.height < 160>> <<if $activeSlave.butt > 3>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen who likes to provide his favored, well-endowed slaves with subordinate, orally skilled dickgirls with nice butts. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D oral servants">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick > 0>> <<if $activeSlave.devotion > 20>> <<if $activeSlave.visualAge < 25>> <<if $activeSlave.boobs < 400>> <<if $activeSlave.weight <= 10>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen who prefers slaves that look like demure girls with their clothes on, and are willing to take cock up their pretty asspussies. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D trap lover">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.height > 185>> <<if $activeSlave.butt > 8>> <<if $activeSlave.buttImplant < 2>> <<if $activeSlave.weight > 10>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from an eccentric citizen notorious for keeping tall slaves with huge soft butts, just so he can bury himself between their cheeks when they're standing. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D butt bury">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick > 1>> <<if $activeSlave.balls == 1>> <<if $activeSlave.vagina > -1>> <<if $activeSlave.lactation > 0>> <<if $activeSlave.face > 0>> <<if $activeSlave.faceShape != "masculine">> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen with strong opinions on futas: he likes a feminine girl with a nice cock, a lovely pussy, no visible balls and yet the ability to get hard, and plentifully milky nipples. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D milky herm">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.ovaries == 1>> <<if $activeSlave.preg > -2>> <<if $activeSlave.muscles > 30>> <<if $activeSlave.weight <= 10>> <<if $activeSlave.height < 165>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen whose friends never let him hear the end of his incorrigibly romantic treatment of his apartment full of amazons. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D shorty breeder">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick == 0>> <<if $activeSlave.muscles > 30>> <<if $activeSlave.devotion > 20>> <<if $activeSlave.height > 180>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from an prominent citizen who keeps a large harem of lithe, muscular girls to bear him children. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D amazon hunter">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick > 0>> <<if $activeSlave.fetish is "buttslut">> <<if $activeSlave.visualAge < 25>> <<if $activeSlave.boobs < 400>> <<if $activeSlave.weight <= 10>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.35)/500)>>'' from a prominent citizen who prefers slaves that look like demure girls with their clothes on, and love taking cock up their pretty asspussies. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.35)/500)>> <<set $buyer to "D oral servants">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.vaginalSkill <= 10>> <<if $activeSlave.analSkill <= 10>> <<if $activeSlave.oralSkill <= 10>> <<if $activeSlave.whoreSkill <= 10>> <<if $activeSlave.entertainSkill <= 10>> <<if random(1,100) > 80>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.15)/500)>>'' from a prominent citizen who's a notoriously inexperienced lover; it's painfully obvious that he prefers inexperienced slaves as they make him feel less insecure. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.15)/500)>> <<set $buyer to "D r9k">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.weight > 10>> <<if $activeSlave.muscles > 5>> <<if $activeSlave.health > 60>> <<if $slaveCost < 10000>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a prominent citizen who takes unusually close interest in her health and muscle tone, and cannot quite hide his salivation as he does so. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "D cannibal">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSDegradationist is "unset">> <<if $activeSlave.intelligenceImplant == 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in educating slaves and reselling them at a profit. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "teaching trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSBodyPurist is "unset">> <<if $activeSlave.boobsImplant == 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in filling slaves with implants before resale. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "implanting trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSTransformationFetishist is "unset">> <<if $activeSlave.boobsImplant > 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in fixing slaves who have been surgically ruined with overimplantation. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "purifying trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSAssetExpansionist is "unset">> <<if $activeSlave.boobs > 600>> <<if $activeSlave.butt > 3>> <<if $activeSlave.weight > 10>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in slimming down fat slaves to appeal to buyers who prefer slim girls. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "slimming trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSSlimnessEnthusiast is "unset">> <<if $activeSlave.boobs < 600>> <<if $activeSlave.butt < 3>> <<if $activeSlave.weight < -10>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in improving slaves with disappointing assets; they prefer pharmaceutical means but are not averse to surgical intervention if necessary. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "broadening trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.boobs > 1000>> <<if $activeSlave.boobsImplant == 0>> <<if $activeSlave.lactation == 0>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in getting women ready to be dairy cows by using aggressive hormonal and pharmaceutical treatment to balloon their tits. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "cow trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalist is "unset">> <<if $activeSlave.balls > 0>> <<if $activeSlave.boobs < 500>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in feminizing imperfect shemales; an orchiectomy is invariably their first step. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "clipping trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist is "unset">> <<if $activeSlave.dick > 0>> <<if $slaveCost > 10000>> <<if random(1,100) > 60>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a slave trainer that specializes in creating proper slave women from raw material that falls short of that ideal but has potential anyway. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "reassignment trainer">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.boobs - $activeSlave.boobsImplant > 2000>> <<if $activeSlave.lactation > 1>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner working towards autarkic slave pastoralism. He's awed by her milk productivity. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "pastoralist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.devotion > 50>> <<if $activeSlave.intelligence > 1>> <<if $activeSlave.intelligenceImplant > 1>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner building a facsimile of ancient Egypt. He's in the market for wise and educated slaves willing to pass on their skills. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "egyptian revivalist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.combatSkill > 0>> <<if $activeSlave.health > 40>> <<if $activeSlave.muscles > 5>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner building a facsimile of classical Rome. He's in the market for slaves with basic combat skills to fight in modern gladiatorial combats. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "roman revivalist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.face > 0>> <<if $activeSlave.analCount < 100>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner with interesting religious beliefs, which require beautiful slaves to be available to the public. Since $activeSlave.slaveName is pretty and not heavily used, he considers it a duty to buy her and make her a holy prostitute. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "chattel religionist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.muscles > 5>> <<if $activeSlave.muscles <= 95>> <<if $activeSlave.health > 60>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner devoted to muscular ladies. He seems to feel that $activeSlave.slaveName is not at her true potential, and wants a try at improving her physique himself. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "physical idealist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.boobs > 1000>> <<if $activeSlave.boobsImplant == 0>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner who loves breast implants. Since large natural breasts can support larger implants, he seems to feel $activeSlave.slaveName has good potential to be implanted up to a truly gigantic size without too much stretching. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "transformation fetishist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.boobs > 800>> <<if $activeSlave.boobsImplant == 0>> <<if $activeSlave.physicalAge < 25>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner who never fails to dream big. He's interested in her mostly for growth potential, since her assets have grown so big, so young. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "asset expansionist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.boobs < 500>> <<if $activeSlave.butt < 3>> <<if $activeSlave.physicalAge < 25>> <<if $activeSlave.anus < 2>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner with simple tastes. He likes his slaves young, slim, and reasonably innocent. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "slimness enthusiast arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.boobsImplant > 0>> <<if $activeSlave.buttImplant > 0>> <<if $activeSlave.lipsImplant > 0>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner with a hatred of implants that reaches missionary zeal. He buys slaves full of silicone, removes their implants, reconditions them, and resells them whenever his finances will permit. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "body purist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.trust > 20>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner who runs a terrifyingly degrading society. He prefers slaves who have been well-treated previously; it lends their screams a certain special authenticity. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "degradationist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <<if $activeSlave.intelligenceImplant != 1>> <<if $activeSlave.devotion > 20>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner with an almost messianic calling to educate and improve slaves, though somewhat hypocritically, he prefers to start with reasonably obedient girls, which usually means slaves broken by someone else. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "paternalist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $activeSlave.dick == 0>> <<if $activeSlave.boobs > 800>> <<if $activeSlave.butt > 3>> <<if $activeSlave.devotion > 20>> <<if $activeSlave.intelligence < 0>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner who likes willing, uncomplicated young ladies with bouncing boobs and big butts. He's an uncomplicated sort. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "gender fundamentalist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick > 0>> <<if $activeSlave.face < 0>> <<if $activeSlave.boobs < 400>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner with a notorious fetish for the process of feminization. He prefers diamonds in the rough, because the process of polishing is so much fun. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "gender radicalist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.race != "mixed race">> <<if $activeSlave.devotion <= 20>> <<if $activeSlave.trust < 20>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner with a strongly held belief that $activeSlave.race people should not be slaves. He devotes as much of his resources as he can to manumission of such girls, concentrating on the downtrodden. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "supremacist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.race != "mixed race">> <<if $activeSlave.intelligence < -1>> <<if $activeSlave.ovaries == 1>> <<if random(1,100) > 70>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.25)/500)>>'' from a fellow arcology owner working on a project to breed a race of $activeSlave.race people with natural, unquestioning obedience. He clearly considers her good stock for the project. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.25)/500)>> <<set $buyer to "subjugationist arcology">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist is "unset">> <<if $slaveCost < 10000>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a cheap brothel chain that operates a franchise on a lower level of the arcology. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "cheap brothel">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist is "unset">> <<if $slaveCost < 20000>> <<if $activeSlave.boobsImplant == 0>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a factory farm notorious for extracting every drop of value from its slaves' bodies. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "factory farm">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist is "unset">> <<if $slaveCost < 5000>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a sex arcade that maintains good service quality by rapidly cycling new slaves through their facilities. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "arcade">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSPaternalist is "unset">> <<if $slaveCost < 10000>> <<if $activeSlave.health > 40>> <<if $activeSlave.ovaries == 1>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a high-volume breeding operation interested in her mostly for her healthy, functional womb. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "volume breeder">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSDegradationist is "unset">> <<if $slaveCost > 20000>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.1)/500)>>'' from a group of partners that run a handsome brothel off the promenade. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.1)/500)>> <<set $buyer to "nice brothel">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSDegradationist is "unset">> <<if $slaveCost < 50000>> <<if $activeSlave.boobsImplant == 0>> <<if $activeSlave.health > 40>> <<if random(1,100) > 50>> <br>''¤<<print 500*Math.trunc(($slaveCost*0.8)/500)>>'' from a free-range farm that pays for the high costs of high quality livestock care by aggressively marketing its cruelty-free products. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*0.8)/500)>> <<set $buyer to "free range">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.health > 40>> <<if $slaveCost < 5000>> <<if random(1,100) > 10>> <br>''¤<<print 500*Math.trunc(($slaveCost*1.2)/500)>>'' from an organ harvesting firm that acquires healthy raw materials cheaply. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1.2)/500)>> <<set $buyer to "harvester">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <<if $slaveCost < 5000>> <<if random(1,100) > 10>> <br>''¤<<print 500*Math.trunc(($slaveCost*1)/500)>>'' from a manufacturer of large sexual appliances that include a living inmate, drugged into helplessness. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*1)/500)>> <<set $buyer to "fuckdoll">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <<if $seeExtreme == 1>> <<if $slaveCost < 5000>> <<if $activeSlave.vagina > -1>> <<if $activeSlave.bellyImplant > 0>> <<if random(1,100) > 90>> <br>''¤7000'' from a porn director interested in a cheap slave with a belly implant for use in a snuff film. <<link "Accept bid">> <<set $cash += 7000>> <<set $buyer to "tentacle bred">> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if random(1,100) > 30>> <br>''¤<<print 500*Math.trunc(($slaveCost*0.9)/500)>>'' from a reputable slave trader who will likely ship her out of the arcology. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*0.9)/500)>> <<goto "Slave Sold">> <</link>> <</if>> <<if $activeSlave.fetish is "mindbroken">> <<if random(1,100) > 20>> <br>''¤<<print 500*Math.trunc(($slaveCost*0.9)/500)>>'' from a slave trader who buys vast numbers of mindbroken girls. His purpose is unknown, and none of them are ever seen again. <<link "Accept bid">> <<set $cash += 500*Math.trunc(($slaveCost*0.9)/500)>> <<goto "Slave Sold">> <</link>> <</if>> <</if>> <br> <br> <<link "Re-list her">> <<set $cash -= 500>> <<goto "Sell Slave">> <</link>> //This will cost ¤500// <</nobr>> <</if>>
r3d/fc
src/uncategorized/sellSlave.tw
tw
bsd-3-clause
65,040
:: Servants' Quarters <<nobr>> <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Servants' Quarters">> <<if $servantsQuartersName != "the Servants' Quarters">> <<set $servantsQuartersNameCaps to $servantsQuartersName.replace("the ", "The ")>> <</if>> <<set $servantsQuartersSlaves to 0>> <<set $notservantsQuartersSlaves to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].assignment is "work as a servant">> <<set $servantsQuartersSlaves++>> <<else>> <<set $notservantsQuartersSlaves++>> <</if>> <</for>> $servantsQuartersNameCaps <<switch $servantsQuartersDecoration>> <<case "Roman Revivalist">> are spartan, yet functional. At one end of the long dormitory there is an alcove with a shrine to the Roman goddess of domesticity. <<case "Egyptian Revivalist">> are utilitarian, yet warm and well-kept. At one end of the long dormitory there is an alcove with a shrine to the Egyptian goddess of servility. <<case "Edo Revivalist">> are spartan and functional. Fresh mats are laid across the floor every day, and the simple beds of blankets and wooden blocks are neatly stowed against the walls before sunrise. <<case "Arabian Revivalist">> are utilitarian, yet warm and well-kept. They are floored with beautifully patterned tile; there are channels for clean running water that make it easy to keep clean and fresh, so long as one is willing to bathe in the open. <<case "Chinese Revivalist">> are spartan, yet functional. At one end of the long dormitory there is an alcove with a shrine hosting a bronze statue of a watchful dragon. <<case "Chattel Religionist">> are spartan, yet functional. Servants here are expected to be clean and hardworking, and there is a penitents cell ready for them if they are not. <<case "Degradationist">> are severe and utilitarian. Servants sleep uncomfortably here, knowing that even on their meager bedrolls, they are fair game for abuse. <<case "Repopulation Focus">> are comfortable and well-kept. Though there is little privacy here, the servants are provided for. There's even a small rest area for them to rest their pregnant bodies between shifts. A closet contains specialized cleaning tools to accommodate their distended bodies. <<case "Eugenics">> are comfortable and well-kept. Though there is little privacy here, the servants are provided for. They are required to always be carrying prophylactics for other slaves and any low class citizens who require them. <<case "Asset Expansionist">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting slaves with gigantic breasts earnestly enjoying huge cocks. <<case "Transformation Fetishist">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting slaves with huge implants earnestly enjoying sex. <<case "Gender Radicalist">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting all sorts of slaves earnestly enjoying taking cocks up their anuses. <<case "Gender Fundamentalist">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting pretty female slaves being fucked by muscular men. <<case "Physical Idealist">> are comfortable and well-kept. There are softcore pictures on the walls, depicting gorgeously muscled, oiled-up men and women, flexing and posing for the camera. <<case "Supremacist">> are spartan, since that's all domestics from the inferior races need or deserve. There's a whipping post in the corner of the room so that whenever a slave is beaten, the rest must watch. <<case "Subjugationist">> are spartan, since that's all $arcologies[0].FSSubjugationistRace domestics need or deserve. There's a whipping post in the corner of the room so that whenever a slave is beaten, the rest must watch. <<case "Paternalist">> are comfortable and well-kept. Though there is little privacy here, the servants are provided for. There's even a small rest area for them to take their regular breaks in. <<case "Pastoralist">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting lactating slaves earnestly enjoying sex. The servants are provided with milk to drink. <<case "Maturity Preferentialist">> are comfortable, but functional. There are motivational posters on the walls featuring cheerful MILF servants, exhorting mature slaves to smile, serve, and get fucked like good girls. <<case "Youth Preferentialist">> are comfortable, but well equipped to corral wayward slaves. There are instructional screens in the common areas reviewing basic slave tasks like scrubbing a floor and giving head. <<case "Body Purist">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting gorgeous slaves earnestly enjoying sex. <<case "Slimness Enthusiast">> are comfortable and well-kept. There are pornographic pictures on the walls, depicting slender slaves earnestly enjoying sex. <<default>> are comfortable. Servants sleep together in a dormitory, eat together in a little kitchen, bathe together in a communal shower, and then head out into the penthouse to serve. <</switch>> <<if $servantsQuartersSlaves > 2>> $servantsQuartersNameCaps are busy with hurrying slaves. One shift of girls is eating, cleaning the quarters, and bathing. The second is sleeping, and the third is out in the penthouse cleaning and serving. <<elseif $servantsQuartersSlaves > 0>> A few slaves are working out of servants' quarters. They must split their scant time between looking after their own needs and the superior needs of everyone else. <<elseif $Stewardess != 0>> $Stewardess.slaveName is alone, and seems rather bereft without anyone to order around. <<else>> None of your slaves are working out of the servants' quarters. [[Decommission the quarters|Main][$servantsQuarters to 0, $servantsQuartersUpgradeMonitoring to 0, $servantsQuartersDecoration to "standard"]] <</if>> <br>$servantsQuartersNameCaps has room to keep $servantsQuarters slaves while they serve. [[Expand the servant's Quarters|Servants' Quarters][$cash -= Math.trunc($servantsQuarters*1000*$upgradeMultiplierArcology), $servantsQuarters += 5]] //Costs ¤<<print Math.trunc($servantsQuarters*1000*$upgradeMultiplierArcology)>>// <br> <<if $servantsQuartersUpgradeMonitoring == 1>> The quarters have been upgraded with enhanced monitoring systems to make the servants work harder, improving their obedience and efficiency. <<else>> The quarters are standard. [[Upgrade the monitoring systems to force harder work|Servants' Quarters][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $servantsQuartersUpgradeMonitoring to 1]] //Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>> and will increase upkeep costs// <</if>> <<if $servantMilkers == 1>> <br>Since servants spend most of their time in the penthouse, any who are lactating will use the ubiquitous milkers <</if>> <br><br> <<if $Stewardess != 0>> <<set $Flag to 2>> <<include "Slave Summary">> <<if canAchieveErection($Stewardess) && $Stewardess.pubertyXY == 1>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $stewardessImpregnates == 1>> Keeping the maids pregnant is part of her job. [[Order her to stop impregnating|Servants' Quarters][$stewardessImpregnates to 0]] <<else>> She could be directed to keep the maids pregnant herself. [[Order her to impregnate|Servants' Quarters][$stewardessImpregnates to 1]] <</if>> <</if>> <<else>> You do not have a slave serving as a Stewardess. [[Appoint one|Stewardess Select]] <</if>> <<if $servantsQuartersSlaves > 0>> <br><br>''Bring a slave out of $servantsQuartersName:'' <<set $Flag to 1>> <<include "Slave Summary">> <</if>> <<if $notservantsQuartersSlaves > 0>> <br><br>''Send a slave to work out of $servantsQuartersName:'' <<set $Flag to 0>> <<include "Slave Summary">> <</if>> <<unset $Flag>> <br><br>Rename $servantsQuartersName: <<textbox "$servantsQuartersName" $servantsQuartersName "Servants' Quarters">> //Use a noun or similar short phrase// <</nobr>>
r3d/fc
src/uncategorized/servantsQuarters.tw
tw
bsd-3-clause
8,043
:: Servants' Quarters Report [nobr] <<set $servantsQuartersSlaves = 0, $stewardessBonus = 0, _SQMilk = 0, _SQMilkSale = 0, _stewardessFetish = 0, _stewardessImpregnated = 0, _SL = $slaves.length, _SWD = -1>> <<if ($Stewardess != 0)>> <<for _SWD = 0; _SWD < _SL; _SWD++>> <<if $slaves[_SWD].ID == $Stewardess.ID>> <<break>> <</if>> <</for>> <</if>> <<if _SWD != -1>> <<set $i = _SWD>> <<silently>> <<include "SA long term effects">> <<include "SA relationships">> <<include "SA rivalries">> <</silently>> <<if ($slaves[_SWD].health < -80)>> <<set $slaves[_SWD].health += 20>> <<elseif ($slaves[_SWD].health < -40)>> <<set $slaves[_SWD].health += 15>> <<elseif ($slaves[_SWD].health < 0)>> <<set $slaves[_SWD].health += 10>> <<elseif ($slaves[_SWD].health < 90)>> <<set $slaves[_SWD].health += 7>> <</if>> <<if $slaves[_SWD].devotion <= 60>> <<set $slaves[_SWD].devotion += 1>> <</if>> <<if $servantsQuartersDecoration != "standard">> <<set $slaves[_SWD].devotion += 1>> <</if>> <<if $slaves[_SWD].trust < 60>> <<set $slaves[_SWD].trust += 1>> <</if>> <<if $slaves[_SWD].fetishStrength <= 95>> <<if $slaves[_SWD].fetish != "dom">> <<fetishChangeChance $slaves[_SWD]>> <<if $fetishChangeChance > random(0,100)>> <<set _stewardessFetish to 1, $slaves[_SWD].fetishKnown to 1, $slaves[_SWD].fetish to "dom">> <</if>> <<elseif $slaves[_SWD].fetishKnown == 0>> <<set _stewardessFetish to 1, $slaves[_SWD].fetishKnown to 1>> <<else>> <<set _stewardessFetish to 2, $slaves[_SWD].fetishStrength += 4>> <</if>> <</if>> <<set $Stewardess = $slaves[_SWD]>> <<if ($Stewardess.health >= 10) && ($Stewardess.health < 80)>> <<set $stewardessBonus += 50>> <<elseif ($Stewardess.health >= 80)>> <<set $stewardessBonus += 75>> <</if>> <<if $stewardessCareers.contains($Stewardess.career)>> <<set $stewardessBonus += 25>> <</if>> <<if ($Stewardess.actualAge > 35)>> <<set $stewardessBonus += 25>> <</if>> <<if ($Stewardess.intelligence > 0)>> <<set $stewardessBonus += 25*$Stewardess.intelligence>> <</if>> <</if>> <<set $servantMilkersMultiplier = 0.5>> <<for _i to 0; _i < _SL; _i++>> <<if ($slaves[_i].assignment != "work as a servant")>><<continue>><</if>> /* 000-250-006 */ /* <<if $seeImages == 1>><<SlaveArt $slaves[_i] 0 0>><</if>> */ <<if $seeImages == 1>> <div class="imageRef tinyImg"> <<SlaveArt $slaves[_i] 0 0>> </div> <</if>> /* 000-250-006 */ <<set $servantsQuartersSlaves++, $i = _i>> <<silently>> <<include "SA servant">> <<if ($servantMilkers == 1) && ($slaves[_i].lactation > 0)>> <<include "SA get milked">> <<set _SQMilk += $milk, _SQMilkSale += $milkSale>> <</if>> <<if ($stewardessImpregnates == 1) && ($Stewardess != 0)>> <<if $Stewardess.balls > 0 && $Stewardess.pubertyXY == 1>> <<if (canGetPregnant($slaves[_i])) && (canPenetrate($Stewardess)) && canBreed($slaves[_i], $Stewardess)>> <<set $slaves[_i].preg to 1, $slaves[_i].pregSource to $Stewardess.ID, _stewardessImpregnated += 1, $slaves[_i].vaginalCount += 10, $vaginalTotal += 10>> <</if>> <</if>> <</if>> <<include "SA long term effects">> <<include "SA relationships">> <<include "SA rivalries">> <</silently>> <<if ($slaves[_i].devotion <= 20) && ($slaves[_i].trust > -20)>> <<set $slaves[_i].devotion -= 5, $slaves[_i].trust -= 5>> <<elseif ($slaves[_i].devotion < 2)>> <<set $slaves[_i].devotion += 2>> <<elseif ($slaves[_i].devotion > 3)>> <<set $slaves[_i].devotion -= 2>> <</if>> <<if $servantsQuartersDecoration != "standard">> <<set $slaves[_i].devotion += 1>> <</if>> <<if ($slaves[_i].trust < -50)>> <<set $slaves[_i].trust += 2>> <<elseif ($slaves[_i].trust < -6)>> <<set $slaves[_i].trust += 1>> <</if>> <<if ($slaves[_i].health < -80)>> <<set $slaves[_i].health += 20>> <<elseif ($slaves[_i].health < -40)>> <<set $slaves[_i].health += 10>> <<elseif ($slaves[_i].health < 0)>> <<set $slaves[_i].health += 7>> <<elseif ($slaves[_i].health < 90)>> <<set $slaves[_i].health += 3>> <</if>> <<if ($Stewardess != 0)>> <<set $cash += $stewardessBonus>> <<if ($Stewardess.energy > 95) || (($Stewardess.fetishKnown == 1) && ($Stewardess.fetish is "dom"))>> <<if ($slaves[_i].devotion < 45)>><<set $slaves[_i].devotion += 5>><</if>> <</if>> <</if>> <</for>> <<set $servantMilkersMultiplier = 1>> <<if ($servantsQuartersSlaves > 0)>> <<if $seeImages == 1>><br style="clear:both" /><</if>> <<if ($servantsQuartersSlaves == 1)>> ''There is one slave working out of the servants' quarters.'' She works to @@color:yellowgreen;reduce@@ your household expenses; having a well-staffed house slightly @@color:green;increases@@ your reputation. <<else>> ''There are $servantsQuartersSlaves slaves working out of the servants' quarters.'' They work to @@color:yellowgreen;reduce@@ your household expenses; having a well-staffed house slightly @@color:green;increases@@ your reputation. <</if>> <<if _SQMilk > 0>> Since your lactating servants spend most of their time working in the penthouse, they use the milkers there, giving _SQMilk liters of milk over the week, which is sold for @@color:yellowgreen;¤_SQMilkSale.@@ <</if>> <<if ($Stewardess != 0)>> $Stewardess.slaveName is serving as your stewardess.<<if $Stewardess.relationship is -3>> She does her best to be your perfect housewife.<</if>> <<if _stewardessImpregnated > 0>> It's her responsibility to keep her charges pregnant, and <<if _stewardessImpregnated == 1>> she cums in the fertile one's pussy all week. <<else>> she ensures the _stewardessImpregnated fertile servants are full of her cum at all times. <</if>> <<set Tmult = (_stewardessImpregnated * 10), $slaves[_SWD].penetrativeCount += Tmult, $Stewardess.penetrativeCount += Tmult, $penetrativeTotal += Tmult>> <</if>> <<if _stewardessFetish == 1>> She's allowed and even expected to use her charges for her own gratification, and sometimes they'll even instigate submissive sex with her just to ingratiate themselves. She becomes comfortable with the role of a @@color:lightcoral;sexual dominant.@@ <<elseif _stewardessFetish == 2>> Having a legion of girls jumping to obey her daily commands @@color:lightsalmon;makes her more dominant.@@ <</if>> <<if ($Stewardess.health < 10)>> Though $Stewardess.slaveName tries to watch the servants, her lack of good health inhibits her. <<elseif ($Stewardess.health < 80)>> Her good health allows her to work long hours and @@color:yellowgreen;drive@@ the servants hard. <<else>> Her perfect health allows her to work exhaustive hours and @@color:yellowgreen;drive@@ the servants very hard. <</if>> <<if $stewardessCareers.contains($Stewardess.career)>> She has applicable experience with daily sums and organizational trifles from her life before she was a slave. <</if>> <<if ($Stewardess.actualAge > 35)>> Her age and experience give her added effectiveness. <</if>> <<if ($Stewardess.intelligence > 0)>> She's smart enough that she misses very little. <</if>> <<for _i to 0; _i < _SL; _i++>> <<if $slaves[_i].assignment != "work as a servant">><<continue>><</if>> <<if $familyTesting == 1>> <<if $slaves[_i].mother == $Stewardess.ID>> She pays special attention to her daughter, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].father == $Stewardess.ID>> She pays special attention to her daughter, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].ID == $Stewardess.father>> She pays special attention to her father, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].ID == $Stewardess.mother>> She pays special attention to her mother, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <</if>> <<if areSisters($slaves[_i], $Stewardess) == 1>> She pays special attention to her twin, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <<elseif areSisters($slaves[_i], $Stewardess) == 2>> She pays special attention to her sister, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <<elseif areSisters($slaves[_i], $Stewardess) == 3>> She pays special attention to her half-sister, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <</if>> <<else>> <<if $Stewardess.relationTarget is $slaves[_i].ID>> She pays special attention to her $slaves[_i].relation, $slaves[_i].slaveName, making sure she doesn't slack off just because they are related. <<set $slaves[_i].trust += 1>> <</if>> <</if>> /* closes family mode */ <<if $Stewardess.relationshipTarget is $slaves[_i].ID>> She dotes over her <<if $Stewardess.relationship == 1>>friend<<elseif $Stewardess.relationship is 2>>best friend<<elseif $Stewardess.relationship is 3>>friend with benefits<<elseif $Stewardess.relationship is 4>>lover<<elseif $Stewardess.relationship is 5>>slave wife<</if>>, $slaves[_i].slaveName, making sure she is knows how to do a good job and keeps her well stocked with everything she needs. <<set $slaves[_i].devotion += 1>> <</if>> <<if $Stewardess.rivalryTarget is $slaves[_i].ID>> She bears down on her <<if $Stewardess.rivalry == 1>>growing rival<<elseif $Stewardess.rivalry is 2>>rival<<elseif $Stewardess.rivalry is 3>>bitter rival<</if>>, $slaves[_i].slaveName, forcing her to work extra hard or suffer punishment. <<set $slaves[_i].devotion -= 1, $slaves[_i].trust -= 1>> <<if random(1,100) > 65>> <<set $Stewardess.rivalry += 1, $slaves[_SWD].rivalry += 1, $slaves[_i].rivalry += 1>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is a famed Free Cities whore, and commands top prices.">> She does her best to motivate the famous whore, $slaves[_i].slaveName, though she is uncertain why she is here. <</if>> <<if $slaves[_i].prestigeDesc is "She is a famed Free Cities slut, and can please anyone.">> She ignores her duties in order the fawn over the famous entertainer, $slaves[_i].slaveName. <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a cockmilker.">> $slaves[_i].slaveName leaves a trail of cum wherever she goes and frequently stops to masturbate, greatly annoying $Stewardess.slaveName. <<if random(1,100) > 90 && $Stewardess.rivalry == 0 && $slaves[_i].rivalry == 0>> <<set $Stewardess.rivalryTarget to $slaves[_i].ID, $Stewardess.rivalry += 1, $slaves[_SWD].rivalryTarget to $slaves[_i].ID, $slaves[_SWD].rivalry += 1>> <<set $slaves[_i].rivalryTarget to $Stewardess.ID, $slaves[_i].rivalry += 1>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a dairy cow.">> $slaves[_i].slaveName's huge breasts frequently get in the way of her work and she leaks milk everywhere, greatly annoying $Stewardess.slaveName. <<if random(1,100) > 90 and $Stewardess.rivalry == 0 and $slaves[_i].rivalry == 0>> <<set $Stewardess.rivalryTarget to $slaves[_i].ID, $Stewardess.rivalry += 1, $slaves[_SWD].rivalryTarget to $slaves[_i].ID, $slaves[_SWD].rivalry += 1>> <<set $slaves[_i].rivalryTarget to $Stewardess.ID, $slaves[_i].rivalry += 1>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a breeder." and $slaves[_i].preg > 20>> $slaves[_i].slaveName's big pregnant belly frequently gets in the way of her work. However, $Stewardess.slaveName is willing to overlook it, as well as allow her easy jobs, due to how valuable her womb is. <</if>> <</for>> <<if ($Stewardess.fetishKnown == 1)>> <<if ($Stewardess.fetish is "dom")>> She walks among the cowering servants as a queen among peasants, playing the role of dominant to perfection and increasing her charges' @@color:hotpink;obedience.@@ <</if>> <<elseif ($Stewardess.energy > 95)>> She walks among the cowering servants looking for an excuse to extract sex from shirkers as @@color:hotpink;punishment.@@ <</if>> <<if _stewardessImpregnated == 1>> The Societal Elite know you've ordered $Stewardess.slaveName to impregnate your maids. @@color:red;They are not amused by your disenterest in eugenics.@@ <<set $failedElite += 10>> <</if>> <</if>> <<set $repGain += $servantsQuartersSlaves*20>> <<if $servantsQuarters < $servantsQuartersSlaves>> <<set $servantsQuartersSpots to 0>> <<else>> <<set $servantsQuartersSpots to $servantsQuarters - $servantsQuartersSlaves>> <</if>> <<if $servantsQuartersDecoration != "standard">> $servantsQuartersNameCaps's $servantsQuartersDecoration atmosphere @@color:hotpink;has a minor impact on your servants.@@ <</if>> <<else>> ''$servantsQuartersNameCaps is empty.'' <<set $servantsQuartersSpots to $servantsQuarters>> <</if>> <br><br>
r3d/fc
src/uncategorized/servantsQuartersReport.tw
tw
bsd-3-clause
13,169
:: Siblings Workaround Your new pair of slaves look frightened and uncertain, but seem encouraged by each other's presence. <<AddSlave $activeSlave>> <<set _secondSlave to clone($activeSlave)>> <<unset $activeSlave>> <<NationalityToName _secondSlave>> <<NationalityToAccent _secondSlave>> <<set _secondSlave.ID to _secondSlave.ID + 1000>> <<set _secondSlave.devotion -= random(5,-5)>> <<set _secondSlave.oldDevotion to _secondSlave.devotion>> <<set _secondSlave.trust -= random(5,-5)>> <<set _secondSlave.oldTrust to _secondSlave.trust>> <<set _secondSlave.oldDevotion to _secondSlave.devotion>> <<set _secondSlave.actualAge -= random (1, 5)>> <<set _secondSlave.visualAge = _secondSlave.actualAge>> <<set _secondSlave.physicalAge = _secondSlave.actualAge>> <<set _secondSlave.attrXX += random(-20,20)>> <<set _secondSlave.attrXX = Math.clamp(_secondSlave.attrXX, 0, 100)>> <<set _secondSlave.attrXY += random(-20,20)>> <<set _secondSlave.attrXY = Math.clamp(_secondSlave.attrXY, 0, 100)>> <<set _secondSlave.energy += random(-20,20)>> <<set _secondSlave.fetishStrength to random(0,90)>> <<set _secondSlave.fetish to either("none", "none", "none", "none", "none", "none", "submissive", "cumslut", "humiliation", "buttslut", "pregnancy", "sadist", "dom", "masochist")>> <<set _secondSlave.behavioralFlaw to either("none", "none", "none", "arrogant", "bitchy", "odd", "hates men", "hates women", "hates women", "anorexic", "masochist", "gluttonous", "devout", "liberated")>> <<if (_secondSlave.behavioralFlaw is "devout")>> <<set _secondSlave.sexualFlaw to either("none", "repressed", "shamefast", "apathetic")>> <<else>> <<set _secondSlave.sexualFlaw to either("none", "none", "none", "none", "hates oral", "hates anal", "hates penetration", "repressed", "idealistic", "shamefast", "apathetic", "crude", "judgemental")>> <</if>> <<if $familyTesting == 0>> <<set _secondSlave.relation to "sister">> <<set _secondSlave.relationTarget to _secondSlave.ID - 1000>> <</if>> <<if _secondSlave.actualAge < $minimumSlaveAge>> <<set _secondSlave.actualAge to $minimumSlaveAge>> <<set _secondSlave.visualAge = _secondSlave.actualAge>> <<set _secondSlave.physicalAge = _secondSlave.actualAge>> <</if>> <<if _secondSlave.boobs > 200>> <<set _secondSlave.boobs += random (-100, 100)>> <</if>> <<if _secondSlave.butt > 1>> <<set _secondSlave.butt += random (-1, 1)>> <</if>> <<AddSlave _secondSlave>>
r3d/fc
src/uncategorized/siblingsWorkaround.tw
tw
bsd-3-clause
2,402
:: Slave Assignments Report [nobr] <<set $nextLink to "Economics", $nextButton to "Continue">> <<for _i to 0; _i < $slaves.length; _i++>> <<if ndef $slaves[_i].whoreSkill>> @@color:yellow;Reset bad whore skill for $slaves[_i].slaveName.@@ Report this as a bug if it reoccurs.<br> <<set $slaves[_i].whoreSkill to 0>> <</if>> <<if ndef $slaves[_i].entertainSkill>> @@color:yellow;Reset bad entertain skill for $slaves[_i].slaveName.@@ Report this as a bug if it reoccurs.<br> <<set $slaves[_i].entertainSkill to 0>> <</if>> <<if ndef $slaves[_i].vaginalSkill>> @@color:yellow;Reset bad vaginal skill for $slaves[_i].slaveName.@@ Report this as a bug if it reoccurs.<br> <<set $slaves[_i].vaginalSkill to 0>> <</if>> <<if ndef $slaves[_i].analSkill>> @@color:yellow;Reset bad anal skill for $slaves[_i].slaveName.@@ Report this as a bug if it reoccurs.<br> <<set $slaves[_i].analSkill to 0>> <</if>> <<if ndef $slaves[_i].oralSkill>> @@color:yellow;Reset bad skill for $slaves[_i].slaveName.@@ Report this as a bug if it reoccurs.<br> <<set $slaves[_i].oralSkill to 0>> <</if>> <<if ($seeDicks > 0) && ($slaves[_i].dick > 0) && ($slaves[_i].balls > 0) && ($slaves[_i].hormones <= 0) && ($slaves[_i].dickAccessory != ("chastity")) && ($slaves[_i].releaseRules != "restrictive")>> <<set $averageDick += $slaves[_i].dick, $slavesWithWorkingDicks++>> <</if>> <<switch $slaves[_i].assignment>> <<case "be your Head Girl">> <<set $HeadGirl to $slaves[_i]>> <<if $HeadGirl.fetish is "mindbroken">> ''__@@color:pink;$HeadGirl.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your head girl any more.@@<br> <<set $HeadGirl to 0>> <<elseif canTalk($HeadGirl) == false>> ''__@@color:pink;$HeadGirl.slaveName@@__'' can't give slaves verbal orders @@color:yellow;and cannot serve as your head girl any more.@@<br> <<set $HeadGirl to 0>> <<elseif canWalk($HeadGirl) != true>> ''__@@color:pink;$HeadGirl.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your head girl any more.@@<br> <<set $HeadGirl to 0>> <<elseif canSee($HeadGirl) != true>> ''__@@color:pink;$HeadGirl.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your head girl any more.@@<br> <<set $HeadGirl to 0>> <<elseif $HeadGirl.preg > 31 && $HeadGirl.pregType is 50>> ''__@@color:pink;$HeadGirl.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your head girl any longer@@. <<set $HeadGirl to 0>> <<elseif $HeadGirl.devotion <= 20>> ''__@@color:pink;$HeadGirl.slaveName@@__'' is no longer even accepting of you, @@color:yellow;and cannot serve as your head girl any more.@@<br> <<set $HeadGirl to 0>> <</if>> <<if $HeadGirl != 0>> <<set $HGEnergy++>> <<if $HeadGirl.balls > 0>> <<set $HGBalls to 1>> <</if>> <<if $arcologies[0].FSChineseRevivalistLaw == 1>> <<set $HGEnergy++>> <</if>> <<if $personalAttention is "HG">> <<if $HeadGirl.trust > 95>> <<set $HGEnergy += 2>> <<else>> <<set $HGEnergy++>> <</if>> <</if>> <<if canAchieveErection($HeadGirl)>> <<set $HGCum = 2+Math.trunc(($HeadGirl.balls/5)+($HeadGirl.energy/95)+($HeadGirl.health/95)+($HeadGirl.devotion/95))>> <</if>> <<else>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "live with your Head Girl">> <<if random(-30,20) <= $slaves[_i].devotion>> <<set $HGSlaveSuccess++, $HGEnergy++>> <<else>> <<set $HGSlaveSuccess-->> <</if>> <<case "recruit girls">> <<set $Recruiter to $slaves[_i]>> <<if $Recruiter.fetish is "mindbroken">> ''__@@color:pink;$Recruiter.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your recruiter any more.@@<br> <<set $Recruiter to 0>> <<elseif canTalk($Recruiter) == false>> ''__@@color:pink;$Recruiter.slaveName@@__'' can't verbally entice marks @@color:yellow;and cannot serve as your recruiter any more.@@<br> <<set $Recruiter to 0>> <<elseif $Recruiter.preg > 31 && $Recruiter.pregType is 50>> ''__@@color:pink;$Recruiter.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your recruiter any longer@@. <<set $Recruiter to 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <<elseif canWalk($Recruiter) != true>> ''__@@color:pink;$Recruiter.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your recruiter any more.@@<br> <<set $Recruiter to 0>> <<elseif canSee($Recruiter) != true>> ''__@@color:pink;$Recruiter.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your recruiter any more.@@<br> <<set $Recruiter to 0>> <</if>> <<if $Recruiter == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Madam">> <<set $Madam to $slaves[_i]>> <<if canTalk($Madam) == false>> ''__@@color:pink;$Madam.slaveName@@__'' can't give whores verbal orders @@color:yellow;and cannot serve as your Madam any more.@@<br> <<set $Madam to 0>> <<elseif $Madam.preg > 31 && $Madam.pregType is 50>> ''__@@color:pink;$Madam.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Madam any longer@@. <<set $Madam to 0>> <<elseif $Madam.fetish is "mindbroken">> ''__@@color:pink;$Madam.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your Madam any more.@@<br> <<set $Madam to 0>> <<elseif canWalk($Madam) != true>> ''__@@color:pink;$Madam.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your Madam any more.@@<br> <<set $Madam to 0>> <<elseif canSee($Madam) != true>> ''__@@color:pink;$Madam.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Madam any more.@@<br> <<set $Madam to 0>> <</if>> <<if $Madam == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the DJ">> <<set $DJ to $slaves[_i]>> <<if canTalk($DJ) == false>> ''__@@color:pink;$DJ.slaveName@@__'' can't speak @@color:yellow;and cannot serve as your DJ any more.@@<br> <<set $DJ to 0>> <<elseif $DJ.preg > 31 && $DJ.pregType is 50>> ''__@@color:pink;$DJ.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your DJ any longer@@. <<set $DJ to 0>> <<elseif $DJ.fetish is "mindbroken">> ''__@@color:pink;$DJ.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your DJ any more.@@<br> <<set $DJ to 0>> <<elseif canWalk($DJ) != true>> ''__@@color:pink;$DJ.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your DJ any more.@@<br> <<set $DJ to 0>> <</if>> <<if $DJ == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Milkmaid">> <<set $Milkmaid to $slaves[_i]>> <<if $Milkmaid.fetish is "mindbroken">> ''__@@color:pink;$Milkmaid.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your Milkmaid any more.@@<br> <<set $Milkmaid to 0>> <<elseif $Milkmaid.preg > 31 && $Milkmaid.pregType is 50>> ''__@@color:pink;$Milkmaid.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Milkmaid any longer@@. <<set $Milkmaid to 0>> <<elseif canWalk($Milkmaid) != true>> ''__@@color:pink;$Milkmaid.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your Milkmaid any more.@@<br> <<set $Milkmaid to 0>> <<elseif canSee($Milkmaid) != true>> ''__@@color:pink;$Milkmaid.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Milkmaid any more.@@<br> <<set $Milkmaid to 0>> <</if>> <<if $Milkmaid == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Stewardess">> <<set $Stewardess to $slaves[_i]>> <<if canTalk($Stewardess) == false>> ''__@@color:pink;$Stewardess.slaveName@@__'' can't give servants verbal orders @@color:yellow;and cannot serve as your Stewardess any more.@@<br> <<set $Stewardess to 0>> <<elseif $Stewardess.preg > 31 && $Stewardess.pregType is 50>> ''__@@color:pink;$Stewardess.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Stewardess any longer@@. <<set $Stewardess to 0>> <<elseif $Stewardess.fetish is "mindbroken">> ''__@@color:pink;$Stewardess.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your Stewardess any more.@@<br> <<set $Stewardess to 0>> <<elseif canWalk($Stewardess) != true>> ''__@@color:pink;$Stewardess.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your Stewardess any more.@@<br> <<set $Stewardess to 0>> <<elseif canSee($Stewardess) != true>> ''__@@color:pink;$Stewardess.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Stewardess any more.@@<br> <<set $Stewardess to 0>> <</if>> <<if $Stewardess == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Schoolteacher">> <<set $Schoolteacher to $slaves[_i]>> <<if canTalk($Schoolteacher) == false>> ''__@@color:pink;$Schoolteacher.slaveName@@__'' can't give verbal instruction @@color:yellow;and cannot serve as your Schoolteacher any more.@@<br> <<set $Schoolteacher to 0>> <<elseif $Schoolteacher.preg > 31 && $Schoolteacher.pregType is 50>> ''__@@color:pink;$Schoolteacher.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Schoolteacher any longer@@. <<set $Schoolteacher to 0>> <<elseif $Schoolteacher.fetish is "mindbroken">> ''__@@color:pink;$Schoolteacher.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your Schoolteacher any more.@@<br> <<set $Schoolteacher to 0>> <<elseif canSee($Schoolteacher) != true>> ''__@@color:pink;$Schoolteacher.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Schoolteacher any more.@@<br> <<set $Schoolteacher to 0>> <</if>> <<if $Schoolteacher == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Wardeness">> <<set $Wardeness to $slaves[_i]>> <<if canWalk($Wardeness) != true>> ''__@@color:pink;$Wardeness.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your Wardeness any more.@@<br> <<set $Wardeness to 0>> <<elseif $Wardeness.preg > 31 && $Wardeness.pregType is 50>> ''__@@color:pink;$Wardeness.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Wardeness any longer@@. <<set $Wardeness to 0>> <<elseif canSee($Wardeness) != true>> ''__@@color:pink;$Wardeness.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Wardeness any more.@@<br> <<set $Wardeness to 0>> <</if>> <<if $Wardeness == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Attendant">> <<set $Attendant to $slaves[_i]>> <<if $Attendant.fetish is "mindbroken">> ''__@@color:pink;$Attendant.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your Attendant any more.@@<br> <<set $Attendant to 0>> <<elseif $Attendant.preg > 31 && $Attendant.pregType is 50>> ''__@@color:pink;$Attendant.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Attendant any longer@@. <<set $Attendant to 0>> <<elseif canWalk($Attendant) != true>> ''__@@color:pink;$Attendant.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your Attendant any more.@@<br> <<set $Attendant to 0>> <</if>> <<if $Attendant == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be the Nurse">> <<set $Nurse to $slaves[_i]>> <<if $Nurse.fetish is "mindbroken">> ''__@@color:pink;$Nurse.slaveName@@__'' is mindbroken @@color:yellow;and cannot serve as your Nurse any more.@@<br> <<set $Nurse to 0>> <<elseif $Nurse.preg > 31 && $Nurse.pregType is 50>> ''__@@color:pink;$Nurse.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your Nurse any longer@@. <<set $Nurse to 0>> <<elseif canWalk($Nurse) != true>> ''__@@color:pink;$Nurse.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your Nurse any more.@@<br> <<set $Nurse to 0>> <<elseif canSee($Nurse) != true>> ''__@@color:pink;$Nurse.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Nurse any more.@@<br> <<set $Nurse to 0>> <</if>> <<if $Nurse == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "guard you">> <<set $Bodyguard to $slaves[_i]>> <<if canWalk($Bodyguard) != true>> ''__@@color:pink;$Bodyguard.slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot serve as your bodyguard any more.@@<br> <<set $Bodyguard to 0>> <<elseif $Bodyguard.preg > 31 && $Bodyguard.pregType is 50>> ''__@@color:pink;$Bodyguard.slaveName@@__'' spends so much time giving birth and laboring that @@color:yellow;she cannot effectively serve as your bodyguard any longer@@. <<set $Bodyguard to 0>> <<elseif canSee($Bodyguard) != true>> ''__@@color:pink;$Bodyguard.slaveName@@__'' can no longer see @@color:yellow;and cannot serve as your Bodyguard any more.@@<br> <<set $Bodyguard to 0>> <</if>> <<if $Bodyguard == 0>> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1>> <</if>> <<case "be your Concubine">> <<set $Concubine to $slaves[_i], $fuckSlaves++>> <<case "serve in the master suite" "please you">> <<set $fuckSlaves++>> <</switch>> <<if $Lurcher>> <<if $slaves[_i].ID is $Lurcher.ID>> <<set $Lurcher to $slaves[_i]>> <<if canWalk($Lurcher) != true>> ''__@@color:pink;$Lurcher.slaveName@@__'' is no longer able to run @@color:yellow;and cannot course as a lurcher.@@<br> <<set $Lurcher to 0>> <<elseif $Lurcher.preg > 31 && $Lurcher.pregType >= 10>> ''__@@color:pink;$Lurcher.slaveName@@__'' is too pregnant to run @@color:yellow;and cannot course as a lurcher.@@ <<set $Lurcher to 0>> <</if>> <</if>> <</if>> <<if $fighterIDs.contains($slaves[_i])>> <<if canWalk($slaves[_i]) != true>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is no longer independently mobile @@color:yellow;and cannot fight any more.@@ She has been removed from $pitName roster<br>. <<for _k to 0; _k < $fighterIDs.length; _k++>> <<if $slaves[_i].ID == $fighterIDs[_k]>> <<set $dump to $fighterIDs.pluck([_k],[_k])>> <<set _k-->> <</if>> <</for>> <</if>> <</if>> <<if $slaves[_i].origin>> <<set $toSearch to $slaves[_i].origin>> <<if $toSearch.indexOf("Slave Shelter") != -1>> <<set $shelterGirlsIDs.push($slaves[_i].ID)>> <</if>> <</if>> <<if $slaves[_i].bellyPain != 0>> <<set $slaves[_i].bellyPain = 0>> <</if>> /* preg speed control changes*/ <<if $slaves[_i].preg > 0>> <<if $slaves[_i].pregControl == "slow gestation">> <<set $slaves[_i].preg += 0.5>> <<elseif $slaves[_i].pregControl == "speed up">> <<set $slaves[_i].preg += 2>> <<else>> <<set $slaves[_i].preg++>> <</if>> <</if>> /* end of preg speed control changes*/ <<if ($slaves[_i].scars == 3)>> <<set $slaves[_i].scarheal += 1>> <</if>> <</for>> <<if $averageDick > 0>><<set $averageDick to $averageDick/$slavesWithWorkingDicks>><</if>> <<set $freeSexualEnergy = $PC.sexualEnergy-$fuckSlaves>> <<if $freeSexualEnergy > 0>> <<if $freeSexualEnergy > $slavesVisible/2>> <<set $freeSexualEnergy = 3>> <<elseif $freeSexualEnergy > $slavesVisible/4>> <<set $freeSexualEnergy = 2>> <<else>> <<set $freeSexualEnergy = 1>> <</if>> <</if>> /* Accordion 000-250-006 */ <<if ($brothel > 0)>> <<if $useAccordion eq 1>> <button class="passage-brothel-report accordion">''$brothelNameCaps Report''</button> <<else>> ''$brothelNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Brothel Report" "div">> <</if>> <<if ($club > 0)>> <<if $useAccordion eq 1>> <button class="passage-club-report accordion">''$clubNameCaps Report''</button> <<else>> ''$clubNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Club Report" "div">> <</if>> <<if ($arcade > 0)>> <<if $useAccordion eq 1>> <button class="passage-arcade-report accordion">''$arcadeNameCaps Report''</button> <<else>> ''$arcadeNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Arcade Report" "div">> <</if>> <<if ($dairy > 0)>> <<if $useAccordion eq 1>> <button class="passage-dairy-report accordion">''$dairyNameCaps Report''</button> <<else>> ''$dairyNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Dairy Report" "div">> <</if>> <<if ($servantsQuarters > 0)>> <<if $useAccordion eq 0>> <button class="passage-servants-quarters-report accordion">''$servantsQuartersNameCaps Quarters Report''</button> <<else>> ''$servantsQuartersNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Servants' Quarters Report" "div">> <</if>> <<if ($schoolroom > 0)>> <<if $useAccordion eq 0>> <button class="passage-schoolroom-report accordion">''$schoolroomNameCaps Report''</button> <<else>> ''$schoolroomNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Schoolroom Report" "div">> <</if>> <<if ($spa > 0)>> <<if $useAccordion eq 0>> <button class="passage-spa-report accordion">''$spaNameCaps Report''</button> <<else>> ''$spaNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Spa Report" "div">> <</if>> <<if ($clinic > 0)>> <<if $useAccordion eq 0>> <button class="passage-clinic-report accordion">''$clinicNameCaps Report''</button> <<else>> ''$clinicNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Clinic Report" "div">> <</if>> <<if ($cellblock > 0)>> <<if $useAccordion eq 0>> <button class="passage-cellblock-report accordion">''$cellblockNameCaps Report''</button> <<else>> ''$cellblockNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Cellblock Report" "div">> <</if>> <<if ($incubator > 0)>> <<if $useAccordion == 1>> <button class="passage-incubator-report accordion">''$incubatorNameCaps Report''</button> <<else>> ''$incubatorNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Incubator Report" "div">> <</if>> <<if ($masterSuite > 0)>> <<if $useAccordion eq 0>> <button class="passage-master-suite-report accordion">''$masterSuiteNameCaps Report''</button> <<else>> ''$masterSuiteNameCaps Report'' <hr style="margin:0"> <</if>> <<include "Master Suite Report" "div">> <</if>> <br /> <br /> /* Accordion 000-250-006 */ <<if $slavesVisible > 0>> __''Penthouse Report''__<br> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].assignmentVisible == 1>> <<if $slaves[$i].assignment is "be your Head Girl">> <<include "Full Report">> <<set _iTemp to $i>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].assignment is "live with your Head Girl">> <<set $HGRelease to 1>> <br><br><<include "SA live with HG">> <<break>> <</if>> <</for>> <<set $i to _iTemp>> <<else>> <<include "Full Report">> <</if>> <<if ($rulesAssistantAuto == 1)>> <<if ($slaves[$i].useRulesAssistant == 1)>> <<set _rulesapplied to false>> <<for _r to 0; _r < $defaultRules.length; _r++>> <<if ($slaves[$i].assignmentVisible == 1) || ruleAppliedToSlaveFacility($defaultRules[_r], $slaves[$i])>> <<set _rulesapplied to true>> <<break>> <</if>> <</for>> <<if (_rulesapplied == true)>> <<set $activeSlave to $slaves[$i]>> <<include "Check Auto Rules Activate">> <<include "Default Rules">> <<set $slaves[$i] to $activeSlave>> <</if>> <</if>> <</if>> <br><br> <<else>> <<if ($rulesAssistantAuto == 1)>> <<if ($slaves[$i].useRulesAssistant == 1)>> <<set _rulesapplied to false>> <<for _r to 0; _r < $defaultRules.length; _r++>> <<if ($slaves[$i].assignmentVisible == 1) || ruleAppliedToSlaveFacility($defaultRules[_r], $slaves[$i])>> <<set _rulesapplied to true>> <<break>> <</if>> <</for>> <<if (_rulesapplied == true)>> <<set $activeSlave to $slaves[$i]>> <<include "Check Auto Rules Activate">> <<include "Default Rules">> <<set $slaves[$i] to $activeSlave>> <</if>> <</if>> <</if>> <</if>> <</for>> <</if>>
r3d/fc
src/uncategorized/slaveAssignmentsReport.tw
tw
bsd-3-clause
20,952
:: slave generation widgets [nobr widget] <<widget "NationalityToRace">> <<switch $args[0].nationality>> <<case "American">> <<set $args[0].race to either("black", "middle eastern", "white", "white", "white", "latina", "latina", "asian", "amerindian", "mixed race")>> <<case "Canadian">> <<set $args[0].race to either("white", "white", "white", "white", "amerindian")>> <<case "Puerto Rican">> <<set $args[0].race to either("latina")>> <<case "Cuban">> <<set $args[0].race to either("latina", "black")>> <<case "Haitian">> <<set $args[0].race to either("black")>> <<case "Jamaican">> <<set $args[0].race to either("black")>> <<case "Mexican">> <<set $args[0].race to either("latina", "latina", "latina", "latina", "latina", "amerindian")>> <<case "Dominican">> <<set $args[0].race to either("mixed race", "mixed race", "mixed race", "mixed race", "mixed race", "mixed race", "mixed race", "white", "white", "black")>> <<case "Peruvian">> <<set $args[0].race to either("latina", "amerindian")>> <<case "Venezuelan">> <<set $args[0].race to either("latina")>> <<case "Bolivian">> <<set $args[0].race to either("latina", "amerindian")>> <<case "Guatemalan">> <<set $args[0].race to either("latina", "amerindian")>> <<case "Brazilian">> <<set $args[0].race to either("black", "latina", "mixed race", "mixed race", "amerindian", "white", "white", "asian")>> <<case "Argentinian">> <<set $args[0].race to either("white", "latina", "latina")>> <<case "Chilean">> <<set $args[0].race to either("white", "latina", "latina", "latina")>> <<case "Colombian">> <<set $args[0].race to either("latina")>> <<case "Egyptian">> <<set $args[0].race to either("black", "middle eastern", "middle eastern", "middle eastern", "semitic")>> <<case "Turkish">> <<set $args[0].race to either("middle eastern", "middle eastern", "middle eastern", "semitic")>> <<case "Iranian">> <<set $args[0].race to either("indo-aryan", "indo-aryan", "indo-aryan", "semitic")>> <<case "Armenian">> <<set $args[0].race to either("indo-aryan", "semitic")>> <<case "Israeli">> <<set $args[0].race to either("white", "middle eastern", "semitic", "semitic")>> <<case "Saudi">> <<set $args[0].race to either("black", "asian", "middle eastern", "middle eastern")>> <<case "Moroccan">> <<set $args[0].race to either("middle eastern", "middle eastern", "black")>> <<case "Nigerian">> <<set $args[0].race to either("black")>> <<case "Kenyan">> <<set $args[0].race to either("black")>> <<case "Zimbabwean">> <<set $args[0].race to either("black", "black", "black", "black", "white")>> <<case "Ugandan">> <<set $args[0].race to either("black")>> <<case "Tanzanian">> <<set $args[0].race to either("black", "black", "black", "semitic")>> <<case "Ghanan">> <<set $args[0].race to either("black", "black", "black", "semitic")>> <<case "Congolese">> <<set $args[0].race to either("black")>> <<case "Ethiopian">> <<set $args[0].race to either("black", "black", "black", "middle eastern", "semitic")>> <<case "South African">> <<set $args[0].race to either("black", "black", "black", "white")>> <<case "Chinese">> <<set $args[0].race to either("asian")>> <<case "Korean">> <<set $args[0].race to either("asian")>> <<case "Japanese">> <<set $args[0].race to either("asian")>> <<case "Thai">> <<set $args[0].race to either("asian", "asian", "malay")>> <<case "Vietnamese">> <<set $args[0].race to either("asian")>> <<case "Indonesian">> <<set $args[0].race to either("asian", "malay", "malay", "pacific islander")>> <<case "Filipina">> <<set $args[0].race to either("asian", "malay", "malay", "pacific islander")>> <<case "Burmese">> <<set $args[0].race to either("asian", "asian", "indo-aryan")>> <<case "Nepalese">> <<set $args[0].race to either("asian", "asian", "indo-aryan")>> <<case "Uzbek">> <<set $args[0].race to either("asian")>> <<case "Afghan">> <<set $args[0].race to either("indo-aryan", "middle eastern")>> <<case "Algerian">> <<set $args[0].race to either("middle eastern")>> <<case "Libyan">> <<set $args[0].race to either("middle eastern")>> <<case "Tunisian">> <<set $args[0].race to either("middle eastern")>> <<case "Lebanese">> <<set $args[0].race to either("middle eastern", "semitic")>> <<case "Jordanian">> <<set $args[0].race to either("middle eastern", "semitic")>> <<case "Emirati">> <<set $args[0].race to either("middle eastern", "indo-aryan")>> <<case "Omani">> <<set $args[0].race to either("middle eastern", "indo-aryan")>> <<case "Malian">> <<set $args[0].race to either("black", "black", "black", "black", "black", "middle eastern")>> <<case "Sudanese">> <<set $args[0].race to either("black", "black", "black", "middle eastern")>> <<case "Yemeni">> <<set $args[0].race to either("black", "semitic", "middle eastern", "middle eastern", "middle eastern")>> <<case "Iraqi">> <<set $args[0].race to either("semitic", "middle eastern", "middle eastern", "middle eastern", "middle eastern")>> <<case "Indian">> <<set $args[0].race to either("indo-aryan")>> <<case "Malaysian">> <<set $args[0].race to either("asian", "malay", "malay", "malay")>> <<case "Kazakh">> <<set $args[0].race to either("asian", "asian", "asian", "semitic", "indo-aryan")>> <<case "Pakistani">> <<set $args[0].race to either("indo-aryan", "indo-aryan", "indo-aryan", "semitic")>> <<case "Bangladeshi">> <<set $args[0].race to either("indo-aryan")>> <<case "Belarusian">> <<set $args[0].race to either("white")>> <<case "Russian">> <<set $args[0].race to either("white")>> <<case "Ukrainian">> <<set $args[0].race to either("white")>> <<case "Irish">> <<set $args[0].race to either("white")>> <<case "Icelandic">> <<set $args[0].race to either("white")>> <<case "Finnish">> <<set $args[0].race to either("white")>> <<case "Swiss">> <<set $args[0].race to either("white")>> <<case "Danish">> <<set $args[0].race to either("white")>> <<case "Norwegian">> <<set $args[0].race to either("white")>> <<case "Austrian">> <<set $args[0].race to either("white")>> <<case "Slovak">> <<set $args[0].race to either("white", "white", "white", "white", "indo-aryan")>> <<case "Dutch">> <<set $args[0].race to either("white")>> <<case "Belgian">> <<set $args[0].race to either("white")>> <<case "Czech">> <<set $args[0].race to either("white")>> <<case "Serbian">> <<set $args[0].race to either("white")>> <<case "Portuguese">> <<set $args[0].race to either("white")>> <<case "Hungarian">> <<set $args[0].race to either("white", "white", "white", "white", "indo-aryan")>> <<case "Estonian">> <<set $args[0].race to either("white")>> <<case "Polish">> <<set $args[0].race to either("white")>> <<case "Lithuanian">> <<set $args[0].race to either("white")>> <<case "Romanian">> <<set $args[0].race to either("semitic", "white", "white", "white", "white", "indo-aryan")>> <<case "German">> <<set $args[0].race to either("black", "middle eastern", "white", "white", "white", "white", "white", "white")>> <<case "Swedish">> <<set $args[0].race to either("middle eastern", "white", "white", "white", "white")>> <<case "French">> <<set $args[0].race to either("black", "middle eastern", "white", "white", "white", "white", "white", "southern European")>> <<case "Italian">> <<set $args[0].race to either("middle eastern", "southern European", "southern European", "white", "white")>> <<case "Greek">> <<set $args[0].race to either("southern European")>> <<case "Spanish">> <<set $args[0].race to either("semitic", "southern European", "southern European")>> <<case "British">> <<set $args[0].race to either("indo-aryan", "white", "white", "white", "white", "white", "white", "white", "white", "white")>> <<case "Scottish">> <<set $args[0].race to either("middle eastern", "indo-aryan", "white", "white", "white", "white", "white", "white", "white")>> <<case "Australian">> <<set $args[0].race to either("white", "white", "black", "asian")>> <<case "a New Zealander">> <<set $args[0].race to either("white", "white", "white", "white", "pacific islander")>> <<default>> <<set $args[0].race to either("white")>> <</switch>> /% Begin mixed race rate adjustment. %/ /% Some countries are extremely ethnically homogeneous and unlikely to change soon. %/ <<if ($args[0].nationality is "Japanese")>> <<if random(1,100) > 98>> <<set $args[0].race to "mixed race">> <</if>> <<elseif ($args[0].nationality is "Korean")>> <<if random(1,100) > 95>> <<set $args[0].race to "mixed race">> <</if>> <<elseif ($args[0].nationality is "Polish") or ($args[0].nationality is "Romanian") or ($args[0].nationality is "Bulgarian") or ($args[0].nationality is "Lithuanian") or ($args[0].nationality is "Croatian")>> /% Croatia isn't an origin currently but the game might add it in the future. %/ <<if random(1,100) > 98>> <<set $args[0].race to "mixed race">> <</if>> <<elseif random(1,100) > 90>> /% Default rate. %/ <<set $args[0].race to "mixed race">> <</if>> /% End mixed race rate adjustment. %/ <</widget>> <<widget "NationalityToName">> <<switch $args[0].nationality>> <<case "American">> <<if $args[0].race is "black">> <<set $args[0].birthName to $africanAmericanSlaveNames.random()>> <<elseif $args[0].race is "latina">> <<set $args[0].birthName to $latinaSlaveNames.random()>> <<elseif $args[0].race is "asian">> <<set $args[0].birthName to $asianAmericanSlaveNames.random()>> <<elseif $args[0].race is "middle eastern">> <<set $args[0].birthName to $egyptianSlaveNames.random()>> <<else>> <<set $args[0].birthName to $whiteAmericanSlaveNames.random()>> <</if>> <<case "Canadian">> <<set $args[0].birthName to $canadianSlaveNames.random()>> <<case "Mexican">> <<set $args[0].birthName to $mexicanSlaveNames.random()>> <<case "Dominican">> <<set $args[0].birthName to $dominicanSlaveNames.random()>> <<case "Puerto Rican">> <<set $args[0].birthName to $puertoRicanSlaveNames.random()>> <<case "Haitian">> <<set $args[0].birthName to $haitianSlaveNames.random()>> <<case "Jamaican">> <<set $args[0].birthName to $jamaicanSlaveNames.random()>> <<case "Cuban">> <<set $args[0].birthName to $cubanSlaveNames.random()>> <<case "Guatemalan">> <<set $args[0].birthName to $guatemalanSlaveNames.random()>> <<case "Chilean">> <<set $args[0].birthName to $chileanSlaveNames.random()>> <<case "Peruvian">> <<set $args[0].birthName to $peruvianSlaveNames.random()>> <<case "Bolivian">> <<set $args[0].birthName to $bolivianSlaveNames.random()>> <<case "Venezuelan">> <<set $args[0].birthName to $venezuelanSlaveNames.random()>> <<case "Belarusian">> <<set $args[0].birthName to $belarusianSlaveNames.random()>> <<case "Russian">> <<set $args[0].birthName to $russianSlaveNames.random()>> <<case "Ukrainian">> <<set $args[0].birthName to $ukrainianSlaveNames.random()>> <<case "Italian">> <<set $args[0].birthName to $italianSlaveNames.random()>> <<case "Spanish">> <<set $args[0].birthName to $spanishSlaveNames.random()>> <<case "British">> <<set $args[0].birthName to $britishSlaveNames.random()>> <<case "Scottish">> <<set $args[0].birthName to $scottishSlaveNames.random()>> <<case "French">> <<set $args[0].birthName to $frenchSlaveNames.random()>> <<case "German">> <<set $args[0].birthName to $germanSlaveNames.random()>> <<case "Lithuanian">> <<set $args[0].birthName to $lithuanianSlaveNames.random()>> <<case "Norwegian">> <<set $args[0].birthName to $norwegianSlaveNames.random()>> <<case "Slovak">> <<set $args[0].birthName to $slovakSlaveNames.random()>> <<case "Danish">> <<set $args[0].birthName to $danishSlaveNames.random()>> <<case "Dutch">> <<set $args[0].birthName to $dutchSlaveNames.random()>> <<case "Austrian">> <<set $args[0].birthName to $austrianSlaveNames.random()>> <<case "Swiss">> <<set $args[0].birthName to $swissSlaveNames.random()>> <<case "Serbian">> <<set $args[0].birthName to $serbianSlaveNames.random()>> <<case "Belgian">> <<set $args[0].birthName to $belgianSlaveNames.random()>> <<case "Czech">> <<set $args[0].birthName to $czechSlaveNames.random()>> <<case "Portuguese">> <<set $args[0].birthName to $portugueseSlaveNames.random()>> <<case "Swedish">> <<set $args[0].birthName to $swedishSlaveNames.random()>> <<case "Romanian">> <<set $args[0].birthName to $romanianSlaveNames.random()>> <<case "Hungarian">> <<set $args[0].birthName to $hungarianSlaveNames.random()>> <<case "Estonian">> <<set $args[0].birthName to $estonianSlaveNames.random()>> <<case "Irish">> <<set $args[0].birthName to $irishSlaveNames.random()>> <<case "Icelandic">> <<set $args[0].birthName to $icelandicSlaveNames.random()>> <<case "Finnish">> <<set $args[0].birthName to $finnishSlaveNames.random()>> <<case "Greek">> <<set $args[0].birthName to $greekSlaveNames.random()>> <<case "Polish">> <<set $args[0].birthName to $polishSlaveNames.random()>> <<case "Brazilian">> <<set $args[0].birthName to $brazilianSlaveNames.random()>> <<case "Egyptian">> <<set $args[0].birthName to $egyptianSlaveNames.random()>> <<case "Colombian">> <<set $args[0].birthName to $colombianSlaveNames.random()>> <<case "Argentinian">> <<set $args[0].birthName to $argentinianSlaveNames.random()>> <<case "Turkish">> <<set $args[0].birthName to $turkishSlaveNames.random()>> <<case "Iranian">> <<set $args[0].birthName to $iranianSlaveNames.random()>> <<case "Armenian">> <<set $args[0].birthName to $armenianSlaveNames.random()>> <<case "Israeli">> <<set $args[0].birthName to $israeliSlaveNames.random()>> <<case "Saudi">> <<set $args[0].birthName to $saudiSlaveNames.random()>> <<case "South African">> <<if $args[0].race is "black">> <<set $args[0].birthName to $blackSouthAfricanSlaveNames.random()>> <<else>> <<set $args[0].birthName to $whiteSouthAfricanSlaveNames.random()>> <</if>> <<case "Nigerian">> <<set $args[0].birthName to $nigerianSlaveNames.random()>> <<case "Congolese">> <<set $args[0].birthName to $congoleseSlaveNames.random()>> <<case "Kenyan">> <<set $args[0].birthName to $kenyanSlaveNames.random()>> <<case "Tanzanian">> <<set $args[0].birthName to $tanzanianSlaveNames.random()>> <<case "Zimbabwean">> <<if $args[0].race == "white">> <<set $args[0].birthName to $britishSlaveNames.random()>> <<else>> <<set $args[0].birthName to $zimbabweanSlaveNames.random()>> <</if>> <<case "Ghanan">> <<set $args[0].birthName to $ghananSlaveNames.random()>> <<case "Ugandan">> <<set $args[0].birthName to $ugandanSlaveNames.random()>> <<case "Ethiopian">> <<set $args[0].birthName to $ethiopianSlaveNames.random()>> <<case "Moroccan">> <<set $args[0].birthName to $moroccanSlaveNames.random()>> <<case "Chinese">> <<set $args[0].birthName to $chineseSlaveNames.random()>> <<case "Korean">> <<set $args[0].birthName to $koreanSlaveNames.random()>> <<case "Thai">> <<set $args[0].birthName to $thaiSlaveNames.random()>> <<case "Vietnamese">> <<set $args[0].birthName to $vietnameseSlaveNames.random()>> <<case "Japanese">> <<set $args[0].birthName to $japaneseSlaveNames.random()>> <<case "Indonesian">> <<set $args[0].birthName to $indonesianSlaveNames.random()>> <<case "Filipina">> <<set $args[0].birthName to $filipinaSlaveNames.random()>> <<case "Bangladeshi">> <<set $args[0].birthName to $bangladeshiSlaveNames.random()>> <<case "Malaysian">> <<set $args[0].birthName to $malaysianSlaveNames.random()>> <<case "Uzbek">> <<set $args[0].birthName to $uzbekSlaveNames.random()>> <<case "Afghan">> <<set $args[0].birthName to $afghanSlaveNames.random()>> <<case "Nepalese">> <<set $args[0].birthName to $nepaleseSlaveNames.random()>> <<case "Burmese">> <<set $args[0].birthName to $burmeseSlaveNames.random()>> <<case "Iraqi">> <<set $args[0].birthName to $iraqiSlaveNames.random()>> <<case "Yemeni">> <<set $args[0].birthName to $yemeniSlaveNames.random()>> <<case "Sudanese">> <<set $args[0].birthName to $sudaneseSlaveNames.random()>> <<case "Algerian">> <<set $args[0].birthName to $algerianSlaveNames.random()>> <<case "Tunisian">> <<set $args[0].birthName to $tunisianSlaveNames.random()>> <<case "Libyan">> <<set $args[0].birthName to $libyanSlaveNames.random()>> <<case "Omani">> <<set $args[0].birthName to $omaniSlaveNames.random()>> <<case "Malian">> <<set $args[0].birthName to $malianSlaveNames.random()>> <<case "Jordanian">> <<set $args[0].birthName to $jordanianSlaveNames.random()>> <<case "Lebanese">> <<set $args[0].birthName to $lebaneseSlaveNames.random()>> <<case "Emirati">> <<set $args[0].birthName to $emiratiSlaveNames.random()>> <<case "Kazakh">> <<set $args[0].birthName to $kazakhSlaveNames.random()>> <<case "Pakistani">> <<set $args[0].birthName to $pakistaniSlaveNames.random()>> <<case "Indian">> <<set $args[0].birthName to $indianSlaveNames.random()>> <<case "Australian">> <<set $args[0].birthName to $australianSlaveNames.random()>> <<case "a New Zealander">> <<set $args[0].birthName to $newZealanderSlaveNames.random()>> <<default>> <<set $args[0].birthName to $whiteAmericanSlaveNames.random()>> <</switch>> <<set $args[0].slaveName to $args[0].birthName>> <<if $useFSNames == 1>> <<if $arcologies[0].FSChattelReligionist > 20>> <<set $args[0].slaveName to $chattelReligionistSlaveNames.random()>> <<elseif $arcologies[0].FSRomanRevivalist > 20>> <<set $args[0].slaveName to $romanSlaveNames.random()>> <<elseif $arcologies[0].FSEgyptianRevivalist > 20>> <<set $args[0].slaveName to $ancientEgyptianSlaveNames.random()>> <<elseif $arcologies[0].FSEdoRevivalist > 20>> <<set $args[0].slaveName to $edoSlaveNames.random()>> <<elseif $arcologies[0].FSDegradationist != "unset">> <<include "Degrading Name">> <</if>> <</if>> <</widget>> <<widget "NationalityToAccent">> <<set $seed to either(0,1,1,2,2,2,3,3,3,3)>> <<switch $args[0].nationality>> <<case "American">> <<if $args[0].race is "black">> <<if $language is "English">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to either(0,1,1,2,2,2,3,3,3,3)>> <</if>> <<elseif $args[0].race is "latina">> <<if $language is "English">> <<set $args[0].accent to 0>> <<elseif $language is "Spanish">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<elseif $args[0].race is "asian">> <<if $language is "English">> <<set $args[0].accent to 0>> <<elseif $language is "Chinese">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<elseif $args[0].race is "middle eastern">> <<if $language is "English">> <<set $args[0].accent to 0>> <<elseif $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<else>> <<if $language is "English">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <</if>> <<case "Canadian">> <<if $language is "English">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Mexican">> <<if $language is "Spanish">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Dominican">> <<if $language is "Spanish">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Puerto Rican">> <<if $language is "Spanish">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Haitian">> <<set $args[0].accent to $seed>> <<case "Jamaican">> <<set $args[0].accent to $seed>> <<case "Cuban">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Guatemalan">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Chilean">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Peruvian">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Bolivian">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Venezuelan">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Russian">> <<set $args[0].accent to $seed>> <<case "Ukrainian">> <<set $args[0].accent to $seed>> <<case "Italian">> <<set $args[0].accent to $seed>> <<case "Spanish">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "British">> <<if $language is "English">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Scottish">> <<if $language is "English">> <<set $args[0].accent to 2>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "French">> <<set $args[0].accent to $seed>> <<case "German">> <<set $args[0].accent to $seed>> <<case "Lithuanian">> <<set $args[0].accent to $seed>> <<case "Belarusian">> <<set $args[0].accent to $seed>> <<case "Norwegian">> <<set $args[0].accent to $seed>> <<case "Slovak">> <<set $args[0].accent to $seed>> <<case "Danish">> <<set $args[0].accent to $seed>> <<case "Dutch">> <<set $args[0].accent to $seed>> <<case "Austrian">> <<set $args[0].accent to $seed>> <<case "Swiss">> <<set $args[0].accent to $seed>> <<case "Serbian">> <<set $args[0].accent to $seed>> <<case "Belgian">> <<set $args[0].accent to $seed>> <<case "Czech">> <<set $args[0].accent to $seed>> <<case "Portuguese">> <<if $language is "Spanish">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Swedish">> <<set $args[0].accent to $seed>> <<case "Romanian">> <<set $args[0].accent to $seed>> <<case "Hungarian">> <<set $args[0].accent to $seed>> <<case "Estonian">> <<set $args[0].accent to $seed>> <<case "Irish">> <<if $language is "English">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Icelandic">> <<set $args[0].accent to $seed>> <<case "Finnish">> <<set $args[0].accent to $seed>> <<case "Greek">> <<set $args[0].accent to $seed>> <<case "Polish">> <<set $args[0].accent to $seed>> <<case "Brazilian">> <<if $language is "Portuguese">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Egyptian">> <<if $language is "Arabic">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Colombian">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Argentinian">> <<if $language is "Spanish">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Turkish">> <<set $args[0].accent to $seed>> <<case "Iranian">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Armenian">> <<set $args[0].accent to $seed>> <<case "Israeli">> <<set $args[0].accent to $seed>> <<case "Saudi">> <<if $language is "Arabic">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "South African">> <<if $language is "English">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Nigerian">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Congolese">> <<set $args[0].accent to $seed>> <<case "Kenyan">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Tanzanian">> <<set $args[0].accent to $seed>> <<case "Zimbabwean">> <<if $language is "English" && $args[0].race == "white">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Ghanan">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Ugandan">> <<set $args[0].accent to $seed>> <<case "Ethiopian">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Moroccan">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Chinese">> <<if $language is "Chinese">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Korean">> <<if $language is "Chinese">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Thai">> <<if $language is "Chinese">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Vietnamese">> <<if $language is "Chinese">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Japanese">> <<set $args[0].accent to $seed>> <<case "Indonesian">> <<set $args[0].accent to $seed>> <<case "Filipina">> <<set $args[0].accent to $seed>> <<case "Bangladeshi">> <<if $language is "Indian">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Malaysian">> <<set $args[0].accent to $seed>> <<case "Uzbek">> <<set $args[0].accent to $seed>> <<case "Afghan">> <<set $args[0].accent to $seed>> <<case "Nepalese">> <<set $args[0].accent to $seed>> <<case "Burmese">> <<set $args[0].accent to $seed>> <<case "Iraqi">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Yemeni">> <<if $language is "Arabic">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Sudanese">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Algerian">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Tunisian">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Libyan">> <<if $language is "Arabic">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Omani">> <<if $language is "Arabic">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Malian">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Jordanian">> <<if $language is "Arabic">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Lebanese">> <<if $language is "Arabic">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Emirati">> <<if $language is "Arabic">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Kazakh">> <<set $args[0].accent to $seed>> <<case "Pakistani">> <<if $language is "Arabic">> <<set $args[0].accent to either(0,1,2,3)>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Indian">> <<if $language is "Indian">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Australian">> <<if $language is "English">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "a New Zealander">> <<if $language is "English">> <<set $args[0].accent to 1>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Roman Revivalist">> <<if $language is "Latin">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Ancient Egyptian Revivalist">> <<if $language is "Ancient Egyptian">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Edo Revivalist">> <<if $language is "Japanese">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Arabian Revivalist">> <<if $language is "Arabic">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<case "Ancient Chinese Revivalist">> <<if $language is "Chinese">> <<set $args[0].accent to 0>> <<else>> <<set $args[0].accent to $seed>> <</if>> <<default>> <<set $args[0].accent to $seed>> <</switch>> <<if $args[0].nationality is $language>> <<set $args[0].accent to 0>> <</if>> <</widget>>
r3d/fc
src/uncategorized/slaveGenerationWidgets.tw
tw
bsd-3-clause
28,421
:: Slave Interact [nobr] <<if $cheatMode == 1>> <center> //[[Cheat Edit Slave|MOD_Edit Slave Cheat][$cheater to 1]]// </center> <</if>> <<set $nextButton to "Confirm changes">> <<set $nextLink to "AS Dump">> <<set $returnTo to "Main">> <<if ($activeSlave.assignmentVisible == 0)>> <<if ($activeSlave.assignment is "work in the brothel") || ($activeSlave.assignment is "be the Madam")>> <<set $returnTo to "Brothel">> <<elseif ($activeSlave.assignment is "be confined in the arcade")>> <<set $returnTo to "Arcade">> <<elseif ($activeSlave.assignment is "serve in the club") || ($activeSlave.assignment is "be the DJ")>> <<set $returnTo to "Club">> <<elseif ($activeSlave.assignment is "work in the dairy") || ($activeSlave.assignment is "be the Milkmaid")>> <<set $returnTo to "Dairy">> <<elseif ($activeSlave.assignment is "work in the collection facility") || ($activeSlave.assignment is "be the Collectrix")>> <<set $returnTo to "Collection Facility">> <<elseif ($activeSlave.assignment is "rest in the spa") || ($activeSlave.assignment is "be the Attendant")>> <<set $returnTo to "Spa">> <<elseif ($activeSlave.assignment is "learn in the schoolroom") || ($activeSlave.assignment is "be the Schoolteacher")>> <<set $returnTo to "Schoolroom">> <<elseif ($activeSlave.assignment is "work as a servant") || ($activeSlave.assignment is "be the Stewardess")>> <<set $returnTo to "Servants' Quarters">> <<elseif ($activeSlave.assignment is "serve in the master suite") || ($activeSlave.assignment is "be your Concubine")>> <<set $returnTo to "Master Suite">> <<elseif ($activeSlave.assignment is "be confined in the cellblock") || ($activeSlave.assignment is "be the Wardeness")>> <<set $returnTo to "Cellblock">> <</if>> <</if>> <<set $encyclopedia to either("Drugs and Their Effects", "From Rebellious to Devoted", "Costs Summary", "Disease in the Free Cities", "Slave Couture", "Nymphomania", "Gender", "Independent Slaves", "Modern Anal")>> <<if $activeSlave.dick > 0>><<set $showEncyclopedia to 1, $encyclopedia to "Gender">><</if>> <<include "Place In Line">> <center> @@color:cyan;[?,Q] @@<span id="prevSlave"><strong><<link "Prev">><<goto "Previous Slave In Line">><</link>></strong></span>&nbsp;&nbsp;&nbsp;&nbsp;''__@@color:pink;$activeSlave.slaveName@@__''&nbsp;&nbsp;&nbsp;&nbsp;<span id="nextSlave"><strong><<link "Next">><<goto "Next Slave In Line">><</link>></strong></span>@@color:cyan; [E,?]@@ </center> <br> <<if $seeDetails == 1>> <span id="LSD"><<include "Long Slave Description">></span> <br>//[[Options][$nextLink to passage()]] | [[Descriptions|Slave Interact][$seeDetails to 0]] | [[Customize|Add custom descriptors]] | ''<<link "Update">><<replace "#LSD">><<include "Long Slave Description">><</replace>><</link>>''// <<else>> //[[Show descriptions|Slave Interact][$seeDetails to 1]]// <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <span id="miniscene"></span> <<if $activeSlave.fuckdoll == 0>> <span id="sexoption"> <<if ($activeSlave.vagina > -1)>> <<if canDoVaginal($activeSlave)>> <<link "Fuck her">><<replace "#miniscene">><<include "FVagina">><br><</replace>><</link>> <<if canDoAnal($activeSlave)>> | <<link "Use her holes">><<replace "#miniscene">><<include "FButt">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <</if>> <<else>> //Remove her chastity belt if you wish to fuck her// | <</if>> <</if>> </span> <span id="analsexoption"> <<if canDoAnal($activeSlave)>> <<link "Fuck her ass">><<replace "#miniscene">><<include "FAnus">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> //Remove her chastity belt if you wish to fuck her ass// | <</if>> </span> | <<link "Use her mouth">><<replace "#miniscene">><<include "FLips">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <<link "Kiss her">><<replace "#miniscene">><<include "FKiss">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <<link "Play with her tits">><<replace "#miniscene">><<include "FBoobs">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <<link "Caress her">><<replace "#miniscene">><<include "FCaress">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <<link "Give her a hug">><<replace "#miniscene">><<include "FEmbrace">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <<link "Grope her boobs">><<replace "#miniscene">><<include "FondleBoobs">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <span id="analgropeoption"> <<if canDoAnal($activeSlave)>> | <<link "Grope her butt">><<replace "#miniscene">><<include "FondleButt">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> </span> <span id="gropeoption"> <<if ($activeSlave.vagina > -1)>> <<if canDoVaginal($activeSlave)>> | <<link "Grope her pussy">><<replace "#miniscene">><<include "FondleVagina">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</if>> </span> <span id="dickgropeoption"> <<if ($activeSlave.dick > 0)>> <<if ($activeSlave.dickAccessory != "chastity") && ($activeSlave.dickAccessory != "combined chastity")>> | <<link "Grope her dick">><<replace "#miniscene">><<include "FondleDick">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> | //Remove her dick chastity belt if you wish to play with her cock// <</if>> <</if>> </span> <<if $activeSlave.devotion >= 100>> <<if $activeSlave.relationship < 0>> <<if $activeSlave.relationship > -3>> | [[Talk to her about relationships|Matchmaking][$subSlave to 0, $eventSlave to $activeSlave]] <</if>> <</if>> <</if>> <span id = "impreg"> <<if ((canGetPregnant($activeSlave)) && ($activeSlave.clothes != "a Fuckdoll suit"))>> <<if ($PC.dick != 0 && $activeSlave.eggType == "human")>> | <<link "Impregnate her yourself">><<replace "#miniscene">><<include "FPCImpreg">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> | [[Use another slave to impregnate her|FSlaveImpreg]] <</if>> <<if $activeSlave.preg <= 0 && $activeSlave.bellyImplant == 0>> <<if $activeSlave.assignment != "work in the dairy" && $activeSlave.assignment != "be confined in the arcade">> <<if $enema == 1>> <<if $activeSlave.inflation < 3>> <<if $activeSlave.inflationType == "water" || $activeSlave.inflationType == "none">> | <<link "Fill her ass with water">><<set $activeSlave.inflationType to "water">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> <</if>> <</if>> <<if $dairyPiping == 1>> <<if ($milkWeek > 88 && $milkWeek != 0) || $arcologies[0].FSPastoralistLaw == 1>> <<if $activeSlave.inflation < 3>> <<if $activeSlave.inflationType == "milk" || $activeSlave.inflationType == "none">> | <<link "Fill her ass with milk">><<set $activeSlave.inflationType to "milk">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> | <<link "Force feed her milk">><<set $activeSlave.inflationType to "milk">><<set $activeSlave.inflationMethod to 1>><<replace "#miniscene">><<include "FillUpFace">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> <</if>> <<else>> | //$dairyNameCaps is not producing enough milk to pump through the pipes// <</if>> <<if ($cumWeek > 88 && $cumWeek != 0) || $arcologies[0].FSPastoralistLaw == 1>> <<if $activeSlave.inflation < 3>> <<if $activeSlave.inflationType == "cum" || $activeSlave.inflationType == "none">> | <<link "Fill her ass with cum">><<set $activeSlave.inflationType to "cum">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> | <<link "Force feed her cum">><<set $activeSlave.inflationType to "cum">><<set $activeSlave.inflationMethod to 1>><<replace "#miniscene">><<include "FillUpFace">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> <</if>> <<else>> | //$dairyNameCaps is not producing enough cum to pump through the pipes// <</if>> <</if>> <</if>> <</if>> <<if ($activeSlave.preg <= 0) && ($activeSlave.inflation == 0) && ($activeSlave.bellyImplant == 0)>> <<if $activeSlave.assignment != "work in the dairy" || $activeSlave.assignment != "be confined in the arcade">> | [[Use another slave to forcefeed her|SlaveOnSlaveFeedingWorkAround]] <</if>> <</if>> </span> | <<link "Abuse her">><<replace "#miniscene">><<include "FAbuse">><</replace>><</link>> <<if $familyTesting == 1>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $activeSlave.mother == $slaves[$i].ID>> <<if isSlaveAvailable($slaves[$i])>> | <<link "Fuck her with her mother">><<replace "#miniscene">><<set $partner to "mother">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> //Her mother, $slaves[$i].slaveName, is unavailable// <</if>> <</if>> /* <<if $activeSlave.father == $slaves[$i].ID>> <<if isSlaveAvailable($slaves[$i])>> | <<link "Fuck her with her father">><<replace "#miniscene">><<set $partner to "father">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> //Her father, $slaves[$i].slaveName, is unavailable// <</if>> <</if>> */ <</for>> <<if $activeSlave.daughters > 0>> <<set $relation = 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if ($activeSlave.ID == $slaves[$i].father || $activeSlave.ID == $slaves[$i].mother) && !isSlaveAvailable($slaves[$i])>> <<set $relation++>> <</if>> <</for>> <<if $relation == $activeSlave.daughters>> <<if $activeSlave.daughters == 1>> //Her daughter is unavailable// <<else>> //Her daughters are unavailable// <</if>> <<else>> <<if $activeSlave.daughters == 1>> | <<link "Fuck her with her daughter">><<replace "#miniscene">><<set $partner to "daughter">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> | <<link "Fuck her with one of her daughters">><<replace "#miniscene">><<set $partner to "daughter">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</if>> <</if>> /* <<if $activeSlave.daughters > 1>> | <<link "Fuck her with her daughters">><<replace "#miniscene">><<set $partner to "daughters">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> */ <<if $activeSlave.sisters > 0>> <<set $relation = 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if areSisters($activeSlave, $slaves[$i]) > 0 && isSlaveAvailable($slaves[$i]) == false>> <<set $relation++>> <</if>> <</for>> <<if $relation == $activeSlave.sisters>> <<if $activeSlave.sisters == 1>> //Her sister is unavailable// <<else>> //Her sisters are unavailable// <</if>> <<else>> <<if $activeSlave.sisters == 1>> | <<link "Fuck her with her sister">><<replace "#miniscene">><<set $partner to "sister">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> | <<link "Fuck her with one of her sisters">><<replace "#miniscene">><<set $partner to "sister">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</if>> <</if>> /* <<if $activeSlave.sisters > 1>> | <<link "Fuck her with her sisters">><<replace "#miniscene">><<set $partner to "sisters">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> */ <<else>> <<if ($activeSlave.relation != 0)>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID == $activeSlave.relationTarget>> <<set $assayedSlave to $slaves[$i]>> <<AssayedSlaveAvailable>> <</if>> <</for>> <<if $assayedSlaveAvailable == 1>> <<if ($activeSlave.relation is "mother")>> | <<link "Fuck her with her daughter">><<replace "#miniscene">><<set $partner to "relation">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<elseif ($activeSlave.relation is "daughter")>> | <<link "Fuck her with her mother">><<replace "#miniscene">><<set $partner to "relation">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<elseif ($activeSlave.relation is "sister")>> | <<link "Fuck her with her sister">><<replace "#miniscene">><<set $partner to "relation">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<elseif ($activeSlave.relation is "twin")>> | <<link "Fuck her with her twin">><<replace "#miniscene">><<set $partner to "relation">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <<else>> //$assayedSlave.slaveName is unavailable// <</if>> <</if>> <</if>> <<if ($activeSlave.relationship > 0)>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].ID == $activeSlave.relationshipTarget>> <<set $assayedSlave to $slaves[$i]>> <<AssayedSlaveAvailable>> <</if>> <</for>> <<if $assayedSlaveAvailable == 1>> <<if ($activeSlave.relationship <= 1)>> | <<link "Fuck her with her friend">><<replace "#miniscene">><<set $partner to "relationship">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<elseif ($activeSlave.relationship <= 2)>> | <<link "Fuck her with her best friend">><<replace "#miniscene">><<set $partner to "relationship">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<elseif ($activeSlave.relationship <= 3)>> | <<link "Fuck her with her FWB">><<replace "#miniscene">><<set $partner to "relationship">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<elseif ($activeSlave.relationship <= 4)>> | <<link "Fuck her with her lover">><<replace "#miniscene">><<set $partner to "relationship">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> | <<link "Fuck her with her slave wife">><<replace "#miniscene">><<set $partner to "relationship">><<include "FRelation">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <<else>> | //$assayedSlave.slaveName is unavailable// <<if $activeSlave.assignmentVisible == 1>> <<if $assayedSlave.assignment == "be your agent">> [[Send her to live with your agent|Agent Company]] <</if>> <</if>> <</if>> <</if>> <<if ($activeSlave.rivalryTarget != 0)>> <<if canWalk($activeSlave)>> | <<link "Abuse her rival with her">><<replace "#miniscene">><<include "FRival">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</if>> <<if ($activeSlave.fetish != "mindbroken")>> <<if (($activeSlave.amp != 1) || ($activeSlave.voice != 0)) && $activeSlave.accent != 4>> | <<link "Ask her about her feelings">><<replace "#miniscene">><<include "FFeelings">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</if>> <<else>> /* IS A FUCKDOLL */ <<link "Fuck its face hole">><<replace "#miniscene">><<FFuckdollOral>><br><</replace>><</link>> <<if canDoVaginal($activeSlave)>> | <<link "Fuck its front hole">><<replace "#miniscene">><<FFuckdollVaginal>><br><</replace>><</link>> <</if>> <<if canDoAnal($activeSlave)>> | <<link "Fuck its rear hole">><<replace "#miniscene">><<FFuckdollAnal>><br><</replace>><</link>> <</if>> <</if>> <<if $universalRulesImpregnation == "HG">> <br><br> <<if $activeSlave.HGExclude == 0>> Will be bred by the head girl when fertile. [[Exempt her|Slave Interact][$activeSlave.useRulesAssistant to 1]] <<else>> Will not be bred by the head girl when fertile. [[Include her|Slave Interact][$activeSlave.HGExclude to 0]] <</if>> <</if>> <br><br> __Rules Assistant__ //<<link "Apply Rules Assistant to this slave">> <<silently>> <<include "Check Auto Rules Activate">> <<include "Default Rules">> <</silently>> <<goto "Slave Interact">> <</link>>// <br>&nbsp;&nbsp;&nbsp; <<if $activeSlave.useRulesAssistant != 0>> ''Subject'' to the rules assistant. [[Exempt her|Slave Interact][$activeSlave.useRulesAssistant to 0]] <<else>> ''Not subject'' to the rules assistant. [[Include her|Slave Interact][$activeSlave.useRulesAssistant to 1]] <</if>> | [[Rules Assistant]] <<if (def $activeSlave.currentRules) && ($activeSlave.currentRules.length > 0)>> <<for _r to 0; _r < $activeSlave.currentRules.length; _r++>> <<for _s to 0; _s < $defaultRules.length; _s++>> <<set _currentRule to $defaultRules[_s]>> <<set _num to (_s+1)>> <<if $activeSlave.currentRules[_r] == _currentRule.ID>> <br> Rule _num: _currentRule.name applied. <</if>> <</for>> <</for>> <</if>> <br> /* START hotswap prosthetics */ <<if ndef $activeSlave.readyLimbs>> <<set $activeSlave.readyLimbs to []>> <</if>> <<if $activeSlave.amp < 0 && $activeSlave.readyLimbs.includes($activeSlave.amp) <0>> /* imports current P-limbs to array for vanilla slaves */ <<set $activeSlave.readyLimbs.push($activeSlave.amp)>> <</if>> <<if $activeSlave.readyLimbs.length > -1 && $activeSlave.amp != 0>> <span id = "LimbOptions"><<include "Hotswap Prosthetics">></span> <</if>> /* END hotswap prosthetics */ <br> <<if $activeSlave.assignment is "recover from surgery">> //She is recovering from surgery this week// <<elseif $activeSlave.assignment is "guard you">> //She is your bodyguard and is not available for other work// <<elseif $activeSlave.assignment is "be the Madam">> //She is the Madam and is not available for other work// <<elseif $activeSlave.assignment is "be the DJ">> //She is the DJ and is not available for other work// <<elseif $activeSlave.assignment is "be the Milkmaid">> //She is the Milkmaid and is not available for other work// <<elseif $activeSlave.assignment is "be the Stewardess">> //She is the Stewardess and is not available for other work// <<elseif $activeSlave.assignment is "be your Head Girl">> //She is your Head Girl and is not available for other work// <<elseif $activeSlave.assignment is "recruit girls">> //She is recruiting girls and is not available for other work// <<else>> /* NOT RECOVERING */ <<if $activeSlave.assignmentVisible == 0>> //She is assigned to $activeSlave.assignment; bring her out of the facility to reassign her// <<else>> __Assignment__: <strong><span id="assign"><<print $activeSlave.assignment>></span>.</strong> <<link "Rest">><<set $activeSlave.assignment to "rest", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> | <<link "Fucktoy">><<set $activeSlave.assignment to "please you", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <<if $activeSlave.fuckdoll == 0>> <<if (($activeSlave.devotion >= -20) || (($activeSlave.trust < -20) && ($activeSlave.devotion >= -50)) || ($activeSlave.trust < -50)) and canWalk($activeSlave)>> | <<link "Subordinate slave">><<set $activeSlave.assignment to "be a subordinate slave", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<goto "Subordinate Targeting">><</link>> <<if ($activeSlave.eyes != -2)>> | <<link "Servant">><<set $activeSlave.assignment to "be a servant", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <<else>> /*| //Blind slaves cannot be servants// */ <</if>> <</if>> <<if (($activeSlave.devotion >= -20) || (($activeSlave.trust < -20) && ($activeSlave.devotion >= -50)) || ($activeSlave.trust < -50)) && ($activeSlave.fetish != "mindbroken") && ($activeSlave.intelligenceImplant != 1)>> | __<<link "Take slave classes">><<set $activeSlave.assignment to "take classes", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>>__ <<else>> /*| //Too resistant to take classes// */ <</if>> | <<link "Confine her">><<set $activeSlave.assignment to "stay confined", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <<if $activeSlave.breedingMark != 1>> | <<link "Whore">><<set $activeSlave.assignment to "whore", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> | <<link "Public servant">><<set $activeSlave.assignment to "serve the public", $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <</if>> <</if>>/* CLOSES FUCKDOLL CHECK */ <<if ($activeSlave.indentureRestrictions <= 0) && $activeSlave.breedingMark != 1>> | <<link "Glory hole">><<set $activeSlave.assignment to "work a glory hole", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if ($activeSlave.lactation > 0) || ($activeSlave.balls > 0 && $activeSlave.ballType == "human")>> | <<link "Get milked">><<set $activeSlave.assignment to "get milked", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 0>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <<else>> /*| //Not lactating// */ <</if>> <<if ($activeSlave.sentence == 0)>> | [[Assign her to her current task for a month|Slave Interact][$activeSlave.sentence to 4]] | <<link "Let her choose her own assignment">><<set $activeSlave.assignment to "choose her own job", $activeSlave.assignmentVisible to 1, $activeSlave.sentence to 0, $activeSlave.choosesOwnAssignment to 1>><<replace "#assign">><<print $activeSlave.assignment>><</replace>><</link>> <</if>> <</if>>/* CLOSES FUCKDOLL CHECK */ <<if ($activeSlave.assignment is "please you")>> __Fucktoy use preference__: <strong><span id="hole"><<print $activeSlave.toyHole>></span></strong>. <<link "Mouth">><<set $activeSlave.toyHole to "mouth">><<replace "#hole">><<print $activeSlave.toyHole>><</replace>><</link>> | <<link "Tits">><<set $activeSlave.toyHole to "boobs">><<replace "#hole">><<print $activeSlave.toyHole>><</replace>><</link>> <<if ($activeSlave.vagina > 0) && canDoVaginal($activeSlave)>> | <<link "Pussy">><<set $activeSlave.toyHole to "pussy">><<replace "#hole">><<print $activeSlave.toyHole>><</replace>><</link>> <<elseif ($activeSlave.vagina == 0)>>| //Take her virginity before giving her pussy special attention// <</if>> <<if ($activeSlave.anus > 0) && canDoAnal($activeSlave)>> | <<link "Ass">><<set $activeSlave.toyHole to "ass">><<replace "#hole">><<print $activeSlave.toyHole>><</replace>><</link>> <<else>>| //Take her anal virginity before giving her ass special attention// <</if>> /*check*/ <<if ($activeSlave.dick > 0) && canAchieveErection($activeSlave)>> | <<link "Dick">><<set $activeSlave.toyHole to "dick">><<replace "#hole">><<print $activeSlave.toyHole>><</replace>><</link>> <</if>> | <<link "No Preference">><<set $activeSlave.toyHole to "all her holes">><<replace "#hole">><<print $activeSlave.toyHole>><</replace>><</link>> <</if>> <</if>> /* END NOT RECOVERING */ <</if>> <br> __Body modification__: [[Use remote surgery|Remote Surgery][$degradation to 0]] | [[Use body mod studio|Body Modification][$degradation to 0]] | [[Use auto salon|Salon][$degradation to 0]] <br> <<if $activeSlave.assignmentVisible == 0>> //Her drugs are managed by the facility she's assigned to// <<else>> __Drugs__: <span id="drugs"><strong><<print $activeSlave.drugs>></strong></span>. <<link "None">><<set $activeSlave.drugs to "no drugs">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<if $activeSlave.indentureRestrictions < 2>> <<if ($activeSlave.intelligence > -2)>> | <<link "Psychosuppressants">><<set $activeSlave.drugs to "psychosuppressants">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Psychosuppressants <</if>> <<if ($activeSlave.boobs < 24000)>> | <<link "Breasts">><<set $activeSlave.drugs to "breast injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Breasts <</if>> <<if $arcologies[0].FSAssetExpansionistResearch == 1>> <<if ($activeSlave.boobs < 25000)>> | <<link "Hyper-Breasts">><<set $activeSlave.drugs to "hyper breast injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Hyper Breasts <</if>> <</if>> <<if ($activeSlave.butt < 9)>> | <<link "Buttocks">><<set $activeSlave.drugs to "butt injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Buttocks <</if>> <<if $arcologies[0].FSAssetExpansionistResearch == 1>> <<if ($activeSlave.butt < 20)>> | <<link "Hyper-Buttocks">><<set $activeSlave.drugs to "hyper butt injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Hyper Buttocks <</if>> <</if>> <<if ($activeSlave.lips <= 95) || (($activeSlave.lips <= 85) && ($seeExtreme != 1))>> | <<link "Lips">><<set $activeSlave.drugs to "lip injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Lips <</if>> | <<link "Fertility">><<set $activeSlave.drugs to "fertility drugs">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<if ($seeHyperPreg == 1) && ($activeSlave.indentureRestrictions < 1) && ($superFertilityDrugs == 1) && $activeSlave.breedingMark != 1>> | <<link "Fertility+">><<set $activeSlave.drugs to "super fertility drugs">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <</if>> <<if ($activeSlave.dick > 0)>> <<if ($activeSlave.dick < 10)>> | <<link "Penis enhancement">><<set $activeSlave.drugs to "penis enhancement">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Penis enhancement <</if>> <</if>> <<if $arcologies[0].FSAssetExpansionistResearch == 1>> <<if ($activeSlave.dick > 0)>> <<if ($activeSlave.dick < 31)>> | <<link "Hyper penis enhancement">><<set $activeSlave.drugs to "hyper penis enhancement">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Hyper penis enhancement <</if>> <</if>> <</if>> <<if ($activeSlave.balls > 0)>> | <<link "Testicle enhancement">><<set $activeSlave.drugs to "testicle enhancement">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <</if>> <<if $arcologies[0].FSAssetExpansionistResearch == 1>> <<if ($activeSlave.balls > 0)>> | <<link "Hyper testicle enhancement">><<set $activeSlave.drugs to "hyper testicle enhancement">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialistResearch == 1>> <<if ($activeSlave.visualAge > 18)>> | <<link "Anti-aging cream">><<set $activeSlave.drugs to "anti-aging cream">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<else>> | Anti-aging cream <</if>> <</if>> | <<link "Steroids">><<set $activeSlave.drugs to "steroids">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <<if $precociousPuberty == 1>> <<if $pubertyHormones == 1>> <<if $activeSlave.breedingMark != 1>> <<if ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1) && $activeSlave.pubertyXX == 0>> | <<link "Female hormone injections">><<set $activeSlave.drugs to "female hormone injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <</if>> <<if $activeSlave.balls > 0 && $activeSlave.pubertyXY == 0>> | <<link "Male hormone injections">><<set $activeSlave.drugs to "male hormone injections">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <</if>> <</if>> <</if>> <</if>> | <<link "Hormone enhancers">><<set $activeSlave.drugs to "hormone enhancers">><<replace "#drugs">><strong><<print $activeSlave.drugs>></strong><</replace>><</link>> <</if>> __Health__: <span id="curatives"><strong><<if $activeSlave.curatives > 1>>curatives<<elseif $activeSlave.curatives > 0>>preventatives<<else>>none<</if>></strong></span>. <<if $activeSlave.curatives != 0>> <<link "None">><<set $activeSlave.curatives to 0>><<replace "#curatives">><strong><<print "none">></strong><</replace>><</link>> <<else>>None<</if>> | <<if $activeSlave.curatives != 1>> <<link "Preventatives">><<set $activeSlave.curatives to 1>><<replace "#curatives">><strong><<print "preventatives">></strong><</replace>><</link>> <<else>>Preventatives<</if>> | <<if $activeSlave.curatives != 2>> <<link "Curatives">><<set $activeSlave.curatives to 2>><<replace "#curatives">><strong><<print "curatives">></strong><</replace>><</link>> <<else>>Curatives<</if>> __Aphrodisiacs__: <span id="aphrodisiacs"><strong><<if $activeSlave.aphrodisiacs > 1>>extreme<<elseif $activeSlave.aphrodisiacs > 0>>applied<<else>>none<</if>></strong></span>. <<if $activeSlave.aphrodisiacs != 0>> <<link "None">><<set $activeSlave.aphrodisiacs to 0>><<replace "#aphrodisiacs">><strong><<print "none">></strong><</replace>><</link>> <<else>>None<</if>> | <<if $activeSlave.aphrodisiacs != 1>> <<link "Apply">><<set $activeSlave.aphrodisiacs to 1>><<replace "#aphrodisiacs">><strong><<print "applied">></strong><</replace>><</link>> <<else>>Apply<</if>> | <<if $activeSlave.aphrodisiacs != 2>> <<link "Extreme">><<set $activeSlave.aphrodisiacs to 2>><<replace "#aphrodisiacs">><strong><<print "extreme">></strong><</replace>><</link>> <<else>>Extreme<</if>> <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <span id="fertilityblock"> <<if $activeSlave.fuckdoll == 0 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> <<if ($activeSlave.preg < -1)>> //She is sterile// <<elseif ($activeSlave.pubertyXX == 0)>> //She is not yet fertile// <<elseif $activeSlave.physicalAge >= 47>> //She is too old to become pregnant// <<elseif $activeSlave.preg >= -1>> __Contraception__: <span id="fertility"><strong><<if $activeSlave.preg is -1>><<print "using contraceptives">><<elseif $activeSlave.preg == 0>><<print "fertile">><<elseif $activeSlave.preg < 4>><<print "may be pregnant">><<else>><<print $activeSlave.preg>><<print " weeks pregnant">><</if>></strong></span>. <<if ($activeSlave.preg == 0)>> <<link "Use contraceptives">><<set $activeSlave.preg to -1>> <<SlaveInteractFertility>> <<SlaveInteractImpreg>> <</link>> <<elseif $activeSlave.preg is -1>> <<link "Let her get pregnant">><<set $activeSlave.preg to 0>> <<SlaveInteractFertility>> <<SlaveInteractImpreg>> <</link>> <<elseif $activeSlave.induce == 1>> //Hormones are being slipped into her food, she will give birth suddenly and rapidly this week// <<elseif ($activeSlave.preg > 30) && ($activeSlave.pregType < 50) && ($activeSlave.labor == 0)>> [[Induce labor|Slave Interact][$activeSlave.labor to 1,$activeSlave.induce to 1,$birthee to 1]] <<elseif ($activeSlave.pregType is 50) && ($activeSlave.preg > 30)>> [[Induce mass childbirth|BirthStorm]] <<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50) && $activeSlave.breedingMark == 1 && $activeSlave.pregSource == -1>> //You are forbidden from aborting an elite child// <<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50)>> [[Abort her pregnancy|Abort]] <</if>> <</if>> <<elseif ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> <<if ($activeSlave.preg < -1)>> //It is sterile// <<elseif ($activeSlave.pubertyXX == 0)>> //It is not yet fertile// <<elseif $activeSlave.physicalAge >= 47>> //It is too old to become pregnant// <<elseif ($activeSlave.preg >= -1)>> __Contraception__: <span id="fertility"><strong><<if $activeSlave.preg is -1>><<print "using contraceptives">><<elseif $activeSlave.preg == 0>><<print "fertile">><<elseif $activeSlave.preg < 4>><<print "may be pregnant">><<else>><<print $activeSlave.preg>><<print " weeks pregnant">><</if>></strong></span>. <<if ($activeSlave.preg == 0)>> <<link "Use contraceptives">><<set $activeSlave.preg to -1>> <<SlaveInteractFertility>> <</link>> <<elseif ($activeSlave.preg is -1)>> <<link "Let her get pregnant">><<set $activeSlave.preg to 0>> <<SlaveInteractFertility>> <</link>> <<elseif ($activeSlave.pregType is 50) && ($activeSlave.preg > 30)>> [[Induce mass childbirth|BirthStorm]] <<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50)>> [[Abort her pregnancy|Abort]] <</if>> <</if>> <</if>> <<if ($activeSlave.preg > 1) && ($pregSpeedControl == 1) && ($activeSlave.breedingMark != 1) && ($activeSlave.indentureRestrictions < 1) && ($activeSlave.pregType < 50)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; __Pregnancy control__: <span id="pregControl"><<if $activeSlave.pregControl == "labor supressors">>Labor is supressed<<elseif $activeSlave.pregControl == "slow gestation">>Slowed gestation<<elseif $activeSlave.pregControl == "speed up">>Faster gestation<<else>>Normal gestation<</if>></span> <<if ($activeSlave.preg >= 30)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.pregControl == "labor supressors">> <<link "Normal Birth">><<set $activeSlave.pregControl = "none">><<replace "#pregControl">>natural birth<</replace>><</link>> <<else>> <<link "Supress Labor">><<set $activeSlave.pregControl = "labor supressors">><<replace "#pregControl">>labor will be supressed<</replace>><</link>> <</if>> <<elseif ($activeSlave.preg < 30)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.pregControl != "none">> <<link "Normal Gestation">><<set $activeSlave.pregControl = "none">><<replace "#pregControl">>normal gestation speed<</replace>><</link>> | <</if>> <<if $activeSlave.pregControl != "slow Gestation">> <<link "Slow Gestation">><<set $activeSlave.pregControl = "slow gestation">><<replace "#pregControl">>slowed gestation speed<</replace>><</link>> | <</if>> <<if $activeSlave.pregControl != "speed up">> <<link "Fast Gestation">><<set $activeSlave.pregControl = "speed up">><<replace "#pregControl">>fast gestation speed, staffed clinic recommended<</replace>><</link>> <</if>> <</if>> <</if>> <<if $incubator > 0>> <<if $activeSlave.pregType < 50 && $activeSlave.preg > 3 && $activeSlave.eggType == "human">> <<if $activeSlave.assignment == "work in the dairy" && $dairyPregSetting > 0>> <<else>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.reservedChildren > 0>> $activeSlave.reservedChildren of her children will be placed in $incubatorName. <<if ($activeSlave.reservedChildren < $activeSlave.pregType) && ($reservedChildren < $incubator)>> <br> [[Keep another child|Slave Interact][$activeSlave.reservedChildren += 1, $reservedChildren++]] <<else>> | [[Keep one less child|Slave Interact][$activeSlave.reservedChildren -= 1, $reservedChildren--]] <</if>> <<elseif $reservedChildren < $incubator>> She is pregnant and you have an available aging tank. [[Keep a child|Slave Interact][$activeSlave.reservedChildren += 1, $reservedChildren++]] <</if>> <</if>> <</if>> <</if>> </span> <<if $propOutcome == 1>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.breedingMark == 0>> <<if isFertile($activeSlave)>> <<if $activeSlave.eggType == "human">> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Breeder Eligibility Exam|BreedingTest]] <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.inflation > 0>> <br>&nbsp;&nbsp;&nbsp;&nbsp; __Required Bloating__: <strong><span id="inflate"><<if $activeSlave.inflation is 3>><<print "She is required to keep 2 gallons of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 2>><<print "She is required to keep 4 liters of $activeSlave.inflationType in her at all times">><<elseif $activeSlave.inflation is 1>><<print "She is required to keep 2 liters of $activeSlave.inflationType in her at all times">><</if>></span></strong>. <<if $activeSlave.inflationMethod == 3>> [[Let her deflate|Slave Interact][$activeSlave.inflation to 0,$activeSlave.inflationType to "none",$activeSlave.inflationMethod to 0,$activeSlave.cumSource = 0,$activeSlave.milkSource = 0]] <<elseif $activeSlave.inflationType == "milk">> [[Let her deflate|Slave Interact][$activeSlave.inflation to 0,$activeSlave.inflationType to "none",$activeSlave.inflationMethod to 0]] <<elseif $activeSlave.inflationType == "cum">> [[Let her deflate|Slave Interact][$activeSlave.inflation to 0,$activeSlave.inflationType to "none",$activeSlave.inflationMethod to 0]] <<else>> [[Let her deflate|Slave Interact][$activeSlave.inflation to 0,$activeSlave.inflationType to "none",$activeSlave.inflationMethod to 0]] <</if>> <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; __Hormones__: <strong><span id="hormones"><<if $activeSlave.hormones is -2>><<print "intensive male">><<elseif $activeSlave.hormones is -1>><<print "male">><<elseif $activeSlave.hormones is 2>><<print "intensive female">><<elseif $activeSlave.hormones == 1>><<print "female">><<else>><<print "none">><</if>></span></strong>. <<link "Intensive Female">><<set $activeSlave.hormones to 2>><<replace "#hormones">><<print "intensive female">><</replace>><</link>> | <<link "Female">><<set $activeSlave.hormones to 1>><<replace "#hormones">><<print "female">><</replace>><</link>> | <<link "None">><<set $activeSlave.hormones to 0>><<replace "#hormones">><<print "none">><</replace>><</link>> | <<link "Male">><<set $activeSlave.hormones to -1>><<replace "#hormones">><<print "male">><</replace>><</link>> | <<link "Intensive Male">><<set $activeSlave.hormones to -2>><<replace "#hormones">><<print "intensive male">><</replace>><</link>> <br> __Diet__: <strong><span id="diet"><<print $activeSlave.diet>></span></strong>. <<link "Healthy">><<set $activeSlave.diet to "healthy">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <<if ($activeSlave.balls > 0) && ($cumProDiet == 1)>> | <<link "Cum production">><<set $activeSlave.diet to "cum production">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <</if>> <<if ($activeSlave.weight >= -95)>> | <<link "Lose weight">><<set $activeSlave.diet to "restricted">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <<else>> | //She is already thin// <</if>> <<if $activeSlave.weight <= 95>> | <<link "Fatten">><<set $activeSlave.diet to "fattening">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <<else>> | //She is already overweight// <</if>> <<if $feeder == 1>> | <<link "Estrogen enriched">><<set $activeSlave.diet to "XX">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> | <<link "Testosterone enriched">><<set $activeSlave.diet to "XY">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <<if $dietXXY == 1>> <<if $activeSlave.ovaries == 1 || $activeSlave.mpreg == 1>> <<if $activeSlave.balls > 0>> | <<link "Herm hormone blend">><<set $activeSlave.diet to "XXY">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <</if>> <</if>> <</if>> <</if>> <<if ($activeSlave.muscles <= 95) and canWalk($activeSlave)>> | <<link "Build muscle">><<set $activeSlave.diet to "muscle building">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <<elseif $activeSlave.muscles > 95>> | //She is maintaining her enormous musculature// <<else>> | //She can't move and thus can't excercise// <</if>> <<if $activeSlave.muscles > 5>> | <<link "Slim down">><<set $activeSlave.diet to "slimming">><<replace "#diet">><<print $activeSlave.diet>><</replace>><</link>> <</if>> <br> __Diet Base__: <strong><span id="dietBase"><<if $activeSlave.dietCum == 2>>Cum Based<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 0)>>Cum Added<<elseif ($activeSlave.dietCum == 1) && ($activeSlave.dietMilk == 1)>>Cum and Milk Added<<elseif ($activeSlave.dietMilk == 1) && ($activeSlave.dietCum == 0)>>Milk Added<<elseif ($activeSlave.dietMilk == 2)>>Milk Based<<elseif ($activeSlave.dietCum == 0) && ($activeSlave.dietMilk == 0)>>Normal<<else>>THERE HAS BEEN AN ERROR<</if>></span></strong> <<link "Normal">><<set $activeSlave.dietCum to 0>><<set $activeSlave.dietMilk to 0>><<replace "#dietBase">>Normal<</replace>><</link>> | <<link "Cum Added">><<set $activeSlave.dietCum to 1>><<set $activeSlave.dietMilk to 0>><<replace "#dietBase">>Cum Added<</replace>><</link>> | <<link "Milk Added">><<set $activeSlave.dietCum to 0>><<set $activeSlave.dietMilk to 1>><<replace "#dietBase">>Milk Added<</replace>><</link>> | <<link "Cum & Milk Added">><<set $activeSlave.dietCum to 1>><<set $activeSlave.dietMilk to 1>><<replace "#dietBase">>Cum & Milk Added<</replace>><</link>> | <<link "Cum Based">><<set $activeSlave.dietCum to 2>><<set $activeSlave.dietMilk to 0>><<replace "#dietBase">>Cum Based<</replace>><</link>> | <<link "Milk Based">><<set $activeSlave.dietCum to 0>><<set $activeSlave.dietMilk to 2>><<replace "#dietBase">>Milk Based<</replace>><</link>> <br> <<if $activeSlave.fuckdoll > 0>> //Rules have little meaning for living sex toys// <<elseif $activeSlave.assignmentVisible == 0>> //Her rules are set by the facility she's assigned to// <<else>> <<set $dormitoryPopulation to 0>> <<set $roomsPopulation to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].assignmentVisible == 1>> <<if $slaves[$i].livingRules is "luxurious">> <<if $slaves[$i].relationship >= 4>> <<set $roomsPopulation += 0.5>> <<else>> <<set $roomsPopulation += 1>> <</if>> <<else>> <<set $dormitoryPopulation += 1>> <</if>> <</if>> <</for>> __Living Standard__: ''<span id="livingRules">$activeSlave.livingRules</span>.'' <<if $activeSlave.livingRules is "spare">> <<link "Normal">><<set $activeSlave.livingRules to "normal">><<replace "#livingRules">><<print $activeSlave.livingRules>><</replace>><</link>> | <<if $roomsPopulation <= $rooms-0.5>><<link "Luxurious">><<set $activeSlave.livingRules to "luxurious">><<replace "#livingRules">><<print $activeSlave.livingRules>><</replace>><</link>><<else>>//No luxurious rooms available//<</if>> <<elseif $activeSlave.livingRules is "normal">> <<link "Spare">><<set $activeSlave.livingRules to "spare">><<replace "#livingRules">><<print $activeSlave.livingRules>><</replace>><</link>> | <<if $roomsPopulation <= $rooms-0.5>><<link "Luxurious">><<set $activeSlave.livingRules to "luxurious">><<replace "#livingRules">><<print $activeSlave.livingRules>><</replace>><</link>><<else>>//No luxurious rooms available//<</if>> <<else>> <<link "Spare">><<set $activeSlave.livingRules to "spare">><<replace "#livingRules">><<print $activeSlave.livingRules>><</replace>><</link>> | <<link "Normal">><<set $activeSlave.livingRules to "normal">><<replace "#livingRules">><<print $activeSlave.livingRules>><</replace>><</link>> <</if>> &nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.voice != 0>> __Speech Rules__: ''<span id="speechRules">$activeSlave.speechRules</span>.'' <<if $activeSlave.speechRules is "restrictive">> <<link "Permissive">><<set $activeSlave.speechRules to "permissive">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>><<if $activeSlave.accent > 0 && $activeSlave.accent < 4>> | <<link "Accent elimination">><<set $activeSlave.speechRules to "accent elimination">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>><</if>><<if $activeSlave.accent > 3>> | <<link "Language lessons">><<set $activeSlave.speechRules to "language lessons">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>><</if>> <<elseif $activeSlave.speechRules is "permissive">> <<if $activeSlave.accent > 0 && $activeSlave.accent < 4>><<link "Accent elimination">><<set $activeSlave.speechRules to "accent elimination">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>> | <</if>><<if $activeSlave.accent > 3>><<link "Language lessons">><<set $activeSlave.speechRules to "language lessons">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>> | <</if>><<link "Restrictive">><<set $activeSlave.speechRules to "restrictive">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>> <<else>> <<link "Permissive">><<set $activeSlave.speechRules to "permissive">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>> | <<link "Restrictive">><<set $activeSlave.speechRules to "restrictive">><<replace "#speechRules">><<print $activeSlave.speechRules>><</replace>><</link>> <</if>> <</if>> &nbsp;&nbsp;&nbsp;&nbsp; __Relationship Rules__: ''<span id="relationshipRules">$activeSlave.relationshipRules</span>.'' <<if $activeSlave.relationshipRules is "restrictive">> <<link "Just friends">><<set $activeSlave.relationshipRules to "just friends">><<replace "#relationshipRules">><<print $activeSlave.relationshipRules>><</replace>><</link>> | <<link "Permissive">><<set $activeSlave.relationshipRules to "permissive">><<replace "#relationshipRules">><<print $activeSlave.relationshipRules>><</replace>><</link>> <<elseif $activeSlave.relationshipRules is "just friends">> <<link "Restrictive">><<set $activeSlave.relationshipRules to "restrictive">><<replace "#relationshipRules">><<print $activeSlave.relationshipRules>><</replace>><</link>> | <<link "Permissive">><<set $activeSlave.relationshipRules to "permissive">><<replace "#relationshipRules">><<print $activeSlave.relationshipRules>><</replace>><</link>> <<else>> <<link "Just friends">><<set $activeSlave.relationshipRules to "just friends">><<replace "#relationshipRules">><<print $activeSlave.relationshipRules>><</replace>><</link>> | <<link "Restrictive">><<set $activeSlave.relationshipRules to "restrictive">><<replace "#relationshipRules">><<print $activeSlave.relationshipRules>><</replace>><</link>> <</if>> <br> __Typical Punishment__: ''<span id="standardPunishment">$activeSlave.standardPunishment</span>.'' <<if $activeSlave.standardPunishment isnot "confinement">> <<link "Confinement">><<set $activeSlave.standardPunishment to "confinement">><<replace "#standardPunishment">><<print $activeSlave.standardPunishment>><</replace>><</link>> | <</if>> <<if $activeSlave.standardPunishment isnot "whipping">> <<link "Whipping">><<set $activeSlave.standardPunishment to "whipping">><<replace "#standardPunishment">><<print $activeSlave.standardPunishment>><</replace>><</link>> | <</if>> <<if $activeSlave.standardPunishment isnot "chastity">> <<link "Chastity">><<set $activeSlave.standardPunishment to "chastity">><<replace "#standardPunishment">><<print $activeSlave.standardPunishment>><</replace>><</link>><<if $activeSlave.standardPunishment isnot "situational">> |<</if>> <</if>> <<if $activeSlave.standardPunishment isnot "situational">> <<link "Situational">><<set $activeSlave.standardPunishment to "situational">><<replace "#standardPunishment">><<print $activeSlave.standardPunishment>><</replace>><</link>> <</if>> &nbsp;&nbsp;&nbsp;&nbsp; __Typical Reward__: ''<span id="standardReward">$activeSlave.standardReward</span>.'' <<if $activeSlave.standardReward isnot "relaxation">> <<link "Relaxation">><<set $activeSlave.standardReward to "relaxation">><<replace "#standardReward">><<print $activeSlave.standardReward>><</replace>><</link>> | <</if>> <<if $activeSlave.standardReward isnot "drugs">> <<link "Drugs">><<set $activeSlave.standardReward to "drugs">><<replace "#standardReward">><<print $activeSlave.standardReward>><</replace>><</link>> | <</if>> <<if $activeSlave.standardReward isnot "orgasm">> <<link "Orgasm">><<set $activeSlave.standardReward to "orgasm">><<replace "#standardReward">><<print $activeSlave.standardReward>><</replace>><</link>><<if $activeSlave.standardReward isnot "situational">> |<</if>> <</if>> <<if $activeSlave.standardReward isnot "situational">> <<link "Situational">><<set $activeSlave.standardReward to "situational">><<replace "#standardReward">><<print $activeSlave.standardReward>><</replace>><</link>> <</if>> <br> __Non-Assignment Orgasm Rules__: ''$activeSlave.releaseRules.'' [[Permit masturbation and interslave sex|Slave Interact][$activeSlave.releaseRules to "permissive"]] | [[Let her get off with other slaves|Slave Interact][$activeSlave.releaseRules to "sapphic"]] | [[Only with you|Slave Interact][$activeSlave.releaseRules to "restrictive"]] <</if>> <<if $activeSlave.clitPiercing is 3>> <br> <<if $activeSlave.dick < 1>>Her smart clit piercing is set to <<else>>Her smart frenulum piercing is set to <</if>> <strong><span id="setting"><<print $activeSlave.clitSetting>></span></strong>. <br>&nbsp;&nbsp;&nbsp;&nbsp;<<link "Vanilla">><<set $activeSlave.clitSetting to "vanilla">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Oral">><<set $activeSlave.clitSetting to "oral">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Anal">><<set $activeSlave.clitSetting to "anal">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Boobs">><<set $activeSlave.clitSetting to "boobs">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Sub">><<set $activeSlave.clitSetting to "submissive">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Dom">><<set $activeSlave.clitSetting to "dom">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Humiliation">><<set $activeSlave.clitSetting to "humiliation">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Preg">><<set $activeSlave.clitSetting to "pregnancy">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Pain">><<set $activeSlave.clitSetting to "masochist">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Sadism">><<set $activeSlave.clitSetting to "sadist">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Men">><<set $activeSlave.clitSetting to "men">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "Women">><<set $activeSlave.clitSetting to "women">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "All sex">><<set $activeSlave.clitSetting to "all">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> | <<link "No sex">><<set $activeSlave.clitSetting to "none">><<replace "#setting">><<print $activeSlave.clitSetting>><</replace>><</link>> <</if>> <<if $activeSlave.fuckdoll == 0>> <br> __Clothes__: ''<span id="clothes">$activeSlave.clothes</span>.'' <<link "Go naked">><<set $activeSlave.clothes to "no clothing", $activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | //Harsh clothes:// <<link "Uncomfortable straps">><<set $activeSlave.clothes to "uncomfortable straps",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Shibari ropes">><<set $activeSlave.clothes to "shibari ropes",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Restrictive latex">><<set $activeSlave.clothes to "restrictive latex",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Penitent nun">><<set $activeSlave.clothes to "a penitent nuns habit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | //Nice clothes:// <<link "Nice lingerie">><<set $activeSlave.clothes to "attractive lingerie",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Slutty maid">><<set $activeSlave.clothes to "a slutty maid outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Nice maid">><<set $activeSlave.clothes to "a nice maid outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Haltertop Dress">><<set $activeSlave.clothes to "a halter top dress",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Mini Dress">><<set $activeSlave.clothes to "a mini dress",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Silken Ballgown">><<set $activeSlave.clothes to "a ball gown",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "String bikini">><<set $activeSlave.clothes to "a string bikini",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Clubslut netting">><<set $activeSlave.clothes to "clubslut netting",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Cheerleader outfit">><<set $activeSlave.clothes to "a cheerleader outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Cutoffs and a t-shirt">><<set $activeSlave.clothes to "cutoffs and a t-shirt",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Slave Gown">><<set $activeSlave.clothes to "a slave gown",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Slutty Suit">><<set $activeSlave.clothes to "slutty business attire",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Nice Suit">><<set $activeSlave.clothes to "nice business attire",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Slutty Nurse">><<set $activeSlave.clothes to "a slutty nurse outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Nice Nurse">><<set $activeSlave.clothes to "a nice nurse outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Schoolgirl">><<set $activeSlave.clothes to "a schoolgirl outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Bodysuit">><<set $activeSlave.clothes to "a comfortable bodysuit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Latex catsuit">><<set $activeSlave.clothes to "a latex catsuit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Leotard">><<set $activeSlave.clothes to "a leotard",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Skimpy Battledress">><<set $activeSlave.clothes to "battledress",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Military Uniform">><<set $activeSlave.clothes to "a military uniform",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Fallen nun">><<set $activeSlave.clothes to "a fallen nuns habit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Hijab and abaya">><<set $activeSlave.clothes to "a hijab and abaya",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Bangles">><<set $activeSlave.clothes to "slutty jewelry",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> | <<link "Succubus Costume">><<set $activeSlave.clothes to "a succubus outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <<if ($arcologies[0].FSGenderFundamentalist != "unset") || ($cheatMode == 1) || ($clothesBoughtBunny == 1)>> | //FS// <<link "Bunny outfit">><<set $activeSlave.clothes to "a bunny outfit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSPaternalist != "unset") || ($cheatMode == 1) || ($clothesBoughtConservative == 1)>> | //FS// <<link "Conservative clothing">><<set $activeSlave.clothes to "conservative clothing",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSDegradationist != "unset") || ($cheatMode == 1) || ($clothesBoughtChains == 1)>> | //FS// <<link "Chains">><<set $activeSlave.clothes to "chains",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSPastoralist != "unset") || ($cheatMode == 1) || ($clothesBoughtWestern == 1)>> | //FS// <<link "Western clothing">><<set $activeSlave.clothes to "Western clothing",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSRepopulationFocus != "unset") || ($cheatMode == 1) || ($clothesBoughtMaternityDress == 1)>> | //FS// <<link "A maternity dress">><<set $activeSlave.clothes to "a maternity dress",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSRepopulationFocus != "unset") || ($cheatMode == 1) || ($clothesBoughtMaternityLingerie == 1)>> | //FS// <<link "Attractive lingerie for a pregnant woman">><<set $activeSlave.clothes to "attractive lingerie for a pregnant woman",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSPhysicalIdealist != "unset") || ($cheatMode == 1) || ($clothesBoughtOil == 1)>> | //FS// <<link "Body oil">><<set $activeSlave.clothes to "body oil",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSChattelReligionist != "unset") || ($cheatMode == 1) || ($clothesBoughtHabit == 1)>> | //FS// <<link "Chattel habit">><<set $activeSlave.clothes to "a chattel habit",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSRomanRevivalist != "unset") || ($cheatMode == 1) || ($clothesBoughtToga == 1)>> | //FS// <<link "Toga">><<set $activeSlave.clothes to "a toga",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSEdoRevivalist != "unset") || ($cheatMode == 1) || ($clothesBoughtKimono == 1)>> | //FS// <<link "Kimono">><<set $activeSlave.clothes to "a kimono",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSArabianRevivalist != "unset") || ($cheatMode == 1) || ($clothesBoughtHarem == 1)>> | //FS// <<link "Harem gauze">><<set $activeSlave.clothes to "harem gauze",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSChineseRevivalist != "unset") || ($cheatMode == 1) || ($clothesBoughtQipao == 1)>> | //FS// <<link "Slutty Qipao">><<set $activeSlave.clothes to "a slutty qipao",$activeSlave.choosesOwnClothes to 0>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <</if>> | <<link "Select her own clothes">><<set $activeSlave.clothes to "choosing her own clothes",$activeSlave.choosesOwnClothes to 1>><<replace "#clothes">><<print $activeSlave.clothes>><</replace>><</link>> <br> __Collar:__ ''<span id="collar">$activeSlave.collar</span>.'' <<link "None">><<set $activeSlave.collar to "none">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Tight steel">><<set $activeSlave.collar to "tight steel">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <<if ($seeAge != 0)>> | <<link "Cruel retirement counter">><<set $activeSlave.collar to "cruel retirement counter">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <</if>> | <<link "Uncomfortable leather">><<set $activeSlave.collar to "uncomfortable leather">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <<if $activeSlave.preg > -1>> | <<link "Pregnancy biometrics">><<set $activeSlave.collar to "preg biometrics">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <</if>> | <<link "Shock punishment">><<set $activeSlave.collar to "shock punishment">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Dildo gag">><<set $activeSlave.collar to "dildo gag">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <<if $toysBoughtGags == 1 && $activeSlave.oralSkill > 0>> | <<link "Massive dildo gag">><<set $activeSlave.collar to "massive dildo gag">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <</if>> | <<link "Neck corset">><<set $activeSlave.collar to "neck corset">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Stylish leather">><<set $activeSlave.collar to "stylish leather">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Satin choker">><<set $activeSlave.collar to "satin choker">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Silken ribbon">><<set $activeSlave.collar to "silk ribbon">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Heavy gold">><<set $activeSlave.collar to "heavy gold">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> | <<link "Pretty jewelry">><<set $activeSlave.collar to "pretty jewelry">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <<if ($seeAge != 0)>> | <<link "Nice retirement counter">><<set $activeSlave.collar to "nice retirement counter">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <</if>> | <<link "Leather with cowbell">><<set $activeSlave.collar to "leather with cowbell">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <<if ($arcologies[0].FSGenderFundamentalist != "unset") || ($cheatMode == 1) || ($clothesBoughtBunny == 1)>> | //FS// <<link "Bowtie collar">><<set $activeSlave.collar to "bowtie">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSEgyptianRevivalist != "unset") || ($cheatMode == 1) || ($clothesBoughtEgypt == 1)>> | //FS// <<link "Ancient Egyptian">><<set $activeSlave.collar to "ancient Egyptian">><<replace "#collar">><<print $activeSlave.collar>><</replace>><</link>> <</if>> <<if $activeSlave.amp != 1>> <br> __Shoes__: ''<span id="shoes">$activeSlave.shoes</span>.'' <<link "Go barefoot">><<set $activeSlave.shoes to "none">><<replace "#shoes">><<print $activeSlave.shoes>><</replace>><</link>> | <<link "Flats">><<set $activeSlave.shoes to "flats">><<replace "#shoes">><<print $activeSlave.shoes>><</replace>><</link>> | <<link "Heels">><<set $activeSlave.shoes to "heels">><<replace "#shoes">><<print $activeSlave.shoes>><</replace>><</link>> | <<link "Thigh boots">><<set $activeSlave.shoes to "boots">><<replace "#shoes">><<print $activeSlave.shoes>><</replace>><</link>> | <<link "Painfully extreme heels">><<set $activeSlave.shoes to "extreme heels">><<replace "#shoes">><<print $activeSlave.shoes>><</replace>><</link>> <</if>> <br> __Body Accessory__: ''<span id="bellyAccessory">$activeSlave.bellyAccessory</span>.'' <<link "None">><<set $activeSlave.bellyAccessory to "none">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> <<if $activeSlave.breedingMark != 1>> | <<link "Tight corset">><<set $activeSlave.bellyAccessory to "a corset">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> | <<link "Extreme corset">><<set $activeSlave.bellyAccessory to "an extreme corset">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> <</if>> <<if ($arcologies[0].FSRepopulationFocus != "unset") || ($cheatMode == 1) || ($clothesBoughtBelly == 1)>> <<if $activeSlave.preg <= 10 && $activeSlave.inflation == 0>> | <<link "1st Trimester">><<set $activeSlave.bellyAccessory to "a small empathy belly">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> | <<link "2nd Trimester">><<set $activeSlave.bellyAccessory to "a medium empathy belly">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> | <<link "3rd Trimester">><<set $activeSlave.bellyAccessory to "a large empathy belly">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> | <<link "3rd Trimester twins">><<set $activeSlave.bellyAccessory to "a huge empathy belly">><<replace "#bellyAccessory">><<print $activeSlave.bellyAccessory>><</replace>><</link>> <</if>> <</if>> <br> __Buttplug__: ''<span id="buttplug">$activeSlave.buttplug</span>.'' <<link "None">><<set $activeSlave.buttplug to "none">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>> | <<link "Normal">><<set $activeSlave.buttplug to "plug">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>> <<if $toysBoughtButtPlugs == 1>> <<if $activeSlave.breedingMark != 1>> | <<link "Long">><<set $activeSlave.buttplug to "long plug">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>> <</if>> <</if>> | <<link "Large">><<set $activeSlave.buttplug to "large plug">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>> <<if $toysBoughtButtPlugs == 1>> <<if $activeSlave.breedingMark != 1>> | <<link "Long and large">><<set $activeSlave.buttplug to "long, large plug">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>> <</if>> <</if>> <<if $activeSlave.anus >= 2>>| <<link "Huge">><<set $activeSlave.buttplug to "huge plug">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>><</if>> <<if $toysBoughtButtPlugs == 1>> <<if $activeSlave.breedingMark != 1>> | <<link "Long and huge">><<set $activeSlave.buttplug to "long, huge plug">><<replace "#buttplug">><<print $activeSlave.buttplug>><</replace>><</link>> <</if>> <</if>> <<if $activeSlave.vagina > -1>> &nbsp;&nbsp;&nbsp;&nbsp;<<if $activeSlave.dick == 0>>__Accessory__<<else>>__Vaginal accessory__<</if>>: ''<span id="vaginalAccessory">$activeSlave.vaginalAccessory</span>.'' <<link "None">><<set $activeSlave.vaginalAccessory to "none">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>> | <<link "Dildo">><<set $activeSlave.vaginalAccessory to "dildo">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>> <<if $toysBoughtDildos == 1>> <<if $activeSlave.breedingMark != 1>> | <<link "Long dildo">><<set $activeSlave.vaginalAccessory to "long dildo">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>> <</if>> <</if>> | <<link "Large dildo">><<set $activeSlave.vaginalAccessory to "large dildo">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>> <<if $toysBoughtDildos == 1>> <<if $activeSlave.breedingMark != 1>> | <<link "Large and long dildo">><<set $activeSlave.vaginalAccessory to "long, large dildo">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>> <</if>> <</if>> <<if $activeSlave.vagina >= 2>>| <<link "Huge dildo">><<set $activeSlave.vaginalAccessory to "huge dildo">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>><</if>> <<if $toysBoughtDildos == 1>> <<if $activeSlave.breedingMark != 1>> <<if $activeSlave.vagina >= 2>>| <<link "Huge and long dildo">><<set $activeSlave.vaginalAccessory to "long, huge dildo">><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><</link>><</if>> <</if>> <</if>> | <<link "Chastity belt">><<set $activeSlave.vaginalAccessory to "chastity belt",$activeSlave.choosesOwnChastity to 0>><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>> | <<link "Anal chastity belt">><<set $activeSlave.vaginalAccessory to "anal chastity",$activeSlave.choosesOwnChastity to 0>><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>> | <<link "Combined chastity belt">><<set $activeSlave.vaginalAccessory to "combined chastity",$activeSlave.choosesOwnChastity to 0>><<replace "#vaginalAccessory">><<print $activeSlave.vaginalAccessory>><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>>g<</link>> <</if>> <<if $activeSlave.dick > 0>> &nbsp;&nbsp;&nbsp;&nbsp;<<if $activeSlave.vagina is -1>>__Accessory__<<else>>__Dick accessory__<</if>>: ''<span id="dickAccessory">$activeSlave.dickAccessory</span>.'' <<link "None">><<set $activeSlave.dickAccessory to "none">><<replace "#dickAccessory">><<print $activeSlave.dickAccessory>><</replace>><</link>> | <<link "Chastity cage">><<set $activeSlave.dickAccessory to "chastity",$activeSlave.choosesOwnChastity to 0>><<replace "#dickAccessory">><<print $activeSlave.dickAccessory>><</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>> | <<link "Anal chastity belt">><<set $activeSlave.dickAccessory to "anal chastity",$activeSlave.choosesOwnChastity to 0>><<replace "#dickAccessory">><<print $activeSlave.dickAccessory>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</replace>><</link>> | <<link "Combined chastity belt">><<set $activeSlave.dickAccessory to "combined chastity",$activeSlave.choosesOwnChastity to 0>><<replace "#dickAccessory">><<print $activeSlave.dickAccessory>><</replace>><<SlaveInteractSexOption>><<SlaveInteractAnalSexOption>><<SlaveInteractGropeOption>><<SlaveInteractDickGropeOption>><<SlaveInteractAnalGropeOption>><</link>> <</if>> <<if $arcologies[0].FSRestart != "unset" && $activeSlave.devotion > 20 && $activeSlave.trust > 0 && $activeSlave.choosesOwnClothes == 1>> <br> <<if $activeSlave.choosesOwnChastity == 1>> She is allowed the privelage of choosing to wear chastity devices. [[Forbidden|Slave Interact][$activeSlave.choosesOwnChastity = 0]] <<else>> You choose if she may avoid wearing chastity devices. [[Permitted|Slave Interact][$activeSlave.choosesOwnChastity = 1]] <</if>> <</if>> <</if>> /* CLOSES FUCKDOLL CHECK */ <<if $studio == 1>> <br> <<if $activeSlave.pornFameSpending is -1>> The media hub is not releasing highlights of her sex life. [[Release|Slave Interact][$activeSlave.pornFameSpending to 0]] <<else>> <<if $activeSlave.prestige < 3>> The media hub is releasing highlights of her sex life. ¤$activeSlave.pornFameSpending weekly is spent to publicize them. <<if $activeSlave.pornFameSpending < 5000>> [[Increase|Slave Interact][$activeSlave.pornFameSpending += 1000]] <</if>> <<if ($activeSlave.pornFameSpending < 5000) && ($activeSlave.pornFameSpending > 0)>> | <</if>> <<if $activeSlave.pornFameSpending > 0>> [[Decrease|Slave Interact][$activeSlave.pornFameSpending -= 1000]] <</if>> <<else>> //She is so prestigious that subsidizing coverage of her sex life will not increase her fame.// <</if>> <</if>> <br> <</if>> <br><br> <<if ($slaveCostFactor > 1)>> @@color:yellow;The slave market is bullish; the price of slaves is high.@@ <<elseif ($slaveCostFactor < 1)>> @@color:yellow;The slave market is bearish; the price of slaves is low.@@ <</if>> <<if ($slaves.length > 1)>> <<if $activeSlave.origin == "You bought her from a body dump, completely broken." && ($week-$activeSlave.weekAcquired <= 8)>> //A discarded slave must be kept for at least two months to unsure health before being sold.// <<elseif $activeSlave.accent > 3>> //Her lack of language and basic life skills is a red sign to most slave appraisers. She must not act like a child to be sold without raising suspicion.// <<else>> [[Sell her|Sell Slave][$cash -= 500]] //Listing her for sale will cost ¤500// | <<if ($seeAge != 0)>> <<if ($activeSlave.indenture < 1)>> <<if ($retiree == 0)>> [[Retire her|Slave Interact][$retiree to $activeSlave, $manuallyRetired to 1]] | <<else>> //A slave has been manually retired this turn.// <</if>> <</if>> <</if>> <</if>> [[Discard her|Discard Confirm]] <<else>> //You cannot sell or discard your last slave.// <</if>> | [[Upload her|Upload Slave]] <<if $cheatMode>> | [[Export this slave|Export Slave]] | [[Import a slave|Import Slave]] <</if>>
r3d/fc
src/uncategorized/slaveInteract.tw
tw
bsd-3-clause
74,518
:: Slave Markets <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Buy Slaves">> <<set $returnTo to "Buy Slaves">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Kidnapped Slaves">> <<if $activeArcology != 0>> <<set $slaveMarket to "neighbor">> <<set $direction to $activeArcology.direction>> <<set $slavesSeen += 1>> <<set $activeArcology to 0>> <</if>> You visit the slave markets off the arcology plaza. It's always preferable to examine merchandise in person. <<if $slaveMarket == "corporate">> You're in the area of the slave market owned by your corporation. The corporation captures more slaves than it can train, and only retains and trains those that are likely to be profitable at resale. <<if $captureUpgradeAge == "young">> <<set $activeSlaveOneTimeMinAge to $minimumSlaveAge>> <<set $activeSlaveOneTimeMaxAge to 19>> <<elseif $captureUpgradeAge == "old">> <<if $pedo_mode == 1>> <<set $activeSlaveOneTimeMinAge to 24>> <<set $activeSlaveOneTimeMaxAge to $retirementAge>> <<else>> <<set $activeSlaveOneTimeMinAge to 36>> <<set $activeSlaveOneTimeMaxAge to $retirementAge>> <</if>> <</if>> <<set $one_time_age_overrides_pedo_mode to 1>> <<if $captureUpgradeGender == "XX">> Slaves without pussies are not trained. <<include "Generate XX Slave">> <<elseif $captureUpgradeGender == "XY">> Slaves without dicks are not trained. <<include "Generate XY Slave">> <<else>> Slaves are passed to training regardless of whether they have dicks or pussies. <<include "Generate New Slave">> <</if>> <<set $activeSlave.origin to "She was enslaved and trained by your corporation.">> <<set $activeSlave.devotion = random(-15,15)>> <<set $activeSlave.trust = random(-45,-25)>> <<set $activeSlave.health = random(25,50)>> <<if $surgicalUpgradeGenitalia != "fucknugget">> <<if $entrapmentUpgradeDevotionTwo == "devotion">> It focuses on selecting trainees predisposed towards devotion to their new owners. <<set $activeSlave.devotion = random(55,75)>> <<elseif $entrapmentUpgradeDevotionOne == "obedience">> It focuses on selecting trainees predisposed towards obedience. <<set $activeSlave.devotion = random(25,45)>> <<else>> It does not select trainees based on their initial feelings about slavery. <</if>> <<if $entrapmentUpgradeIntelligence == "intelligent">> Intelligent slaves have a high priority for training. <<set $activeSlave.intelligence = either(1,2,2,3)>> <<elseif $entrapmentUpgradeIntelligence == "stupid">> Stupid slaves have a high priority for training. <<set $activeSlave.intelligence = either(-1,-2,-2,-3)>> <<else>> Slaves' intelligence is not given special consideration. <</if>> <<if $captureUpgradeAge == "young">> Young slaves are strongly favored for training. /*<<set $activeSlave.actualAge = ramdom(18,19)>>*/ <<elseif $captureUpgradeAge == "old">> Newly enslaved MILFs are strongly favored for training. /*<<set $activeSlave.actualAge = ramdom(36,$retirementAge)>>*/ <<else>> Promising slaves are trained without special sorting based on age. <</if>> <<if ($captureUpgradeRace == "unselected") || ($captureUpgradeRace == "none")>> There is no racial element to trainee selection. <<else>> The corporation prefers to train <<print $captureUpgradeRace>>s. <</if>> <<if $generalUpgradeBreaking == "brutality">> The corporation applies brutal slave breaking techniques, with new captures assigned rape quotas. <<set $activeSlave.trust = random(-75,-55)>> <<elseif $generalUpgradeBreaking == "care">> The corporation applies surprisingly caring slave breaking techniques that sometimes convince refugees and similar downtrodden people that slavery is a step up for them. <<set $activeSlave.trust = random(-15,15)>> <<else>> The corporation applies standard slave breaking techniques. <</if>> <<if $generalUpgradeWeight == "attractive">> Thin trainees are fattened up; fat trainees are slimmed down. <<set $activeSlave.weight = Math.clamp($activeSlave.weight, -25, 25)>> <<else>> Only the unhealthiest trainees are fed special diets. <</if>> <<if $generalUpgradeMuscle == "toned">> Trainees are brought up to a good state of physical fitness. <<set $activeSlave.weight = Math.clamp($activeSlave.weight, -25, 25)>> <<set $activeSlave.muscles = 20>> <<elseif $generalUpgradeMuscle == "ripped">> Trainees are subjected to punishing workout routines and only sold when ripped. <<set $activeSlave.weight = Math.clamp($activeSlave.weight, -25, 5)>> <<set $activeSlave.muscles = 50>> <<else>> Trainees are not subjected to any special workout routine. <</if>> <<if $trainingUpgradeAccent == "accents">> The corporation teaches its trainees the lingua franca but allows them to retain distinctive accents. <<set $activeSlave.accent = Math.clamp($activeSlave.accent, 0, 1)>> <<elseif $trainingUpgradeAccent == "eliminate">> The corporation teaches its trainees to speak the lingua franca without accent. <<set $activeSlave.accent = 0>> <<else>> The corporation does not expend any special effort teaching language. <</if>> <<if $trainingUpgradeEducation == "basic">> Its slave students receive basic slave educations. <<set $activeSlave.intelligence = Math.clamp($activeSlave.intelligence+1, -3, 3)>> <<set $activeSlave.intelligenceImplant = 1>> <<set $activeSlave.whoreSkill = Math.clamp($activeSlave.whoreSkill, 15, 100)>> <<set $activeSlave.entertainSkill = Math.clamp($activeSlave.entertainSkill, 15, 100)>> <<else>> Its slaves are not given special educational attention. <</if>> <<if $trainingUpgradeSexEd == "competence">> Trainees spend weeks learning sexual competence. <<set $activeSlave.oralSkill = Math.clamp($activeSlave.oralSkill, 15, 100)>> <<if $activeSlave.vagina >= 0>> <<set $activeSlave.vaginalSkill = Math.clamp($activeSlave.vaginalSkill, 15, 100)>> <</if>> <<set $activeSlave.analSkill = Math.clamp($activeSlave.analSkill, 15, 100)>> <<elseif $trainingUpgradeSexEd == "highly skilled">> Trainees spend months learning sexual skills. <<set $activeSlave.oralSkill = Math.clamp($activeSlave.oralSkill, 35, 100)>> <<if $activeSlave.vagina > 0>> <<set $activeSlave.vaginalSkill = Math.clamp($activeSlave.vaginalSkill, 35, 100)>> <<elseif $activeSlave.vagina == 0>> <<set $activeSlave.vaginalSkill = Math.clamp($activeSlave.vaginalSkill, 15, 100)>> <</if>> <<if $activeSlave.anus > 0>> <<set $activeSlave.analSkill = Math.clamp($activeSlave.analSkill, 35, 100)>> <<else>> <<set $activeSlave.analSkill = Math.clamp($activeSlave.analSkill, 15, 100)>> <</if>> <<else>> No special sexual training is applied. <</if>> <</if>> /* CLOSES FUCKNUGGET EXEMPTION */ <<if $surgicalUpgradeCosmetics == "applied">> The corporation uses subtle cosmetic surgery to improve its slaves for sale. <<if ($activeSlave.anus > 3)>> <<set $activeSlave.anus to 3>> <<if $activeSlave.analSkill > 10>><<set $activeSlave.analSkill -= 10>><</if>> <</if>> <<if ($activeSlave.vagina > 3)>> <<set $activeSlave.vagina to 3>> <<if $activeSlave.vaginalSkill > 10>><<set $activeSlave.vaginalSkill -= 10>><</if>> <</if>> <<if ($activeSlave.faceImplant == 0) && ($activeSlave.face < 3)>> <<if $activeSlave.faceShape is "masculine">><<set $activeSlave.faceShape to "androgynous">><</if>> <<set $activeSlave.faceImplant to 1>> <<set $activeSlave.face += 1>> <</if>> <<if ($activeSlave.ageImplant != 1) && ($activeSlave.physicalAge >= 25)>> <<set $activeSlave.ageImplant to 1>> <<AgeImplantAdjustment>> <</if>> <<if ($activeSlave.voice == 1) && ($activeSlave.voiceImplant == 0)>> <<set $activeSlave.voice += 1>> <<set $activeSlave.voiceImplant += 1>> <</if>> <<if ($activeSlave.waist == 0)>> <<set $activeSlave.waist to 1>> <</if>> <<if (($activeSlave.boobShape == "saggy") || ($activeSlave.boobShape == "downward-facing"))>> <<set $activeSlave.boobShape = "normal">> <</if>> <<if (($activeSlave.boobShape == "normal") || ($activeSlave.boobShape == "wide-set"))>> <<if $activeSlave.boobs > 800>><<set $activeSlave.boobShape = "torpedo-shaped">><<else>><<set $activeSlave.boobShape = "perky">><</if>> <</if>> <<else>> The corporation does not use cosmetic surgery to improve its slaves for sale. <</if>> <<if $surgicalUpgradeImplants == "applied">> Slaves are given tasteful breast, butt, and lip implants. <<set $activeSlave.buttImplant = 1>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+$activeSlave.buttImplant, 0, 10)>> <<set $activeSlave.boobsImplant = 600>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+$activeSlave.boobsImplant, 0, 10000)>> <<set $activeSlave.lipsImplant = 20>> <<set $activeSlave.lips = Math.clamp($activeSlave.lips+$activeSlave.lipsImplant, 0, 55)>> <<elseif $surgicalUpgradeImplants == "absurd">> Slaves are given absurd breast, butt, and lip implants. <<set $activeSlave.buttImplant = 4>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+$activeSlave.buttImplant, 0, 10, $activeSlave.butt+$activeSlave.buttImplant)>> <<set $activeSlave.boobsImplant = 2400>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+$activeSlave.boobsImplant, 0, 10000)>> <<set $activeSlave.lipsImplant = 60>> <<set $activeSlave.lips = Math.clamp($activeSlave.lipsImplant+$activeSlave.buttImplant, 0, 100)>> <<else>> Slaves are not given breast, butt, or lip implants. <</if>> <<if $surgicalUpgradeGenitalia == "futanari">> Advanced surgical techniques are applied to turn the corporation's slaves into futanari. <<if ($activeSlave.dick == 0)>><<set $activeSlave.dick = 2>><</if>> <<if ($activeSlave.balls == 0)>><<set $activeSlave.balls = 2>><</if>> <<if ($activeSlave.vagina == 0)>><<set $activeSlave.vagina = 1>><</if>> <<set $activeSlave.ovaries = 1>> <<elseif $surgicalUpgradeGenitalia == "gelded">> Slaves with balls have them removed, rendering them feminine and obedient. <<if ($activeSlave.balls != 0)>> <<set $activeSlave.balls = 0>> <<set $activeSlave.scrotum = 0>> <<set $activeSlave.dick = Math.clamp($activeSlave.dick-1, 1, 6)>> <<set $activeSlave.boobs += 100*random(2,4)>> <<set $activeSlave.butt += random(1,2)>> <<set $activeSlave.muscles = 0>> <<if ($activeSlave.faceShape is "masculine")>> <<set $activeSlave.faceShape = "androgynous">> <<elseif ($activeSlave.faceShape is "androgynous")>> <<set $activeSlave.faceShape = "normal">> <</if>> <<set $activeSlave.devotion += random(5,10)>> <<set $activeSlave.trust += random(5,10)>> <<set $activeSlave.attrXY = Math.clamp($activeSlave.attrXY+random(5,10), 0, 100)>> <</if>> <<elseif $surgicalUpgradeGenitalia == "fucknugget">> It removes slaves' limbs and mental abilities, making any training pointless. <<else>> No other surgery is applied. <</if>> <<if $drugUpgradeHormones == "XX">> It applies almost universal female hormone therapy. <<if ($activeSlave.dick > 0)>> <<set $activeSlave.dick = Math.clamp($activeSlave.dick-1, 1, 6)>> <</if>> <<if ($activeSlave.balls > 0)>> <<set $activeSlave.balls = Math.clamp($activeSlave.balls-1, 1, 6)>> <</if>> <<if ($activeSlave.clit > 0)>> <<set $activeSlave.clit = Math.clamp($activeSlave.clit-1, 0, 3)>> <</if>> <<if ($activeSlave.voice < 3) && ($activeSlave.voice > 0)>> <<set $activeSlave.voice = Math.clamp($activeSlave.voice+1, 1, 3)>> <</if>> <<if ($activeSlave.vagina > -1) && ($activeSlave.ovaries != 0) && ($activeSlave.vaginaLube < 2)>> <<set $activeSlave.vaginaLube = Math.clamp($activeSlave.vaginaLube+1, 0, 2)>> <</if>> <<if (($activeSlave.butt-$activeSlave.buttImplant) < 2)>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+1, 0, 10)>> <</if>> <<if (($activeSlave.boobs-$activeSlave.boobsImplant) < 500)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+400, 0, 10000)>> <</if>> <<if (($activeSlave.face-$activeSlave.faceImplant) < 0) && ($activeSlave.face < 3)>> <<set $activeSlave.face = Math.clamp(-3, 3, $activeSlave.face+1)>> <</if>> <<if ($activeSlave.faceShape is "masculine")>> <<set $activeSlave.faceShape = "androgynous">> <<elseif ($activeSlave.faceShape is "androgynous")>> <<set $activeSlave.faceShape = "normal">> <</if>> <<if ($activeSlave.physicalAge < 25)>> <<set $activeSlave.shoulders = Math.clamp($activeSlave.shoulders-1, -2, 2)>> <<set $activeSlave.hips = Math.clamp($activeSlave.hips+1, -2, 2)>> <</if>> <<if ($activeSlave.muscles > 30) && ($activeSlave.diet != "muscle building") && ($generalUpgradeMuscle != "toned") && ($generalUpgradeMuscle != "ripped")>> <<set $activeSlave.muscles = Math.clamp($activeSlave.muscles-10, 0, 30)>> <</if>> <<if ($activeSlave.nipples is "tiny")>> <<set $activeSlave.nipples = "cute">> <</if>> <<if ($activeSlave.height > 180)>> <<set $activeSlave.height -= random(3,6)>> <</if>> <<set $activeSlave.devotion += random(5,10)>> <<set $activeSlave.trust += random(5,10)>> <<set $activeSlave.attrXY = Math.clamp($activeSlave.attrXY+random(5,10), 0, 100)>> <<elseif $drugUpgradeHormones == "XY">> It applies almost universal male hormone therapy. <<if ($activeSlave.dick > 0)>> <<set $activeSlave.dick = Math.clamp($activeSlave.dick+1, 1, 6)>> <</if>> <<if ($activeSlave.balls > 0)>> <<set $activeSlave.balls = Math.clamp($activeSlave.balls+1, 1, 6)>> <</if>> <<if ($activeSlave.clit > 0) && ($activeSlave.dick == 0)>> <<set $activeSlave.clit = Math.clamp($activeSlave.clit+1, 0, 3)>> <</if>> <<if ($activeSlave.voice > 1)>> <<set $activeSlave.voice = Math.clamp($activeSlave.voice-1, 1, 3)>> <</if>> <<if ($activeSlave.vagina > -1) && ($activeSlave.vaginaLube > 0)>> <<set $activeSlave.vaginaLube = Math.clamp($activeSlave.vaginaLube-1, 0, 2)>> <</if>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt-1, 0, 10)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs-400, 0, 10000)>> <<if (($activeSlave.face-$activeSlave.faceImplant) < 0) && ($activeSlave.face > 0)>> <<set $activeSlave.face = Math.clamp($activeSlave.face-1, -3, 3)>> <</if>> <<if ($activeSlave.faceShape is "androgynous")>> <<set $activeSlave.faceShape = "masculine">> <<else>> <<set $activeSlave.faceShape = "androgynous">> <</if>> <<if ($activeSlave.physicalAge < 25)>> <<set $activeSlave.shoulders = Math.clamp($activeSlave.shoulders+1, -2, 2)>> <<set $activeSlave.hips = Math.clamp($activeSlave.hips-1, -2, 2)>> <</if>> <<if ($activeSlave.muscles <= 95) && ($activeSlave.diet != "slimming")>> <<set $activeSlave.muscles = Math.clamp($activeSlave.muscles+20, 0, 3)>> <</if>> <<if ($activeSlave.nipples is "huge")>> <<set $activeSlave.nipples = "cute">> <</if>> <<if ($activeSlave.height < 155)>> <<set $activeSlave.height += random(3,6)>> <</if>> <<set $activeSlave.devotion -= random(5,10)>> <<set $activeSlave.trust -= random(5,10)>> <<set $activeSlave.attrXX = Math.clamp($activeSlave.attrXX+random(5,10), 0, 100)>> <<else>> It does not use hormones on a systematic level. <</if>> <<if $drugUpgradeInjectionTwo == "supermassive">> Advanced growth hormones are applied on a grand scale. <<set $activeSlave.lips = Math.clamp($activeSlave.lips+50, 0, 85)>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+random(4,6), 0, 10)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+(100*random(40,60)), 0, 10000)>> <<set $activeSlave.nipples = either("huge", "inverted")>> <<if $activeSlave.dick > 0>> <<set $activeSlave.dick = Math.clamp($activeSlave.dick+random(3,5), 0, 6)>> <</if>> <<if $activeSlave.balls > 0>> <<set $activeSlave.balls = Math.clamp($activeSlave.balls+random(3,5), 0, 6)>> <</if>> <<elseif $drugUpgradeInjectionTwo == "pastoral">> Advanced growth hormones are applied with total focus on increasing slaves' productiveness. <<set $activeSlave.lips = Math.clamp($activeSlave.lips+20, 0, 85)>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+random(2,3), 0, 10)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+(100*random(60,80)), 0, 10000)>> <<set $activeSlave.nipples = either("huge", "inverted")>> <<set $activeSlave.lactation = 2>> <<if $activeSlave.dick > 0>> <<set $activeSlave.dick = Math.clamp($activeSlave.dick+random(6,8), 0, 10)>> <</if>> <<if $activeSlave.balls > 0>> <<set $activeSlave.balls = Math.clamp($activeSlave.balls+random(4,6), 0, 6)>> <</if>> <<elseif $drugUpgradeInjectionOne == "tasteful">> Growth hormones are used to correct flat chests and butts. <<set $activeSlave.lips = Math.clamp($activeSlave.lips+10, 15, 55)>> <<if $activeSlave.butt < 3>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+1, 3, 10)>> <</if>> <<if $activeSlave.boobs < 800>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+200, 800, 10000)>> <</if>> <<elseif $drugUpgradeInjectionOne == "huge">> Growth hormones are used throughout slave training to ensure expansion. <<set $activeSlave.lips = Math.clamp($activeSlave.lips+20, 0, 55)>> <<set $activeSlave.butt = Math.clamp($activeSlave.butt+random(2,3), 0, 10)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+(100*random(10,20)), 0, 10000)>> <<set $activeSlave.nipples = either("cute", "partially inverted")>> <<if $activeSlave.dick > 0>> <<set $activeSlave.dick = Math.clamp($activeSlave.dick+random(2,3), 0, 5)>> <</if>> <<if $activeSlave.balls > 0>> <<set $activeSlave.balls = Math.clamp($activeSlave.balls+random(2,3), 0, 5)>> <</if>> <<else>> Growth hormones are not applied. <</if>> <<if $surgicalUpgradeGenitalia == "fucknugget">> <<set $activeSlave.fetish = "mindbroken">> <<set $activeSlave.amp = 1>> <<set $activeSlave.fetishStrength = 10, $activeSlave.attrXY to 50, $activeSlave.attrXX to 50, $activeSlave.attrKnown to 1, $activeSlave.devotion = 40, $activeSlave.trust = -40, $activeSlave.vaginalSkill = 0, $activeSlave.oralSkill = 0, $activeSlave.analSkill = 0, $activeSlave.combatSkill = 0, $activeSlave.whoreSkill = 0, $activeSlave.entertainSkill = 0, $activeSlave.intelligence to -2, $activeSlave.intelligenceImplant to 0, $activeSlave.sexualFlaw to "none", $activeSlave.sexualQuirk to "none", $activeSlave.behavioralFlaw to "none", $activeSlave.behavioralQuirk to "none">> <</if>> <<elseif $slaveMarket is "heap">> You're in the corner of the slave market occupied by "The Flesh Heap", a dumping ground, of sorts, for broken slaves. Be it braindeath, drug overdose, coma or anything else, this market is willing to buy and sell them. Most of the worthwhile slaves have already been picked clean by pharmaceutical companies for drug testing, and the rest are practically nothing more than vegetables, but a handful remain just concious enough to be profitable with effort as slaves. One should go in expecting only the worst quality possible, though if anything catches your eye, it will be rather cheap to purchase. <<set $seed to random(1,4)>> <<if $seed == 1>> "Looking for a warm body to use as furniture? Perhaps as a decorative, living sculpture? We got what you want!" <<elseif $seed == 2>> "I garuntee they are all alive, maybe not healthy but alive. Well, except that one, just ignore that one." <<elseif $seed == 3>> "We ask that you don't use this merchandise for organ harvesting, we have plenty of nonfuctional ones for that." <<else>> "If you are looking for a body to do unmentionable things to, you came to the right place! Though theses in particual just barely fall under slave laws." <</if>> <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from a body dump, completely broken.">> <<set $activeSlave.devotion = 0>> <<set $activeSlave.trust = 0>> <<set $activeSlave.career = "a slave">> <<set $activeSlave.intelligence to either(-3, -3, -2, -2, -2, -1, -1, -1, -1, 0)>> <<set $activeSlave.intelligenceImplant to 0>> <<set $activeSlave.health = random(-99,0)>> <<set $activeSlave.weight = random(-100,0)>> <<set $activeSlave.eyes = either(-2, -1, -1, -1, -1, 1, 1, 1)>> <<set $activeSlave.amp = either(0, 0, 0, 0, 0, 0, 1, 1, 1)>> <<if $activeSlave.amp != 1>> <<set $activeSlave.heels = either(0, 0, 0, 0, 0, 1, 1)>> <</if>> <<set $activeSlave.voice = random(0,2)>> <<set $activeSlave.face = random(-3,1)>> <<if $activeSlave.vagina > -1>> <<set $activeSlave.vagina = either(1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 10)>> <<set $activeSlave.preg = random(-3,-1)>> <<set $activeSlave.vaginalCount += random(0,300)>> <</if>> <<set $activeSlave.anus = either(1, 2, 2, 3, 3, 3, 3, 4, 4, 4)>> <<if $activeSlave.balls > 1>> <<if random(1,100) > 50>> <<set $activeSlave.balls = 0>> <</if>> <</if>> <<set $activeSlave.oralCount += random(0,300)>> <<set $activeSlave.analCount += random(0,300)>> <<if $activeSlave.boobs > 500>> <<set $activeSlave.mammaryCount += random(0,300)>> <</if>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.oralSkill = 0>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.whoreSkill = 0>> <<set $activeSlave.entertainSkill = 0>> <<set $activeSlave.combatSkill = 0>> <<set $activeSlave.addict = either(0, 0, 0, 10, 10, 20, 30)>> <<set $activeSlave.chem = random(0,1000)>> <<set $activeSlave.behavioralFlaw = "none">> <<set $activeSlave.behavioralQuirk = "none">> <<set $activeSlave.sexualFlaw = "none">> <<set $activeSlave.sexualQuirk = "none">> <<set $activeSlave.fetish to "mindbroken">> <<set $activeSlave.fetishStrength = 0>> <<elseif $slaveMarket is "kidnappers">> You're in the area of the slave market populated by slave kidnappers, though of course they prefer more polite titles. The slaves here are cheap, and they look it. They're almost all recent catches from bad parts of the old world, and most of them have seen considerable abuse between the moment of their capture and entering your arcology. <<if $arcologies[0].FSPaternalistSMR == 1>> Fortunately for them, such behavior is not permitted here. Though they remain frightened and angry, they are safe from rape, for now. <<else>> <<set $seed to random(1,4)>> There's more merchandise out of sight in the holding areas. To go by what you can hear, <<if ($seed == 1) && (random(0,99) < $seeDicks)>> muffled insistence that the speaker is not a girl followed by struggling and then shrieks as a resistant dickgirl takes anal rape, <<elseif ($seed is 2) && (random(1,100) > $seeDicks)>> muffled begging followed by struggling and then crying as a new slave learns how it feels to have a slave's cunt, <<elseif ($seed is 3)>> muffled gagging followed gasping and sobbing as a new slave tries to get her breath back after oral rape, <<else>> the unmistakable slap of flesh on flesh, <</if>> at least one of the slavers is amusing himself<<if $arcologies[0].FSGenderFundamentalist is "unset">> (or herself)<</if>> back there. <</if>> <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from the kidnappers' slave market, and was probably forced into slavery.">> <<set $activeSlave.devotion -= 5>> <<set $activeSlave.trust = random(-45,-25)>> <<set $activeSlave.intelligence to either(-2, -1, -1, 0, 0, 0, 1)>> <<set $activeSlave.health = random(-80,20)>> <<if $activeSlave.vagina > 1 && isFertile($activeSlave)>><<set $activeSlave.preg to either(-2, -1, -1, -1, -1, -1, -1, -1, 1, 20)>><</if>> <<elseif $slaveMarket is "indentures">> You're in the area of the slave market that deals in indentured servants. The people sold here are slaves, but they are temporary slaves, and many of them have clauses in their indentures that prohibit some of the most severe practices. They exhibit a strange variety, with some looking more frightened than the most downtrodden slave and some looking almost cheerful. <<if $arcologies[0].FSPaternalistSMR == 1>> The generous protections for slaves in your arcology lend this last group extra confidence. <<else>> <<set $seed to random(1,4)>> The area is crowded, and more indentured servants are packed together in the holding areas. To go by what you can hear, <<if ($seed == 1) && (random(0,99) < $seeDicks)>> the unmistakable mixed shrieks, sobs, and slaps of anal rape, <<elseif ($seed is 2) && (random(1,100) > $seeDicks)>> the characteristic crying and gasping of an unwilling girl giving up her cunt, <<elseif ($seed is 3)>> the gagging and expectoration of someone who has just gotten a mouthful of unwelcome cum, <<else>> disconsolate sobbing interrupted by a gasp as something is stuffed inside someone's mouth, and followed by muffled screams, <</if>> one of them is learning exactly what her indenture allows. <</if>> <<include "Generate New Slave">> <<set $activeSlave.origin to "You purchased her indenture contract, making her yours for as long as it lasts.">> <<set $activeSlave.indentureRestrictions to either(0,1,1,2,2,2,2)>> <<if $activeSlave.indentureRestrictions >= 2>> <<set $activeSlave.devotion = random(25,45)>> <<set $activeSlave.trust = random(-20,20)>> <<elseif $activeSlave.indentureRestrictions == 1>> <<set $activeSlave.devotion = random(-20,20)>> <<set $activeSlave.trust = random(-45,-25)>> <<else>> <<set $activeSlave.devotion = random(-45,-25)>> <<set $activeSlave.trust = random(-75,-60)>> <</if>> <<set $activeSlave.indenture to either(26, 52, 104, 156, 208)>> <<elseif $slaveMarket is "hunters">> You're in the area of the slave market populated by runaway slave catchers, a proud group. The slaves here know their way around Free Cities slavery already, and their eyes are watchful. Most of them probably harbor thoughts of another attempt at escape, though the slavers to their best to disabuse them of these notions. <<if $arcologies[0].FSPaternalistSMR == 1>> Their methods are somewhat limited, as the rules in your arcology preclude the more effective methods of punishment. <<else>> <<set $seed to random(1,4)>> The slave catchers consider their catches fair game, though they usually confine their amusements to the holding areas out of sight. Not out of earshot, though; to go by what you can hear, <<if ($seed == 1) && (random(0,99) < $seeDicks)>> vehement insistence that the speaker is not a girl followed by a beating and then shrieks as a rebellious dickgirl takes anal rape, <<elseif ($seed is 2) && (random(1,100) > $seeDicks)>> vehement protestations followed by a beating and then crying as a slave's cunt takes her punishment for her, <<elseif ($seed is 3)>> struggling and gagging followed gasping and angry swearing as a rebellious slave tries to get her breath back after oral rape, <<else>> struggling followed by the slap of flesh on flesh, <</if>> at least one of the runaway hunters is amusing himself<<if $arcologies[0].FSGenderFundamentalist is "unset">> (or herself)<</if>> back there. <</if>> <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from the runaway hunters' slave market after they recaptured her and her original owner did not pay their fee.">> <<set $activeSlave.devotion = -20>> <<set $activeSlave.trust = random(-15,15)>> <<set $activeSlave.intelligence to either(0, 1, 2)>> <<set $activeSlave.intelligenceImplant to 1>> <<set $activeSlave.teeth to "normal">> <<set $activeSlave.health = random(-10,70)>> <<if $activeSlave.vagina > -1>> <<set $activeSlave.preg to either(-2, -1, -1, -1, -1, -1, -1, -1, 1, 1)>> <<if $activeSlave.physicalAge < $activeSlave.pubertyAgeXX>><<set $activeSlave.preg to -1>><</if>> <<set $activeSlave.vaginalSkill to random(15,100)>> <<set $activeSlave.vagina to random(1,3)>> <</if>> <<if $activeSlave.balls > 0>> <<if random(1,3) == 1>> <<set $activeSlave.balls to 0>> <</if>> <</if>> <<set $activeSlave.combatSkill to either(0, 0, 0, 0, 0, 1)>> <<set $activeSlave.entertainSkill to random(15,100)>> <<set $activeSlave.whoreSkill to random(15,100)>> <<set $activeSlave.oralSkill to random(15,100)>> <<set $activeSlave.analSkill to random(15,100)>> <<set $activeSlave.anus to random(1,3)>> <<set $activeSlave.weight = Math.clamp(-25, 25, $activeSlave.weight)>> <<set $activeSlave.behavioralFlaw to either("arrogant", "bitchy", "odd", "hates men", "hates women", "hates women", "anorexic", "gluttonous", "devout", "liberated")>> <<set $activeSlave.sexualFlaw to either("hates oral", "hates anal", "hates penetration", "repressed", "idealistic", "shamefast", "apathetic", "crude", "judgemental")>> <<if random(1,2) == 1>> <<set $seed to random(2,8)*200>> <<set $activeSlave.boobs += $seed>> <<set $activeSlave.boobsImplant += $seed>> <<set $seed to random(1,3)>> <<set $activeSlave.butt += $seed>> <<set $activeSlave.buttImplant += $seed>> <<set $seed to either(10,20)>> <<set $activeSlave.lips += $seed>> <<set $activeSlave.lipsImplant += $seed>> <<set $seed to random(0,1)>> <<set $activeSlave.waist to $seed>> <<if $activeSlave.face < 2>> <<set $seed to random(0,1)>> <<set $activeSlave.face += $seed>> <<set $activeSlave.faceImplant += $seed>> <</if>> <<if $activeSlave.physicalAge >= 30>> <<set $activeSlave.ageImplant += random(0,1)>> <<if $activeSlave.ageImplant == 1>> <<AgeImplantAdjustment>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSPaternalistSMR == 0>> <<set $activeSlave.heels to 1>> <</if>> <<elseif $slaveMarket is "underage raiders">> You're in the seediest area of the slave market populated by the cradle robbers, a despised group of slavers known for raiding elementary schools, orphanages and even preschools. They specifically target girls who have yet to experience their first period. The extreme risk of these raids makes the slavers here aggressive and confident, <<if $arcologies[0].FSPaternalistSMR == 1>> though they do obey the rules of your arcology that restrain them from abusing the girls. <<else>> <<set $seed to random(1,4)>> though they restrain themselves from reducing the value of their captures by taking virginities. They do have their fun, though; to go by what you can hear from the holding area where they keep underage girls who can be sold, <<if ($seed == 1) and (random(0,99) < $seeDicks)>> a muffled but obviously sadistic description of feminization, and the desperate sobbing in response, <<elseif ($seed == 2) and (random(1,100) > $seeDicks)>> a muffled but obviously sadistic description of breeding, and the desperate sobbing in response, <<elseif ($seed is 3)>> faint struggling and crying that suggests that someone is being thoroughly groped and pinched, <<else>> the lewd, lubricated noise of someone giving a reluctant handjob, <</if>> at least one of the raiders is amusing himself<<if $arcologies[0].FSGenderFundamentalist is "unset">> (or herself)<</if>> back there. <</if>> <<set $activeSlaveOneTimeMinAge to $minimumSlaveAge>> <<set $activeSlaveOneTimeMaxAge to $fertilityAge>> <<set $one_time_age_overrides_pedo_mode to 1>> /% Must not have had their first period. %/ <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from the underage raiders' slave market.">> <<set $activeSlave.trust -= 25>> <<set $activeSlave.health += 20>> <<set $activeSlave.career to $veryYoungCareers.random()>> <<set $activeSlave.birthWeek to 0>> <<if $activeSlave.vagina != -1>> <<set $activeSlave.vaginalSkill to 0>> <<set $activeSlave.vagina to 0>> <<set $activeSlave.preg to 0>> <</if>> <<set $activeSlave.analSkill to 0>> <<set $activeSlave.anus to 0>> <<set $activeSlave.oralSkill to 0>> <<set $activeSlave.whoreSkill to 0>> <<elseif $slaveMarket is "raiders">> You're in the area of the slave market populated by girl raiders, that daredevil subset of slave kidnappers that specifically target old world schools, preparatory institutions, religious groups, and other sources of slaves that can soon be sold right after they reach their majorities. The extreme risk of these raids makes the slavers here aggressive and confident, <<if $arcologies[0].FSPaternalistSMR == 1>> though they do obey the rules of your arcology that restrain them from abusing the girls. <<else>> <<set $seed to random(1,4)>> though they restrain themselves from reducing the value of their captures by taking virginities. They do have their fun, though; to go by what you can hear from the holding area where they keep slaves of age who can be sold, <<if ($seed == 1) && (random(0,99) < $seeDicks)>> a muffled but obviously sadistic description of feminization, and the desperate sobbing in response, <<elseif ($seed is 2) && (random(1,100) > $seeDicks)>> a muffled but obviously sadistic description of breeding, and the desperate sobbing in response, <<elseif ($seed is 3)>> faint struggling and crying that suggests that someone is being thoroughly groped and pinched, <<else>> the lewd, lubricated noise of someone giving a reluctant handjob, <</if>> at least one of the raiders is amusing himself<<if $arcologies[0].FSGenderFundamentalist is "unset">> (or herself)<</if>> back there. <</if>> <<set $activeSlaveOneTimeMinAge to 18>> <<set $activeSlaveOneTimeMaxAge to 18>> <<set $one_time_age_overrides_pedo_mode to 1>> /% Supposed to have just reached the age of majority. %/ <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from the girl raiders' slave market the week she reached her majority.">> <<set $activeSlave.trust -= 25>> <<set $activeSlave.health += 20>> <<set $activeSlave.career to "a student">> <<set $activeSlave.birthWeek to 0>> <<if $activeSlave.vagina != -1>> <<if random(1,2) == 1>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.vagina to 0>> <<set $activeSlave.preg to 0>> <</if>> <</if>> <<if random(1,2) == 1>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.anus to 0>> <</if>> <<if random(1,2) == 1>> <<set $activeSlave.oralSkill = 0>> <</if>> <<set $activeSlave.whoreSkill = 0>> <<elseif $slaveMarket is "neighbor">> <<for $i to 0; $i < $arcologies.length; $i++>> <<if $arcologies[$i].direction is $direction>> You're in the area of the slave market that specializes in slaves from within the Free City, viewing slaves from ''$arcologies[$i].name''. Some were trained there, specifically for sale, while others are simply being sold. <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from ">> <<set $activeSlave.origin += $arcologies[$i].name>> <<set $activeSlave.origin += ".">> <<set $activeSlave.devotion = -20 + Math.trunc($arcologies[$i].prosperity/10) + random(0,10)>> <<set $activeSlave.trust = -20 + Math.trunc($arcologies[$i].prosperity/10) + random(0,10)>> <<set $activeSlave.health = -50 + Math.trunc($arcologies[$i].prosperity/25) + random(0,5)>> <<if $activeSlave.vagina > 0>> <<set $activeSlave.vaginalSkill += Math.clamp($arcologies[$i].prosperity/2, 15, 100)>> <</if>> <<if $activeSlave.anus > 0>> <<set $activeSlave.analSkill += Math.clamp($arcologies[$i].prosperity/2, 15, 100)>> <</if>> <<set $activeSlave.oralSkill += Math.clamp($arcologies[$i].prosperity/2, 15, 100)>> <<set $activeSlave.attrKnown to 1>> <<set $activeSlave.fetishKnown to 1>> <<if $activeSlave.accent >= 3>> <<if $arcologies[$i].prosperity > random(0,200)>> <<set $activeSlave.accent -= 1>> <</if>> <</if>> <<if $arcologies[$i].prosperity > random(0,200)>> <<set $activeSlave.sexualFlaw to "none">> <</if>> <<if $arcologies[$i].prosperity > random(0,200)>> <<set $activeSlave.behavioralFlaw to "none">> <</if>> <<if $arcologies[$i].FSSubjugationist > 20>> They're universally $arcologies[$i].FSSubjugationistRace. <<set $fixedRace = $arcologies[$i].FSSubjugationistRace>><<NationalityToRace $activeSlave>><<NationalityToName $activeSlave>><<NationalityToAccent $activeSlave>><<set $fixedRace = 0>> <</if>> <<if $arcologies[$i].FSGenderRadicalist > 50>> They all show signs of intensive hormone therapy. <<set $activeSlave.chem += random(10,100)>> <<if $activeSlave.dick > 0>> <<set $activeSlave.boobs += 100*random(0,4)>> <<set $activeSlave.butt += random(0,2)>> <<if $activeSlave.hips < 2>> <<set $activeSlave.hips += random(0,1)>> <</if>> <<if $activeSlave.shoulders > -2>> <<set $activeSlave.shoulders -= random(0,1)>> <</if>> <<if $activeSlave.face < 3>> <<set $activeSlave.face += random(0,1)>> <</if>> <<if $activeSlave.faceShape is "masculine">> <<if random(0,1) == 0>> <<set $activeSlave.faceShape to "androgynous">> <</if>> <</if>> <<if $activeSlave.dick > 2>> <<set $activeSlave.dick -= random(0,2)>> <</if>> <<if $activeSlave.balls > 2>> <<set $activeSlave.balls -= random(0,2)>> <</if>> <<if $arcologies[$i].FSGenderRadicalistResearch == 1 && random(1,100) <= 20>> This one is has a notably rounded belly for a slave with no vagina. <<set $activeSlave.ovaries to 0>> <<set $activeSlave.vagina to -1>> <<set $activeSlave.mpreg to 1>> <<set $activeSlave.preg to random(1,20)>> <</if>> <<else>> <<set $activeSlave.boobs -= 100*random(0,2)>> <<set $activeSlave.butt -= random(0,1)>> <<if $activeSlave.hips > -2>> <<set $activeSlave.hips -= random(0,1)>> <</if>> <<if $activeSlave.shoulders < 2>> <<set $activeSlave.shoulders += random(0,1)>> <</if>> <<if $activeSlave.face > -3>> <<set $activeSlave.face -= random(0,1)>> <</if>> <<if $activeSlave.faceShape != "androgynous">> <<if random(0,1) == 0>> <<set $activeSlave.faceShape to "androgynous">> <</if>> <</if>> <<set $activeSlave.clit += random(0,2)>> <<set $activeSlave.labia += random(0,1)>> <<if $activeSlave.muscles <= 95>> <<set $activeSlave.muscles += random(0,20)>> <</if>> <</if>> <<elseif $arcologies[$i].FSGenderFundamentalist > 50>> Fertile slaves from there almost never appear without swollen bellies and sensitive nipples. <<set $activeSlave.preg to 0>> /*removing contraception of default slave generation so isFertile can work right*/ <<if isFertile($activeSlave)>> <<set $activeSlave.preg to random(1,35)>> <<set $activeSlave.lactation to random(0,1)>> <</if>> <</if>> <<if $arcologies[$i].FSRepopulationFocus > 50>> They are exclusively female and all extremely pregnant. <<set $activeSlave.ovaries to 1>> <<set $activeSlave.vagina to random(0,1,1,1,1,2,2,3,3,3,3)>> <<set $activeSlave.dick to 0>> <<set $activeSlave.balls to 0>> <<set $activeSlave.scrotum to 0>> <<set $activeSlave.preg to 0>> /*removing contraception of default slave generation so isFertile can work right*/ <<if isFertile($activeSlave)>> <<set $activeSlave.vagina to random(1,4)>> <<set $activeSlave.preg to random(21,35)>> <<if random(1,2) == 1 && $seeHyperPreg == 1>> <<set $activeSlave.pregType to random(10,29)>> <<else>> <<set $activeSlave.pregType to random(3,5)>> <</if>> <</if>> <<set $activeSlave.lactation to random(0,1)>> <<elseif $arcologies[$i].FSRestart > 50>> They have all been rendered unable to reproduce. <<if $activeSlave.ovaries == 1>> <<set $activeSlave.preg to -2>> <</if>> <<if $activeSlave.balls > 0>> <<set $activeSlave.balls to 0>> <</if>> <<if $arcologies[$i].FSRestartResearch == 1>> Smart and attractive slaves are beginning to be a rarity lately. <<if $activeSlave.face >= 0>> <<set $activeSlave.face -= 3>> <</if>> <<if $activeSlave.intelligence >= 0>> <<set $activeSlave.intelligence -= 3>> <</if>> <<set $activeSlave.chem to random(40,100)>> <<set $activeSlave.addict to either(0,0,0,0,0,0,0,0,5,20,20,50,100)>> <</if>> <</if>> <<if $arcologies[$i].FSPaternalist > 20>> They're often gratifyingly devoted and trusting. <<if $activeSlave.devotion < 10>> <<set $activeSlave.devotion += random(0,8)>> <</if>> <<if $activeSlave.trust < 50>> <<set $activeSlave.trust += random(0,8)>> <</if>> <<elseif $arcologies[$i].FSDegradationist > 20>> They can be depended upon to be terrified into abject submission. <<if $activeSlave.trust > -10>> <<set $activeSlave.trust -= random(0,10)>> <</if>> <<if random (1,100) > 90>> <<set $activeSlave.eyes = -2>> <</if>> <</if>> <<if $arcologies[$i].FSBodyPurist > 80>> They're quite pristine, free of any genomic damage or addictions regardless of any transformations they've had. <<set $activeSlave.chem to 0>> <<set $activeSlave.addict to 0>> <<elseif $arcologies[$i].FSTransformationFetishist > 80>> They vary in terms of what size their implants are, not whether they have them. <<set $activeSlave.chem += random(10,100)>> <<set $activeSlave.boobsImplant to 200*random(2,20)>> <<set $activeSlave.boobs += $activeSlave.boobsImplant>> <<set $activeSlave.buttImplant to random(2,5)>> <<set $activeSlave.butt += $activeSlave.buttImplant>> <<set $activeSlave.lipsImplant to either(10,20)>> <<set $activeSlave.lips += $activeSlave.lipsImplant>> <<if $arcologies[$i].FSTransformationFetishistResearch == 1 && random(1,100) <= 20>> This one's implants are unusually large; showcasing what her home arcology is capable of. <<set $activeSlave.boobsImplant += 200*random(100,200)>> <<set $activeSlave.boobs += $activeSlave.boobsImplant>> <</if>> <</if>> <<if $arcologies[$i].FSYouthPreferentialist > 20>> They're usually on the younger side. <<if $activeSlave.actualAge > 30>> <<if random(0,1) == 0>> <<set $activeSlave.actualAge to random(18,25)>> <<set $activeSlave.visualAge = $activeSlave.actualAge>> <<set $activeSlave.physicalAge = $activeSlave.actualAge>> <<if $activeSlave.boobs > 400>> <<set $activeSlave.boobs -= 100*random(0,2)>> <</if>> <<if $activeSlave.butt > 3>> <<set $activeSlave.butt -= random(0,2)>> <</if>> <<elseif $arcologies[$i].FSYouthPreferentialistResearch == 1>> <<if $activeSlave.actualAge > 30>> Well, all of them certainly look it. Always best to check their ages before buying. <<set $activeSlave.visualAge = random(18,25)>> <<set $activeSlave.chem += random(10,40)>> <</if>> <<else>> And if they aren't, they sure don't look their age. <<Set $activeSlave.ageImplant == 1>> <<AgeImplantAdjustment>> <</if>> <</if>> <<elseif $arcologies[$i].FSMaturityPreferentialist > 20>> They're usually on the more mature side. <<if $activeSlave.actualAge < 30>> <<if random(0,1) == 0>> <<set $activeSlave.actualAge to random(36,$retirementAge)>> <<set $activeSlave.visualAge = $activeSlave.actualAge>> <<set $activeSlave.physicalAge = $activeSlave.actualAge>> <<if $activeSlave.boobs < 400>> <<set $activeSlave.boobs += 100*random(0,2)>> <</if>> <<if $activeSlave.butt < 3>> <<set $activeSlave.butt += random(0,2)>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[$i].FSSlimnessEnthusiast > 20>> They're never overweight, and are often quite lithe. <<if $activeSlave.boobs > 400>> <<set $activeSlave.boobs -= 100*random(0,2)>> <</if>> <<if $activeSlave.butt > 3>> <<set $activeSlave.butt -= random(0,2)>> <</if>> <<if $activeSlave.weight > 10>> <<set $activeSlave.weight to random(-30,0)>> <</if>> <<elseif $arcologies[$i].FSAssetExpansionist > 20>> Their butts are usually imposing, but their tits are what's often most impressive. <<set $activeSlave.chem += random(10,100)>> <<if $activeSlave.boobs < 5000>> <<set $activeSlave.boobs += 100*random(5,50)>> <</if>> <<if $activeSlave.butt < 6>> <<set $activeSlave.butt += random(2,4)>> <</if>> <<if $activeSlave.weight < -10>> <<set $activeSlave.weight += random(0,20)>> <</if>> <<if $arcologies[$i].FSAssetExpansionistResearch == 1 && random(1,100) <= 20>> This one is unusually large; showcasing what her home arcology is capable of. <<set $activeSlave.boobs to 200*random(100,200)>> <<set $activeSlave.butt to random(10,20)>> <<if $seeDicks != 0>> <<set $activeSlave.dick to random(20,30)>> <<set $activeSlave.balls to random(20,125)>> <</if>> <</if>> <</if>> <<if $arcologies[$i].FSPastoralist > 20>> Lactation is nearly universal among them, sometimes in ludicrous quantities. They tend to have huge udders, as well. <<set $activeSlave.chem += random(10,100)>> <<if $activeSlave.boobs < 5000>> <<set $activeSlave.boobs += 100*random(5,50)>> <</if>> <<if $activeSlave.lactation == 0>> <<set $activeSlave.lactation to either(0,1,1,1,1,2)>> <</if>> <<if $activeSlave.weight < -10>> <<set $activeSlave.weight += random(0,20)>> <</if>> <</if>> <<if $arcologies[$i].FSPhysicalIdealist > 20>> They're usually quite muscular, some to a truly imposing degree, and they're almost never unhealthy. <<set $activeSlave.muscles to random(10,100)>> <<if $activeSlave.health < 20>> <<set $activeSlave.health += random(0,8)>> <</if>> <</if>> <<if $arcologies[$i].FSChattelReligionist > 20>> They're rarely anything but devoted, and sometimes present interesting peccadilloes. <<if $activeSlave.devotion < 10>> <<set $activeSlave.devotion += random(0,10)>> <</if>> <<if $activeSlave.devotion < 10>> <<set $activeSlave.devotion += random(0,10)>> <</if>> <<if random(0,1) == 0>> <<set $activeSlave.behavioralQuirk to "sinful">> <</if>> <</if>> <<if $arcologies[$i].FSRomanRevivalist > 20>> They've often seen things that drive any squeamishness out of them. <<if random(0,1) == 0>> <<set $activeSlave.sexualQuirk to "unflinching">> <</if>> <<elseif $arcologies[$i].FSEgyptianRevivalist > 20>> They've often done things that give them a distinct appetite for perversion. <<if random(0,1) == 0>> <<set $activeSlave.sexualQuirk to "perverted">> <</if>> <<elseif $arcologies[$i].FSEdoRevivalist > 20>> They have frequently absorbed much culture there. <<set $activeSlave.entertainSkill = Math.clamp($activeSlave.entertainSkill, 35, 100)>> <<elseif $arcologies[$i].FSArabianRevivalist > 20>> They've often been part of large harems in which selflessness is prized. <<if random(0,1) == 0>> <<set $activeSlave.sexualQuirk to "caring">> <</if>> <<elseif $arcologies[$i].FSChineseRevivalist > 20>> They've all passed through a thorough and uncompromising educational system for slaves. <<set $activeSlave.intelligenceImplant to 1>> <<if $activeSlave.intelligence < 2>> <<set $activeSlave.intelligence += random(0,2)>> <</if>> <</if>> <<set $activeArcology to $arcologies[0]>> <<set $targetArcology to $arcologies[$i]>> <<include "Arcology Opinion">> <<set $opinion = Math.trunc($opinion/20)>> <<set $opinion to Math.clamp($opinion, -10, 10)>> <<if ($arcologies[0].FSDegradationist != "unset") && ($arcologies[$i].FSPaternalist != "unset")>> <<set $activeSlave.devotion = random(-90,-60)>> <<set $activeSlave.trust = -20>> ''$arcologies[$i].name'' is Paternalist, and your arcology is Degradationist. To its slaves, other niceties of social alignment are trivial. They view your arcology as a literal Hell on Earth. <<elseif ($arcologies[0].FSDegradationist != "unset") && ($arcologies[$i].FSPaternalist != "unset")>> <<set $activeSlave.devotion = random(60,90)>> <<set $activeSlave.trust = 20>> ''$arcologies[$i].name'' is Degradationist, and your arcology is Paternalist. To its slaves, other niceties of social alignment are trivial. They view your arcology as a promised land. <<elseif $opinion != 0>> <<set $activeSlave.devotion += $opinion>> <<set $activeSlave.trust += $opinion>> <<set $activeSlave.devotion = Math.clamp($activeSlave.devotion, -100, 75)>> <<set $activeSlave.trust = Math.clamp($activeSlave.trust, -100, 75)>> <<if $opinion > 2>> Your arcology's close social alignment with ''$arcologies[$i].name'' makes its slaves more accepting of the prospect of life in your arcology, and willing to trust that they'll know how to survive there. <<elseif $opinion < -2>> Your arcology's very different culture from ''$arcologies[$i].name'''s makes its slaves unhappy with the prospect of life in your arcology, and afraid of what will happen to them there. <</if>> <</if>> <</if>> <</for>> /* <<set $activeSlave.sexualQuirk to either("gagfuck queen", "painal queen", "strugglefuck queen", "tease", "romantic", "perverted", "caring", "unflinching", "size queen")>> <<set $activeSlave.behavioralQuirk to either("confident", "cutting", "funny", "adores women", "adores men", "fitness", "insecure", "sinful", "advocate")>> */ <<else>> You're in the area of the slave market populated by slave trainers, easily the wealthiest vendors. The slaves here have received obedience training and medical care, and many have had some basic sexual skills forced on them. <<if $arcologies[0].FSPaternalistSMR == 1>> Though the rules of your arcology protected them from the worst excesses of the training profession, many of the slaves on sale have the haunted look of people still coming to terms with the idea that they no longer have any bodily autonomy. <<else>> <<set $seed to random(1,4)>> The trainers are a competitive bunch, and to go by what you can hear, <<if ($seed == 1) && ($seeDicks != 0) && (random(0,100) > $seeDicks)>> moaning interspersed with lewd, well-lubricated noises coming from both anal sex and vigorous masturbation, <<elseif ($seed is 2) && ($seeDicks != 100) && (random(0,100) > $seeDicks)>> moaning and the distinctive slap of feminine buttocks on thighs beneath them as a girl rides a dick, <<elseif ($seed is 3)>> the lush, lewd sounds of diligent oral sex, <<else>> the call-and-response of a trainer and a slave running through a memorized obedience exercise, <</if>> at least one of them is applying some last-minute training to a slave in the holding pens nearby. <</if>> <<set $activeSlaveOneTimeMaxAge to 42>> <<include "Generate New Slave">> <<set $activeSlave.origin to "You bought her from the trainers' slave market after they put her through basic training.">> <<set $activeSlave.devotion += 40>> <<set $activeSlave.trust += 40>> <<set $activeSlave.health += 30>> <<if $activeSlave.vagina != -1>> <<set $activeSlave.vaginalSkill += 15>> <<else>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.clit to 0>> <</if>> <<if $activeSlave.vagina == 0>> <<set $activeSlave.vagina += 1>> <</if>> <<if $activeSlave.anus == 0>> <<set $activeSlave.anus += 1>> <</if>> <<set $activeSlave.oralSkill += 15>> <<set $activeSlave.analSkill += 15>> <<set $activeSlave.fetishKnown to 1>> <<if $activeSlave.accent >= 3>> <<set $activeSlave.accent -= 1>> <</if>> <<if random(1,100) > 50>> <<set $activeSlave.sexualFlaw to "none">> <</if>> <<if random(1,100) > 50>> <<set $activeSlave.behavioralFlaw to "none">> <</if>> <</if>> <br><br> <<slaveCost $activeSlave>> <<if $slavesSeen > $slaveMarketLimit>><<set $slaveCost += $slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1)>><</if>> <<if $slaveMarket == "corporate">> <<if $publicShares <= $personalShares*0.2>> Your commanding share of the corporation allows you to purchase its slaves at a very steep discount. <<set $slaveCost *= 0.7>> <<elseif $publicShares <= $personalShares*0.5>> Your large share of the corporation permits you to purchase its slaves at a steep discount. <<set $slaveCost *= 0.8>> <<else>> Your shares of the corporation come with a decent discount on its slaves. <<set $slaveCost *= 0.9>> <</if>> <<elseif $slaveMarket is "neighbor">> <<for $i to 0; $i < $arcologies.length; $i++>> <<if $arcologies[$i].direction is $direction>> <<if $opinion != 0>> <<set $slaveCost -= Math.trunc($slaveCost*$opinion*0.05)>> <<if $opinion > 2>> Your cultural ties with ''$arcologies[$i].name'' helps keep the price reasonable. <<elseif $opinion < -2>> Your social misalignment with ''$arcologies[$i].name'' drives up the price. <</if>> <</if>> <</if>> <</for>> <</if>> <<set $slaveCost to 500*Math.trunc($slaveCost/500)>> The offered price is ¤<<print $slaveCost>>.<<if $slavesSeen > $slaveMarketLimit>> You have cast such a wide net for slaves this week that it is becoming more expensive to find more for sale. Your reputation helps determine your reach within the slave market.<</if>> <br> <<if $cash >= $slaveCost>> [[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main"]] <<else>> //You lack the necessary funds to buy this slave.// <</if>> <br> [[Decline to purchase her and check out another slave|Slave Markets][$slavesSeen += 1]] <br><br> <<if $slaveMarket != "indentures" && $slaveMarket != "neighbor" && $slaveMarket != "heap">> <<set $applyLaw to 1>> <</if>> <<set $saleDescription to 1>><<include "Long Slave Description">><<set $saleDescription to 0>> <</nobr>>
r3d/fc
src/uncategorized/slaveMarkets.tw
tw
bsd-3-clause
51,733
:: Slave Shelter <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Buy Slaves">> <<set $returnTo to "Buy Slaves">> <<set $showEncyclopedia to 1>> <<set $encyclopedia to "Kidnapped Slaves">> <</nobr>>\ \ You contact the Slave Shelter to review the profile of the slave the Shelter is offering to a good <<if $PC.title == 1>>Master<<else>>Mistress<</if>> willing to pay the Shelter's nominal placement fee. The severe, tired-looking woman who answers your call hurries through the disclaimers. "All Shelter Slaves are provided as-is... the Shelter provides a single slave for placement each week... resale of Shelter slaves is contractually forbidden... we reserve the right to unannounced inspection of placed slaves... the Shelter follows up on reports of abuse or resale of its slaves..." <<nobr>> <<set _num to random(1,99)>> <<if $shelterSlave == 0>> <<set $origins to []>> <<set $origins.push("She has never communicated anything about her background, since she arrived at the shelter with a broken mind.")>> <<if $seeExtreme == 1>> <<set $origins.push("It's not clear why her previous owner cut her arms and legs off.")>> <<set $origins.push("Her owner purposely blinded her by dumping boiling water into her eyes.")>> <</if>> <<if _num > $seeDicks>> <<set $origins.push("Her previous owner gelded her and used her for anal abuse.")>> <<set $origins.push("Her background is obscure, but seems to have involved terrible abuse of her huge cock and balls.")>> <</if>> <<if _num < $seeDicks>> <<set $origins.push("Her holes were cruelly stretched by constant plug use.")>> <<set $origins.push("Her previous owner discarded her after many pregnancies.")>> <<set $origins.push("She was worn out by twenty years of brothel service.")>> <<set $origins.push("She was discarded after suffering a terrible reaction to growth hormone treatment.")>> <</if>> <<set $origin to $origins.random()>> <<set $origins to $origin>> <<set $origin to ("You got her at the Slave Shelter. " + $origin)>> <<if $origin is "You got her at the Slave Shelter. She has never communicated anything about her background, since she arrived at the shelter with a broken mind.">> <<include "Generate New Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.devotion = random(-25,-45)>> <<set $shelterSlave.trust = random(-25,-45)>> <<set $shelterSlave.health = random(-30,-10)>> <<set $shelterSlave.anus to 3>> <<set $shelterSlave.oralSkill = 0>> <<set $shelterSlave.analSkill = 0>> <<set $shelterSlave.whoreSkill = 0>> <<set $shelterSlave.entertainSkill = 0>> <<set $shelterSlave.combatSkill = 0>> <<set $shelterSlave.intelligence to -2>> <<set $shelterSlave.intelligenceImplant to 0>> <<set $shelterSlave.behavioralFlaw to "none">> <<set $shelterSlave.sexualFlaw to "none">> <<set $shelterSlave.fetish to "mindbroken">> <<set $shelterSlave.fetishStrength = 0>> <<elseif $origin is "You got her at the Slave Shelter. It's not clear why her previous owner cut her arms and legs off.">> <<include "Generate New Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.amp to 1>> <<set $shelterSlave.devotion = random(-100,-90)>> <<set $shelterSlave.trust = random(-100,-90)>> <<set $shelterSlave.health = random(-80,-60)>> <<set $shelterSlave.behavioralFlaw to either("odd", "hates men", "hates women")>> <<set $shelterSlave.sexualFlaw to either("hates anal", "hates oral", "hates penetration", "apathetic")>> <<elseif $origin is "You got her at the Slave Shelter. Her owner purposely blinded her by dumping boiling water into her eyes.">> <<set $activeSlaveOneTimeMinAge to $minimumSlaveAge>> <<set $activeSlaveOneTimeMaxAge to 22>> <<include "Generate New Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.eyes to -2>> <<set $shelterSlave.eyeColor to "milky white">> <<set $shelterSlave.customDesc to "She has an obvious burn across her eyes.">> <<set $shelterSlave.devotion to random(-100,-90)>> <<set $shelterSlave.trust to random(-100,-90)>> <<set $shelterSlave.health to random(-80,-60)>> <<set $shelterSlave.behavioralFlaw to "hates men">> <<set $shelterSlave.sexualFlaw to "hates oral">> <<elseif $origin is "You got her at the Slave Shelter. Her previous owner gelded her and used her for anal abuse.">> <<set $activeSlaveOneTimeMinAge to 20>> <<set $activeSlaveOneTimeMaxAge to 42>> <<include "Generate XY Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.devotion = random(-75,-60)>> <<set $shelterSlave.trust = random(-100,-75)>> <<set $shelterSlave.health = random(-50,-30)>> <<set $shelterSlave.face to random(-2,-1)>> <<set $shelterSlave.dick to random(1,2)>> <<set $shelterSlave.balls to 0>> <<set $shelterSlave.anus to 4>> <<set $shelterSlave.oralSkill = 0>> <<set $shelterSlave.analSkill = 15>> <<set $shelterSlave.whoreSkill = 0>> <<set $shelterSlave.entertainSkill = 0>> <<set $shelterSlave.combatSkill = 0>> <<set $shelterSlave.attrXY = random(40,60)>> <<set $shelterSlave.behavioralFlaw to either("odd", "hates men", "anorexic", "gluttonous")>> <<set $shelterSlave.sexualFlaw to either("hates anal", "apathetic")>> <<elseif $origin is "You got her at the Slave Shelter. Her background is obscure, but seems to have involved terrible abuse of her huge cock and balls.">> <<set $activeSlaveOneTimeMinAge to 20>> <<set $activeSlaveOneTimeMaxAge to 42>> <<include "Generate XY Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.devotion = random(-75,-60)>> <<set $shelterSlave.trust = random(-100,-75)>> <<set $shelterSlave.health = random(-50,-30)>> <<set $shelterSlave.face to random(-2,-1)>> <<set $shelterSlave.dick to random(4,5)>> <<set $shelterSlave.balls to random(4,5)>> <<set $shelterSlave.anus to 0>> <<set $shelterSlave.oralSkill = 0>> <<set $shelterSlave.analSkill = 0>> <<set $shelterSlave.whoreSkill = 0>> <<set $shelterSlave.entertainSkill = 0>> <<set $shelterSlave.combatSkill = 0>> <<set $shelterSlave.energy to random(5,10)>> <<set $shelterSlave.attrXX = 0>> <<set $shelterSlave.behavioralFlaw to either("odd", "hates women")>> <<set $shelterSlave.sexualFlaw to either("apathetic")>> <<elseif $origin is "You got her at the Slave Shelter. Her holes were cruelly stretched by constant plug use.">> <<set $activeSlaveOneTimeMinAge to 20>> <<set $activeSlaveOneTimeMaxAge to 42>> <<include "Generate XX Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.devotion = random(-75,-60)>> <<set $shelterSlave.trust = random(-100,-75)>> <<set $shelterSlave.health = random(-50,-30)>> <<set $shelterSlave.vagina to 4>> <<set $shelterSlave.anus to 4>> <<set $shelterSlave.oralSkill = 15>> <<set $shelterSlave.analSkill = 15>> <<set $shelterSlave.vaginalSkill = 15>> <<set $shelterSlave.whoreSkill = 0>> <<set $shelterSlave.entertainSkill = 0>> <<set $shelterSlave.combatSkill = 0>> <<set $shelterSlave.behavioralFlaw to either("odd", "anorexic", "gluttonous")>> <<set $shelterSlave.sexualFlaw to either("hates penetration", "hates anal", "hates oral")>> <<elseif $origin is "You got her at the Slave Shelter. Her previous owner discarded her after many pregnancies.">> <<if $pedo_mode == 1>> <<set $activeSlaveOneTimeMinAge to ($fertilityAge + 6)>> <<set $one_time_age_overrides_pedo_mode to 1>> /% Old enough to have been pregnant many times. %/ <<else>> <<set $activeSlaveOneTimeMinAge to 30>> <<set $activeSlaveOneTimeMaxAge to 42>> <</if>> <<include "Generate XX Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a breeder">> <<set $shelterSlave.devotion = random(-75,-60)>> <<set $shelterSlave.trust = random(-100,-75)>> <<set $shelterSlave.health = random(-50,-30)>> <<set $shelterSlave.preg to -2>> <<set $shelterSlave.birthsTotal to 13>> <<set $shelterSlave.bellySag to 10>> <<set $shelterSlave.vagina to 3>> <<set $shelterSlave.oralSkill = 0>> <<set $shelterSlave.analSkill = 0>> <<set $shelterSlave.vaginalSkill = 0>> <<set $shelterSlave.whoreSkill = 0>> <<set $shelterSlave.entertainSkill = 0>> <<set $shelterSlave.combatSkill = 0>> <<set $shelterSlave.behavioralFlaw to either("odd", "hates men", "gluttonous")>> <<set $shelterSlave.sexualFlaw to either("hates penetration", "apathetic", "repressed")>> <<elseif $origin is "You got her at the Slave Shelter. She was worn out by twenty years of brothel service.">> <<set $activeSlaveOneTimeMinAge to 32>> <<set $activeSlaveOneTimeMaxAge to 42>> <<set $one_time_age_overrides_pedo_mode to 1>> /% 20 years of brothel service. %/ <<include "Generate XX Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a prostitute">> <<set $shelterSlave.devotion = random(-75,-60)>> <<set $shelterSlave.trust = random(-100,-75)>> <<set $shelterSlave.health = random(-80,-60)>> <<set $shelterSlave.face to random(-2,-1)>> <<set $shelterSlave.preg to -2>> <<set $shelterSlave.vagina to 4>> <<set $shelterSlave.anus to 4>> <<set $shelterSlave.oralSkill = 35>> <<set $shelterSlave.analSkill = 35>> <<set $shelterSlave.vaginalSkill = 35>> <<set $shelterSlave.whoreSkill = 35>> <<set $shelterSlave.entertainSkill = 15>> <<set $shelterSlave.combatSkill = 0>> <<set $shelterSlave.behavioralFlaw to either("odd", "hates men", "gluttonous", "anorexic")>> <<set $shelterSlave.sexualFlaw to either("hates penetration", "hates oral", "hates anal", "apathetic")>> <<elseif $origin is "You got her at the Slave Shelter. She was discarded after suffering a terrible reaction to growth hormone treatment.">> <<include "Generate New Slave">> <<set $shelterSlave to $activeSlave>> <<set $shelterSlave.origin to $origin>> <<set $shelterSlave.career to "a slave">> <<set $shelterSlave.devotion = random(-75,-60)>> <<set $shelterSlave.trust = random(-100,-75)>> <<set $shelterSlave.health = random(-80,-60)>> <<set $shelterSlave.chem = 1000>> <<if ($shelterSlave.dick > 0) && (random(1,2) == 1)>> <<set $shelterSlave.dick to random(5,6)>> <</if>> <<if ($shelterSlave.balls > 0) && (random(1,2) == 1)>> <<set $shelterSlave.balls to random(5,6)>> <</if>> <<if (random(1,3) == 1)>> <<set $shelterSlave.boobs += 100*random(10,30)>> <</if>> <<if (random(1,3) == 1)>> <<set $shelterSlave.butt += random(3,5)>> <</if>> <<set $shelterSlave.behavioralFlaw to either("odd", "gluttonous", "anorexic")>> <<set $shelterSlave.sexualFlaw to either("hates penetration", "hates oral", "hates anal", "apathetic")>> <</if>> <</if>> <<set $slaveCost = 1000>> <</nobr>>\ \ The placement fee is ¤<<print $slaveCost>>. <<nobr>> <<if $cash >= $slaveCost>> [[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$shelterSlaveBought to 1,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main"]] <<else>> //You lack the necessary funds to buy this slave.// <</if>> <</nobr>> <<set $activeSlave to $shelterSlave>><<set $saleDescription to 1>><<include "Long Slave Description">><<set $saleDescription to 0>> $origins
r3d/fc
src/uncategorized/slaveShelter.tw
tw
bsd-3-clause
11,565
:: Slave Sold [nobr] <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Main", $showEncyclopedia to 1, $encyclopedia to "Personal Assistant">> <<set $display to 0>> <<if $familyTesting == 1>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $activeSlave.mother == $slaves[$j].ID>> $slaves[$j].slaveName is @@color:mediumorchid;grieved@@ that you are selling her daughter. <br><br> <<set $slaves[$j].devotion -= 20>> <</if>> <<if $activeSlave.father == $slaves[$j].ID>> $slaves[$j].slaveName is @@color:mediumorchid;disappointed@@ that you are selling her daughter. <br><br> <<set $slaves[$j].devotion -= 10>> <</if>> <<if $activeSlave.ID == $slaves[$j].father>> $slaves[$j].slaveName is @@color:mediumorchid;saddened@@ that you are selling her father. <br><br> <<set $slaves[$j].devotion -= 10>> <</if>> <<if $activeSlave.ID == $slaves[$j].mother>> $slaves[$j].slaveName is @@color:mediumorchid;grieved@@ that you are selling her mother. <br><br> <<set $slaves[$j].devotion -= 20>> <</if>> <<if areSisters($activeSlave, $slaves[$j]) == 1>> $slaves[$j].slaveName is @@color:mediumorchid;devastated@@ that you are selling her twin. <br><br> <<set $slaves[$j].devotion -= 30>> <<elseif areSisters($activeSlave, $slaves[$j]) == 2>> $slaves[$j].slaveName is @@color:mediumorchid;grieved@@ that you are selling her sister. <br><br> <<set $slaves[$j].devotion -= 20>> <<elseif areSisters($activeSlave, $slaves[$j]) == 3>> $slaves[$j].slaveName is @@color:mediumorchid;disheartened@@ that you are selling her half-sister. <br><br> <<set $slaves[$j].devotion -= 10>> <</if>> <</for>> <<else>> <<if $activeSlave.relation != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $activeSlave.relationTarget>> <<if $slaves[$j].fetish != "mindbroken">> $slaves[$j].slaveName is @@color:mediumorchid;grieved@@ that you are selling her $activeSlave.relation. <br><br> <<set $slaves[$j].devotion -= 20>> <<set $display to 1>> <<break>> <</if>> <</if>> <</for>> <</if>> <</if>> <<if $activeSlave.relationship > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $activeSlave.relationshipTarget>> <<if $slaves[$j].fetish != "mindbroken">> $slaves[$j].slaveName is @@color:mediumorchid;grieved@@ that you are selling her best source of comfort and companionship in a life of bondage. <br><br> <<set $slaves[$j].devotion -= $slaves[$j].relationship>> <<set $display to 1>> <<break>> <</if>> <</if>> <</for>> <<elseif $activeSlave.relationship is -3>> Selling one of your slave wives is @@color:red;socially unacceptable.@@ In addition, your other devoted slaves are @@color:gold;worried@@ that you may not respect their status. <br><br> <<set $rep -= 200>> <<set $display to 1>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].devotion > 50>> <<set $slaves[$j].trust -= 5>> <</if>> <</for>> <</if>> <<if $activeSlave.rivalry != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $activeSlave.rivalryTarget>> <<if $slaves[$j].fetish != "mindbroken">> $slaves[$j].slaveName is @@color:hotpink;pleased@@ that she won't have to see her rival any more. <br><br> <<set $slaves[$j].devotion += $slaves[$j].rivalry*0.3>> <<set $display to 1>> <<break>> <</if>> <</if>> <</for>> <</if>> <<set $seed to 0>> <<switch $buyer>> <<case "housekeeper">> $activeSlave.slaveName settles into her new life in a humbler part of $arcologies[0].name, and can occasionally be seen accompanying her master in public. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].trust >= -20)>> <<if ($slaves[$j].physicalAge > 30)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your other older, obedient slaves are @@color:mediumaquamarine;reassured@@ that if they're sold, they can hope for better than life in a cheap brothel. <</if>> <<case "buttbreaker">> In short order, $activeSlave.slaveName is heard out on the promenade, sobbing and screaming as her new owner breaks in her virgin butt in public. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].anus == 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other anal virgins @@color:gold;fear for their asses@@ should you decide to sell them. <</if>> <<case "cheap brothel">> $activeSlave.slaveName is soon seen on shift outside a seedy establishment in the lower arcology, mechanically offering her holes to passersby and flinching whenever her superiors come out to check on her. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].assignment is "whore") || ($slaves[$j].assignment is "work in the brothel")>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other slave prostitutes @@color:gold;fear they'll be condemned@@ to similar exploitation in their turn. <</if>> <<case "nice brothel">> $activeSlave.slaveName disappears for a time as her training is perfected, but she reappears in the refined brothel, wearing classy clothes and flirting gracefully with patrons of her body. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].assignment is "whore") || ($slaves[$j].assignment is "work in the brothel")>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other slave prostitutes @@color:mediumaquamarine;hope they'll be lucky enough@@ to find themselves in relatively decent circumstances too, should you decide to sell them. <</if>> <<case "factory farm">> $activeSlave.slaveName is never again seen in public, but her fate is obvious: she's chained to a milking rack somewhere in a cavernous factory farm, with milk draining from her tits<<if $activeSlave.balls > 0>> and an electroshock stimulator up her butt to force her to cum<<elseif $activeSlave.ovaries > 0>> and a new baby in her belly every ten months<</if>>. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion <= 50)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other slaves are @@color:gold;afraid they'll end up like that too,@@ since the factory farms will buy almost anyone. Only your devoted slaves trust you to spare them such a fate. <</if>> <<case "elite auction">> $activeSlave.slaveName is quickly escorted out by her new master. She is rarely seen in public anymore, but her records show she is settling well into being her new owner's breeder. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].beedingMark != 1)>> <<set $slaves[$j].devotion -= 5>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your non-chosen slaves @@color:mediumorchid;resent@@ you for denying them the special treatment $activeSlave.slaveName is recieving. <</if>> <<case "free range">> $activeSlave.slaveName is a common sight around the arcology, since free range cows are allowed to range between milkings. She seems reasonably content. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].assignment is "get milked") || ($slaves[$j].assignment is "work in the dairy")>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other cows @@color:mediumaquamarine;hope they'll be lucky enough@@ to find themselves in relatively decent circumstances too, should you decide to sell them. <</if>> <<case "volume breeder">> The breeder already has stud stock, and $activeSlave.slaveName is rapidly impregnated. She's kept in a stockyard on the lower service levels of the arcology, one of a dense crowd of beaten-down women with gravid bellies. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].ovaries == 1)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other fertile slaves @@color:gold;fear they'll be sold as breeding stock@@ if they fail to make themselves useful to you otherwise. <</if>> <<case "preg fetishist">> $activeSlave.slaveName settles in to her new role easily enough; she's one of the most pampered slaves in the arcology. All she's expected to do is light housework and self-maintenance, along with gentle unprotected vaginal sex with her new master. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "pregnancy")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves with pregnancy fetishes envy her, and @@color:mediumaquamarine;trust that even if you decide to sell them,@@ they'll find themselves in a sexually satisfying life. <</if>> <<case "nipple fetishist">> $activeSlave.slaveName's new mistress is an exhibitionist as well as a nipple fetishist, and before long, she's seen in the club, riding $activeSlave.slaveName's chest with her wet pussy. The slave is expected to keep her nipples erect for her at all times. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "boobs")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves with breast fetishes envy her, and @@color:mediumaquamarine;trust that even if you decide to sell them,@@ they'll find themselves in a sexually satisfying life. <</if>> <<case "anal fetishist">> The next time $activeSlave.slaveName is seen in public, on an errand for her master, she's walking a little oddly. Her naked dick has the flaccidity of sexual satiation, and she has a tired but dreamy expression on her face. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "buttslut")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your buttsluts envy her, and @@color:mediumaquamarine;trust that even if you decide to sell them,@@ they'll find themselves orgasming with dicks up their asses anyway. <</if>> <<case "oral fetishist">> The next time $activeSlave.slaveName is seen in public, she's obediently accompanying her new master. After doing some business on the promenade, he pulls her into an alcove and lets her masturbate as he uses her throat. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "cumslut")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your cumsluts envy her, and @@color:mediumaquamarine;trust that even if you decide to sell them,@@ they'll find themselves filled with cum every day. <</if>> <<case "pain fetishist">> $activeSlave.slaveName is not seen again in public for a long time, but the crack of leather on flesh and the resultant hoarse female howling that issues from her new mistress's apartment is well-known. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "masochist")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your masochists envy her, and @@color:mediumaquamarine;trust that even if you decide to sell them,@@ they'll never lack for the abuse they need. <</if>> <<case "sadism fetishist">> $activeSlave.slaveName rarely leaves her new mistress's apartments, but the slave rumor mill bears stories about her to your penthouse anyway. Her mistress uses her as a rapist on demand, and her dumbly obedient brutality is renowned. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "sadist")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your sadists consider such a life scarcely capable of improvement, and @@color:mediumaquamarine;trust that if you decide to sell them,@@ they'll get a chance to abuse other slaves. <</if>> <<case "dom fetishist">> $activeSlave.slaveName wins herself a leadership position with her new master, who repays her hard work by allowing her to use his slaves at will. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "dom")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your sexually dominant slaves do their best to follow her success, and @@color:mediumaquamarine;trust that if you decide to sell them,@@ they'll stand a chance of winning a place in which they can fuck as well as get fucked. <</if>> <<case "sub fetishist">> The back of $activeSlave.slaveName's head becomes a well-known sight in business circles, since her mistress rarely lets it out from between her legs. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "submissive")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your sexually submissive slaves secretly envy her simple life, and @@color:mediumaquamarine;trust that if you decide to sell them,@@ there are places where a sub can be valuable and safe. <</if>> <<case "supremacist arcology">> $activeSlave.slaveName leaves your control forthwith, to be freed and installed in a favored life in an arcology that gives $activeSlave.race people every possible advantage. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion < 10)>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> All your slaves who are not devoted to you @@color:mediumorchid;like you a little less@@ in the light of this thin beam of freedom you've allowed to shine into $arcologies[0].name. <</if>> <<case "subjugationist arcology">> $activeSlave.slaveName is shipped off to help produce a race of $activeSlave.race idiots to perform eternal servitude. She is not perceptive enough to fear her upcoming life as a downtrodden breeder. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].intelligence > 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Those of your slaves who are intelligent enough to understand the implications of the scheme @@color:gold;fear all slaveholders more, and especially you,@@ since you've shown yourself willing to subject them to eugenics. <</if>> <<case "gender radicalist arcology">> $activeSlave.slaveName is shipped off, but her buyer is so unwilling to waste any time that the shipment container includes hormonal injectors to get her started on an intensive feminization regime as quickly as possible. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].dick > 0)>> <<if ($slaves[$j].devotion <= 20)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves who retain dicks, and are not yet broken to your will, @@color:gold;fear the implication@@ that feminization is inescapable: either you'll turn them into girly sluts, or someone else will. <</if>> <<case "gender fundamentalist arcology">> $activeSlave.slaveName is taken away to join the legion of airheaded, big-titted sex slaves that throng the arcology owned by her purchaser. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].intelligence > 1)>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Most of your slaves could scarcely care less, but your most intelligent girls are @@color:mediumorchid;privately skeptical of her fate;@@ she's become one more cookie cutter bimbo in a place that uses and discards such sluts. <</if>> <<case "paternalist arcology">> $activeSlave.slaveName is shipped off to be improved into a happy, educated slave at the best pace her new owner can manage. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion < -20)>> <<if ($slaves[$j].intelligenceImplant == 0)>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your unbroken, uneducated slaves who hear about this are @@color:mediumorchid;quietly resentful,@@ not understanding that she was only sold to a paternalist arcology because she was obedient. <</if>> <<case "degradationist arcology">> Stories about the place she's going have reached $arcologies[0].name, and $activeSlave.slaveName suspects the fate she's been condemned to when she's loaded into a shipping container expressly designed to keep the inmate awake and uncomfortable. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion > 20)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other devoted or just obedient slaves are @@color:gold;suddenly afraid@@ that their obedience and their devotion is as nothing next to the fact that they are sex slaves relying on your whim. <</if>> <<case "slimness enthusiast arcology">> $activeSlave.slaveName is taken away to join the tribe of squealing, slim forms that populate the arcology of her new owner. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].intelligence > 1)>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Most of your slaves could scarcely care less, but your most intelligent girls are @@color:mediumorchid;privately dubious of your tacit support@@ for an arcology owner whose tastes they wonder about. <</if>> <<case "asset expansionist arcology">> A shipping container arrives for $activeSlave.slaveName; as she's loaded into it, it sedates her and begins to pump hormones, curatives and growth enhancers into no less than seven places scattered over her body. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion <= 20)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your unbroken slaves who hear about the grotesque display of pharmacological art are @@color:gold;somewhat afraid@@ that they will suffer similar chemical invasion. <</if>> <<case "organ crafter">> $activeSlave.slaveName is seen in a research report nine months later; she has undergone some interesting changes. As expected by someone interested in her odd womb, she is quite pregnant, but what really stands out is the massive size of her testicles and her huge round implants. A quick glance at the article reveals that they aren't implants, in fact, her breasts and testicles are rounded with children. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].mpreg == 1)>> <<set $slaves[$j].trust -= 5>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other anally fertile slaves @@color:gold;are concerned @@ that they may end up carrying children in more than just their bellies. <</if>> <<case "abortion TV">> $activeSlave.slaveName is soon seen on live TV, restrained and still grotesquely pregnant. She screams into her restraints as the host approaches with a comically large syringe of Abortificants and drives it deep into her womb. Within minutes, a flood of liquid and feti are pouring from her gaping cunt, all the while he times how long it takes her overburdened womb to drain of all its contents. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].preg > 20)>> <<if ($slaves[$j].pregType >= 10)>> <<set $slaves[$j].trust -= 15>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your other hyper pregnant slaves @@color:gold;are terrified that their children will be ripped from them@@ if they don't please you. <</if>> <<case "womb filler">> $activeSlave.slaveName is seen in a drug report nine months later; she is unrecognizable. Her gaunt body is completely bloated by her enormous womb, leaving <<if $activeSlave.amp != 1>>whats left of her arms and legs dangling<<else>>her torso teetering<</if>> pathetically atop its quivering mass. The headline reads "New drug allows for upwards of seven hundred children carried at once". Live on stream, her body loses stability and ruptures, flooding the room with fluid and children. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].vagina == 0)>> <<if isFertile($slaves[$j])>> <<set $slaves[$j].trust -= 20>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your other virgins @@color:gold;are terrified they'll meet a similar fate@@ if they cannot convince you to fill their wombs with your children. <</if>> <<case "repopulationist arcology">> $activeSlave.slaveName is seen nine months later with an enormous pregnancy and the most content look on her face. She <<if $activeSlave.amp != 1>>gently pats her quadruplet filled belly and lets off a moan as her children kick in response<<else>>moans lewdly as her children kick away in her womb<</if>>. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].vagina == 0)>> <<if isFertile($slaves[$j])>> <<if ($slaves[$j].fetish is "pregnancy")>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your other pregnancy fetishists @@color:mediumorchid;are jealous@@ of $activeSlave.slaveName's good fortune. <</if>> <<case "eugenics arcology">> $activeSlave.slaveName is seen nearly a year later, happy and healthy, along with her owner and newborn son. They are quite a good looking family. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].int <= 0)>> <<if isFertile($slaves[$j])>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your more idiotic slaves are @@color:mediumorchid;deeply jealous@@ of $activeSlave.slaveName's new pampered lifestyle, oblivious to the demanding nature of eugenics. <</if>> <<case "transformation fetishist arcology">> A purchasing agent arrives for $activeSlave.slaveName; he uses a lull in the proceedings to use a permanent marker to begin mapping out surgical sites across her body. There are a lot of them. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion <= 20)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your unbroken slaves who hear about how severely she's about to be cut up are @@color:gold;somewhat afraid@@ that they will suffer similar surgical invasion. <</if>> <<case "physical idealist arcology">> Stories about the arcology $activeSlave.slaveName is headed to have circulated among slaves. Most intelligent girls see a life of workouts as relatively harmless. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].weight > 10)>> <<if ($slaves[$j].intelligence < 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> However, your stupider slaves consider a life of rigorous dieting and punishing exercise daunting, and are filled with @@color:gold;minor fears@@ that they will be made to starve and sweat, too. <</if>> <<case "pastoralist arcology">> $activeSlave.slaveName is subjected to a stock assay and then packed off to take her place as a prize heifer. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].lactation == 0)>> <<if ($slaves[$j].devotion <= 20)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves who are already lactating know that her role is to be a relatively easy and decent one, and your obedient girls accept it regardless. Others however @@color:gold;fear being transformed into livestock@@ a little. <</if>> <<case "chattel religionist arcology">> $activeSlave.slaveName is terrified of her impending religious life; perhaps she's heard the new text that reads 'no woman come of age is holy unless she performs the act as many times per day as she has years less than forty.' <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].analCount < 200)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your sexually experienced slaves are too inured to industrial lovemaking to be affected by her fate, but your more innocent slaves @@color:gold;fear being required to fuck@@ at that pace. <</if>> <<case "roman revivalist arcology">> $activeSlave.slaveName is shipped to a new arcology, and culturally, across the centuries. Her skill at arms is well enough known that her impending role as a gladiatrix is easily deduced. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].combatSkill > 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> A gladiatrix's life expectancy in an arcology that enjoys lethal combats is punishingly low. Your other slaves with combat skill @@color:gold;worry they'll follow her@@ out onto the sand. <</if>> <<case "egyptian revivalist arcology">> $activeSlave.slaveName's journey to her new home is respectful, even celebratory, as far as you can see. She is gravely informed by the purchasing agent that many slaves await her learned instruction. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].intelligence < -1)>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Most of your slaves quietly envy her good fortune. The stupidest however tend to resent their intellectual superiors and @@color:mediumorchid;actively resent@@ how obvious her advantage over them proved to be. <</if>> <<case "virgin trader">> $activeSlave.slaveName is seen in a shipment of slaves leaving the arcology a month later, with just the slightest hint of a gravid belly and a worn-down expression on her face. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].vagina == 0)>> <<if ($slaves[$j].ovaries == 1)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your other virgins @@color:gold;fear they'll be subjected to similar abuse@@ if they cannot make their virginities otherwise valuable or appealing to you. <</if>> <<case "body purist arcology">> $activeSlave.slaveName is shipped to her new owner's arcology to have her implants extracted and the resultant damage addressed. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion <= 50)>> <<if ($slaves[$j].boobsImplant > 1000)>> <<set $slaves[$j].devotion -= 2>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves burdened with gigantic implants who aren't devoted enough to bear them cheerfully @@color:mediumorchid;resent you somewhat@@ for keeping them here with aching backs. <</if>> <<case "trainer staffing">> $activeSlave.slaveName is soon well-known among the slaves of the arcology, as many of them are sold after passing under her hands in training. She performs effectively, imparting good sex slave ethics in a generation of sluts. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].intelligence > 0)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other intelligent slaves @@color:mediumaquamarine;trust that their skills will be valued@@ even should you decide to sell them. <</if>> <<case "teaching trainer">> $activeSlave.slaveName is not pleased by her change in circumstances, since she is soon subjected to training rigor that she did not experience while your property. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].intelligenceImplant == 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other uneducated slaves @@color:gold;fear the abusive indoctrination@@ they will apparently suffer under should you decide to sell them. <</if>> <<case "implanting trainer">> A few weeks later, $activeSlave.slaveName is seen in a shipment of slaves heading out of the arcology. She has new fake tits, a bigger butt, lip implants, and even some facial bone structure alterations, but her balloon breasts are the most shocking change. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].boobsImplant == 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your unimplanted slaves @@color:gold;fear they'll go under the knife@@ for invasive surgery like $activeSlave.slaveName suffered, should you ever decide to sell them. <</if>> <<case "purifying trainer">> A few weeks later, $activeSlave.slaveName is seen in a shipment of slaves heading out of the arcology. She is almost unrecognizable, having been quickly returned to as natural an appearance as skillful removal of her implants could manage. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].boobsImplant > 800)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves who are carrying around huge implants @@color:mediumaquamarine;hope they'll be allowed to lay down their burdens@@ should you decide to sell them. <</if>> <<case "D virgin asspussy">> $activeSlave.slaveName's buyer takes charge of her, and cannot resist immediately running a hand between her buttocks to sink a couple of groping fingers into her soft asspussy. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "buttslut")>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves who enjoy having things shoved up their assholes @@color:mediumaquamarine;hope that if they're sold,@@ their new masters will be like that too. <</if>> <<case "D startled the witch">> $activeSlave.slaveName heads off to form part of whatever great design her new master is pursuing; all you know is that it apparently requires lots of lithe, sharp toothed slave girls. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion <= 20)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your properly broken slaves are so inured to strange tastes that they pay no attention, but the others are just @@color:mediumaquamarine;glad she won't frighten them@@ any more. They thought she was scary. <</if>> <<case "D milf staffing">> $activeSlave.slaveName becomes a common sight around the arcology, training slaves for her new master. They're usually seen hanging close by her as she manages them with an air at once protective and frankly sexual. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].actualAge > 35)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your older slaves are @@color:mediumaquamarine;happy for her,@@ since it isn't always easy for older ladies. <</if>> <<case "D hucow">> $activeSlave.slaveName becomes quite a fixture at social events hosted by her new master; he enjoys showing off how healthy, happy and productive his cow is. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].lactation > 0)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other milkers are sometimes concerned about being sold to a cruel stockyard, and her pleasant life encourages them to @@color:mediumaquamarine;stop being so worried.@@ <</if>> <<case "D r9k">> $activeSlave.slaveName's nervous buyer comes to collect her, stammering and sweating and doing his best to pretend he does this all the time. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].vaginalCount + $slaves[$j].analCount < 20)>> <<set $slaves[$j].trust += 1>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your other less experienced slaves persistently find this romantic, and @@color:mediumaquamarine;hope something like that will happen to them,@@ too. <</if>> <<case "slimming trainer">> $activeSlave.slaveName is occasionally visible around the arcology, looking rather tired and gaunt under the stresses of a severe crash diet coupled with a punishing cardio regime. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].weight > 10)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your chubby slaves take note, and @@color:gold;fear they'll have to suffer too@@ should you ever decide to sell them. <</if>> <<case "broadening trainer">> $activeSlave.slaveName is only rarely seen around the arcology, since her new owners force her to spend most of her time sleeping, eating and looking after herself. But her belly, painfully distended with food, makes her situation obvious. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].weight > 10)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> When they hear about her, your slim slaves are @@color:gold;disgusted and afraid,@@ fearing they'll be forced to eat themselves plush if sold. <</if>> <<case "cow trainer">> $activeSlave.slaveName is last seen somewhat later, packed into a shipment of cows heading out of the arcology. She looks rather ill from the drugs she's been filled with, and her now-distended breasts are marred by unsightly stretch marks. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].lactation == 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Even your slaves who normally enjoy breast expansion are @@color:gold;disgusted and afraid@@ they'll be treated as pharmaceutical mixing machines if you sell them to the same company. Only your cows are inured to lactation to the point they're unaffected. <</if>> <<case "clipping trainer">> $activeSlave.slaveName is frequently seen in public over the next few weeks, since she's being trained to improve her feminine deportment. She grows visibly more feminine as time passes, as the hormonal effects of having her balls cut off become apparent. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].balls > 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your slaves who retain their testicles are @@color:gold;afraid@@ of displeasing you, knowing that castration is a distinct possibility on the open market. <</if>> <<case "reassignment trainer">> $activeSlave.slaveName is next seen after some weeks of surgery. She's barely recognizable, and now possesses a serviceable vagina which she clearly is unsure of. Her original status is scarcely discernible. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].dick > 0)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your less feminized slaves @@color:gold;fear similar treatment;@@ even those who aspire to be better slave girls are shocked by the rapidity and totality of the surgical transformation. <</if>> <<case "arcade">> The upper half of $activeSlave.slaveName's body is never seen again. Her butt, on the other hand, is periodically visible in a lower-level arcade, her orifices gradually showing the wear and her price gradually decreasing, until finally she is seen no more. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].devotion < 10)>> <<set $slaves[$j].trust -= 2>> <<set $seed to 1>> <</if>> <</for>> <<if ($seed == 1)>> Your devoted slaves are fairly confident they will escape such a fate, but everyone else @@color:gold;is terrified of ending that way.@@ <</if>> <<case "D cannibal">> $activeSlave.slaveName is never seen again. Her buyer prefers to keep whatever happened to her private. However, rumors of steaks, rump roasts, sweetbreads, and blood pudding eaten at three in the morning filter out from time to time. Naturally, these murmurs never fail to @@color:gold;terrify@@ your other slaves. <<for $j to 0; $j < $slaves.length; $j++>> <<set $slaves[$j].trust -= 2>> <</for>> <<case "harvester">> Though $activeSlave.slaveName's fate as a source of organs for transplantation is not announced, rumors of what happens to girls who @@color:gold;fail to be valuable to you@@ pass among your slaves. <<for $j to 0; $j < $slaves.length; $j++>> <<set $slaves[$j].trust -= 2>> <</for>> <<case "D amazon hunter">> When $activeSlave.slaveName's buyer appears, the big girl is almost bashful. He tries to resist the impulse, but quickly breaks down and sweeps her into a tight hug. She accepts the embrace meekly. Your other slaves find this @@color:mediumaquamarine;very romantic.@@ <<for $j to 0; $j < $slaves.length; $j++>> <<set $slaves[$j].trust += 1>> <</for>> <<case "D oral servants">> $activeSlave.slaveName is an occasional sight around the arcology; she's never seen outside the company of her new slave superior. This is one of her new master's more favored slaves. She has a huge cock, and $activeSlave.slaveName usually crouches down, hugging one of her superior's legs and keeping her mouth obediently near that dick. Your cumsluts are @@color:mediumaquamarine;rather envious.@@ <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetishKnown == 1)>> <<if ($slaves[$j].fetish is "cumslut")>> <<set $slaves[$j].trust += 1>> <</if>> <</if>> <</for>> <<case "D trap lover">> $activeSlave.slaveName becomes a frequent sight around the arcology, accompanying her new master. She's clearly happy, and is frequently seen to offer her butt to him with a smile. Your girls with dicks who've accepted their lot in life find this @@color:mediumaquamarine;encouraging.@@ <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].dick > 0)>> <<if ($slaves[$j].devotion > 20)>> <<set $slaves[$j].trust += 1>> <</if>> <</if>> <</for>> <<case "D butt bury">> $activeSlave.slaveName's buyer arrives promptly; he seems pleased with his new slave's bountiful bottom, so far off the ground. Your buttsluts giggle over what he's got in store for her, and @@color:mediumaquamarine;envy@@ her new owner a little. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "buttslut")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 1>> <</if>> <</if>> <</for>> <<case "D milky herm">> $activeSlave.slaveName's buyer arrives and seems pleased with her lovely feminine appearance; he verifies her lactation and her ability to achieve erection despite her lack of visible balls. Your other feminine girls with dicks @@color:mediumaquamarine;trust@@ they'll go to owners that will value them, should they be sold. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].dick > 0)>> <<if ($slaves[$j].boobs > 400)>> <<set $slaves[$j].trust += 1>> <</if>> <</if>> <</for>> <<case "D shorty breeder">> $activeSlave.slaveName's lithe, muscular form is rarely seen after her buyer takes charge of her, since she seems to spend most of her time at home making babies. Your slaves with pregnancy fetishes @@color:mediumaquamarine;almost want to be sold@@ since there's a chance they'll be purchased by him, too. <<for $j to 0; $j < $slaves.length; $j++>> <<if ($slaves[$j].fetish is "pregnancy")>> <<if ($slaves[$j].fetishKnown == 1)>> <<set $slaves[$j].trust += 4>> <</if>> <</if>> <</for>> <<case "D waifu">> $activeSlave.slaveName is rarely seen after her buyer takes charge of her, since he prefers to keep his beloved at home. Though she seems to be well treated, arcology society finds him repellent enough that your other slaves do not envy her. <<case "fuckdoll">> Though $activeSlave.slaveName's fate as a living fucktoy is not obvious, since most of her body will for ever after be encased in thick latex, rumors of what happens to girls who @@color:gold;fail to be valuable to you@@ pass among your slaves. <<for $j to 0; $j < $slaves.length; $j++>> <<set $slaves[$j].trust -= 2>> <</for>> <<case "tentacle bred">> Sometime later, a snuff film starring $activeSlave.slaveName as a heroine captured, raped, and fatally bred by tentacles is released. It recieves rave reviews for the scene involving $activeSlave.slaveName, depicting her aphrodisiac filled body being penetrated in all her holes by tentacles. Their thrusting into her increases until large bulges of cum pass through the ones filling her stretched cunt, visably bloating her belly. She then collapses to the ground, her swollen belly rapidly growing with the tentacle spawn gestating within her. As they bulge against the straining walls of her implant-filled middle; she lets out a final moan as her belly ruptures, releasing her "spawn" to hunt down the other heroines. <<for $j to 0; $j < $slaves.length; $j++>> <<if canSee($slaves[$j])>> <<if $slaves[$j].intelligence < 0>> <<set $slaves[$j].devotion -= 4>> <<set $seed to 1>> <</if>> <</if>> <</for>> <<if $seed == 1>> Your less than intelligent slaves are @@color:mediumorchid;deeply envious@@ of $activeSlave.slaveName, completely failing to comprehend what they saw were not special effects. <</if>> <<default>> The buyer forwards payment and sends a purchasing agent to collect her. There is nothing more to be done. <</switch>> <<if $activeSlave.origin != 0>> <<set $toSearch to $activeSlave.origin>> <<if $toSearch.indexOf("Slave Shelter") != -1>> <<set $shelterAbuse += 1>> <</if>> <</if>> <<include "Remove activeSlave">>
r3d/fc
src/uncategorized/slaveSold.tw
tw
bsd-3-clause
41,619
:: Slave Summary [nobr] <<set _Pass to passage()>> <<for _i to 0;_i < $slaves.length;_i++>> <<set _Slave to $slaves[_i]>> <<switch _Pass>> <<case "Main">> <<if (_Slave.choosesOwnClothes == 1) && (_Slave.clothes is "choosing her own clothes")>> <<set $i to _i>> <<silently>><<include "SA chooses own clothes">><</silently>> <<set _Slave to $slaves[_i]>> <</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>> <<if "be your Head Girl" is _Slave.assignment>>''HG'' <<elseif "recruit girls" is _Slave.assignment>>''RC'' <<elseif "guard you" is _Slave.assignment>>''BG'' <</if>> <<if $personalAttention is _Slave.ID>>''PA''<</if>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<case "Personal Attention Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if _Slave.assignmentVisible == 1>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>> <<print "[[_Slave.slaveName|Personal Attention Select][$personalAttention to $slaves[" + _i + "].ID, $activeSlave to $slaves[" + _i + "], $personalAttentionChanged to 1]]">> <<else>> <<continue>> <</if>> <<case "Agent Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.assignment != "guard you") && (_Slave.assignment != "recruit girls") && (_Slave.assignment != "be your Head Girl") && (_Slave.devotion >= 20) && (_Slave.intelligence > 0) && (_Slave.intelligenceImplant > 0) && canWalk(_Slave) && canSee(_Slave) && canTalk(_Slave) && _Slave.pregType < 50 && _Slave.breedingMark != 1>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Agent Workaround][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "BG Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && (_Slave.assignment != "guard you") && (_Slave.assignment != "recruit girls") && (_Slave.assignment != "be your Head Girl") and canWalk(_Slave) and canSee(_Slave) && _Slave.breedingMark != 1>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Bodyguard Workaround][$Bodyguard to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Recruiter Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && (_Slave.assignment != "guard you") && (_Slave.assignment != "recruit girls") && (_Slave.assignment != "be your Head Girl") && canWalk(_Slave) && canSee(_Slave) && canTalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Recruiter Workaround][$Recruiter to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "HG Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && (_Slave.assignment != "guard you") && (_Slave.assignment != "recruit girls") && (_Slave.assignment != "be your Head Girl") && canWalk(_Slave) && canSee(_Slave) && canTalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|HG Workaround][$HeadGirl to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Head Girl Suite">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if (_Slave.assignmentVisible == 1) && (_Slave.assignment != "be your Head Girl") && (_Slave.indentureRestrictions <= 0) && _Slave.breedingMark != 1>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<else>> <<if _Slave.assignment != "live with your Head Girl">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Subordinate Targeting">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if ($activeSlave.ID != _Slave.ID) && (_Slave.devotion >= -20)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Subordinate Targeting][$activeSlave.subTarget to $slaves[" + _i + "].ID]]">> <<else>> <<continue>> <</if>> <<case "Spa">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $spa <= $spaSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if (_Slave.health < 20) || (_Slave.trust < 60) || (_Slave.devotion <= 60) || (_Slave.fetish is "mindbroken")>> <<if _Slave.devotion >= -20 || _Slave.fetish is "mindbroken">> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName cannot be trusted in the spa// <<continue>> <</if>> <<else>> <br>//_Slave.slaveName cannot benefit from the spa// <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "rest in the spa">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Attendant.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Attendant Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) and canWalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Attendant Workaround][$Attendant to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Brothel">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $brothel <= $brothelSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if _Slave.breedingMark != 1>> <<if (_Slave.devotion > 50) || ((_Slave.devotion >= -50) && (_Slave.trust < -20)) or (_Slave.trust < -50) || (_Slave.trust > 50)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName must be either more fearful of you or devoted to you// <<continue>> <</if>> <<else>> <br>//_Slave.slaveName is for private use only// <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "work in the brothel">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Madam.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Madam Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && (_Slave.intelligence > -2) and canWalk(_Slave) and canSee(_Slave) && _Slave.breedingMark != 1>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Madam Workaround][$Madam to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Club">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $club <= $clubSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if _Slave.breedingMark != 1>> <<if (_Slave.devotion > 50) || ((_Slave.devotion >= -50) && (_Slave.trust < -20)) || (_Slave.trust < -50) || (_Slave.trust > 50)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName must be either more fearful of you or devoted to you// <<continue>> <</if>> <<else>> <br>//_Slave.slaveName is for private use only// <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "serve in the club">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $DJ.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "DJ Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && (_Slave.intelligence > -2) and canWalk(_Slave) && _Slave.breedingMark != 1>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|DJ Workaround][$DJ to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Clinic">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $clinic <= $clinicSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if (_Slave.health < 20) || ((_Slave.chem > 15) && ($clinicUpgradeFilters == 1)) || ((_Slave.bellyImplant > 100) && ($bellyImplants == 1)) || _Slave.preg > 1 >> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName cannot benefit from the clinic// <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "get treatment in the clinic">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Nurse.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Nurse Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) and canWalk(_Slave) and canSee(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Nurse Workaround][$Nurse to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Schoolroom">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $schoolroom <= $schoolroomSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if (_Slave.devotion >= -20) || ((_Slave.devotion >= -50) && (_Slave.trust < -20)) || (_Slave.trust < -50)>> <<if (_Slave.intelligenceImplant < 1) || (_Slave.accent+$schoolroomUpgradeLanguage > 2) || (_Slave.oralSkill <= 10) || (_Slave.whoreSkill <= 10) || (_Slave.entertainSkill <= 10) || (_Slave.analSkill < 1) || ((_Slave.vaginalSkill < 1) && (_Slave.vagina > 0))>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> /* <br>//_Slave.slaveName already has a basic education// */ <<continue>> <</if>> <<else>> /* <br>//_Slave.slaveName is too resistant to learn// */ <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "learn in the schoolroom">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Schoolteacher.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Schoolteacher Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && canTalk(_Slave) and canWalk(_Slave) and canSee(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Schoolteacher Workaround][$Schoolteacher to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Dairy">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $dairy <= $dairySlaves+$bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if (_Slave.indentureRestrictions > 0) && ($dairyRestraintsSetting > 1)>> <br>//_Slave.slaveName's indenture forbids extractive Dairy service.// <<continue>> <<elseif (_Slave.indentureRestrictions > 1) && ($dairyRestraintsSetting > 0)>> <br>//_Slave.slaveName's indenture allows only free range milking.// <<continue>> <<elseif _Slave.breedingMark == 1 && $dairyRestriantsSettings > 0>> <br>//_Slave.slaveName may only be a free range cow// <<continue>> <<elseif ($dairyPregSetting > 0) && ((_Slave.bellyImplant != 0) || (_Slave.pregType >= 50))>> <br>//_Slave.slaveName's womb cannot accommodate current machine settings// <<continue>> <<else>> <<if ((_Slave.lactation > 0) || (_Slave.balls > 0)) || (($dairyFeedersUpgrade == 1) && ($dairyFeedersSetting > 0) && ($dairySlimMaintainUpgrade == 0))>> <<if (_Slave.devotion > 20) || ((_Slave.devotion >= -50) && (_Slave.trust < -20)) or (_Slave.trust < -50) || (_Slave.amp == 1) || ($dairyRestraintsUpgrade == 1)>> <<if ($dairyStimulatorsSetting < 2) || (_Slave.anus > 2) || ($dairyPrepUpgrade == 1)>> <<if ($dairyPregSetting < 2) || (_Slave.vagina > 2) || (_Slave.ovaries == 0) || ($dairyPrepUpgrade == 1)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName's vagina cannot accommodate current machine settings// <<continue>> <</if>> <<else>> <br>//_Slave.slaveName's anus cannot accommodate current machine settings// <<continue>> <</if>> <<else>> <br>//_Slave.slaveName must be obedient in order to be milked here// <<continue>> <</if>> <<elseif (($dairyFeedersUpgrade == 1) && ($dairyFeedersSetting > 0) && ($dairySlimMaintainUpgrade == 1) && ($dairySlimMaintain == 1))>> <br>//_Slave.slaveName is not lactating<<if $seeDicks > 0>> or producing semen<</if>>, and <<print $dairyName>>'s current settings forbid the automatic implantation of lactation inducing drugs, so she can not be a cow// <<continue>> <<else>> <br>//_Slave.slaveName is not lactating<<if $seeDicks > 0>> or producing semen<</if>> and cannot be a cow// <<continue>> <</if>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "work in the dairy">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Milkmaid.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Milkmaid Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 20) and canWalk(_Slave) and canWalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Milkmaid Workaround][$Milkmaid to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Servants' Quarters">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if $servantsQuarters <= $servantsQuartersSlaves>><<continue>><</if>> <<if $slaves[_i].assignmentVisible != 1>><<continue>><</if>> <<if (_Slave.devotion >= -20) || ((_Slave.devotion >= -50) && (_Slave.trust <= 20)) or (_Slave.trust < -20)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName must be either more fearful of you or devoted to you// <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "work as a servant">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Stewardess.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Stewardess Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) && (_Slave.intelligence > -2) and canWalk(_Slave) and canWalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Stewardess Workaround][$Stewardess to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Master Suite">> <<if $Flag == 0>> <<if $masterSuite <= $masterSuiteSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if (_Slave.devotion > 20) || ((_Slave.devotion >= -50) && (_Slave.trust < -20)) or (_Slave.trust < -50)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName is not sufficiently broken for the master suite// <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "serve in the master suite">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Concubine.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Concubine Select">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) and canWalk(_Slave) and canWalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Concubine Workaround][$Concubine to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Cellblock">> <<if $Flag == 0>> <<if $cellblock <= $cellblockSlaves>><<continue>><</if>> <<if _Slave.assignmentVisible != 1>><<continue>><</if>> <<if ((_Slave.devotion < -20) && (_Slave.trust >= -20)) || ((_Slave.devotion < -50) && (_Slave.trust >= -50))>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<elseif $Flag == 1>> <<if _Slave.assignment != "be confined in the cellblock">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<if _Slave.ID != $Wardeness.ID>> <<continue>> <<else>> <<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Wardeness Select">> <<if (_Slave.assignmentVisible == 1) && (_Slave.devotion > 50) and canWalk(_Slave) and canWalk(_Slave)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>> <<print "[[_Slave.slaveName|Wardeness Workaround][$Wardeness to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<case "Arcade">> <<if $Flag == 0>> <<if ($arcade <= $arcadeSlaves) && ($arcadeUpgradeFuckdolls != 1)>><<continue>><</if>> <<if (_Slave.assignmentVisible != 1)>><<continue>><</if>> <<if _Slave.breedingMark != 1>> <<if (_Slave.indentureRestrictions <= 0)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <br>//_Slave.slaveName's indenture forbids arcade service.// <<continue>> <</if>> <<else>> <br>//_Slave.slaveName is for private use only// <<continue>> <</if>> <<else>> <<if _Slave.assignment != "be confined in the arcade">> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "Pit">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if (_Slave.indentureRestrictions > 0) && ($pitLethal == 1)>> <br>//_Slave.slaveName's indenture forbids lethal fights.// <<continue>> <<elseif (_Slave.indentureRestrictions > 1)>> <br>//_Slave.slaveName's indenture forbids fighting.// <<continue>> <<elseif _Slave.breedingMark == 1>> <br>//_Slave.slaveName may not participate in combat// <<continue>> <<elseif (_Slave.heels != 1) || ((_Slave.shoes != "none") || (_Slave.shoes != "flats"))>> <<if (_Slave.assignment != "work in the dairy") || ($dairyRestraintsSetting < 2) or canWalk(_Slave)>> <<if ($fighterIDs.contains(_Slave.ID))>> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Assign][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<else>> <<continue>> <</if>> <<else>> <<continue>> <</if>> <<else>> <<if $fighterIDs.contains(_Slave.ID)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <</if>> <<case "Coursing Association">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <<if $Flag == 0>> <<if canWalk(_Slave) && ($Lurcher.ID != _Slave.ID)>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<else>> <<if $Lurcher.ID != _Slave.ID>> <<continue>> <<else>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <</if>> <<case "New Game Plus">> <<if $Flag == 0>> <<if _Slave.assignment != "be imported">> <br>__''@@color:pink;_Slave.slaveName@@''__ <<else>> <<continue>> <</if>> <<else>> <<if _Slave.assignment != "be imported">> <<continue>> <<else>> <br>__''@@color:pink;_Slave.slaveName@@''__ <</if>> <</if>> <<case "Rules Slave Select">> <<if $Flag == 0>> <<if !ruleSlaveSelected(_Slave, $currentRule)>> <br>__'' <<print "[[_Slave.slaveName|Rules Slave Select Workaround][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<else>> <<if ruleSlaveSelected(_Slave, $currentRule)>> <br>__'' <<print "[[_Slave.slaveName|Rules Slave Deselect Workaround][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <</if>> <<case "Rules Slave Exclude">> <<if $Flag == 0>> <<if !ruleSlaveExcluded(_Slave, $currentRule)>> <br>__'' <<print "[[_Slave.slaveName|Rules Slave Exclude Workaround][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <<else>> <<if ruleSlaveExcluded(_Slave, $currentRule)>> <br>__'' <<print "[[_Slave.slaveName|Rules Slave NoExclude Workaround][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<continue>> <</if>> <</if>> <<case "Matchmaking">> <<if $slaves[_i].assignmentVisible != 1>><<continue>><</if>> <<if $slaves[_i].devotion < 100>><<continue>><</if>> <<if $slaves[_i].relationship != $activeSlave.relationship>><<continue>><</if>> <<if $slaves[_i].ID == $activeSlave.ID>><<continue>><</if>> <br style="clear:both" /><<if $lineSeparations == 0>><br><<else>><hr style="margin:0"><</if>><<if $seeImages == 1>><div class="imageRef smlImg"><<SlaveArt $slaves[_i] 1>></div><</if>><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">> <</switch>> <<set _Slave.energy to Math.clamp(_Slave.energy, 0, 100)>> <<if _Slave.devotion > 100>> <<if _Slave.trust < -95>> <<set _Slave.trust = -100>> <<elseif (_Slave.trust < 100) && (_Slave.trust >= -20)>> <<set _Slave.trust += Math.trunc(_Slave.devotion-100)>> <<else>> <<set $rep += 10*(_Slave.devotion-100)>> <</if>> <<set _Slave.devotion = 100>> <<elseif _Slave.devotion < -95>> <<set _Slave.devotion = -100>> <</if>> <<if _Slave.trust > 100>> <<if _Slave.devotion < -95>> <<set _Slave.devotion = -100>> <<elseif _Slave.devotion < 100>> <<set _Slave.devotion += Math.trunc(_Slave.trust-100)>> <<else>> <<set $rep += 10*(_Slave.trust-100)>> <</if>> <<set _Slave.trust = 100>> <<elseif _Slave.trust < -95>> <<set _Slave.trust = -100>> <</if>> <<if _Slave.trust < -100>><<set _Slave.trust = -100>><</if>> <<if _Slave.devotion < -100>><<set _Slave.devotion = -100>><</if>> <<set _Slave.trust = Math.trunc(_Slave.trust)>> <<set _Slave.devotion = Math.trunc(_Slave.devotion)>> <<set _Slave.health = Math.trunc(_Slave.health)>> <<set $slaves[_i] to _Slave>> will <<if (_Slave.assignment is "rest") && (_Slave.health >= -20)>> ''__@@color:lawngreen;rest.@@__'' <<elseif (_Slave.assignment is "stay confined") && ((_Slave.devotion > 20) || ((_Slave.trust < -20) && (_Slave.devotion >= -20)) || ((_Slave.trust < -50) && (_Slave.devotion >= -50)))>> ''__@@color:lawngreen;stay confined.@@__'' <<else>> _Slave.assignment<<if _Slave.sentence > 0>> (_Slave.sentence)<</if>>. <</if>> <<if $displayAssignments == 1>> <<if _Pass is "Main">> <<if (_Slave.ID != $HeadGirl.ID) && (_Slave.ID != $Recruiter.ID) && (_Slave.ID != $Bodyguard.ID)>> <<if _Slave.assignment != "rest">> <<print "[[Rest|Rest Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <<else>> Rest | <</if>> <<if _Slave.assignment != "please you">> <<print "[[Fucktoy|Fucktoy Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <<else>> Fucktoy | <</if>> <<if (_Slave.assignment != "be a servant") && (_Slave.fuckdoll == 0)>> <<if ((_Slave.devotion >= -20) || ((_Slave.trust < -20) && (_Slave.devotion >= -50)) || (_Slave.trust < -50)) and canWalk(_Slave) and canWalk(_Slave)>> <<print "[[House Servant|Servant Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <</if>> <<else>> Servant | <</if>> <<if (_Slave.assignment != "take classes") && (_Slave.fuckdoll == 0)>> <<if ((_Slave.devotion >= -20) || ((_Slave.trust < -20) && (_Slave.devotion >= -50)) || (_Slave.trust < -50)) && (_Slave.fetish != "mindbroken") && (_Slave.intelligenceImplant != 1)>> <<print "[[Classes|Classes Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <</if>> <<else>> Classes | <</if>> <<if (_Slave.assignment != "stay confined") && (_Slave.fuckdoll == 0)>> <<print "[[Confinement|Confinement Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <<else>> Confinement | <</if>> <<if (_Slave.assignment != "whore") && (_Slave.fuckdoll == 0)>> <<print "[[Whore|Whore Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <<else>> Whore | <</if>> <<if (_Slave.assignment != "serve the public") && (_Slave.fuckdoll == 0)>> <<print "[[Public Servant|Public Servant Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <<else>> Public Servant | <</if>> <<if (_Slave.lactation > 0) || (_Slave.balls > 0)>> <<if (_Slave.assignment != "get milked") && (_Slave.fuckdoll == 0)>> <<print "[[Milking|Milking Workaround][$activeSlave to $slaves[" + _i + "]]]">> | <<else>> Milking | <</if>> <</if>> <<if _Slave.indentureRestrictions <= 0>> <<if _Slave.assignment != "work a glory hole">> <<print "[[Hole|Hole Workaround][$activeSlave to $slaves[" + _i + "]]]">> <<else>> Hole <</if>> <</if>> <</if>> <</if>> <<set _Slave to $slaves[_i]>> <</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $abbreviateDevotion == 1>> <<if _Slave.fetish is "mindbroken">>@@color:red;MB@@ <<elseif _Slave.devotion < -95>>@@color:darkviolet;VHate [_Slave.devotion]@@ <<elseif _Slave.devotion < -50>>@@color:darkviolet;Hate [_Slave.devotion]@@ <<elseif _Slave.devotion < -20>>@@color:mediumorchid;Res [_Slave.devotion]@@ <<elseif _Slave.devotion <= 20>>@@color:yellow;Ambiv [_Slave.devotion]@@ <<elseif _Slave.devotion <= 50>>@@color:hotpink;Accept [_Slave.devotion]@@ <<elseif _Slave.devotion <= 95>>@@color:deeppink;Devo [_Slave.devotion]@@ <<else>>@@color:magenta;Wor [_Slave.devotion]@@ <</if>> <<if _Slave.fetish is "mindbroken">> <<elseif _Slave.trust < -95>>@@color:goldenrod;ETerr [_Slave.trust]@@ <<elseif _Slave.trust < -50>>@@color:goldenrod;Terr [_Slave.trust]@@ <<elseif _Slave.trust < -20>>@@color:gold;Fright [_Slave.trust]@@ <<elseif _Slave.trust <= 20>>@@color:yellow;Fear [_Slave.trust]@@ <<elseif _Slave.trust <= 50>>@@color:mediumaquamarine;Caref [_Slave.trust]@@ <<elseif _Slave.trust < 95>>@@color:mediumseagreen;Trust [_Slave.trust]@@ <<else>>@@color:seagreen;VTrust [_Slave.trust]@@ <</if>> <<elseif $abbreviateDevotion is 2>> <<if _Slave.fetish is "mindbroken">>@@color:red;Mindbroken.@@ <<elseif _Slave.devotion < -95>>@@color:darkviolet;Very hateful.@@ <<elseif _Slave.devotion < -50>>@@color:darkviolet;Hateful.@@ <<elseif _Slave.devotion < -20>>@@color:mediumorchid;Resistant.@@ <<elseif _Slave.devotion <= 20>>@@color:yellow;Ambivalent.@@ <<elseif _Slave.devotion <= 50>>@@color:hotpink;Accepting.@@ <<elseif _Slave.devotion <= 95>>@@color:deeppink;Devoted.@@ <<else>>@@color:magenta;Worshipful.@@ <</if>> <<if _Slave.fetish is "mindbroken">> <<elseif _Slave.trust < -95>>@@color:goldenrod;Extremely terrified.@@ <<elseif _Slave.trust < -50>>@@color:goldenrod;Terrified.@@ <<elseif _Slave.trust < -20>>@@color:gold;Frightened.@@ <<elseif _Slave.trust <= 20>>@@color:yellow;Fearful.@@ <<elseif _Slave.trust <= 50>>@@color:mediumaquamarine;Careful.@@ <<elseif _Slave.trust < 95>>@@color:mediumseagreen;Trusting.@@ <<else>>@@color:seagreen;Profoundly trusting.@@ <</if>> <</if>> <<set $slaves[_i] to _Slave>> <<if _Slave.fuckdoll == 0>> <<if $abbreviateRules == 1>> <<switch _Slave.livingRules>> <<case "luxurious">> ''LS:Lux'' <<case "normal">> ''LS:Nor'' <<default>> ''LS:Spa'' <</switch>> <<if canTalk(_Slave)>> <<switch _Slave.speechRules>> <<case "permissive">> ''SpR:P'' <<case "accent elimination">> ''SpR:NoAcc'' <<case "language lessons">> ''SpR:LL'' <<default>> ''SpR:R'' <</switch>> <</if>> <<switch _Slave.relationshipRules>> <<case "permissive">> ''ReR:P'' <<case "just friends">> ''ReR:Fr'' <<default>> ''ReR:R'' <</switch>> <<switch _Slave.standardPunishment>> <<case "confinement">> ''Pun:Conf'' <<case "whipping">> ''Pun:Whip'' <<case "chastity">> ''Pun:Chas'' <<default>> ''Pun:Situ'' <</switch>> <<switch _Slave.standardReward>> <<case "relaxation">> ''Rew:Relx'' <<case "drugs">> ''Rew:Drug'' <<case "orgasm">> ''Rew:Orga'' <<default>> ''Rew:Situ'' <</switch>> <<switch _Slave.releaseRules>> <<case "permissive">> ''MaR:P'' <<case "sapphic">> ''MaR:S'' <<default>> ''MaR:R'' <</switch>> <<elseif $abbreviateRules is 2>> Living standard: _Slave.livingRules. <<if canTalk(_Slave)>>Speech rules: _Slave.speechRules.<</if>> Relationship rules: _Slave.relationshipRules. Typical punishment: _Slave.standardPunishment. Typical reward: _Slave.standardReward. Release rules: _Slave.releaseRules. <</if>> <</if>> <<if _Slave.tired != 0>>Tired.<</if>> <<if $abbreviateDiet == 1>> <<if _Slave.weight < -95>> ''@@color:red;W--- [_Slave.weight]@@'' <<elseif _Slave.weight < -30>> <<if _Slave.hips < -1>> ''W-- [_Slave.weight]'' <<else>> ''@@color:red;W-- [_Slave.weight]@@'' <</if>> <<elseif _Slave.weight < -10>> ''W- [_Slave.weight]'' <<elseif _Slave.weight <= 10 >> ''W [_Slave.weight]'' <<elseif _Slave.weight <= 30>> ''W+ [_Slave.weight]'' <<elseif _Slave.weight <= 95>> <<if _Slave.hips > 1>> ''W++ [_Slave.weight]'' <<else>> ''@@color:red;W++ [_Slave.weight]@@'' <</if>> <<else>> ''@@color:red;W+++ [_Slave.weight]@@'' <</if>> <<switch _Slave.diet>> <<case "restricted">> ''Di:W-'' <<case "fattening">> ''Di:W+'' <<case "XX">> ''Di:XX+'' <<case "XY">> ''Di:XY+'' <<case "XXY">> ''Di:XXY+'' <<case "muscle building">> ''Di:M+'' <<case "slimming">> ''Di:M-'' <<case "cum production">> ''Di:C+'' <</switch>> <<if _Slave.dietCum == 2>> ''Cum++'' <<elseif ((_Slave.dietCum == 1) && (_Slave.dietMilk == 0))>> ''Cum+'' <<elseif ((_Slave.dietCum == 1) && (_Slave.dietMilk == 1))>> ''Cum+ Milk+'' <<elseif ((_Slave.dietCum == 0) && (_Slave.dietMilk == 1))>> ''Milk+'' <<elseif (_Slave.dietMilk == 2)>> ''Milk++'' <</if>> <<elseif $abbreviateDiet is 2>> <<if _Slave.weight < -95>> @@color:red;Emaciated.@@ <<elseif _Slave.weight < -30>> <<if _Slave.hips < -1>> Model-thin. <<else>> @@color:red;Very thin.@@ <</if>> <<elseif _Slave.weight < -10>> Thin. <<elseif _Slave.weight <= 10 >> <<elseif _Slave.weight <= 30>> Plush. <<elseif _Slave.weight <= 95>> <<if _Slave.hips > 1>> Nicely chubby. <<else>> @@color:red;Overweight.@@ <</if>> <<else>> @@color:red;Fat.@@ <</if>> <<switch _Slave.diet>> <<case "restricted">> Dieting. <<case "fattening">> Gaining weight. <<case "XX">> Estrogen rich. <<case "XY">> Testosterone rich. <<case "XXY">> Futanari mix. <<case "muscle building">> Pumping iron. <<case "slimming">> Slimming down. <<case "cum production">> Cum production. <</switch>> <<if _Slave.dietCum == 2>> Diet Base: @@color:cyan;Cum Based.@@ <<elseif ((_Slave.dietCum == 1) && (_Slave.dietMilk == 0))>> Diet Base: Cum Added. <<elseif ((_Slave.dietCum == 1) && (_Slave.dietMilk == 1))>> Diet Base: Milk & Cum Added. <<elseif ((_Slave.dietCum == 0) && (_Slave.dietMilk == 1))>> Diet Base: Milk Added. <<elseif (_Slave.dietMilk == 2)>> Diet Base: @@color:cyan;Milk Based.@@ <</if>> <</if>> <<if $abbreviateHealth == 1>> <<if _Slave.health < -20>> ''@@color:red;H [_Slave.health]@@'' <<elseif _Slave.health <= 20>> ''@@color:yellow;H [_Slave.health]@@'' <<elseif _Slave.health > 20>> ''@@color:green;H [_Slave.health]@@'' <</if>> <<elseif $abbreviateHealth is 2>> <<if _Slave.health < -90>> @@color:red;On the edge of death.@@ <<elseif _Slave.health < -50>> @@color:red;Extremely unhealthy.@@ <<elseif _Slave.health < -20>> @@color:red;Unhealthy.@@ <<elseif _Slave.health <= 20>> @@color:yellow;Healthy.@@ <<elseif _Slave.health <= 50>> @@color:green;Very healthy.@@ <<elseif _Slave.health <= 90>> @@color:green;Extremely healthy.@@ <<else>> @@color:green;Unnaturally healthy.@@ <</if>> <</if>> <<if $abbreviateDrugs == 1>> <<if (_Slave.drugs != "no drugs") && (_Slave.drugs != "none")>> <<switch _Slave.drugs>> <<case "breast injections">> ''Dr:Boobs+'' <<case "hyper breast injections">> ''Dr:Boobs++'' <<case "butt injections">> ''Dr:Butt+'' <<case "hyper butt injections">> ''Dr:Butt++'' <<case "lip injections">> ''Dr:Lip+'' <<case "fertility drugs">> ''Dr:Fert+'' <<case "super fertility drugs">> ''Dr:Fert++'' <<case "penis enhancement">> ''Dr:Dick+'' <<case "hyper penis enhancement">> ''Dr:Dick++'' <<case "testicle enhancement">> ''Dr:Balls+'' <<case "hyper testicle enhancement">> ''Dr:Balls++'' <<case "psychosuppressants">> ''Dr:Psych'' <<case "steroids">> ''Dr:Ster'' <<case "female hormone injections">> ''Dr:HormXX++'' <<case "male hormone injections">> ''Dr:HormXY++'' <<case "hormone enhancers">> ''Dr:Horm+'' <<case "anti-aging cream">> ''Dr:Age-'' <<default>> ''Dr:None'' <</switch>> <</if>> <<if _Slave.curatives == 2>> ''Cura'' <<elseif _Slave.curatives == 1>> ''Prev'' <</if>> <<if _Slave.aphrodisiacs != 0>> <<if _Slave.aphrodisiacs == 1>> ''Aph'' <<else>> ''Aph++'' <</if>> <</if>> <<if _Slave.addict != 0>> @@color:cyan;Add@@ <</if>> <<if _Slave.hormones > 1>> ''Ho:F+'' <<elseif _Slave.hormones > 0>> ''Ho:F'' <<elseif _Slave.hormones < -1>> ''Ho:M+'' <<elseif _Slave.hormones < 0>> ''Ho:M'' <</if>> <<if (_Slave.bellyImplant > 0)>> ''Belly Imp'' <<elseif ((_Slave.preg <= -2) || (_Slave.ovaries == 0)) && (_Slave.vagina != -1)>> ''Barr'' <<elseif _Slave.pubertyXX == 0 && (_Slave.ovaries == 1 || _Slave.mpreg == 1)>> ''Prepub'' <<elseif _Slave.physicalAge >= 47 && (_Slave.ovaries == 1 || _Slave.mpreg == 1)>> ''Meno'' <<elseif _Slave.preg == -1>> ''CC'' <<elseif _Slave.preg == 0 && (_Slave.ovaries == 1 || _Slave.mpreg == 1)>> ''Fert+'' <<elseif (_Slave.preg < 4) && (_Slave.preg > 0)>> ''Preg?'' <<elseif (_Slave.preg > 30) && (_Slave.pregType >= 50)>> ''Perm preg'' <<elseif _Slave.preg >= 4>> ''_Slave.preg wks preg'' <</if>> <<if _Slave.induce == 1>> ''Early Labor'' <</if>> <<if _Slave.pubertyXY == 0 && _Slave.balls > 0>> ''Prepub balls'' <</if>> <<if _Slave.inflation == 3>> ''8 ltr _Slave.inflationType'' <<elseif _Slave.inflation == 2>> ''4 ltr _Slave.inflationType'' <<elseif _Slave.inflation == 1>> ''2 ltr _Slave.inflationType'' <</if>> <<elseif $abbreviateDrugs is 2>> <<if (_Slave.drugs != "no drugs") && (_Slave.drugs != "none")>> On _Slave.drugs. <</if>> <<if _Slave.curatives == 2>> On curatives. <<elseif _Slave.curatives == 1>> On preventatives. <</if>> <<if _Slave.aphrodisiacs != 0>> On <<if _Slave.aphrodisiacs > 1>>extreme <</if>>aphrodisiacs. <</if>> <<if _Slave.addict != 0>> @@color:cyan;Addict.@@ <</if>> <<if _Slave.hormones > 1>> ''Heavy female hormones.'' <<elseif _Slave.hormones > 0>> ''Female hormones.'' <<elseif _Slave.hormones < -1>> ''Heavy male hormones.'' <<elseif _Slave.hormones < 0>> ''Male hormones.'' <</if>> <<if (_Slave.bellyImplant > 0)>> Belly Implant. <<elseif ((_Slave.preg <= -2) || (_Slave.ovaries == 0)) && (_Slave.vagina != -1)>> Barren. <<elseif _Slave.pubertyXX == 0 && (_Slave.ovaries == 1 || _Slave.mpreg == 1)>> Not ovulating yet. <<elseif _Slave.physicalAge >= 47 && (_Slave.ovaries == 1 || _Slave.mpreg == 1)>> Menopausal. <<elseif _Slave.preg == -1>> On contraceptives. <<elseif _Slave.preg == 0 && (_Slave.ovaries == 1 || _Slave.mpreg == 1)>> Fertile. <<elseif (_Slave.preg < 4) && (_Slave.preg > 0)>> May be pregnant. <<elseif (_Slave.preg > 30) && (_Slave.pregType >= 50)>> Permenantly pregnant. <<elseif _Slave.preg >= 4>> <<if _Slave.pregType lt 2 || _Slave.pregType gte 50>> _Slave.preg weeks pregnant. <<else>> _Slave.preg weeks pregnant with <<if _Slave.pregType gte 20>> a brood of offspring. <<elseif _Slave.pregType gte 10>> _Slave.pregType babies. <<elseif _Slave.pregType gt 4>> quintuplets. <<elseif _Slave.pregType is 4>> quadruplets. <<elseif _Slave.pregType is 3>> triplets. <<else>> twins. <</if>> <</if>> <</if>> <<if _Slave.induce == 1>> Showing signs of early labor. <</if>> <<if _Slave.pubertyXY == 0 && _Slave.balls > 0>> Has not had first ejaculation. <</if>> <<if _Slave.inflation == 3>> ''Filled with 8 liters of _Slave.inflationType.'' <<elseif _Slave.inflation == 2>> ''Filled with 4 liters of _Slave.inflationType.'' <<elseif _Slave.inflation == 1>> ''Filled with 2 liters of _Slave.inflationType.'' <</if>> <</if>> <<if $abbreviateNationality+$abbreviateGenitalia+$abbreviatePhysicals+$abbreviateSkills+$abbreviateMental != 0>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <</if>> <<SlaveTitle _Slave>> <<set $seed to $desc.substring(0,1)>> <<set $seed to $seed.toUpperCase()>> <<set $desc to $seed + $desc.substring(1)>> ''@@color:coral;$desc<<if $abbreviatePhysicals is 2>>.<</if>>@@'' <<if $abbreviateNationality == 1>> ''@@color:tan; <<switch _Slave.nationality>> <<case "American">> US <<case "Canadian">> Can <<case "Puerto Rican">> PR@ <<case "Cuban">> Cub <<case "Haitian">> Hai <<case "Jamaican">> Jam <<case "Mexican">> Mex <<case "Dominican">> Dom <<case "Peruvian">> Per <<case "Venezuelan">> Ven <<case "Bolivian">> Bol <<case "Guatemalan">> Gtm <<case "Brazilian">> Bra <<case "Argentinian">> Arg <<case "Chilean">> Chl <<case "Colombian">> Col <<case "Egyptian">> Egy <<case "Turkish">> Tur <<case "Iranian">> Irn <<case "Armenian">> Arm <<case "Israeli">> Isr <<case "Saudi">> Sau <<case "Moroccan">> Mor <<case "Nigerian">> Ng <<case "Kenyan">> Ken <<case "Zimbabwean">> <<if _Slave.race == "white">> Rho <<else>> Zwe <</if>> <<case "Ugandan">> Uga <<case "Tanzanian">> Tza <<case "Ghanan">> Gha <<case "Congolese">> Cog <<case "Ethiopian">> Eth <<case "South African">> RSA <<case "Chinese">> Chi <<case "Korean">> Kor <<case "Japanese">> Jpn <<case "Thai">> Tha <<case "Vietnamese">> Vnm <<case "Indonesian">> Idn <<case "Filipina">> Phl <<case "Burmese">> Bur <<case "Nepalese">> Npl <<case "Uzbek">> Uzb <<case "Afghan">> Afg <<case "Algerian">> Alg <<case "Libyan">> Lby <<case "Tunisian">> Tun <<case "Lebanese">> Lbn <<case "Jordanian">> Jor <<case "Emirati">> AE <<case "Omani">> Omn <<case "Malian">> Mal <<case "Sudanese">> Sud <<case "Yemeni">> Yem <<case "Iraqi">> Irq <<case "Indian">> Ind <<case "Malaysian">> Mys <<case "Kazakh">> Kaz <<case "Pakistani">> Pak <<case "Bangladeshi">> Bgd <<case "Belarusian">> BeR <<case "Russian">> Rus <<case "Ukrainian">> Ukr <<case "Irish">> Irl <<case "Icelandic">> Isl <<case "Finnish">> Fin <<case "Swiss">> Swi <<case "Danish">> Dan <<case "Norwegian">> Nor <<case "Austrian">> Aut <<case "Slovak">> Svk <<case "Dutch">> Nld <<case "Belgian">> Bel <<case "Czech">> Cze <<case "Serbian">> Srb <<case "Portuguese">> Por <<case "Hungarian">> Hun <<case "Estonian">> Est <<case "Polish">> Pol <<case "Lithuanian">> Lit <<case "Romanian">> Rom <<case "German">> Ger <<case "Swedish">> Swe <<case "French">> Fra <<case "Scottish">> Sco <<case "Italian">> Ita <<case "Greek">> Gre <<case "Spanish">> Spa <<case "British">> GB <<case "Australian">> Aus <<case "a New Zealander">> NZ <<case "Ancient Egyptian Revivalist">> Egy Rev <<case "Ancient Chinese Revivalist">> Chi Rev <<case "Edo Revivalist">> Edo Rev <<case "Roman Revivalist">> Rom Rev <<case "Arabian Revivalist">> Ara Rev <<case "slave" "none" "">> None <<default>> <<print _Slave.nationality.charAt(0) + _Slave.nationality.charAt(1) + _Slave.nationality.charAt(2)>> <</switch>> @@'' <<elseif $abbreviateNationality is 2>> ''@@color:tan; <<switch _Slave.nationality>> <<case "Zimbabwean">> <<if _Slave.race == "white">> Rhodesian. <<else>> _Slave.nationality. <</if>> <<case "slave" "none" "" "Stateless">> Stateless. <<default>> _Slave.nationality. <</switch>> @@'' <</if>> <<if $seeRace == 1>> @@color:tan; <<if $abbreviateRace == 1>> ''<<switch _Slave.race>> <<case "white">> C <<case "asian">> A <<case "indo-aryan">> I <<case "latina">> L <<case "middle eastern">> ME <<case "black">> B <<case "pacific islander">> PI <<case "malay">> M <<case "amerindian">> AI <<case "semitic">> S <<case "southern European">> SE <<case "mixed race">> MR <<default>> <<print _Slave.race.charAt(0).toUpperCase() + _Slave.race.charAt(1) + _Slave.race.charAt(2)>> <</switch>>'' <<elseif $abbreviateRace is 2>> ''<<switch _Slave.race>> <<case "white">> Caucasian. <<case "asian">> Asian. <<case "indo-aryan">> Indo-aryan. <<case "latina">> Latina. <<case "middle eastern">> Middle Eastern. <<case "black">> Black. <<case "pacific islander">> Pacific Islander. <<case "malay">> Malay. <<case "amerindian">> Amerindian. <<case "semitic">> Semitic. <<case "southern European">> Southern European. <<case "mixed race">> Mixed race. <<default>> <<print _Slave.race.charAt(0).toUpperCase() + _Slave.race.slice(1)>>. <</switch>>'' <</if>> @@ <</if>> <<if $abbreviatePhysicals == 1>> ''@@color:pink; <<switch _Slave.skin>> <<case "light brown">> L. Br <<case "extremely pale">> Ex. Pa <<case "tanned">> Tan <<case "dark" "fair" "pale">> <<print _Slave.skin.charAt(0).toUpperCase() + _Slave.skin.slice(1)>> <<default>> <<print _Slave.skin.charAt(0).toUpperCase() + _Slave.skin.charAt(1) + _Slave.skin.charAt(2)>> <</switch>> <<else>> <<print _Slave.skin.charAt(0).toUpperCase() + _Slave.skin.slice(1)>> skin. @@ <</if>> <<if $abbreviateGenitalia == 1>> ''<<if _Slave.dick > 0>> @@color:pink; <<if _Slave.balls == 0>> Geld <</if>> <<if (_Slave.dick > 8) && (_Slave.balls > 5)>> Junk+++ <<elseif (_Slave.dick > 5) && (_Slave.balls > 5)>> Junk++ <<elseif (_Slave.dick > 4) && (_Slave.balls > 4)>> Junk+ <<elseif (_Slave.dick > 3) && (_Slave.balls > 3)>> Junk <<elseif _Slave.dick > 8>> Dick+++ <<elseif _Slave.dick > 5>> Dick++ <<elseif _Slave.dick > 4>> Dick+ <<elseif _Slave.dick > 3>> Dick <<elseif _Slave.balls > 10>> Balls+++ <<elseif _Slave.balls > 5>> Balls++ <<elseif _Slave.balls > 4>> Balls+ <<elseif _Slave.balls > 3>> Balls <</if>> @@ <</if>> <<if _Slave.vagina == 0>> @@color:lime;VV@@ <<elseif (_Slave.preg > 0) and canWalk(_Slave) && (_Slave.clothes is "no clothing") && (_Slave.shoes is "none")>> @@color:pink;NBP@@ <</if>> <<if _Slave.anus == 0>> @@color:lime;AV@@ <</if>> @@color:pink; <<if (_Slave.vagina > 3) && (_Slave.anus > 3)>> V++A++ <<elseif (_Slave.vagina > 2) && (_Slave.anus > 2)>> V+A+ <<elseif _Slave.vagina > 3>> V++ <<elseif _Slave.vagina > 2>> V+ <<elseif _Slave.anus > 3>> A++ <<elseif _Slave.anus > 2>> A+ <</if>> @@'' <<elseif $abbreviateGenitalia is 2>> <<if _Slave.dick > 0>> @@color:pink; <<if _Slave.balls == 0>> Gelded. <</if>> <<if (_Slave.dick > 8) && (_Slave.balls > 5)>> Hyper dick & balls. <<elseif (_Slave.dick > 5) && (_Slave.balls > 5)>> Monster dick & balls. <<elseif (_Slave.dick > 4) && (_Slave.balls > 4)>> Huge dick & balls. <<elseif (_Slave.dick > 3) && (_Slave.balls > 3)>> Big dick & balls. <<elseif _Slave.dick > 8>> Hyper dong. <<elseif _Slave.dick > 5>> Monster dong. <<elseif _Slave.dick > 4>> Huge dick. <<elseif _Slave.dick > 3>> Big dick. <<elseif _Slave.balls > 5>> Monstrous balls. <<elseif _Slave.balls > 4>> Huge balls. <<elseif _Slave.balls > 3>> Big balls. <</if>> @@ <</if>> <<if _Slave.vagina == 0>> @@color:lime;Virgin.@@ <<elseif (_Slave.preg > 0) and canWalk(_Slave) && (_Slave.clothes is "no clothing") && (_Slave.shoes is "none")>> @@color:pink;Naked, barefoot, and pregnant.@@ <</if>> <<if _Slave.anus == 0>> @@color:lime;Anal virgin.@@ <</if>> @@color:pink; <<if (_Slave.vagina > 3) && (_Slave.anus > 3)>> Blown out holes. <<elseif (_Slave.vagina > 2) && (_Slave.anus > 2)>> High mileage. <<elseif _Slave.vagina > 3>> Cavernous pussy. <<elseif _Slave.vagina > 2>> Loose pussy. <<elseif _Slave.anus > 3>> Permagaped anus. <<elseif _Slave.anus > 2>> Gaping anus. <</if>> @@ <</if>> <<if $abbreviatePhysicals == 1>> ''@@color:pink; <<if $showAgeDetail == 1>> _Slave.actualAge <<elseif _Slave.actualAge >= 40>> 40s <<elseif _Slave.actualAge >= 35>> Lt30s <<elseif _Slave.actualAge >= 30>> Ea30s <<elseif _Slave.actualAge >= 25>> Lt20s <<elseif _Slave.actualAge >= 20>> Ea20s <<elseif _Slave.actualAge >= 18>> _Slave.actualAge <</if>> <<if _Slave.actualAge != _Slave.physicalAge>> <<print _Slave.physicalAge>>y-bdy <</if>> <<if _Slave.visualAge != _Slave.physicalAge>> Lks<<print _Slave.visualAge>> <</if>> <<switch _Slave.face>> <<case -3>> @@color:red;Face---@@ <<case -2>> @@color:red;Face--@@ <<case -1>> @@color:yellow;Face-@@ <<case 1>> Face+ <<case 2>> Face++ <<case 3>> Face+++ <<default>> Face <</switch>> <<if _Slave.eyes is -2>> @@color:red;Blind@@ <<elseif _Slave.eyes is -1>> <<if (_Slave.eyewear != "corrective glasses")>> <<if (_Slave.eyewear != "corrective contacts")>> @@color:yellow;Sight-@@ <</if>> <</if>> <</if>> <<if _Slave.lips > 95>> Facepussy <<elseif _Slave.lips > 70>> Lips+++ <<elseif _Slave.lips > 40>> Lips++ <<elseif _Slave.lips > 20>> Lips+ <<elseif _Slave.lips > 10>> Lips <<else>> @@color:red;Lips-@@ <</if>> <<if _Slave.teeth is "crooked">> @@color:yellow;Cr Teeth@@ <<elseif _Slave.teeth is "cosmetic braces">> Cos Braces <<elseif _Slave.teeth is "straightening braces">> Braces <<elseif _Slave.teeth is "removable">> Rem Teeth <<elseif _Slave.teeth is "pointy">> Fangs <</if>> <<if _Slave.muscles > 95>> Musc++ <<elseif _Slave.muscles > 30>> Musc+ <<elseif _Slave.muscles > 5>> Toned <<elseif _Slave.muscles > -6>> <<elseif _Slave.muscles > -31>> @@color:red;weak@@ <<elseif _Slave.muscles > -96>> @@color:red;weak+@@ <<else>> @@color:red;weak++@@ <</if>> <<if _Slave.amp != 0>> <<if _Slave.amp == -1>> P-Limbs <<elseif _Slave.amp == -2>> Sex P-Limbs <<elseif _Slave.amp == -3>> Beauty P-Limbs <<elseif _Slave.amp == -4>> Combat P-Limbs <<elseif _Slave.amp == -5>> Cyber P-Limbs <<else>> Amp <</if>> <</if>> <<if !canWalk(_Slave)>> Immob <</if>> <<if _Slave.heels == 1>> Heel <</if>> @@ <<if _Slave.voice == 0>> @@color:pink;Mute@@ <<else>> <<if _Slave.accent is 3>> @@color:red;Acc--@@ <<elseif _Slave.accent is 2>> Acc- <<elseif _Slave.accent is 4>> Acc-- <<elseif _Slave.accent == 1>> @@color:pink;Acc@@ <</if>> <</if>> @@color:pink; <<if (_Slave.boobs >= 10000) && (_Slave.butt > 9)>> T&A+++ <<elseif (_Slave.boobs > 4000) && (_Slave.butt > 8)>> T&A++ <<elseif (_Slave.boobs > 2000) && (_Slave.butt > 6)>> T&A+ <<elseif (_Slave.boobs > 800) && (_Slave.butt > 4)>> T&A <<elseif (_Slave.boobs < 500) && (_Slave.butt < 3) && (_Slave.weight <= 10) && (_Slave.muscles <= 30)>> Girlish <<elseif _Slave.boobs >= 10000>> Boobs+++ <<elseif _Slave.boobs > 4000>> Boobs++ <<elseif _Slave.boobs > 2000>> Boobs+ <<elseif _Slave.boobs > 800>> Boobs <<elseif _Slave.butt > 9>> Ass+++ <<elseif _Slave.butt > 8>> Ass++ <<elseif _Slave.butt > 6>> Ass+ <<elseif _Slave.butt > 4>> Ass <</if>> @@ @@color:red; <<if _Slave.hips < -1>> <<if _Slave.butt > 2>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disp <</if>> <</if>> <<elseif _Slave.hips < 0>> <<if _Slave.butt > 4>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disp <</if>> <</if>> <<elseif _Slave.hips > 2>> <<if _Slave.butt <= 8>> Disp <</if>> <<elseif _Slave.hips > 1>> <<if _Slave.butt <= 3>> Disp <</if>> <<elseif _Slave.hips > 0>> <<if _Slave.butt > 8>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disp <</if>> <<elseif _Slave.butt <= 2>> Disp <</if>> <<else>> <<if _Slave.butt > 6>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disp <</if>> <<elseif _Slave.butt <= 1>> Disp <</if>> <</if>> @@ @@color:pink; <<if (_Slave.waist > 1)>> Wst++ <<elseif (_Slave.waist == 1)>> Wst+ <</if>> @@ @@color:pink; <<if (_Slave.boobsImplant == 0) && (_Slave.buttImplant == 0) && (_Slave.waist < 2) && (_Slave.lipsImplant == 0) && (_Slave.faceImplant < 2) && (_Slave.bellyImplant == 0)>> Natr <<else>> Impl <</if>> <<if _Slave.lactation == 1>> Lact <<elseif _Slave.lactation == 2>> Lact++ <</if>> <<modScore _Slave>> <<if _Slave.corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<elseif $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> Mods++ <<elseif $modScore > 7>> Mods+ <<else>> Mods <</if>> <<if _Slave.brand != 0>> Br <</if>> @@'' <<elseif $abbreviatePhysicals is 2>> @@color:pink; <<if $showAgeDetail == 1>> Age _Slave.actualAge. <<elseif _Slave.actualAge >= 40>> Forties. <<elseif _Slave.actualAge >= 35>> Late thirties. <<elseif _Slave.actualAge >= 30>> Early thirties. <<elseif _Slave.actualAge >= 25>> Late twenties. <<elseif _Slave.actualAge >= 20>> Early twenties. <<elseif _Slave.actualAge >= 19>> Nineteen. <<elseif _Slave.actualAge >= 18>> Eighteen. <<else>> Underage. <</if>> <<if _Slave.actualAge != _Slave.physicalAge>> <<print _Slave.visualAge>> year old body. <</if>> <<if _Slave.visualAge != _Slave.physicalAge>> Looks <<print _Slave.visualAge>>. <</if>> <<switch _Slave.face>> <<case -3>> @@color:red;Very ugly@@ <<case -2>> @@color:red;Ugly@@ <<case -1>> @@color:yellow;Unattractive@@ <<case 1>> Attractive <<case 2>> Beautiful <<case 3>> Very beautiful <<default>> Average <</switch>> _Slave.faceShape face. <<if _Slave.eyes <= -2>> @@color:red;Blind.@@ <<elseif _Slave.eyes <= -1>> @@color:yellow;Nearsighted.@@ <</if>> <<if _Slave.lips > 95>> Facepussy. <<elseif _Slave.lips > 70>> Huge lips. <<elseif _Slave.lips > 40>> Big lips. <<elseif _Slave.lips > 20>> Pretty lips. <<elseif _Slave.lips > 10>> Normal lips. <<else>> @@color:red;Thin lips.@@ <</if>> <<if _Slave.teeth is "crooked">> @@color:yellow;Crooked teeth.@@ <<elseif _Slave.teeth is "cosmetic braces">> Cosmetic braces. <<elseif _Slave.teeth is "straightening braces">> Braces. <<elseif _Slave.teeth is "removable">> Removable teeth. <<elseif _Slave.teeth is "pointy">> Sharp fangs. <</if>> <<if _Slave.muscles > 95>> Hugely muscular. <<elseif _Slave.muscles > 30>> Muscular. <<elseif _Slave.muscles > 5>> Toned. <<elseif _Slave.muscles > -6>> <<elseif _Slave.muscles > -31>> @@color:red;Weak.@@ <<elseif _Slave.muscles > -96>> @@color:red;Very weak.@@ <<else>> @@color:red;Frail.@@ <</if>> <<if _Slave.amp != 0>> <<if _Slave.amp == -1>> Prosthetic limbs. <<elseif _Slave.amp == -2>> Sexy prosthetic limbs. <<elseif _Slave.amp == -3>> Beautiful prosthetic limbs. <<elseif _Slave.amp == -4>> Deadly prosthetic limbs. <<elseif _Slave.amp == -5>> Cyber prosthetic limbs. <<else>> Amputee. <</if>> <</if>> <<if !canWalk(_Slave)>> Immobile. <</if>> <<if _Slave.heels == 1>> Heeled. <</if>> @@ <<if _Slave.voice == 0>> @@color:pink;Mute.@@ <<else>> <<if _Slave.accent is 3>> @@color:red;Bad accent.@@ <<elseif _Slave.accent is 4>> @@color:red;No language skills.@@ <<elseif _Slave.accent is 2>> Accent. <<elseif _Slave.accent == 1>> @@color:pink;Cute accent.@@ <</if>> <</if>> @@color:pink; <<if (_Slave.boobs >= 10000) && (_Slave.butt > 9)>> Hyper T&A. <<elseif (_Slave.boobs > 4000) && (_Slave.butt > 8)>> Enormous T&A. <<elseif (_Slave.boobs > 2000) && (_Slave.butt > 6)>> Huge T&A. <<elseif (_Slave.boobs > 800) && (_Slave.butt > 4)>> Big T&A. <<elseif (_Slave.boobs < 500) && (_Slave.butt < 3) && (_Slave.weight <= 10) && (_Slave.muscles <= 30)>> Girlish figure. <<elseif _Slave.boobs >= 10000>> Immobilizing tits. <<elseif _Slave.boobs > 4000>> Monstrous tits. <<elseif _Slave.boobs > 2000>> Huge tits. <<elseif _Slave.boobs > 800>> Big tits. <<elseif _Slave.butt > 9>> Hyper ass. <<elseif _Slave.butt > 8>> Titanic ass. <<elseif _Slave.butt > 6>> Huge ass. <<elseif _Slave.butt > 4>> Big ass. <</if>> @@ @@color:red; <<if _Slave.hips < -1>> <<if _Slave.butt > 2>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disproportionately big butt. <</if>> <</if>> <<elseif _Slave.hips < 0>> <<if _Slave.butt > 4>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disproportionately big butt. <</if>> <</if>> <<elseif _Slave.hips > 2>> <<if _Slave.butt <= 8>> Disproportionately small butt. <</if>> <<elseif _Slave.hips > 1>> <<if _Slave.butt <= 3>> Disproportionately small butt. <</if>> <<elseif _Slave.hips > 0>> <<if _Slave.butt > 8>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disproportionately big butt. <</if>> <<elseif _Slave.butt <= 2>> Disproportionately small butt. <</if>> <<else>> <<if _Slave.butt > 6>> <<if $arcologies[0].FSTransformationFetishist < 20>> Disproportionately big butt. <</if>> <<elseif _Slave.butt <= 1>> Disproportionately small butt. <</if>> <</if>> @@ @@color:pink; <<if (_Slave.waist > 1)>> Unnaturally narrow waist. <<elseif (_Slave.waist == 1)>> Narrow waist. <</if>> @@ @@color:pink; <<if (_Slave.boobsImplant != 0) || (_Slave.buttImplant != 0) || (_Slave.lipsImplant != 0) || (_Slave.bellyImplant != 0)>> Implants. <<elseif (_Slave.faceImplant >= 2) || (_Slave.waist >= 2)>> Surgery enhanced. <<else>> All natural. <</if>> <<if _Slave.lactation == 1>> Lactating naturally. <<elseif _Slave.lactation == 2>> Heavy lactation. <</if>> <<modScore _Slave>> <<if _Slave.corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<elseif $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> Extensive body mods. <<elseif $modScore > 7>> Noticeable body mods. <<else>> Light body mods. <</if>> <<if _Slave.brand != 0>> Branded. <</if>> @@ <</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $abbreviateSkills == 1>> ''<<if _Slave.fetish is "mindbroken">> <<elseif _Slave.intelligenceImplant == 1>> <<switch _Slave.intelligence>> <<case 3>> @@color:deepskyblue;I+++(e)@@ <<case 2>> @@color:deepskyblue;I++(e)@@ <<case 1>> @@color:deepskyblue;I+(e)@@ <<case -1>> @@color:orangered;I-(e)@@ <<case -2>> @@color:orangered;I--(e)@@ <<case -3>> @@color:orangered;I---(e)@@ <<default>> I(e) <</switch>> <<else>> <<switch _Slave.intelligence>> <<case 3>> @@color:deepskyblue;I+++@@ <<case 2>> @@color:deepskyblue;I++@@ <<case 1>> @@color:deepskyblue;I+@@ <<case -1>> @@color:orangered;I-@@ <<case -2>> @@color:orangered;I--@@ <<case -3>> @@color:orangered;I---@@ <<default>> I <</switch>> <</if>> <<set _SSkills to (_Slave.analSkill+_Slave.oralSkill)>> @@color:aquamarine; <<if ((_SSkills+_Slave.whoreSkill+_Slave.entertainSkill) >= 400) && ((_Slave.vagina < 0) || (_Slave.vaginalSkill >= 100))>> MSS <<else>> <<set _SSkills += _Slave.vaginalSkill>> <<if _SSkills > 180>> S++ <<elseif (_SSkills > 120) && (_Slave.vagina < 0)>> Sh++ <<elseif _SSkills > 90>> S+ <<elseif _SSkills > 30>> S <</if>> <<if _Slave.whoreSkill >= 100>> W+++ <<elseif _Slave.whoreSkill > 60>> W++ <<elseif _Slave.whoreSkill > 30>> W+ <<elseif _Slave.whoreSkill > 10>> W <</if>> <<if _Slave.entertainSkill >= 100>> E+++ <<elseif _Slave.entertainSkill > 60>> E++ <<elseif _Slave.entertainSkill > 30>> E+ <<elseif _Slave.entertainSkill > 10>> E <</if>> <</if>> <<if _Slave.combatSkill > 0>> C <</if>> @@ <<if _Slave.prestige > 0>> @@color:green; <<if _Slave.prestige > 2>> Prest++ <<elseif _Slave.prestige is 2>> Prest+ <<elseif _Slave.prestige == 1>> Prest <</if>> @@ <</if>>'' <<elseif $abbreviateSkills is 2>> <<if _Slave.fetish is "mindbroken">> <<elseif _Slave.intelligenceImplant == 1>> <<switch _Slave.intelligence>> <<case 3>> @@color:deepskyblue;Brilliant, educated.@@ <<case 2>> @@color:deepskyblue;Very smart, educated.@@ <<case 1>> @@color:deepskyblue;Smart, educated.@@ <<case -1>> @@color:orangered;Slow, educated.@@ <<case -2>> @@color:orangered;Very slow, educated.@@ <<case -3>> @@color:orangered;Moronic, educated.@@ <<default>> Average intelligence, educated. <</switch>> <<else>> <<switch _Slave.intelligence>> <<case 3>> @@color:deepskyblue;Brilliant.@@ <<case 2>> @@color:deepskyblue;Very smart.@@ <<case 1>> @@color:deepskyblue;Smart.@@ <<case -1>> @@color:orangered;Slow.@@ <<case -2>> @@color:orangered;Very slow.@@ <<case -3>> @@color:orangered;Moronic.@@ <<default>> Average intelligence. <</switch>> <</if>> <<set _SSkills to (_Slave.analSkill+_Slave.oralSkill)>> @@color:aquamarine; <<if ((_SSkills+_Slave.whoreSkill+_Slave.entertainSkill) >= 400) && ((_Slave.vagina < 0) || (_Slave.vaginalSkill >= 100))>> Masterful Sex Slave. <<else>> <<set _SSkills += _Slave.vaginalSkill>> <<if _SSkills > 180>> Sex master. <<elseif (_SSkills > 120) && (_Slave.vagina < 0)>> Masterful shemale. <<elseif _SSkills > 90>> Sexual expert. <<elseif _SSkills > 30>> Sexually skilled. <</if>> <<if _Slave.whoreSkill >= 100>> Masterful whore. <<elseif _Slave.whoreSkill >= 60>> Expert whore. <<elseif _Slave.whoreSkill >= 30>> Skilled whore. <<elseif _Slave.whoreSkill >= 10>> Basic whore. <</if>> <<if _Slave.entertainSkill >= 100>> Masterful entertainer. <<elseif _Slave.entertainSkill >= 60>> Expert entertainer. <<elseif _Slave.entertainSkill >= 30>> Skilled entertainer. <<elseif _Slave.entertainSkill >= 10>> Basic entertainer. <</if>> <</if>> <<if _Slave.combatSkill > 0>> Trained fighter. <</if>> @@ <<if _Slave.prestige > 0>> @@color:green; <<if _Slave.prestige > 2>> Extremely prestigious. <<elseif _Slave.prestige is 2>> Very prestigious. <<elseif _Slave.prestige == 1>> Prestigious. <</if>> @@ <</if>> <</if>> <<if $abbreviateMental == 1>> <<if _Slave.fetish != "mindbroken">> <<if _Slave.fetishKnown == 1>> @@color:lightcoral; <<switch _Slave.fetish>> <<case "submissive">> <<if _Slave.fetishStrength > 95>> Sub++ <<elseif _Slave.fetishStrength > 60>> Sub+ <<else>> Sub <</if>> <<case "cumslut">> <<if _Slave.fetishStrength > 95>> Oral++ <<elseif _Slave.fetishStrength > 60>> Oral+ <<else>> Oral <</if>> <<case "humiliation">> <<if _Slave.fetishStrength > 95>> Humil++ <<elseif _Slave.fetishStrength > 60>> Humil+ <<else>> Humil <</if>> <<case "buttslut">> <<if _Slave.fetishStrength > 95>> Anal++ <<elseif _Slave.fetishStrength > 60>> Anal+ <<else>> Anal <</if>> <<case "boobs">> <<if _Slave.fetishStrength > 95>> Boobs++ <<elseif _Slave.fetishStrength > 60>> Boobs+ <<else>> Boobs <</if>> <<case "sadist">> <<if _Slave.fetishStrength > 95>> Sadist++ <<elseif _Slave.fetishStrength > 60>> Sadist+ <<else>> Sadist <</if>> <<case "masochist">> <<if _Slave.fetishStrength > 95>> Pain++ <<elseif _Slave.fetishStrength > 60>> Pain+ <<else>> Pain <</if>> <<case "dom">> <<if _Slave.fetishStrength > 95>> Dom++ <<elseif _Slave.fetishStrength > 60>> Dom+ <<else>> Dom <</if>> <<case "pregnancy">> <<if _Slave.fetishStrength > 95>> Preg++ <<elseif _Slave.fetishStrength > 60>> Preg+ <<else>> Preg <</if>> <<default>> Vanilla <</switch>> [_Slave.fetishStrength] @@ <</if>> <<if _Slave.attrKnown == 1>> <<if _Slave.attrXY <= 5>> @@color:red;XY--- [_Slave.attrXY]@@ <<elseif _Slave.attrXY <= 15>> @@color:red;XY-- [_Slave.attrXY]@@ <<elseif _Slave.attrXY <= 35>> @@color:red;XY- [_Slave.attrXY]@@ <<elseif _Slave.attrXY <= 65>> XY [_Slave.attrXY] <<elseif _Slave.attrXY <= 85>> @@color:green;XY+ [_Slave.attrXY]@@ <<elseif _Slave.attrXY <= 95>> @@color:green;XY++ [_Slave.attrXY]@@ <<elseif _Slave.attrXX > 95>> <<if _Slave.energy <= 95>> @@color:green;Omni!@@ <<else>> @@color:green;Omni+Nympho!!@@ <</if>> <<else>> @@color:green;XY+++ [_Slave.attrXY]@@ <</if>> <<if _Slave.attrXX <= 5>> @@color:red;XX--- [_Slave.attrXX]@@ <<elseif _Slave.attrXX <= 15>> @@color:red;XX-- [_Slave.attrXX]@@ <<elseif _Slave.attrXX <= 35>> @@color:red;XX- [_Slave.attrXX]@@ <<elseif _Slave.attrXX <= 65>> XX [_Slave.attrXX] <<elseif _Slave.attrXX <= 85>> @@color:green;XX+ [_Slave.attrXX]@@ <<elseif _Slave.attrXX <= 95>> @@color:green;XX++ [_Slave.attrXX]@@ <<elseif _Slave.attrXY <= 95>> @@color:green;XX+++ [_Slave.attrXX]@@ <</if>> <<if _Slave.energy > 95>> <<if (_Slave.attrXY <= 95) || (_Slave.attrXX <= 95)>> @@color:green;Nympho!@@ <</if>> <<elseif _Slave.energy > 80>> @@color:green;SD++ [_Slave.energy]@@ <<elseif _Slave.energy > 60>> @@color:green;SD+ [_Slave.energy]@@ <<elseif _Slave.energy > 40>> @@color:yellow;SD [_Slave.energy]@@ <<elseif _Slave.energy > 20>> @@color:red;SD- [_Slave.energy]@@ <<else>> @@color:red;SD-- [_Slave.energy]@@ <</if>> <</if>> <</if>> <<if _Slave.clitPiercing is 3>> <<if _Slave.fetishKnown == 1>> <<if _Slave.clitSetting is "off">> SP- <<elseif ((_Slave.fetish != "submissive") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "submissive")>> SP:sub <<elseif ((_Slave.fetish != "cumslut") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "oral")>> SP:oral <<elseif ((_Slave.fetish != "humiliation") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "humiliation")>> SP:humil <<elseif ((_Slave.fetish != "buttslut") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "anal")>> SP:anal <<elseif ((_Slave.fetish != "boobs") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "boobs")>> SP:boobs <<elseif ((_Slave.fetish != "sadist") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "sadist")>> SP:sade <<elseif ((_Slave.fetish != "masochist") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "masochist")>> SP:pain <<elseif ((_Slave.fetish != "dom") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "dom")>> SP:dom <<elseif ((_Slave.fetish != "pregnancy") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "pregnancy")>> SP:preg <<elseif ((_Slave.fetish != "none") && (_Slave.clitSetting is "vanilla"))>> SP:vanilla <<elseif (_Slave.energy <= 95) && (_Slave.clitSetting is "all")>> SP:all <<elseif (_Slave.energy > 5) && (_Slave.clitSetting is "none")>> SP:none <</if>> <<else>> <<switch _Slave.clitSetting>> <<case "off">> SP- <<case "submissive">> SP:sub <<case "lesbian">> SP:les <<case "oral">> SP:oral <<case "humiliation">> SP:humil <<case "anal">> SP:anal <<case "boobs">> SP:boobs <<case "sadist">> SP:sade <<case "masochist">> SP:pain <<case "dom">> SP:dom <<case "pregnancy">> SP:pregnancy <<case "vanilla">> SP:vanilla <<case "all">> SP:all <<case "none">> SP:none <</switch>> <</if>> <<if _Slave.attrKnown == 1>> <<if (_Slave.attrXX < 100) && (_Slave.clitSetting is "women")>> SP:women <<elseif (_Slave.attrXY < 100) && (_Slave.clitSetting is "men")>> SP:men <</if>> <<else>> <<if _Slave.clitSetting is "women">> SP:women <<elseif _Slave.clitSetting is "men">> SP:men <</if>> <</if>> <</if>> @@color:red; <<switch _Slave.behavioralFlaw>> <<case "arrogant">> Arrog <<case "bitchy">> Bitchy <<case "odd">> Odd <<case "hates men">> Men- <<case "hates women">> Women- <<case "gluttonous">> Glut <<case "anorexic">> Ano <<case "devout">> Dev <<case "liberated">> Lib <<default>> <<set _Slave.behavioralFlaw to "none">> <</switch>> @@ <<switch _Slave.sexualFlaw>> <<case "hates oral">> @@color:red;Oral-@@ <<case "hates anal">> @@color:red;Anal-@@ <<case "hates penetration">> @@color:red;Fuck-@@ <<case "shamefast">> @@color:red;Shame@@ <<case "idealistic">> @@color:red;Ideal@@ <<case "repressed">> @@color:red;Repre@@ <<case "apathetic">> @@color:red;Apath@@ <<case "crude">> @@color:red;Crude@@ <<case "judgemental">> @@color:red;Judge@@ <<case "cum addict">> @@color:yellow;CumAdd@@ <<case "anal addict">> @@color:yellow;AnalAdd@@ <<case "attention whore">> @@color:yellow;Attention@@ <<case "breast growth">> @@color:yellow;BoobObsess@@ <<case "abusive">> @@color:yellow;Abusive@@ <<case "malicious">> @@color:yellow;Malice@@ <<case "self hating">> @@color:yellow;SelfHatr@@ <<case "neglectful">> @@color:yellow;SelfNeglect@@ <<case "breeder">> @@color:yellow;BreedObsess@@ <<default>> <<set _Slave.sexualFlaw to "none">> <</switch>> @@color:green; <<switch _Slave.behavioralQuirk>> <<case "confident">> Confid <<case "cutting">> Cutting <<case "funny">> Funny <<case "fitness">> Fit <<case "adores women">> Women+ <<case "adores men">> Men+ <<case "insecure">> Insec <<case "sinful">> Sinf <<case "advocate">> Advoc <<default>> <<set _Slave.behavioralQuirk to "none">> <</switch>> <<switch _Slave.sexualQuirk>> <<case "gagfuck queen">> Gagfuck <<case "painal queen">> Painal <<case "strugglefuck queen">> Struggle <<case "tease">> Tease <<case "romantic">> Romantic <<case "perverted">> Perverted <<case "caring">> Caring <<case "unflinching">> Unflinch <<case "size queen">> SizeQ <<default>> <<set _Slave.sexualQuirk to "none">> <</switch>> @@ <<elseif $abbreviateMental is 2>> <<if _Slave.fetish != "mindbroken">> <<if _Slave.fetishKnown == 1>> @@color:lightcoral; <<switch _Slave.fetish>> <<case "submissive">> <<if _Slave.fetishStrength > 95>> Complete submissive. <<elseif _Slave.fetishStrength > 60>> Submissive. <<else>> Submissive tendencies. <</if>> <<case "cumslut">> <<if _Slave.fetishStrength > 95>> Cumslut. <<elseif _Slave.fetishStrength > 60>> Oral fixation. <<else>> Prefers oral. <</if>> <<case "humiliation">> <<if _Slave.fetishStrength > 95>> Humiliation slut. <<elseif _Slave.fetishStrength > 60>> Exhibitionist. <<else>> Interest in humiliation. <</if>> <<case "buttslut">> <<if _Slave.fetishStrength > 95>> Buttslut. <<elseif _Slave.fetishStrength > 60>> Anal fixation. <<else>> Prefers anal. <</if>> <<case "boobs">> <<if _Slave.fetishStrength > 95>> Boobslut. <<elseif _Slave.fetishStrength > 60>> Breast fixation. <<else>> Loves boobs. <</if>> <<case "sadist">> <<if _Slave.fetishStrength > 95>> Complete sadist. <<elseif _Slave.fetishStrength > 60>> Sadist. <<else>> Sadistic tendencies. <</if>> <<case "masochist">> <<if _Slave.fetishStrength > 95>> Complete masochist. <<elseif _Slave.fetishStrength > 60>> Masochist. <<else>> Masochistic tendencies. <</if>> <<case "dom">> <<if _Slave.fetishStrength > 95>> Complete dom. <<elseif _Slave.fetishStrength > 60>> Dominant. <<else>> Dominant tendencies. <</if>> <<case "pregnancy">> <<if _Slave.fetishStrength > 95>> Pregnancy fetish. <<elseif _Slave.fetishStrength > 60>> Pregnancy kink. <<else>> Interest in impregnation. <</if>> <<default>> Sexually vanilla. <</switch>> @@ <</if>> <<if _Slave.attrKnown == 1>> <<if _Slave.attrXY <= 5>> @@color:red;Disgusted by men,@@ <<elseif _Slave.attrXY <= 15>> @@color:red;Turned off by men,@@ <<elseif _Slave.attrXY <= 35>> @@color:red;Not attracted to men,@@ <<elseif _Slave.attrXY <= 65>> Indifferent to men, <<elseif _Slave.attrXY <= 85>> @@color:green;Attracted to men,@@ <<elseif _Slave.attrXY <= 95>> @@color:green;Aroused by men,@@ <<elseif _Slave.attrXX > 95>> <<if _Slave.energy <= 95>> @@color:green;Omnisexual!@@ <<else>> @@color:green;Omnisexual nymphomaniac!@@ <</if>> <<else>> @@color:green;Passionate about men,@@ <</if>> <<if _Slave.attrXX <= 5>> @@color:red;disgusted by women.@@ <<elseif _Slave.attrXX <= 15>> @@color:red;turned off by women.@@ <<elseif _Slave.attrXX <= 35>> @@color:red;not attracted to women.@@ <<elseif _Slave.attrXX <= 65>> indifferent to women. <<elseif _Slave.attrXX <= 85>> @@color:green;attracted to women.@@ <<elseif _Slave.attrXX <= 95>> @@color:green;aroused by women.@@ <<elseif _Slave.attrXY <= 95>> @@color:green;passionate about women.@@ <</if>> <<if _Slave.energy > 95>> <<if (_Slave.attrXY <= 95) || (_Slave.attrXX <= 95)>> @@color:green;Nymphomaniac!@@ <</if>> <<elseif _Slave.energy > 80>> @@color:green;Powerful sex drive.@@ <<elseif _Slave.energy > 60>> @@color:green;Good sex drive.@@ <<elseif _Slave.energy > 40>> @@color:yellow;Average sex drive.@@ <<elseif _Slave.energy > 20>> @@color:red;Poor sex drive.@@ <<else>> @@color:red;No sex drive.@@ <</if>> <</if>> <</if>> <<if _Slave.clitPiercing is 3>> <<if _Slave.fetishKnown == 1>> <<if _Slave.clitSetting is "off">> SP off. <<elseif ((_Slave.fetish != "submissive") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "submissive")>> SP: submissive. <<elseif ((_Slave.fetish != "cumslut") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "oral")>> SP: oral. <<elseif ((_Slave.fetish != "humiliation") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "humiliation")>> SP: humiliation. <<elseif ((_Slave.fetish != "buttslut") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "anal")>> SP: anal. <<elseif ((_Slave.fetish != "boobs") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "boobs")>> SP: breasts. <<elseif ((_Slave.fetish != "sadist") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "sadist")>> SP: sadism. <<elseif ((_Slave.fetish != "masochist") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "masochist")>> SP: masochism. <<elseif ((_Slave.fetish != "dom") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "dom")>> SP: dominance. <<elseif ((_Slave.fetish != "pregnancy") || (_Slave.fetishStrength <= 95)) && (_Slave.clitSetting is "pregnancy")>> SP: pregnancy. <<elseif (_Slave.fetish != "none") && (_Slave.clitSetting is "vanilla")>> SP: vanilla. <<elseif (_Slave.energy <= 95) && (_Slave.clitSetting is "all")>> SP: all. <<elseif (_Slave.energy > 5) && (_Slave.clitSetting is "none")>> SP: none. <</if>> <<else>> <<switch _Slave.clitSetting>> <<case "off">> SP off. <<case "submissive">> SP: submissive. <<case "oral">> SP: oral. <<case "humiliation">> SP: humiliation. <<case "anal">> SP: anal. <<case "boobs">> SP: breasts. <<case "sadist">> SP: sadism. <<case "masochist">> SP: masochism. <<case "dom">> SP: dominance. <<case "pregnancy">> SP: pregnancy. <<case "vanilla">> SP: vanilla. <<case "all">> SP: all. <<case "none">> SP: none. <</switch>> <</if>> <<if _Slave.attrKnown == 1>> <<if (_Slave.attrXX < 100) && (_Slave.clitSetting is "women")>> SP: women. <<elseif (_Slave.attrXY < 100) && (_Slave.clitSetting is "men")>> SP: men. <</if>> <<else>> <<if _Slave.clitSetting is "women">> SP: women. <<elseif _Slave.clitSetting is "men">> SP: men. <</if>> <</if>> <</if>> @@color:red; <<switch _Slave.behavioralFlaw>> <<case "arrogant">> Arrogant. <<case "bitchy">> Bitchy. <<case "odd">> Odd. <<case "hates men">> Hates men. <<case "hates women">> Hates women. <<case "gluttonous">> Stress eater. <<case "anorexic">> Anorexic. <<case "devout">> Devoutly religious. <<case "liberated">> Mentally liberated. <<default>> <<set _Slave.behavioralFlaw to "none">> <</switch>> @@ <<switch _Slave.sexualFlaw>> <<case "hates oral">> @@color:red;Hates oral.@@ <<case "hates anal">> @@color:red;Hates anal.@@ <<case "hates penetration">> @@color:red;Hates penetration.@@ <<case "shamefast">> @@color:red;Shamefast.@@ <<case "idealistic">> @@color:red;Sexually idealistic.@@ <<case "repressed">> @@color:red;Sexually repressed.@@ <<case "apathetic">> @@color:red;Sexually apathetic.@@ <<case "crude">> @@color:red;Sexually crude.@@ <<case "judgemental">> @@color:red;Sexually judgemental.@@ <<case "cum addict">> @@color:yellow;Cum addict.@@ <<case "anal addict">> @@color:yellow;Anal addict.@@ <<case "attention whore">> @@color:yellow;Attention whore.@@ <<case "breast growth">> @@color:yellow;Breast obsession.@@ <<case "abusive">> @@color:yellow;Sexually abusive.@@ <<case "malicious">> @@color:yellow;Sexually malicious.@@ <<case "self hating">> @@color:yellow;Self hatred.@@ <<case "neglectful">> @@color:yellow;Self neglectful.@@ <<case "breeder">> @@color:yellow;Breeding obsession.@@ <<default>> <<set _Slave.sexualFlaw to "none">> <</switch>> @@color:green; <<switch _Slave.behavioralQuirk>> <<case "confident">> Confident. <<case "cutting">> Cutting. <<case "funny">> Funny. <<case "fitness">> Fitness. <<case "adores women">> Adores women. <<case "adores men">> Adores men. <<case "insecure">> Insecure. <<case "sinful">> Sinful. <<case "advocate">> Advocate. <<default>> <<set _Slave.behavioralQuirk to "none">> <</switch>> <<switch _Slave.sexualQuirk>> <<case "gagfuck queen">> Gagfuck queen. <<case "painal queen">> Painal queen. <<case "strugglefuck queen">> Strugglefuck queen. <<case "tease">> Tease. <<case "romantic">> Romantic. <<case "perverted">> Perverted. <<case "caring">> Caring. <<case "unflinching">> Unflinching. <<case "size queen">> Size queen. <<default>> <<set _Slave.sexualQuirk to "none">> <</switch>> @@ <</if>> <<if _Slave.customLabel != "">>''@@color:yellow;_Slave.customLabel@@''<</if>> <<if (_Slave.relationship != 0) || (_Slave.relation != 0) || ($abbreviateClothes is 2) || ($abbreviateRulesets is 2)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <</if>> <<if $abbreviateMental == 1>> @@color:lightgreen; <<if $familyTesting == 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.mother == $slaves[_j].ID>> $slaves[_j].slaveName's daughter<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> & friend<<elseif _Slave.relationship == 2>> & BFF<<elseif _Slave.relationship == 3>> & FWB<<elseif _Slave.relationship == 4>> & lover<<else>> & wife<</if>><<set _relationshipHandled = 1>><</if>> <</if>> <<if _Slave.father == $slaves[_j].ID>> $slaves[_j].slaveName's daughter<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> & friend<<elseif _Slave.relationship == 2>> & BFF<<elseif _Slave.relationship == 3>> & FWB<<elseif _Slave.relationship == 4>> & lover<<else>> & wife<</if>><<set _relationshipHandled = 1>><</if>> <</if>> <</for>> <<if _Slave.daughters == 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if $slaves[_j].mother == _Slave.ID>> $slaves[_j].slaveName's mother<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> & friend<<elseif _Slave.relationship == 2>> & BFF<<elseif _Slave.relationship == 3>> & FWB<<elseif _Slave.relationship == 4>> & lover<<else>> & wife<</if>><<set _relationshipHandled = 1>><</if>> <<break>> <</if>> <<if $slaves[_j].father == _Slave.ID>> $slaves[_j].slaveName's father<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> & friend<<elseif _Slave.relationship == 2>> & BFF<<elseif _Slave.relationship == 3>> & FWB<<elseif _Slave.relationship == 4>> & lover<<else>> & wife<</if>><<set _relationshipHandled = 1>><</if>> <<break>> <</if>> <</for>> <<elseif _Slave.daughters > 1>> multiple daughters <</if>> <<if _Slave.sisters == 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if areSisters($slaves[_j], _Slave.ID) > 0>> $slaves[_j].slaveName's sister<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> & friend<<elseif _Slave.relationship == 2>> & BFF<<elseif _Slave.relationship == 3>> & FWB<<elseif _Slave.relationship == 4>> & lover<<else>> & wife<</if>><<set _relationshipHandled = 1>><</if>> <<break>> <</if>> <</for>> <<elseif _Slave.sisters > 1>> multiple sisters <</if>> <<if _Slave.relationship > 0 && _relationshipHandled != 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.relationshipTarget is $slaves[_j].ID>> <<switch _Slave.relationship>> <<case 1>> $slaves[_j].slaveName's friend <<case 2>> $slaves[_j].slaveName's BFF <<case 3>> $slaves[_j].slaveName's FWB <<case 4>> $slaves[_j].slaveName's lover <<case 5>> $slaves[_j].slaveName's wife <</switch>> &nbsp;&nbsp;&nbsp;&nbsp; <<break>> <</if>> <</for>> <<elseif _Slave.relationship is -3>> Your wife &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -2>> E Bonded &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -1>> E Slut &nbsp;&nbsp;&nbsp;&nbsp; <</if>> <<else>> <<if _Slave.relation != 0>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.relationTarget is $slaves[_j].ID>> $slaves[_j].slaveName's _Slave.relation <<if _Slave.relationship <= 0>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<break>> <</if>> <</for>> <</if>> <<if _Slave.relationship > 0>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.relationshipTarget is $slaves[_j].ID>> <<switch _Slave.relationship>> <<case 1>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>&<</if>> friend <<case 2>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>&<</if>> BFF <<case 3>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>&<</if>> FWB <<case 4>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>&<</if>> lover <<case 5>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>&<</if>> wife <</switch>> &nbsp;&nbsp;&nbsp;&nbsp; <<break>> <</if>> <</for>> <<elseif _Slave.relationship is -3>> Your wife &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -2>> E Bonded &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -1>> E Slut &nbsp;&nbsp;&nbsp;&nbsp; <</if>> <</if>> @@ <<set _relationshipHandled = 0>> <<if _Slave.rivalry != 0>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.rivalryTarget is $slaves[_j].ID>> @@color:lightsalmon; <<if _Slave.rivalry <= 1>> Disl $slaves[_j].slaveName <<elseif _Slave.rivalry <= 2>> $slaves[_j].slaveName's rival <<else>> Hates $slaves[_j].slaveName <</if>> &nbsp;&nbsp;&nbsp;&nbsp; @@ <<break>> <</if>> <</for>> <</if>> <<elseif $abbreviateMental is 2>> <<if $familyTesting == 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.mother == $slaves[_j].ID>> $slaves[_j].slaveName's @@color:lightgreen;daughter<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> and friend<<elseif _Slave.relationship == 2>> and best friend<<elseif _Slave.relationship == 3>> and FWB<<elseif _Slave.relationship == 4>> and lover<<else>> and wife<</if>><<set _relationshipHandled = 1>><</if>>.@@ <</if>> <<if _Slave.father == $slaves[_j].ID>> $slaves[_j].slaveName's @@color:lightgreen;daughter<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> and friend<<elseif _Slave.relationship == 2>> and best friend<<elseif _Slave.relationship == 3>> and FWB<<elseif _Slave.relationship == 4>> and lover<<else>> and wife<</if>><<set _relationshipHandled = 1>><</if>>.@@ <</if>> <</for>> <<if _Slave.daughters == 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if $slaves[_j].mother == _Slave.ID>> $slaves[_j].slaveName's @@color:lightgreen;mother<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> and friend<<elseif _Slave.relationship == 2>> and best friend<<elseif _Slave.relationship == 3>> and FWB<<elseif _Slave.relationship == 4>> and lover<<else>> and wife<</if>><<set _relationshipHandled = 1>><</if>>.@@ <<break>> <</if>> <<if $slaves[_j].father == _Slave.ID>> $slaves[_j].slaveName's @@color:lightgreen;father<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> and friend<<elseif _Slave.relationship == 2>> and best friend<<elseif _Slave.relationship == 3>> and FWB<<elseif _Slave.relationship == 4>> and lover<<else>> and wife<</if>><<set _relationshipHandled = 1>><</if>>.@@ <<break>> <</if>> <</for>> <<elseif _Slave.daughters > 1>> <<if _Slave.daughters > 10>> @@color:lightgreen;Has tons of daughters.@@ <<elseif _Slave.daughters > 5>> @@color:lightgreen;Has many daughters.@@ <<else>> @@color:lightgreen;Has several daughters.@@ <</if>> <</if>> <<if _Slave.sisters == 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if areSisters($slaves[_j], _Slave) > 0>> $slaves[_j].slaveName's @@color:lightgreen;sister<<if _Slave.relationshipTarget == $slaves[_j].ID>><<if _Slave.relationship == 1>> and friend<<elseif _Slave.relationship == 2>> and best friend<<elseif _Slave.relationship == 3>> and FWB<<elseif _Slave.relationship == 4>> and lover<<else>> and wife<</if>><<set _relationshipHandled = 1>><</if>>.@@ <<break>> <</if>> <</for>> <<elseif _Slave.sisters > 1>> <<if _Slave.sisters > 10>> @@color:lightgreen;One of many sisters.@@ <<elseif _Slave.sisters > 5>> @@color:lightgreen;Has many sisters.@@ <<else>> @@color:lightgreen;Has several sisters.@@ <</if>> <</if>> <<if _Slave.relationship > 0 && _relationshipHandled != 1>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.relationshipTarget is $slaves[_j].ID>> <<switch _Slave.relationship>> <<case 1>> $slaves[_j].slaveName's @@color:lightgreen;friend.@@ <<case 2>> $slaves[_j].slaveName's @@color:lightgreen;best friend.@@ <<case 3>> $slaves[_j].slaveName's @@color:lightgreen;FWB.@@ <<case 4>> $slaves[_j].slaveName's @@color:lightgreen;lover.@@ <<case 5>> $slaves[_j].slaveName's @@color:lightgreen;slave wife.@@ <</switch>> &nbsp;&nbsp;&nbsp;&nbsp; <<break>> <</if>> <</for>> <<elseif _Slave.relationship is -3>> @@color:lightgreen;Your wife.@@ &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -2>> @@color:lightgreen;Emotionally bonded to you.@@ &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -1>> @@color:lightgreen;Emotional slut.@@ &nbsp;&nbsp;&nbsp;&nbsp; <</if>> <<else>> <<if _Slave.relation != 0>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.relationTarget is $slaves[_j].ID>> $slaves[_j].slaveName's <<if _Slave.relationshipTarget != _Slave.relationTarget>> @@color:lightgreen;_Slave.relation@@. <<else>> @@color:lightgreen;_Slave.relation@@ <</if>> <<if _Slave.relationship <= 0>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<break>> <</if>> <</for>> <</if>> <<if _Slave.relationship > 0>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.relationshipTarget is $slaves[_j].ID>> <<switch _Slave.relationship>> <<case 1>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>and<</if>> @@color:lightgreen;friend.@@ <<case 2>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>and<</if>> @@color:lightgreen;best friend.@@ <<case 3>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>and<</if>> @@color:lightgreen;FWB.@@ <<case 4>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>and<</if>> @@color:lightgreen;lover.@@ <<case 5>> <<if _Slave.relationshipTarget != _Slave.relationTarget>>$slaves[_j].slaveName's<<else>>and<</if>> @@color:lightgreen;slave wife.@@ <</switch>> &nbsp;&nbsp;&nbsp;&nbsp; <<break>> <</if>> <</for>> <<elseif _Slave.relationship is -3>> @@color:lightgreen;Your wife.@@ &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -2>> @@color:lightgreen;Emotionally bonded to you.@@ &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.relationship is -1>> @@color:lightgreen;Emotional slut.@@ &nbsp;&nbsp;&nbsp;&nbsp; <</if>> <</if>> <<set _relationshipHandled = 0>> <<if _Slave.rivalry != 0>> <<for _j to 0; _j < $slaves.length; _j++>> <<if _Slave.rivalryTarget == $slaves[_j].ID>> <<if _Slave.rivalry <= 1>> @@color:lightsalmon;Dislikes@@ $slaves[_j].slaveName. &nbsp;&nbsp;&nbsp;&nbsp; <<elseif _Slave.rivalry <= 2>> $slaves[_j].slaveName's @@color:lightsalmon;rival.@@ &nbsp;&nbsp;&nbsp;&nbsp; <<else>> @@color:lightsalmon;Hates@@ $slaves[_j].slaveName. &nbsp;&nbsp;&nbsp;&nbsp; <</if>> <<break>> <</if>> <</for>> <</if>> <</if>> <<if _Slave.fuckdoll == 0>> <<if $abbreviateClothes is 2>> <<if _Slave.choosesOwnClothes == 1>> Dressing herself. <</if>> <<switch _Slave.clothes>> <<case "attractive lingerie">> Lingerie. <<case "a succubus outfit">> Succubus outfit. <<case "a string bikini">> String bikini. <<case "cutoffs and a t-shirt">> Cutoffs, t-shirt. <<case "a slutty outfit">> Slutty outfit. <<case "uncomfortable straps">> Leather straps. <<case "a fallen nuns habit">> Slutty habit. <<case "a chattel habit">> Chattel habit. <<case "a penitent nuns habit">> Cilice. <<case "slutty jewelry">> Bangles. <<case "attractive lingerie for a pregnant woman">> Preggo lingerie. <<case "a maternity dress">> Maternity dress. <<case "harem gauze">> Harem outfit. <<case "a slave gown">> Gown. <<case "a halter top dress">> Halter top dress. <<case "a mini dress">> Mini dress. <<case "a ball gown">> Ball gown. <<case "slutty business attire">> Slutty suit. <<case "nice business attire">> Nice suit. <<case "a comfortable bodysuit">> Bodysuit. <<case "a military uniform">> Military uniform. <<case "a leotard">> Leotard. <<case "a bunny outfit">> Bunny outfit. <<case "a slutty maid outfit">> Slutty maid. <<case "a nice maid outfit">> Nice maid. <<case "a slutty nurse outfit">> Slutty nurse. <<case "a nice nurse outfit">> Nice nurse. <<case "a schoolgirl outfit">> Schoolgirl outfit. <<case "a kimono">> Kimono. <<case "a hijab and abaya">> Hijab and abaya. <<case "battledress">> Battledress. <<case "a latex catsuit">> Nice latex. <<case "restrictive latex">> Bondage latex. <<case "conservative clothing">> Conservative clothing. <<case "chains">> Chains. <<case "a cheerleader outfit">> Cheerleader. <<case "clubslut netting">> Netting. <<case "shibari ropes">> Shibari. <<case "Western clothing">> Chaps. <<case "body oil">> Body oil. <<case "a toga">> Toga. <<case "a slutty qipao">> Qipao. <<default>> Naked. <</switch>> <<switch _Slave.collar>> <<case "uncomfortable leather">> Leather collar. <<case "tight steel">> Steel collar. <<case "preg biometrics">> Pregnancy biometrics collar. <<case "cruel retirement counter">> Cruel counter collar. <<case "shock punishment">> Shock collar. <<case "dildo gag">> Dildo gag. <<case "massive dildo gag">> Throat-bulging dildo gag. <<case "neck corset">> Neck corset. <<case "stylish leather">> Stylish leather collar. <<case "satin choker">> Satin choker. <<case "silk ribbon">> Silken ribbon. <<case "heavy gold">> Gold collar. <<case "bowtie">> Bowtie collar. <<case "pretty jewelry">> Pretty collar. <<case "nice retirement counter">> Nice counter collar. <<case "leather with cowbell">> Cowbell collar. <<case "ancient Egyptian">> Wesekh. <</switch>> <<switch _Slave.bellyAccessory>> <<case "shapewear">> Shapewear. <<case "a small empathy belly">> Small fake belly. <<case "a medium empathy belly">> Medium fake belly. <<case "a large empathy belly">> Large fake belly. <<case "a huge empathy belly">> Huge fake belly. <<case "a corset">> Corset. <<case "an extreme corset">> Extreme corsetage. <</switch>> <<if canWalk(_Slave)>> <<if _Slave.shoes is "heels">> Heels. <<elseif _Slave.shoes is "extreme heels">> Extreme heels. <<elseif _Slave.shoes is "boots">> Boots. <<elseif _Slave.heels == 1>> @@color:yellow;Crawling.@@ <<elseif _Slave.shoes is "flats">> Flats. <</if>> <</if>> <<switch _Slave.vaginalAccessory>> <<case "chastity belt">> Vaginal chastity. <<case "combined chastity">> Combined chastity. <<case "anal chastity">> Anal chastity. <<case "dildo">> Vaginal dildo. <<case "large dildo">> Large vaginal dildo. <<case "huge dildo">> Huge vaginal dildo. <<case "long dildo">> Long vaginal dildo. <<case "long, large dildo">> Long and large vaginal dildo. <<case "long, huge dildo">> Long and wide vaginal dildo. <</switch>> <<if _Slave.dickAccessory is "chastity">> Chastity cage. <<elseif _Slave.dickAccessory is "combined chastity">> Combined chastity. <<elseif _Slave.dickAccessory is "anal chastity">> Anal chastity. <</if>> <<switch _Slave.buttplug>> <<case "plug">> Buttplug. <<case "large plug">> Large buttplug. <<case "huge plug">> Huge buttplug. <<case "long plug">> Long buttplug. <<case "long, large plug">> Large, long buttplug. <<case "long, huge plug">> Enormous buttplug. <</switch>> <</if>> <</if>> <<if $abbreviateRulesets is 2>> <<if (def _Slave.currentRules) && (_Slave.currentRules.length > 0)>> &nbsp;&nbsp;&nbsp;&nbsp; <<for _r to 0; _r < _Slave.currentRules.length; _r++>> <<for _s to 0; _s < $defaultRules.length; _s++>> <<set _currentRule to $defaultRules[_s]>> <<set _num to (_s+1)>> <<if _Slave.currentRules[_r] == _currentRule.ID>> Rule _num (_currentRule.name). <</if>> <</for>> <</for>> <</if>> <</if>> <<if $abbreviateOrigins is 2>> <<if _Slave.origin neq 0>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> @@color:gray;_Slave.origin@@ <</if>> <</if>> <<set $slaves[_i] to _Slave>> <<switch _Pass>> <<case "Main">> <<continue>> <<case "HG Select">> <<if $HGCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Head Girl Suite">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Send her to live with your Head Girl|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Bring her out of the Head Girl's suite|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<break>> <</if>> <<case "Recruiter Select">> <<if $recruiterCareers.contains(_Slave.career)>> <br>&nbsp;&nbsp;&nbsp;&nbsp;@@color:lime;Has an applicable career experience.@@ <</if>> <<case "BG Select">> <<if $bodyguardCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Spa">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Send her to the Spa|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Remove her from the Spa|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Attendant|Attendant Select]]">> <<break>> <</if>> <<case "Attendant Select">> <<if $attendantCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Brothel">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Send her to the Brothel|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Release her from the Brothel|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Madam|Madam Select]]">> <<break>> <</if>> <<case "Madam Select">> <<if $madamCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Club">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Send her to the Club|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Remove her from the Club|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove DJ|DJ Select]]">> <<break>> <</if>> <<case "Arcade">> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Confine her in the Arcade|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Release her from the Arcade|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <</if>> <<case "DJ Select">> <<if $DJCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Clinic">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<if $clinicUpgradeScanner == 1>> @@color:cyan;Estimated DNA error value: <<print Math.trunc($slaves[_i].chem/10)>>@@ <</if>> <<print "[[Send her to the Clinic|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Take her out of the Clinic|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Nurse|Nurse Select]]">> <<break>> <</if>> <<case "Nurse Select">> <<if $nurseCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Schoolroom">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Assign her to the Schoolroom|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Release her from the Schoolroom|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Schoolteacher|Schoolteacher Select]]">> <<break>> <</if>> <<case "Schoolteacher Select">> <<if $schoolteacherCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Dairy">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Send her to the Dairy|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Release her from the Dairy|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Milkmaid|Milkmaid Select]]">> <<break>> <</if>> <<case "Milkmaid Select">> <<if $milkmaidCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Servants' Quarters">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Assign her to the Servants' Quarters|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Release her from the Servants' Quarters|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Stewardess|Stewardess Select]]">> <<break>> <</if>> <<case "Stewardess Select">> <<if $stewardessCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "Master Suite">> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Add her to the Suite|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Send her out of the Suite|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Concubine|Concubine Select]]">> <<break>> <</if>> <<case "Cellblock">> <<if _Slave.fuckdoll > 0>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Confine her in the cellblock|Assign][$activeSlave to $slaves[" + _i + "]]]">> <<elseif $Flag == 1>> <<print "[[Release her from the cellblock|Retrieve][$activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Change or remove Wardeness|Wardeness Select]]">> <<break>> <</if>> <<case "Wardeness Select">> <<if $wardenessCareers.contains(_Slave.career)>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>>@@color:lime;Has an applicable career experience.@@ <</if>> <<case "New Game Plus">> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<if $Flag == 0>> <<print "[[Add to import list|NGP Workaround][$slavesToImport to 1, $activeSlave to $slaves[" + _i + "]]]">> <<else>> <<print "[[Remove from import list|NGP Workaround][$slavesToImport to 0, $activeSlave to $slaves[" + _i + "]]]">> <<set $slavesToImport += 1>> <</if>> <<case "Matchmaking">> <<if $slaves[_i].assignmentVisible != 1>><<continue>><</if>> <<if $slaves[_i].devotion < 100>><<continue>><</if>> <<if $slaves[_i].relationship != $activeSlave.relationship>><<continue>><</if>> <<if $slaves[_i].ID == $activeSlave.ID>><<continue>><</if>> <br><<if $seeImages != 1 || $seeSummaryImages != 1 || $imageChoice == 1>>&nbsp;&nbsp;&nbsp;&nbsp;<</if>> <<print "[[Match them|Matchmaking][$subSlave to $slaves[" + _i + "]]]">> <</switch>> <</for>> <<set $activeSlave to 0>> <<set _Slave to 0>>
r3d/fc
src/uncategorized/slaveSummary.tw
tw
bsd-3-clause
104,273
:: Spa <<nobr>> <<set $nextButton to "Back to Main", $nextLink to "Main", $returnTo to "Spa">> <<if $spaName != "the Spa">> <<set $spaNameCaps to $spaName.replace("the ", "The ")>> <</if>> <<set $spaSlaves to 0>> <<set $notSpaSlaves to 0>> <<for _i to 0;_i < $slaves.length;_i++>> <<if $slaves[_i].assignment is "rest in the spa">> <<set $spaSlaves++>> <<else>> <<set $notSpaSlaves++>> <</if>> <</for>> $spaNameCaps <<switch $spaDecoration>> <<case "Roman Revivalist">> is built as a Roman bath. The flooring is pleasantly warm due to a modernized version of hypocaust heating, and is covered in mosaic depicting slaves enjoying sex. <<case "Egyptian Revivalist">> is decorated like an Egyptian water garden. All but the hottest pools include aquatic plants around their edges, and the atmosphere is heavy with perfume. <<case "Edo Revivalist">> is decorated like a traditional onsen. The stone-lined pools are surrounded by meticulously kept gardens, and there are proper provisions for bathing in the old Japanese style. <<case "Arabian Revivalist">> looks like a dream of an Arabian palace garden. Every surface is richly tiled in vibrant colors, and the beguiling scents of perfumes from the Levant hang in the air. <<case "Chinese Revivalist">> is gloomy and hot, filled with an oppressive steam that immediately dulls the senses. Though relaxation is possible and indeed easy here, it is a stultifying relaxation whose humid warmth seems to suppress independence. <<case "Chattel Religionist">> is dedicated to the purification of the body and the spirit. The pools are arranged for the completion of self-purification procedures which include ritual masturbation. <<case "Degradationist">> is utilitarian. There are waterproof cameras positioned throughout the spa so that anyone who wants to can watch the nude slaves. One wall has a screen showing the current viewer count to keep the slaves aware of this. <<case "Asset Expansionist">> is utilitarian. It is equipped with all sorts of devices to help slaves care for huge assets, including lifts to help them in and out of the water, and all around showers to help clean and moisturize difficult to reach spots. <<case "Transformation Fetishist">> is utilitarian. It is equipped with special devices to help speed surgical recovery, including a series of baths designed to prevent scarring. <<case "Repopulation Focus">> is comfortable, with waterproof cushions lining the pools. It is equipped with all sorts of devices to aid pregnant slaves, including lifts to help them in and out of the water, baths just for their feet, and all around showers to help clean and moisturize difficult to reach spots. <<case "Eugenics">> is comfortable, albeit split in half. One side for the lower classes' slaves, and the other for the elite and their pets. <<case "Gender Radicalist">> is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing slave girls with all different varieties of genitalia orgasming from penetration, to keep the idea at the forefront of the slaves' minds. <<case "Gender Fundamentalist">> is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment featuring a lot of beautiful women and handsome men for the slaves' edification. <<case "Physical Idealist">> is not the gym, but it does have some workout equipment, mostly low-impact machines designed to speed recovery. There are special hot baths to ease sore muscles. <<case "Supremacist">> is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment featuring $arcologies[0].FSSupremacistRace main characters. <<case "Subjugationist">> is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment featuring $arcologies[0].FSSubjugationistRace characters in comic relief roles. <<case "Paternalist">> is comfortable, with waterproof cushions lining the pools. There are screens on the walls showing light entertainment written by and intended for smart, loyal slaves. <<case "Pastoralist">> is utilitarian. It is equipped with all sorts of devices to help slaves care for huge assets, including lifts to help them in and out of the water, and all around showers to help clean and moisturize difficult to reach spots. <<case "Maturity Preferentialist">> is comfortable, but surprisingly businesslike. It's all about beautification here; there's a bewildering array of mud baths, resting pools, and massage setups, all designed to keep mature slaves looking their very best. <<case "Youth Preferentialist">> is comfortable and fun. There are hot tubs and massage tables for slaves who feel like relaxing, but there's also a colder pool with pool toys for girls who want to play. It even has a small waterslide. <<case "Body Purist">> is comfortable, with waterproof cushions lining the pools. Everything is designed for the slaves' comfort; there are even special mud baths to perfect skin clarity. <<case "Slimness Enthusiast">> is comfortable, with waterproof cushions lining the pools. Everything is designed for the slaves' comfort; there are even special mud baths to perfect skin clarity. <<default>> is well-appointed, with massage tables, hot tubs, and a cold pool. <</switch>> <<if $spaSlaves > 3>> It's busy in here. Slaves are relaxing in the warm water, splashing around or just floating. Here and there some of the more sex-starved are in the early stages of intercourse, but most prefer to take time off from it all. <<elseif $spaSlaves > 0>> It's sparsely populated; though the few slaves here have little company they like having the water to themselves. <<elseif $Attendant != 0>> $Attendant.slaveName is alone here, and has nothing to do but keep the place (and her own soft, wet body) spotlessly clean. <<else>> It's empty and quiet. [[Decommission the Spa|Main][$spa to 0, $spaDecoration to "standard"]] <</if>> <br>$spaNameCaps has rooms to house slaves while they recuperate here. They can support $spa slaves. [[Expand the spa|Spa][$cash -= Math.trunc($spa*1000*$upgradeMultiplierArcology), $spa += 5]] //Costs ¤<<print Math.trunc($spa*1000*$upgradeMultiplierArcology)>>// <br> <<if $spaUpgrade == 1>> $spaNameCaps has been upgraded with state of the art temperature treatment options, from hot and cold mineral water pools to baking saunas and dense steam rooms. <<else>> $spaNameCaps is a standard spa. [[Upgrade the spa with saunas, steam rooms, and mineral water baths|Spa][$cash -= Math.trunc(10000*$upgradeMultiplierArcology), $spaUpgrade to 1]] //Costs ¤<<print Math.trunc(10000*$upgradeMultiplierArcology)>>// <</if>> <<if $Attendant != 0>> <br> <<if $spaFix == 2>> $Attendant.slaveName is focusing only on the health and wellness of the slaves under her care, obeying your orders to avoid attempting to right mental flaws. [[Order her to only fix mindbroken slaves|Spa][$spaFix to 1]] | [[Let her tend as she sees fit|Spa][$spaFix to 0]] <<elseif $spaFix == 1>> $Attendant.slaveName is focusing on the health and wellness of the slaves under her care, as well as trying to bring mindbroken slaves back, while ignoring any mental hangups a slave may have. [[Order her to not fix flaws|Spa][$spaFix to 2]] | [[Let her tend as she sees fit|Spa][$spaFix to 0]] <<else>> $Attendant.slaveName is not following any special orders and is tending to your slaves as she sees fit. [[Order her to not fix flaws|Spa][$spaFix to 2]] | [[Order her to only fix mindbroken slaves|Spa][$spaFix to 1]] <</if>> <</if>> <br><br> <<if $Attendant != 0>> <<set $Flag to 2>> <<include "Slave Summary">> <<else>> You do not have a slave serving as a spa Attendant. [[Appoint one|Attendant Select]] <</if>> <<if $spaSlaves > 0>> <br><br>''Prise a slave out of the spa:'' <<set $Flag to 1>> <<include "Slave Summary">> <</if>> <<if $notSpaSlaves > 0>> <br><br>''Let an obedient slave rest in $spaName:'' <<set $Flag to 0>> <<include "Slave Summary">> <</if>> <<unset $Flag>> <br><br>Rename $spaName: <<textbox "$spaName" $spaName "Spa">> //Use a noun or similar short phrase// <</nobr>>
r3d/fc
src/uncategorized/spa.tw
tw
bsd-3-clause
8,203
:: Spa Report [nobr] <<set $spaSlaves = 0, _attendantFetish = 0, _attendantUsedCure = 0, _flawSoftened = 0, _idleBonus = 0, _restedSlaves = 0, _SL = $slaves.length, _ATD = -1>> <<if $Attendant != 0>> <<for _ATD = 0; _ATD < _SL; _ATD++>> <<if $slaves[_ATD].ID == $Attendant.ID>> <<break>> <</if>> <</for>> <</if>> <<if _ATD >= 0>> /* 000-250-006 */ /* <<if $seeImages == 1>><<SlaveArt $slaves[$i] 0 0>><</if>> */ <<if $seeImages == 1>> <div class="imageRef smlImg"> <<SlaveArt $slaves[_ATD] 0 0>> </div> <</if>> /* 000-250-006 */ <<if ($slaves[_ATD].health < 100)>> <<set $slaves[_ATD].health += 20>> <</if>> <<if ($slaves[_ATD].devotion <= 60)>> <<set $slaves[_ATD].devotion += 1>> <</if>> <<if $spaDecoration != "standard">> <<set $slaves[_ATD].devotion += 1>> <</if>> <<if $slaves[_ATD].trust < 60>> <<set $slaves[_ATD].trust += 1>> <</if>> <<if $slaves[_ATD].fetishStrength <= 95>> <<if $slaves[_ATD].fetish != "submissive">> <<fetishChangeChance $slaves[_ATD]>> <<if $fetishChangeChance > random(0,100)>> <<set _attendantFetish to 1, $slaves[_ATD].fetishKnown to 1, $slaves[_ATD].fetish to "submissive">> <</if>> <<elseif $slaves[_ATD].fetishKnown == 0>> <<set _attendantFetish to 1, $slaves[_ATD].fetishKnown to 1>> <<else>> <<set _attendantFetish to 2, $slaves[_ATD].fetishStrength += 4>> <</if>> <</if>> <<set $Attendant = $slaves[_ATD]>> <</if>> <<for _i = 0; _i < _SL; _i++>> <<if ($slaves[_i].assignment != "rest in the spa")>><<continue>><</if>> /* 000-250-006 */ /* <<if $seeImages == 1>><<SlaveArt $slaves[$i] 0 0>><</if>> */ <<if $seeImages == 1>> <div class="imageRef smlImg"> <<SlaveArt $slaves[_i] 0 0>> </div> <</if>> /* 000-250-006 */ <<set $spaSlaves++>> <<if ($slaves[_i].devotion <= 60) && ($slaves[_i].trust < 60)>> <<set $slaves[_i].devotion += 1, $slaves[_i].trust += 1>> <<elseif ($slaves[_i].devotion < 40)>> <<set $slaves[_i].devotion += 10>> <<elseif ($slaves[_i].trust < 40)>> <<set $slaves[_i].trust += 10>> <</if>> <<if $spaDecoration != "standard">> <<set $slaves[_i].devotion += 1>> <</if>> <<if $Attendant != 0>> <<if ($slaves[_i].fetish is "mindbroken") && ($slaves[_i].health > 20) && (_attendantUsedCure == 0) && ($spaFix != 2)>> <<set _attendantUsedCure to 1>> <<if (random(1,100) > 90-$Attendant.devotion)>> @@color:green;Something almost miraculous has happened.@@ $Attendant.slaveName has always refused to believe that $slaves[_i].slaveName could not be reached, and has spent weeks lavishing patient tenderness on her in $spaName. $slaves[_i].slaveName has begun to respond, and is stirring from her mental torpor. <<set $slaves[_i].devotion to -3, $slaves[_i].sexualFlaw to "apathetic", $slaves[_i].behavioralFlaw to either("hates men", "odd"), $slaves[_i].fetish to "none", $slaves[_i].fetishKnown to 1>> <<if ($arcologies[0].FSPaternalist > 0)>> Society @@color:green;strongly approves@@ of $slaves[_i].slaveName being restored to sanity, which advances ideals about enlightened slave ownership. <<set $repGain += 2*$FSSingleSlaveRep*($arcologies[0].FSPaternalist/$FSLockinLevel), $arcologies[0].FSPaternalist += 0.01*$FSSingleSlaveRep>> <</if>> <</if>> <</if>> <<if ($Attendant.fetish is "none") || ($Attendant.fetish is "submissive")>> <<set $slaves[_i].devotion += 1>> <</if>> <<if ($Attendant.visualAge > 35)>> <<set $slaves[_i].trust += 1>> <</if>> <<if isFertile($Attendant) || ($Attendant.preg > 0) || ($Attendant.bellyImplant >= 2000)>> <<set $slaves[_i].health += 1>> <</if>> <<set _seed to 0>> <<if $attendantCareers.contains($Attendant.career) && $slaves[_i].trust < 60>> <<set $slaves[_i].trust += 1, _seed to 10>> <</if>> <<if ($Attendant.intelligence > 0) && ($spaFix == 0)>> <<if $slaves[_i].behavioralFlaw != "none">> <<if random(1,100) > (100-($Attendant.intelligence*10)-_seed)>> <<set _flawSoftened to $slaves[_i].slaveName>> <<if ($slaves[_i].behavioralFlaw is "arrogant")>> <<set $slaves[_i].behavioralQuirk to "confident">> <<elseif ($slaves[_i].behavioralFlaw is "bitchy")>> <<set $slaves[_i].behavioralQuirk to "cutting">> <<elseif ($slaves[_i].behavioralFlaw is "odd")>> <<set $slaves[_i].behavioralQuirk to "funny">> <<elseif ($slaves[_i].behavioralFlaw is "hates men")>> <<set $slaves[_i].behavioralQuirk to "adores women">> <<elseif ($slaves[_i].behavioralFlaw is "hates women")>> <<set $slaves[_i].behavioralQuirk to "adores men">> <<elseif ($slaves[_i].behavioralFlaw is "gluttonous")>> <<set $slaves[_i].behavioralQuirk to "fitness">> <<elseif ($slaves[_i].behavioralFlaw is "anorexic")>> <<set $slaves[_i].behavioralQuirk to "insecure">> <<elseif ($slaves[_i].behavioralFlaw is "devout")>> <<set $slaves[_i].behavioralQuirk to "sinful">> <<elseif ($slaves[_i].behavioralFlaw is "liberated")>> <<set $slaves[_i].behavioralQuirk to "advocate">> <</if>> <<set $slaves[_i].behavioralFlaw to "none">> <</if>> <<elseif $slaves[_i].sexualFlaw != "none">> <<if random(1,100) > (100-($Attendant.intelligence*10)-_seed)>> <<set _flawSoftened to $slaves[_i].slaveName>> <<if ($slaves[_i].sexualFlaw is "hates oral")>> <<set $slaves[_i].sexualQuirk to "gagfuck queen">> <<elseif ($slaves[_i].sexualFlaw is "hates anal")>> <<set $slaves[_i].sexualQuirk to "painal queen">> <<elseif ($slaves[_i].sexualFlaw is "hates penetration")>> <<set $slaves[_i].sexualQuirk to "strugglefuck queen">> <<elseif ($slaves[_i].sexualFlaw is "shamefast")>> <<set $slaves[_i].sexualQuirk to "tease">> <<elseif ($slaves[_i].sexualFlaw is "idealistic")>> <<set $slaves[_i].sexualQuirk to "romantic">> <<elseif ($slaves[_i].sexualFlaw is "repressed")>> <<set $slaves[_i].sexualQuirk to "perverted">> <<elseif ($slaves[_i].sexualFlaw is "apathetic")>> <<set $slaves[_i].sexualQuirk to "caring">> <<elseif ($slaves[_i].sexualFlaw is "crude")>> <<set $slaves[_i].sexualQuirk to "unflinching">> <<elseif ($slaves[_i].sexualFlaw is "judgemental")>> <<set $slaves[_i].sexualQuirk to "size queen">> <</if>> <<set $slaves[_i].sexualFlaw to "none">> <</if>> <</if>> <</if>> <</if>> <<if ($slaves[_i].health < 100) && ($spaUpgrade == 1)>> <<set $slaves[_i].health += 3>> <</if>> <<if ($slaves[_i].health >= 20) && ($slaves[_i].trust > 60) && ($slaves[_i].devotion > 60) && $slaves[_i].fetish != "mindbroken">> <<set $slaves[_i].assignment to "rest", $slaves[_i].assignmentVisible to 1, _restedSlaves++>> <</if>> <</for>> <<if ($spaSlaves > 0)>> <<if $seeImages == 1>><br style="clear:both" /><</if>> <<if ($spaSlaves == 1)>>''There is one slave resting and recuperating in the spa.''<<else>>''There are $spaSlaves slaves resting and recuperating in the spa.''<</if>> <<if ($Attendant != 0)>> $Attendant.slaveName is serving as the spa attendant.<<if $Attendant.relationship is -3>> She tries her best to be your perfect attentive and caring wife.<</if>> <<if (_attendantFetish == 1)>> When she is paid a visit by a slave with sexual issues to work out, she provides her with an understanding, willing, giving partner. She finds real satisfaction in helping your slaves find sexual gratification, and @@color:lightsalmon;becomes a submissive.@@ <<elseif (_attendantFetish == 2)>> Every new slave in the spa is a new girl she gets to connect with and serve. Sexually. @@color:lightsalmon;She becomes more submissive.@@ <</if>> <<if $attendantCareers.contains($Attendant.career)>> She has experience with counseling from her life before she was a slave, making her better at building a rapport with troubled slaves, and giving her a better chance of softening flaws into beneficial quirks. <<set _idleBonus += 1>> <</if>> <<if ($Attendant.eyes is -2)>> Her blindness allows her to deeply connect with her girls. <<set _idleBonus += 1>> <</if>> <<if ($Attendant.fetish is "none")>> $Attendant.slaveName respects the slaves lounging in the spa, allowing them to relax completely. <<set _idleBonus += 1>> <<elseif ($Attendant.fetish is "submissive")>> $Attendant.slaveName lets the slaves resting in the spa take the lead sexually, doing her best to please them. <<set _idleBonus += 1>> <<elseif ($Attendant.fetishKnown == 1)>> $Attendant.slaveName can't keep her hands to herself, preventing the slaves in the spa from relaxing completely. <</if>> <<if ($Attendant.visualAge > 35)>> Her age encourages the slaves in the spa to relax and pour out their troubles to her. <<set _idleBonus += 1>> <</if>> <<if ($Attendant.intelligence > 0)>> She's so intelligent she can suss out the cause of slaves' emotional issues and counsel them effectively. <<set _idleBonus += 1>> <</if>> <<if isFertile($Attendant) || ($Attendant.preg > 0) || ($Attendant.bellyImplant >= 2000)>> She has a natural mothering instinct and really makes her girls feel at home. <<set _idleBonus += 1>> <</if>> <<for _i to 0; _i < _SL; _i++>> <<if $slaves[_i].assignment != "rest in the spa">><<continue>><</if>> <<if $familyTesting == 1>> <<if $slaves[_i].mother == $Attendant.ID>> She makes sure to spend extra time caring for her daughter, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].father == $Attendant.ID>> She makes sure to spend extra time caring for her daughter, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].ID == $Attendant.father>> She makes sure to spend extra time caring for her father, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if $slaves[_i].ID == $Attendant.mother>> She makes sure to spend extra time caring for her mother, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<if areSisters($slaves[_i], $Attendant) == 1>> She makes sure to spend extra time caring for her twin sister, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <<elseif areSisters($slaves[_i], $Attendant) == 2>> She makes sure to spend extra time caring for her sister, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <<elseif areSisters($slaves[_i], $Attendant) == 3>> She makes sure to spend extra time caring for her half-sister, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <<else>> <<if $Attendant.relationTarget is $slaves[_i].ID>> She makes sure to spend extra time caring for her $slaves[_i].relation, $slaves[_i].slaveName. <<set $slaves[_i].trust += 1>> <</if>> <</if>> <<if $Attendant.relationshipTarget is $slaves[_i].ID>> She dedicates most of her attention to her <<if $Attendant.relationship == 1>>friend<<elseif $Attendant.relationship is 2>>best friend<<elseif $Attendant.relationship is 3>>friend with benefits<<elseif $Attendant.relationship is 4>>lover<<elseif $Attendant.relationship is 5>>slave wife<</if>>, $slaves[_i].slaveName, making her stress, both physical and mental, wash away. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <</if>> <<if $Attendant.rivalryTarget is $slaves[_i].ID>> She constantly harasses her <<if $Attendant.rivalry == 1>>growing rival<<elseif $Attendant.rivalry is 2>>rival<<elseif $Attendant.rivalry is 3>>bitter rival<</if>>, $slaves[_i].slaveName, preventing her from getting comfortable and forcing her to keep her guard up. <<set $slaves[_i].devotion -= 4, $slaves[_i].trust -= 4>> <<if random(1,100) > 35>> <<set $Attendant.rivalry += 1, $slaves[_ATD].rivalry += 1, $slaves[_i].rivalry += 1>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is a famed Free Cities whore, and commands top prices.">> She does her best to relax the famous whore, $slaves[_i].slaveName, making sure to pay special attention to her worn holes. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <</if>> <<if $slaves[_i].prestigeDesc is "She is a famed Free Cities slut, and can please anyone.">> She does her best to soothe the famous entertainer, $slaves[_i].slaveName, letting her relax in blissful peace. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a cockmilker.">> <<if $Attendant.fetish is "cumslut">> She can't keep her hands off $slaves[_i].slaveName's cock and balls, but she doesn't mind being milked constantly. Before long strands of cum can be found floating all throughout the bath. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3, $Attendant.fetishStrength += 4, $slaves[_ATD].fetishStrength += 4>> <<else>> She does her best to accommodate $slaves[_i].slaveName's massive genitals and tends to her when ever she feels a need for release. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <<if random(1,100) > 65 && $Attendant.fetish is "none">> After taking several massive loads to the face, $Attendant.slaveName begins to find satisfaction in being coated in cum. <<set $Attendant.fetish to "cumslut", $slaves[_ATD].fetish to "cumslut">> <</if>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a dairy cow.">> <<if $Attendant.fetish is "boobs">> She can't keep her hands off $slaves[_i].slaveName's huge breasts, but she doesn't mind being milked constantly. Before long the bath gains a white tint. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3, $Attendant.fetishStrength += 4>> <<else>> She does her best to accommodate $slaves[_i].slaveName's massive breasts and tends to her when ever she feels a need for release. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <<if random(1,100) > 65 && $Attendant.fetish is "none">> After multiple milking sessions, $Attendant.slaveName begins to find herself fantasizing about having giant milky breasts too. <<set $Attendant.fetish to "boobs", $slaves[_ATD].fetish to "boobs">> <</if>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a breeder." && $slaves[_i].preg > 10>> <<if $Attendant.fetish is "pregnancy">> She can't keep her hands off $slaves[_i].slaveName's pregnancy, but she doesn't mind her full belly being fondled. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3, $Attendant.fetishStrength += 4>> <<else>> She does her best to accommodate $slaves[_i].slaveName's pregnancy and to make sure the mother-to-be is happy and comfortable. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <<if random(1,100) > 65 and $Attendant.fetish is "none">> After massaging $slaves[_i].slaveName's growing belly multiple times, $Attendant.slaveName begins to find herself fantasizing about being swollen with life too. <<set $Attendant.fetish to "pregnancy", $slaves[_ATD].fetish to "pregnancy">> <</if>> <</if>> <</if>> <<if $slaves[_i].prestigeDesc is "She is remembered for winning best in show as a breeder.">> <<if $Attendant.fetish is "pregnancy">> She can't help but pester $slaves[_i].slaveName with questions about her pregnancy, limiting her ability to truly relax. <<set $slaves[_i].devotion += 1, $slaves[_i].trust += 1>> <<else>> She does her best to encourage $slaves[_i].slaveName's fertilization by performing any fertility boosting actions she can. <<set $slaves[_i].devotion += 3, $slaves[_i].trust += 3>> <</if>> <</if>> <</for>> <<if ($spaSlaves < $spa)>> <<set _seed to random(1,10)+(($spa-$spaSlaves)*(random(150,170)+(_idleBonus*10)))>> <<set $cash += _seed>> Since she doesn't have enough girls to occupy all her time, the spa takes in citizens' slaves on a contract basis and she helps them too, earning @@color:yellowgreen;¤_seed.@@ <</if>> <</if>> <<if (_restedSlaves > 0)>> <<if (_restedSlaves == 1)>> One slave has rested until she reached a state of @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust@@ and will leave the spa before the end of the week. <<else>> _restedSlaves slaves have rested until they reached a state of @@color:hotpink;devotion@@ and @@color:mediumaquamarine;trust@@ and will leave the spa before the end of the week. <</if>> <<if $spaDecoration != "standard">> $spaNameCaps's $spaDecoration atmosphere @@color:hotpink;had an impact on <<if _restedSlaves == 1>>her while she<<else>>them while they<</if>>@@ were resting. <</if>> <<set $spaSlaves -= _restedSlaves>> <</if>> <<if (_flawSoftened != 0)>> $Attendant.slaveName works carefully with _flawSoftened, and successfully @@color:green;softens her behavioral flaw@@ into an appealing quirk. <</if>> <<if $Attendant != 0>> <br><br> <<set $i = _ATD>> <<if $showEWD == 0>> ''__@@color:pink;$slaves[$i].slaveName@@__'' is serving as the Attendant in the spa.<br> <<silently>> <<if $slaves[$i].choosesOwnClothes == 1>> <<include "SA chooses own clothes">> <<if ($slaves[$i].devotion <= 20)>> <<set $slaves[$i].devotion -= 5>> <<else>> <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <<include "SA diet">> <<include "SA long term effects">> <<include "SA drugs">> <<include "SA relationships">> <<include "SA rivalries">> <<include "SA devotion">> <</silently>> <<else>> ''__@@color:pink;$slaves[$i].slaveName@@__'' is serving as the Attendant in the spa. <<if $slaves[$i].choosesOwnClothes == 1>> <<include "SA chooses own clothes">> <<if ($slaves[$i].devotion <= 20)>> <<set $slaves[$i].devotion -= 5>> <<else>> <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <<include "SA diet">> <<include "SA long term effects">> <<include "SA drugs">> <<include "SA relationships">> <<include "SA rivalries">> <br><<include "SA devotion">> <br><br> <</if>> <<set $Attendant = $slaves[_ATD]>> <</if>> <<if ($spaSlaves > 0)>> <<if $showEWD == 0>> <<for $i to 0; $i < _SL; $i++>> <<if ($slaves[$i].assignment != "rest in the spa")>><<continue>><</if>> ''__@@color:pink;$slaves[$i].slaveName@@__'' is resting in the spa.<br> <<silently>> <<if $slaves[$i].choosesOwnClothes == 1>> <<include "SA chooses own clothes">> <<if ($slaves[$i].devotion <= 20)>> <<set $slaves[$i].devotion -= 5>> <<else>> <<set $slaves[$i].devotion += 1>> <</if>> <</if>> <<include "SA rest">> <<include "SA diet">> <<include "SA long term effects">> <<include "SA drugs">> <<include "SA relationships">> <<include "SA rivalries">> <<include "SA devotion">> <</silently>> <</for>> <<else>> <<for $i to 0; $i < _SL; $i++>> <<if ($slaves[$i].assignment != "rest in the spa")>><<continue>><</if>> ''__@@color:pink;$slaves[$i].slaveName@@__'' is resting in the spa.<br> &nbsp;&nbsp;&nbsp;&nbsp; <<if $slaves[$i].choosesOwnClothes == 1>> <<include "SA chooses own clothes">> <<if ($slaves[$i].devotion <= 20)>> <<set $slaves[$i].devotion -= 5>> <<else>> <<set $slaves[$i].devotion += 1>> <</if>> <</if>> She<<include "SA rest">> <<include "SA diet">> <<include "SA long term effects">> <<include "SA drugs">> <<include "SA relationships">> <<include "SA rivalries">> <br><<include "SA devotion">> <br><br> <</for>> <</if>> <</if>> <<else>> <br>''$spaNameCaps is empty.'' <<if ($Attendant != 0)>> <<set _seed to random(1,10)+(($spa-$spaSlaves)*(random(150,170)+(_idleBonus*10)))>> <<set $cash += _seed>> except for $Attendant.slaveName, the attendant. Since she doesn't have anyone to help, citizens are allowed to buy their slaves vacations in the spa, earning @@color:yellowgreen;¤_seed.@@ <</if>> <</if>>
r3d/fc
src/uncategorized/spaReport.tw
tw
bsd-3-clause
19,500
:: Special Slave <<set $nextButton to "Back">>\ <<set $nextLink to "Buy Slaves">>\ <<set $returnTo to "Buy Slaves">>\ <<set $showEncyclopedia to 1>><<set $encyclopedia to "Direct Sales">>\ \ You review a piece of merchandise via video call, making a few lewd demands to gauge her obedience. The background of the video feed is luxurious and plush; somewhere offscreen someone is moaning rapturously. <<set $activeSlave to $heroSlaves.random()>>\ <<set $activeSlave.weekAcquired to $week>>\ <<set $activeSlave.pubicHColor to $activeSlave.hColor>>\ <<set $activeSlave.pubicHStyle to "waxed">>\ <<set $activeSlave.underArmHColor to $activeSlave.hColor>>\ <<set $activeSlave.underArmHStyle to "waxed">>\ <<slaveCost $activeSlave>>\ <<NationalityToAccent>> \ The offered price is ¤<<print $slaveCost>>. \ [[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main",$specialSlave to 1]] [[Pay ¤1000 to access complete catalog of slaves|Complete Catalog][$cash -= 1000]] //Best regards to /d/, whose fine denizens came up with most of the slaves in the "previously owned" database.// <<set $specialSlavesPriceOverride = 1>> <<set $saleDescription to 1>><<include "Long Slave Description">><<set $saleDescription to 0>> <<set $specialSlavesPriceOverride = 0>>
r3d/fc
src/uncategorized/specialSlave.tw
tw
bsd-3-clause
1,331
:: Stewardess Select <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Servants' Quarters">> <<set $showEncyclopedia to 1>><<set $encyclopedia to "Stewardesses">> <<for _i to 0; _i < $slaves.length; _i++>> <<if $Stewardess.ID == $slaves[_i].ID>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Stewardess. <<set $slaves[_i].assignment to "be the Stewardess">> <<set $slaves[_i].assignmentVisible to 0>> <br><br>She will manage the Servants' Quarters. <<break>> <</if>> <</for>> <<if ($Stewardess == 0)>> You have not selected a Stewardess. <</if>> <br><br>''Appoint a Stewardess from your devoted slaves:'' <<include "Slave Summary">> <br><br>[[None|Stewardess Workaround][$Stewardess to 0]] <</nobr>>
r3d/fc
src/uncategorized/stewardessSelect.tw
tw
bsd-3-clause
738
:: Stewardess Workaround <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].assignment is "be the Stewardess") && ($slaves[$i].ID != $Stewardess.ID)>> <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $Stewardess.ID == $slaves[$i].ID>> <<if $slaves[$i].ID is $personalAttention>> <<if $PC.career == "escort">> <<set $personalAttention to "whoring">> <<elseif $PC.career == "servant">> <<set $personalAttention to "upkeep">> <<else>> <<set $personalAttention to "business">> <</if>> <</if>> <<set $slaves[$i].assignment to "be the Stewardess">> <<if $slaves[$i].choosesOwnClothes == 1>><<include "SA chooses own clothes">><</if>> <<set $slaves[$i].assignmentVisible to 0>> <<set $slaves[$i].livingRules to "luxurious">> <<set $slaves[$i].sentence to 0>> <<if $slaves[$i].ID is $HeadGirl.ID>> <<set $HeadGirl to 0>> <</if>> <<if $slaves[$i].ID is $Recruiter.ID>> <<set $Recruiter to 0>> <</if>> <<if $slaves[$i].ID is $Bodyguard.ID>> <<set $Bodyguard to 0>> <</if>> <<break>> <</if>> <</for>> <<goto "Servants' Quarters">>
r3d/fc
src/uncategorized/stewardessWorkaround.tw
tw
bsd-3-clause
1,211
:: StoryCaption \ <<set _Pass to passage()>>\ <<if _Pass is "Encyclopedia">>\ <span id="nextButton"><strong><<link [[($nextButton)|($nextLink)]]>><</link>></strong></span> ''GLOSSARY'' [[Abusiveness|Encyclopedia][$encyclopedia to "Abusiveness"]] [[Adores men|Encyclopedia][$encyclopedia to "Adores men"]] [[Adores women|Encyclopedia][$encyclopedia to "Adores women"]] [[Advertising|Encyclopedia][$encyclopedia to "Advertising"]] [[Advocate|Encyclopedia][$encyclopedia to "Advocate"]] [[Age (PC)|Encyclopedia][$encyclopedia to "PC Age"]] [[Anal Addicts|Encyclopedia][$encyclopedia to "Anal Addicts"]] [[Anal Skill|Encyclopedia][$encyclopedia to "Anal Skill"]] [[Anorexic|Encyclopedia][$encyclopedia to "Anorexic"]] [[Anuses|Encyclopedia][$encyclopedia to "Anuses"]] [[Apathetic|Encyclopedia][$encyclopedia to "Apathetic"]] [[Arabian Revivalism|Encyclopedia][$encyclopedia to "Arabian Revivalism"]] [[Arcade|Encyclopedia][$encyclopedia to "Arcade"]] [[Arrogant|Encyclopedia][$encyclopedia to "Arrogant"]] [[Asset Expansionism|Encyclopedia][$encyclopedia to "Asset Expansionism"]] [[Attendant|Encyclopedia][$encyclopedia to "Attendant"]] [[Attending Classes|Encyclopedia][$encyclopedia to "Attending Classes"]] [[Attention Whores|Encyclopedia][$encyclopedia to "Attention Whores"]] [[Bitchy|Encyclopedia][$encyclopedia to "Bitchy"]] [[Body (PC)|Encyclopedia][$encyclopedia to "PC Body"]] [[Body Purism|Encyclopedia][$encyclopedia to "Body Purism"]] [[Bodyguard|Encyclopedia][$encyclopedia to "Bodyguard"]] [[Boob Fetishists|Encyclopedia][$encyclopedia to "Boob Fetishists"]] [[Breast Obsession|Encyclopedia][$encyclopedia to "Breast Obsession"]] [[Breasts|Encyclopedia][$encyclopedia to "Breasts"]] [[Breeding Obsession|Encyclopedia][$encyclopedia to "Breeding Obsession"]] [[Brothel|Encyclopedia][$encyclopedia to "Brothel"]] [[Business|Encyclopedia][$encyclopedia to "Business"]] [[Butts|Encyclopedia][$encyclopedia to "Butts"]] [[Buttsluts|Encyclopedia][$encyclopedia to "Buttsluts"]] [[Career Experience|Encyclopedia][$encyclopedia to "Career Experience"]] [[Caring|Encyclopedia][$encyclopedia to "Caring"]] [[Celebrity|Encyclopedia][$encyclopedia to "Celebrity"]] [[Cellblock|Encyclopedia][$encyclopedia to "Cellblock"]] [[Chattel Religionism|Encyclopedia][$encyclopedia to "Chattel Religionism"]] [[Chinese Revivalism|Encyclopedia][$encyclopedia to "Chinese Revivalism"]] [[Clinic|Encyclopedia][$encyclopedia to "Clinic"]] [[Club|Encyclopedia][$encyclopedia to "Club"]] [[Combat Skill|Encyclopedia][$encyclopedia to "Combat Skill"]] [[Concubine|Encyclopedia][$encyclopedia to "Concubine"]] [[Confident|Encyclopedia][$encyclopedia to "Confident"]] [[Confinement|Encyclopedia][$encyclopedia to "Confinement"]] [[Crude|Encyclopedia][$encyclopedia to "Crude"]] [[Cum Addicts|Encyclopedia][$encyclopedia to "Cum Addicts"]] [[Cumsluts|Encyclopedia][$encyclopedia to "Cumsluts"]] [[Customization (PC)|Encyclopedia][$encyclopedia to "PC Customization"]] [[Cutting|Encyclopedia][$encyclopedia to "Cutting"]] [[Dairy|Encyclopedia][$encyclopedia to "Dairy"]] [[Degradationism|Encyclopedia][$encyclopedia to "Degradationism"]] [[Devotion|Encyclopedia][$encyclopedia to "Devotion"]] [[Devout|Encyclopedia][$encyclopedia to "Devout"]] [[DJ|Encyclopedia][$encyclopedia to "DJ"]] [[Doms|Encyclopedia][$encyclopedia to "Doms"]] [[Edo Revivalism|Encyclopedia][$encyclopedia to "Edo Revivalism"]] [[Egyptian Revivalism|Encyclopedia][$encyclopedia to "Egyptian Revivalism"]] [[Emotional Slut|Encyclopedia][$encyclopedia to "Emotional Slut"]] [[Emotionally Bonded|Encyclopedia][$encyclopedia to "Emotionally Bonded"]] [[Engineering|Encyclopedia][$encyclopedia to "Engineering"]] [[Entertainment Skill|Encyclopedia][$encyclopedia to "Entertainment Skill"]] [[Ethnic Subjugationism|Encyclopedia][$encyclopedia to "Ethnic Subjugationism"]] [[Ethnic Supremacy|Encyclopedia][$encyclopedia to "Ethnic Supremacy"]] [[Ethnicity|Encyclopedia][$encyclopedia to "Ethnicity"]] [[Faces|Encyclopedia][$encyclopedia to "Faces"]] [[Facilities|Encyclopedia][$encyclopedia to "Facilities"]] [[Fitness|Encyclopedia][$encyclopedia to "Fitness"]] [[Flaws|Encyclopedia][$encyclopedia to "Flaws"]] [[Force|Encyclopedia][$encyclopedia to "Force"]] [[Fucktoy|Encyclopedia][$encyclopedia to "Fucktoy"]] [[Funny|Encyclopedia][$encyclopedia to "Funny"]] [[Future Societies|Encyclopedia][$encyclopedia to "Future Societies"]] [[Gagfuck Queen|Encyclopedia][$encyclopedia to "Gagfuck Queen"]] [[Gender Fundamentalism|Encyclopedia][$encyclopedia to "Gender Fundamentalism"]] [[Gender Radicalism|Encyclopedia][$encyclopedia to "Gender Radicalism"]] [[Gingering|Encyclopedia][$encyclopedia to "Gingering"]] [[Glory Hole|Encyclopedia][$encyclopedia to "Glory Hole"]] [[Gluttonous|Encyclopedia][$encyclopedia to "Gluttonous"]] [[Hard Work|Encyclopedia][$encyclopedia to "Hard Work"]] [[Hates anal|Encyclopedia][$encyclopedia to "Hates anal"]] [[Hates men|Encyclopedia][$encyclopedia to "Hates men"]] [[Hates oral|Encyclopedia][$encyclopedia to "Hates oral"]] [[Hates penetration|Encyclopedia][$encyclopedia to "Hates penetration"]] [[Hates women|Encyclopedia][$encyclopedia to "Hates women"]] [[Head Girl|Encyclopedia][$encyclopedia to "Head Girl"]] [[Head Girl Suite|Encyclopedia][$encyclopedia to "Head Girl Suite"]] [[Health|Encyclopedia][$encyclopedia to "Health"]] [[Height|Encyclopedia][$encyclopedia to "Height"]] [[Hormones (XX)|Encyclopedia][$encyclopedia to "Hormones (XX)"]] [[Hormones (XY)|Encyclopedia][$encyclopedia to "Hormones (XY)"]] [[Humiliation Fetishists|Encyclopedia][$encyclopedia to "Humiliation Fetishists"]] [[Idealistic|Encyclopedia][$encyclopedia to "Idealistic"]] [[Indentured Servants|Encyclopedia][$encyclopedia to "Indentured Servants"]] [[Insecure|Encyclopedia][$encyclopedia to "Insecure"]] [[Judgemental|Encyclopedia][$encyclopedia to "Judgemental"]] [[Lactation|Encyclopedia][$encyclopedia to "Lactation"]] [[Liberated|Encyclopedia][$encyclopedia to "Liberated"]] [[Lips|Encyclopedia][$encyclopedia to "Lips"]] [[Luck|Encyclopedia][$encyclopedia to "Luck"]] [[Madam|Encyclopedia][$encyclopedia to "Madam"]] [[Maliciousness|Encyclopedia][$encyclopedia to "Maliciousness"]] [[Marine Terrain|Encyclopedia][$encyclopedia to "Marine Terrain"]] [[Masochists|Encyclopedia][$encyclopedia to "Masochists"]] [[Master Suite|Encyclopedia][$encyclopedia to "Master Suite"]] [[Maturity Preferentialism|Encyclopedia][$encyclopedia to "Maturity Preferentialism"]] [[Medicine|Encyclopedia][$encyclopedia to "Medicine"]] [[Menial Slaves|Encyclopedia][$encyclopedia to "Menial Slaves"]] [[Milking|Encyclopedia][$encyclopedia to "Milking"]] [[Milkmaid|Encyclopedia][$encyclopedia to "Milkmaid"]] [[Multiculturalism|Encyclopedia][$encyclopedia to "Multiculturalism"]] [[Musculature|Encyclopedia][$encyclopedia to "Musculature"]] [[Nipples|Encyclopedia][$encyclopedia to "Nipples"]] [[Nurse|Encyclopedia][$encyclopedia to "Nurse"]] [[Odd|Encyclopedia][$encyclopedia to "Odd"]] [[Oral Skill|Encyclopedia][$encyclopedia to "Oral Skill"]] [[Ovaries|Encyclopedia][$encyclopedia to "Ovaries"]] [[Painal Queen|Encyclopedia][$encyclopedia to "Painal Queen"]] [[Pastoralism|Encyclopedia][$encyclopedia to "Pastoralism"]] [[Paternalism|Encyclopedia][$encyclopedia to "Paternalism"]] [[Penises|Encyclopedia][$encyclopedia to "Penises"]] [[Perverted|Encyclopedia][$encyclopedia to "Perverted"]] [[Physical Idealism|Encyclopedia][$encyclopedia to "Physical Idealism"]] [[Pit|Encyclopedia][$encyclopedia to "Pit"]] [[PMC Work|Encyclopedia][$encyclopedia to "PMC Work"]] [[Pregnancy|Encyclopedia][$encyclopedia to "Pregnancy"]] [[Pregnancy Fetishists|Encyclopedia][$encyclopedia to "Pregnancy Fetishists"]] [[Public Service|Encyclopedia][$encyclopedia to "Public Service"]] [[Quirks|Encyclopedia][$encyclopedia to "Quirks"]] [[Recruiter|Encyclopedia][$encyclopedia to "Recruiter"]] [[Relationships|Encyclopedia][$encyclopedia to "Relationships"]] [[Repressed|Encyclopedia][$encyclopedia to "Repressed"]] [[Rest|Encyclopedia][$encyclopedia to "Rest"]] [[Rivalries|Encyclopedia][$encyclopedia to "Rivalries"]] [[Roman Revivalism|Encyclopedia][$encyclopedia to "Roman Revivalism"]] [[Romances|Encyclopedia][$encyclopedia to "Romances"]] [[Romantic|Encyclopedia][$encyclopedia to "Romantic"]] [[Rural Terrain|Encyclopedia][$encyclopedia to "Rural Terrain"]] [[Sadists|Encyclopedia][$encyclopedia to "Sadists"]] [[Schoolroom|Encyclopedia][$encyclopedia to "Schoolroom"]] [[Schoolteacher|Encyclopedia][$encyclopedia to "Schoolteacher"]] [[Self Hatred|Encyclopedia][$encyclopedia to "Self Hatred"]] [[Self Neglect|Encyclopedia][$encyclopedia to "Self Neglect"]] [[Servants' Quarters|Encyclopedia][$encyclopedia to "Servants' Quarters"]] [[Servitude|Encyclopedia][$encyclopedia to "Servitude"]] [[Servitude, Sexual|Encyclopedia][$encyclopedia to "Sexual Servitude"]] [[Shamefast|Encyclopedia][$encyclopedia to "Shamefast"]] [[Sinful|Encyclopedia][$encyclopedia to "Sinful"]] [[Size Queen|Encyclopedia][$encyclopedia to "Size Queen"]] [[Skin Distinctions|Encyclopedia][$encyclopedia to "Skin Distinctions"]] [[Slave Marriages|Encyclopedia][$encyclopedia to "Slave Marriages"]] [[Slave Score (Attractiveness)|Encyclopedia][$encyclopedia to "Slave Score (Attractiveness)"]] [[Slave Score (Sexual)|Encyclopedia][$encyclopedia to "Slave Score (Sexual)"]] [[Slaveowner Marriages|Encyclopedia][$encyclopedia to "Slaveowner Marriages"]] [[Slaving|Encyclopedia][$encyclopedia to "Slaving"]] [[Slimness Enthusiasm|Encyclopedia][$encyclopedia to "Slimness Enthusiasm"]] [[Social Engineering|Encyclopedia][$encyclopedia to "Social Engineering"]] [[Spa|Encyclopedia][$encyclopedia to "Spa"]] [[Stewardess|Encyclopedia][$encyclopedia to "Stewardess"]] [[Strugglefuck Queen|Encyclopedia][$encyclopedia to "Strugglefuck Queen"]] [[Submissives|Encyclopedia][$encyclopedia to "Submissives"]] [[Tease|Encyclopedia][$encyclopedia to "Tease"]] [[Teeth|Encyclopedia][$encyclopedia to "Teeth"]] [[Testicles|Encyclopedia][$encyclopedia to "Testicles"]] [[Transformation Fetishism|Encyclopedia][$encyclopedia to "Transformation Fetishism"]] [[Trust|Encyclopedia][$encyclopedia to "Trust"]] [[Unflinching|Encyclopedia][$encyclopedia to "Unflinching"]] [[Urban Terrain|Encyclopedia][$encyclopedia to "Urban Terrain"]] [[Vaginal Skill|Encyclopedia][$encyclopedia to "Vaginal Skill"]] [[Vaginas|Encyclopedia][$encyclopedia to "Vaginas"]] [[Variety|Encyclopedia][$encyclopedia to "Variety"]] [[Wardeness|Encyclopedia][$encyclopedia to "Wardeness"]] [[Wealth|Encyclopedia][$encyclopedia to "Wealth"]] [[Weight|Encyclopedia][$encyclopedia to "Weight"]] [[Whoring|Encyclopedia][$encyclopedia to "Whoring"]] [[Whoring Skill|Encyclopedia][$encyclopedia to "Whoring Skill"]] [[Youth Preferentialism|Encyclopedia][$encyclopedia to "Youth Preferentialism"]] <<elseif _Pass is "Starting Girls">>\ This slave will cost @@color:yellowgreen;''<span id="cost"><<slaveCost $activeSlave>>¤<<print $slaveCost>>.</span>''@@ <<elseif $ui is "disclaimer">>\ <span id="nextButton"><strong><<link [[($nextButton)|($nextLink)]]>><</link>></strong></span> <<elseif $ui != "start">>\ <<nobr>> /* _Pass $nextLink */ <<if $cheatMode>>_Pass<br><</if>> <span id="week">''Week $week''</span> <br>Week of $month $day, $year <<if (_Pass is "Main") && ($cheatMode)>> <<set _TWeek to $week>> <<textbox "$week" $week>> <<link "Apply">> <<set $week = Math.trunc(Number($week) or _TWeek)>> <<if $week < 1>><<set $week to 1>><</if>> <<replace "#week">>''Week $week''<</replace>> <</link>> <</if>> <br> <<if $weatherToday.severity == 1>> //@@color:cyan;$weatherToday.name@@// <<elseif $weatherToday.severity is 2>> //@@color:yellow;$weatherToday.name@@// <<elseif $weatherToday.severity is 3>> //@@color:orange;$weatherToday.name@@// <<else>> //@@color:red;$weatherToday.name@@// <</if>> <br><br> <<if $nextButton is "END WEEK">> <span id="endWeekButton"><strong><<link [[($nextButton)|($nextLink)]]>><</link>></strong></span> @@color:cyan;[Ent]@@ <<else>> <span id="nextButton"><strong><<link [[($nextButton)|($nextLink)][$ui to "main"]]>><</link>></strong></span> @@color:cyan;[Spa]@@ <</if>> <br><br> <<if _Pass is "Main">> <span id="manageArcology"><<link "Manage Arcology">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Manage Arcology">><</link>></span> @@color:cyan;[C]@@ <</if>> <br> <<set $cash = Math.trunc($cash)>> <span id="cash"> <<if $cash > 0>> @@color:yellowgreen;Cash@@ <<else>> __@@color:red;Cash@@__ <</if>> | ''¤''$cash </span> <br> <<if _Pass is "Main">> <<set _TCash2 to ($cash-$cashLastWeek)>> <span id="oldcash"> <<if _TCash2 < 0>> (@@color:red;_TCash2@@ <<else>> (@@color:yellowgreen;+_TCash2@@ <</if>> </span> since last week) <<if ($cheatMode)>> <<set _TCash1 to $cash>> <<textbox "$cash" $cash>> <<link "Apply">> <<set $cash = Math.trunc(Number($cash) or _TCash1), $cheater to 1>> <<replace "#cash">> <<if $cash > 0>> @@color:yellowgreen;Cash@@ <<else>> __@@color:red;Cash@@__ <</if>> | ''¤''$cash <</replace>> <<set _TCash2 to ($cash-$cashLastWeek)>> <<replace "#oldcash">> <<if _TCash2 < 0>> (@@color:red;_TCash2@@ <<else>> (@@color:yellowgreen;+_TCash2@@ <</if>> <</replace>> since last week) <</link>> <</if>> <br>[[Upkeep|Costs Report]] | <<else>> <br>Upkeep | <</if>>¤$costs <br>@@color:pink;Total Sex Slaves@@ | $slaves.length <br>@@color:pink;Penthouse Beds@@ | <<if $dormitoryPopulation+$roomsPopulation > ($dormitory+$rooms)>>@@color:red;<<print $dormitoryPopulation+$roomsPopulation>>@@<<else>><<print $dormitoryPopulation+$roomsPopulation>><</if>>/<<print ($dormitory+$rooms)>> <br>@@color:pink;Luxury Rooms@@ | <<print $roomsPopulation>>/<<print $rooms>> <br>@@color:yellowgreen;GSP@@ | <<print Math.trunc(0.1*$arcologies[0].prosperity)>>m <<if $arcologies[0].ownership >= $arcologies[0].minority>> <<if $arcologies[0].ownership >= $arcologies[0].minority+5>> (<<print $arcologies[0].ownership>>%) <<else>> @@color:yellow;(<<print $arcologies[0].ownership>>%)@@ <</if>> <<else>> @@color:red;(<<print $arcologies[0].ownership>>%)@@ <</if>> <br>@@color:green;Rep@@ | <<set $rep to Math.clamp(Math.trunc($rep), 0, 20000)>> <span id="rep"> <<if $rep > 19000>> @@color:rgb(0,145,0);worshipped@@ <<elseif $rep > 18000>> @@color:rgb(0,150,0);great@@ <<elseif $rep > 17000>> @@color:rgb(0,155,0);exalted@@ <<elseif $rep > 16000>> @@color:rgb(0,160,0);illustrious@@ <<elseif $rep > 15000>> @@color:rgb(0,165,0);prestigious@@ <<elseif $rep > 14000>> @@color:rgb(0,170,0);renowned@@ <<elseif $rep > 13000>> @@color:rgb(0,175,0);famed@@ <<elseif $rep > 12000>> @@color:rgb(0,180,0);celebrated@@ <<elseif $rep > 11000>> @@color:rgb(0,185,0);honored@@ <<elseif $rep > 10000>> @@color:rgb(0,190,0);acclaimed@@ <<elseif $rep > 9000>> @@color:rgb(0,195,0);eminent@@ <<elseif $rep > 8250>> @@color:rgb(0,200,0);prominent@@ <<elseif $rep > 7000>> @@color:rgb(0,205,0);distinguished@@ <<elseif $rep > 6750>> @@color:rgb(0,210,0);admired@@ <<elseif $rep > 6000>> @@color:rgb(0,215,0);esteemed@@ <<elseif $rep > 5250>> @@color:rgb(0,220,0);respected@@ <<elseif $rep > 4500>> @@color:rgb(0,225,0);known@@ <<elseif $rep > 3750>> @@color:rgb(0,230,0);recognized@@ <<elseif $rep > 3000>> @@color:rgb(0,235,0);rumored@@ <<elseif $rep > 2250>> @@color:rgb(0,240,0);envied@@ <<elseif $rep > 1500>> @@color:rgb(0,245,0);resented@@ <<elseif $rep > 750>> @@color:rgb(0,250,0);disliked@@ <<else>> @@color:rgb(0,255,0);unknown@@ <</if>> ($rep) </span> <<if (_Pass is "Main")>> <<if ($cheatMode)>> <<set _TRep to $rep>> <<textbox "$rep" $rep>> <<link "Apply">> <<set $rep to Math.clamp(Math.trunc(Number($rep) or _TRep), 0, 20000), $cheater to 1>> <<replace "#rep">> <<if $rep > 19000>> @@color:rgb(0,145,0);worshipped@@ <<elseif $rep > 18000>> @@color:rgb(0,150,0);great@@ <<elseif $rep > 17000>> @@color:rgb(0,155,0);exalted@@ <<elseif $rep > 16000>> @@color:rgb(0,160,0);illustrious@@ <<elseif $rep > 15000>> @@color:rgb(0,165,0);prestigious@@ <<elseif $rep > 14000>> @@color:rgb(0,170,0);renowned@@ <<elseif $rep > 13000>> @@color:rgb(0,175,0);famed@@ <<elseif $rep > 12000>> @@color:rgb(0,180,0);celebrated@@ <<elseif $rep > 11000>> @@color:rgb(0,185,0);honored@@ <<elseif $rep > 10000>> @@color:rgb(0,190,0);acclaimed@@ <<elseif $rep > 9000>> @@color:rgb(0,195,0);eminent@@ <<elseif $rep > 8250>> @@color:rgb(0,200,0);prominent@@ <<elseif $rep > 7000>> @@color:rgb(0,205,0);distinguished@@ <<elseif $rep > 6750>> @@color:rgb(0,210,0);admired@@ <<elseif $rep > 6000>> @@color:rgb(0,215,0);esteemed@@ <<elseif $rep > 5250>> @@color:rgb(0,220,0);respected@@ <<elseif $rep > 4500>> @@color:rgb(0,225,0);known@@ <<elseif $rep > 3750>> @@color:rgb(0,230,0);recognized@@ <<elseif $rep > 3000>> @@color:rgb(0,235,0);rumored@@ <<elseif $rep > 2250>> @@color:rgb(0,240,0);envied@@ <<elseif $rep > 1500>> @@color:rgb(0,245,0);resented@@ <<elseif $rep > 750>> @@color:rgb(0,250,0);disliked@@ <<else>> @@color:rgb(0,255,0);unknown@@ <</if>> ($rep) <</replace>> <</link>> <</if>> <<set $HGSuiteSlaves to 0, $brothelSlaves to 0, $clubSlaves to 0, $arcadeSlaves to 0, $dairySlaves to 0, $servantsQuartersSlaves to 0, $masterSuiteSlaves to 0, $schoolroomSlaves to 0, $spaSlaves to 0, $clinicSlaves to 0, $cellblockSlaves to 0>> <<for _i to 0;_i < $slaves.length;_i++>> <<switch $slaves[_i].assignment>> <<case "work in the dairy">> <<set $dairySlaves++>> <<case "work in the brothel">> <<set $brothelSlaves++>> <<case "be confined in the arcade">> <<set $arcadeSlaves++>> <<case "serve in the club">> <<set $clubSlaves++>> <<case "work as a servant">> <<set $servantsQuartersSlaves++>> <<case "serve in the master suite">> <<set $masterSuiteSlaves++>> <<case "rest in the spa">> <<set $spaSlaves++>> <<case "learn in the schoolroom">> <<set $schoolroomSlaves++>> <<case "get treatment in the clinic">> <<set $clinicSlaves++>> <<case "be confined in the cellblock">> <<set $cellblockSlaves++>> <<case "live with your Head Girl">> <<set $HGSuiteSlaves++>> <</switch>> <</for>> <br> <<if ($HGSuite)>> <br>[[$HGSuiteNameCaps|Head Girl Suite]] <<if $HGSuiteSlaves>> <<if $abbreviateSidebar is 2>> ($HGSuiteSlaves slave) <<else>> ($HGSuiteSlaves) <</if>> <</if>> <</if>> <<if ($brothel)>> <br>[[$brothelNameCaps|Brothel]] <<if $abbreviateSidebar is 2>> ($brothelSlaves/<<print $brothel>> whores<<if $Madam>>, madam<</if>>) <<else>> ($brothelSlaves/<<print $brothel>><<if $Madam>>, L<</if>>) <</if>> <</if>> <<if ($club)>> <br>[[$clubNameCaps|Club]] <<if $abbreviateSidebar is 2>> ($clubSlaves/<<print $club>> sluts<<if $DJ>>, DJ<</if>>) <<else>> ($clubSlaves/<<print $club>><<if $DJ>>, L<</if>>) <</if>> <</if>> <<if ($arcade)>> <br>[[$arcadeNameCaps|Arcade]] <<if $abbreviateSidebar is 2>> ($arcadeSlaves/<<print $arcade>> inmates) <<else>> ($arcadeSlaves/<<print $arcade>>) <</if>> <</if>> <<if ($dairy)>> <br>[[$dairyNameCaps|Dairy]] <<set _SCapT to $bioreactorsXY+$bioreactorsXX+$bioreactorsHerm+$bioreactorsBarren>> <<if $abbreviateSidebar is 2>> ($dairySlaves<<if _SCapT>>+_SCapT<</if>>/<<print $dairy>> cows<<if $Milkmaid>>, milkmaid<</if>>) <<else>> ($dairySlaves<<if _SCapT>>+_SCapT<</if>>/<<print $dairy>><<if $Milkmaid>>, L<</if>>) <</if>> <</if>> <<if ($servantsQuarters)>> <br>[[$servantsQuartersNameCaps|Servants' Quarters]] <<if $abbreviateSidebar is 2>> ($servantsQuartersSlaves/$servantsQuarters servants<<if $Stewardess>>, stewardess<</if>>) <<else>> ($servantsQuartersSlaves/$servantsQuarters<<if $Stewardess>>, L<</if>>) <</if>> <</if>> <<if ($masterSuite)>> <br>[[$masterSuiteNameCaps|Master Suite]] <<if ($masterSuiteSlaves) || ($Concubine)>> <<if $abbreviateSidebar is 2>> ($masterSuiteSlaves/$masterSuite fucktoys<<if $Concubine>>, Concubine<</if>>) <<else>> ($masterSuiteSlaves/$masterSuite<<if $Concubine>>, C<</if>>) <</if>> <</if>> <</if>> <<if ($schoolroom)>> <br>[[$schoolroomNameCaps|Schoolroom]] <<if $abbreviateSidebar is 2>> ($schoolroomSlaves/$schoolroom <<if $schoolroomSlaves neq 1>>students<<else>>student<</if>><<if $Schoolteacher>>, schoolteacher<</if>>) <<else>> ($schoolroomSlaves/$schoolroom<<if $Schoolteacher>>, L<</if>>) <</if>> <</if>> <<if ($spa)>> <br>[[$spaNameCaps|Spa]] <<if $abbreviateSidebar is 2>> ($spaSlaves/$spa <<if $spaSlaves neq 1>>bathers<<else>>bathing<</if>><<if $Attendant>>, attendant<</if>>) <<else>> ($spaSlaves/$spa<<if $Attendant>>, L<</if>>) <</if>> <</if>> <<if ($clinic)>> <br>[[$clinicNameCaps|Clinic]] <<if $abbreviateSidebar is 2>> ($clinicSlaves/$clinic <<if $clinicSlaves neq 1>>patients<<else>>patient<</if>><<if $Nurse>>, nurse<</if>>) <<else>> ($clinicSlaves/$clinic<<if $Nurse>>, L<</if>>) <</if>> <</if>> <<if ($cellblock)>> <br>[[$cellblockNameCaps|Cellblock]] <<if $abbreviateSidebar is 2>> ($cellblockSlaves/$cellblock <<if $cellblockSlaves neq 1>>prisoners<<else>>prisoner<</if>><<if $Wardeness>>, wardeness<</if>>) <<else>> ($cellblockSlaves/$cellblock<<if $Wardeness>>, L<</if>>) <</if>> <</if>> <<if ($incubator)>> <br>[[$incubatorNameCaps|Incubator]] <<if $abbreviateSidebar is 2>> (<<if $incubator-$incubatorSlaves == 0>>No empty tanks<<elseif $incubator-$incubatorSlaves == 1>>1 empty tank<<else>><<print $incubator-$incubatorSlaves>> empty tanks<</if>>) <<else>> ($incubatorSlaves/$incubator) <</if>> <</if>> <<if ($pit)>> <br>[[$pitNameCaps|Pit]] <<if $abbreviateSidebar is 2>> ($fighterIDs.length <<if $fighterIDs.length neq 1>>combatants<<else>>combatant<</if>>) <<else>> ($fighterIDs.length) <</if>> <</if>> <<if ($securityForceActive)>> <br>[[Barracks]] <</if>> <br><br><span id="optionsButton"><<link "Options">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Options">><</link>></span> @@color:cyan;[O]@@ <<elseif _Pass is "Manage Arcology">> <br><br><span id="managePenthouse"><<link "Manage Penthouse">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Manage Penthouse">><</link>></span> @@color:cyan;[P]@@ <br><span id="managePerson"><<link "Manage Personal Affairs">><<set $nextButton to "Back", $nextLink to passage()>><<goto "Manage Personal Affairs">><</link>></span> @@color:cyan;[A]@@ <br><span id="policyButton"><<link [[Policies]]>><</link>></span> @@color:cyan;[Y]@@<br> <<if $FSAnnounced>> <span id="FSButton"><<link [[Future Societies|Future Society]]>><</link>></span> @@color:cyan;[F]@@ <</if>> <br><span id="LanguageButton"><<link "Language options">><<set $seed to $language>><<goto "Change Language">><</link>></span> @@color:cyan;[L]@@ <br><span id="PAOButton"><<link [[Personal assistant options]]>><</link>></span> @@color:cyan;[T]@@ <br><span id="URButton"><<link [[Universal Rules]]>><</link>></span> @@color:cyan;[U]@@ <br><span id="WARButton"><<link [[Wardrobe]]>><</link>></span> @@color:cyan;[W]@@<br><br> <<else>> <br><br><br> <</if>> <</nobr>> <</if>>\ <<nobr>> <<if (_Pass is "Encyclopedia") || ($showEncyclopedia == 0) || ($encyclopedia is " ")>> <br> <<else>> //FCE:// [[$encyclopedia|Encyclopedia][$nextButton to "Back", $nextLink to _Pass]] <</if>> <</nobr>>\
r3d/fc
src/uncategorized/storyCaption.tw
tw
bsd-3-clause
23,298
:: Subordinate Targeting [nobr] <<set $nextButton to "Back">> <<set $nextLink to "Slave Interact">> <<set $displaySlave to $activeSlave>> <<if $activeSlave.subTarget == $activeSlave.ID>> <<set $activeSlave.subTarget to 0>> <</if>> <<for _i to 0;_i < $slaves.length;_i++>> <<if $activeSlave.subTarget == $slaves[_i].ID>> $activeSlave.slaveName will submit to ''__@@color:pink;$slaves[_i].slaveName@@__'' this week. <<break>> <</if>> <</for>> <<if $activeSlave.subTarget == 0>> $activeSlave.slaveName has not been given to any particular slave, so she will have to offer herself to everyone this week. <<set $activeSlave.subTarget to 0>> <</if>> <br><br>__Select a slave for her to submit to, sexually:__ <<include "Slave Summary">> <br><br>[[None|Subordinate Targeting][$activeSlave.subTarget to 0]] <<set $activeSlave to $displaySlave>> <<set $activeSlave.assignment to "be a subordinate slave">>
r3d/fc
src/uncategorized/subordinateTargeting.tw
tw
bsd-3-clause
909
:: Summary Options <<nobr>> <<set $nextButton to "Back to Main">> <<set $nextLink to "Main">> <</nobr>>\ \ //These options will affect the short slave summaries that appear on the main menu and the facility management screens.// <<nobr>> <<if $lineSeparations == 0>> Line separations are @@color:red;HIDDEN.@@ //[[Show|Summary Options][$lineSeparations to 1]]// <<else>> Line separations are @@color:cyan;SHOWN.@@ //[[Hide|Summary Options][$lineSeparations to 0]]// <</if>> <</nobr>> <<nobr>> <<if $sortSlavesBy is "name">> Slaves are sorted on the main menu by @@color:yellow;NAME.@@ <<elseif $sortSlavesBy is "seniority">> Slaves are sorted on the main menu by @@color:yellow;SENIORITY.@@ <<elseif $sortSlavesBy is "age">> Slaves are sorted on the main menu by @@color:yellow;AGE.@@ <<elseif $sortSlavesBy is "assignment">> Slaves are sorted on the main menu by @@color:yellow;ASSIGNMENT.@@ <<else>> Slaves are sorted on the main menu by @@color:yellow;DEVOTION.@@ <</if>> //[[Devotion|Summary Options][$sortSlavesBy to "devotion"]] | [[Name|Summary Options][$sortSlavesBy to "name"]] | [[Assignment|Summary Options][$sortSlavesBy to "assignment"]] | [[Date purchased|Summary Options][$sortSlavesBy to "seniority"]] | [[Age|Summary Options][$sortSlavesBy to "age"]]// <</nobr>> <<nobr>> <<if $sortSlavesOrder is "ascending">> Slaves are sorted in @@color:cyan;ASCENDING@@ order. //[[Sort descending|Summary Options][$sortSlavesOrder to "descending"]]// <<else>> Slaves are sorted in @@color:red;DESCENDING@@ order. //[[Sort ascending|Summary Options][$sortSlavesOrder to "ascending"]]// <</if>> <</nobr>> <<nobr>> <<if $sortSlavesMain == 0>> Sort options are @@color:red;HIDDEN@@ on the main menu. //[[Show|Summary Options][$sortSlavesMain to 1]]// <<else>> Sort options are @@color:cyan;SHOWN@@ on the main menu. //[[Hide|Summary Options][$sortSlavesMain to 0]]// <</if>> <</nobr>> <<nobr>> <<if $rulesAssistantMain == 0>> The rules assistant is @@color:red;HIDDEN.@@ //[[Show|Summary Options][$rulesAssistantMain to 1]]// <<else>> The rules assistant is @@color:cyan;SHOWN.@@ //[[Hide|Summary Options][$rulesAssistantMain to 0]]// <</if>> <</nobr>> <<nobr>> Main menu assignment shortcuts are <<if $displayAssignments == 1>> @@color:cyan;SHOWN.@@ //[[Hide|Summary Options][$displayAssignments to 0]]// <<else>> @@color:red;HIDDEN.@@ //[[Show|Summary Options][$displayAssignments to 1]]// <</if>> <</nobr>> <<nobr>> Devotion is <<if $abbreviateDevotion == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateDevotion to 0]] | [[Abbreviate|Summary Options][$abbreviateDevotion to 1]]// <<elseif $abbreviateDevotion == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateDevotion to 0]] | [[Summarize|Summary Options][$abbreviateDevotion to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateDevotion to 1]] | [[Summarize|Summary Options][$abbreviateDevotion to 2]]// <</if>> <</nobr>> <<nobr>> Rules are <<if $abbreviateRules == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateRules to 0]] | [[Abbreviate|Summary Options][$abbreviateRules to 1]]// <<elseif $abbreviateRules == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateRules to 0]] | [[Summarize|Summary Options][$abbreviateRules to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateRules to 1]] | [[Summarize|Summary Options][$abbreviateRules to 2]]// <</if>> <</nobr>> <<nobr>> Health is <<if $abbreviateHealth == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateHealth to 0]] | [[Abbreviate|Summary Options][$abbreviateHealth to 1]]// <<elseif $abbreviateHealth == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateHealth to 0]] | [[Summarize|Summary Options][$abbreviateHealth to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateHealth to 1]] | [[Summarize|Summary Options][$abbreviateHealth to 2]]// <</if>> <</nobr>> <<nobr>> Diet and weight are <<if $abbreviateDiet == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateDiet to 0]] | [[Abbreviate|Summary Options][$abbreviateDiet to 1]]// <<elseif $abbreviateDiet == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateDiet to 0]] | [[Summarize|Summary Options][$abbreviateDiet to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateDiet to 1]] | [[Summarize|Summary Options][$abbreviateDiet to 2]]// <</if>> <</nobr>> <<nobr>> Drugs and addiction are <<if $abbreviateDrugs == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateDrugs to 0]] | [[Abbreviate|Summary Options][$abbreviateDrugs to 1]]// <<elseif $abbreviateDrugs == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateDrugs to 0]] | [[Summarize|Summary Options][$abbreviateDrugs to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateDrugs to 1]] | [[Summarize|Summary Options][$abbreviateDrugs to 2]]// <</if>> <</nobr>> <<nobr>> Genitalia are <<if $abbreviateGenitalia == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateGenitalia to 0]] | [[Abbreviate|Summary Options][$abbreviateGenitalia to 1]]// <<elseif $abbreviateGenitalia == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateGenitalia to 0]] | [[Summarize|Summary Options][$abbreviateGenitalia to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateGenitalia to 1]] | [[Summarize|Summary Options][$abbreviateGenitalia to 2]]// <</if>> <</nobr>> <<nobr>> Physical traits are <<if $abbreviatePhysicals == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviatePhysicals to 0]] | [[Abbreviate|Summary Options][$abbreviatePhysicals to 1]]// <<elseif $abbreviatePhysicals == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviatePhysicals to 0]] | [[Summarize|Summary Options][$abbreviatePhysicals to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviatePhysicals to 1]] | [[Summarize|Summary Options][$abbreviatePhysicals to 2]]// <</if>> <</nobr>> <<nobr>> Skills are <<if $abbreviateSkills == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateSkills to 0]] | [[Abbreviate|Summary Options][$abbreviateSkills to 1]]// <<elseif $abbreviateSkills == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateSkills to 0]] | [[Summarize|Summary Options][$abbreviateSkills to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateSkills to 1]] | [[Summarize|Summary Options][$abbreviateSkills to 2]]// <</if>> <</nobr>> <<nobr>> Mental attributes are <<if $abbreviateMental == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateMental to 0]] | [[Abbreviate|Summary Options][$abbreviateMental to 1]]// <<elseif $abbreviateMental == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateMental to 0]] | [[Summarize|Summary Options][$abbreviateMental to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateMental to 1]] | [[Summarize|Summary Options][$abbreviateMental to 2]]// <</if>> <</nobr>> <<nobr>> Nationality is <<if $abbreviateNationality == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateNationality to 0]] | [[Abbreviate|Summary Options][$abbreviateNationality to 1]] // <<elseif $abbreviateNationality == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateNationality to 0]] | [[Summarize|Summary Options][$abbreviateNationality to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateNationality to 1]] | [[Summarize|Summary Options][$abbreviateNationality to 2]]// <</if>> <</nobr>> <<nobr>> Race is <<if $abbreviateRace == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateRace to 0]] | [[Abbreviate|Summary Options][$abbreviateRace to 1]]// <<elseif $abbreviateRace == 1>> @@color:yellow;ABBREVIATED.@@ //[[Hide|Summary Options][$abbreviateRace to 0]] | [[Summarize|Summary Options][$abbreviateRace to 2]]// <<else>> @@color:red;HIDDEN.@@ //[[Abbreviate|Summary Options][$abbreviateRace to 1]] | [[Summarize|Summary Options][$abbreviateRace to 2]]// <</if>> <</nobr>> <<nobr>> Clothes are <<if $abbreviateClothes == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateClothes to 0]]// <<else>> @@color:red;HIDDEN.@@ //[[Summarize|Summary Options][$abbreviateClothes to 2]]// <</if>> <</nobr>> <<nobr>> Origins are <<if $abbreviateOrigins == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateOrigins to 0]]// <<else>> @@color:red;HIDDEN.@@ //[[Summarize|Summary Options][$abbreviateOrigins to 2]]// <</if>> <</nobr>> <<nobr>> Rules Assistant rulesets are <<if $abbreviateRulesets == 2>> @@color:cyan;SUMMARIZED.@@ //[[Hide|Summary Options][$abbreviateRulesets to 0]]// <<else>> @@color:red;HIDDEN.@@ //[[Summarize|Summary Options][$abbreviateRulesets to 2]]// <</if>> <</nobr>> <<nobr>> Facilities in the sidebar are <<if $abbreviateSidebar == 2>> @@color:cyan;SUMMARIZED.@@ //[[Abbreviate|Summary Options][$abbreviateSidebar to 1]]// <<else>> @@color:yellow;ABBREVIATED.@@ //[[Summarize|Summary Options][$abbreviateSidebar to 2]]// <</if>> <</nobr>> //[[FC Dev's preferred options|Summary Options][$seeDesk to 0, $seeFCNN to 0, $sortSlavesBy to "devotion",$sortSlavesOrder to "descending",$sortSlavesMain to 0,$rulesAssistantMain to 1,$abbreviateDevotion to 1,$abbreviateRules to 1,$abbreviateClothes to 2,$abbreviateHealth to 1,$abbreviateDiet to 1,$abbreviateDrugs to 1,$abbreviateRace to 1,$abbreviateGenitalia to 1,$abbreviatePhysicals to 1,$abbreviateSkills to 1,$abbreviateMental to 1,$abbreviateSidebar to 1]]//
r3d/fc
src/uncategorized/summaryOptions.tw
tw
bsd-3-clause
9,879
:: TFS Farm Upgrade [nobr] <<set $nextButton to "Continue", $nextLink to "Scheduled Event">> <<set $TFS.farmUpgradeAsked = $week>> You receive yet another a personal call from an older Futanari Sister, one of the Sisters who lives in your arcology; you've given up trying to tell them apart. Unusually, this one has taken a break from the Sisters' constant sexual communion to concentrate on speaking with you, and she looks serious, though she's still a gorgeous naked futa whose boobs fill half the screen, and whose perpetually erect dick pokes insistently into frame. "<<print $PCName>>," she says <<if ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>> submissively, "I would like to beg a favor of you." She looks uncharacteristically uncomfortable, but steels herself and asks. "Please, may we use your organ farm? We're not... complete. Like you." She hugs herself unconsciously, her arms pressing her enormous breasts against her chest. "We... I... would like to be like you, and we <<else>> politely, "I would like to ask a favor of you on behalf of myself and my Sisters." She looks less confident than the older Sisters usually do, but steels herself and asks. "May we use your organ farm? We would like to really complete our transformations. We <</if>> can pay for the costs of using it, but we have no other way of accessing such advanced technology." <br><br> "I know that you could demand thousands of credits," she continues, "but the discount we already give you is all we can afford without selling Sisters early. <<if ($PC.dick == 1) && ($PC.vagina == 1) && ($PC.boobs == 1)>> I would pretend to be independent and offer you the choice of how we approach this, but you've already given us so much, and you're... so perfect. We'll do whatever you say. If you do give us this priceless gift, it's your decision <<else>> All we have to offer for this priceless gift is your decision on an important question: <</if>> whether we will use contraception after we are transformed." She shudders suddenly, gripped by obscure emotion. "Not using contraception would be a hard change in some ways. But years later, there would be... more of us." <br><br> "Please forgive me for calling you, instead of asking you in person," she says penitently. "And please come down to see us, whatever you decide." <br><br> <span id="result"> <<link "Permit them access, but tell them to use contraception">> <<replace "#result">> You signify your assent, telling the Sister that the organ farm will accept seed tissue from any of them for the purpose of fabricating ovaries. To your mild surprise, she responds by breaking down into cutely inelegant crying. You add that you think the Sisters are beautiful as they are, and recruits will continue to approach them; it's not necessary for them to go through the rigors of pregnancy. It takes her a long time to manage to thank to properly, and she hurries to end the call before she can embarrass herself further. <<set $TFS.farmUpgrade = 1>> <</replace>> <</link>> <br><<link "Permit them access, and encourage them to get pregnant">> <<replace "#result">> You signify your assent, telling the Sister that the organ farm will accept seed tissue from any of them for the purpose of fabricating ovaries. To your mild surprise, she responds with cutely inelegant crying. You add that you think the world needs more Futanari Sisters, especially ones as cute and sexy as you're confident her many daughters will be. At that, she breaks down completely, one of her hands going to rub her belly gently. It takes her a long time to manage to thank to properly, and she hurries to end the call before she can embarrass herself further.<<if $arcologies[0].FSRestartDecoration == 100>> The Societal Elite are @@color:red;outraged@@ that you would not only allow such a breach of eugenics to occur, but encourage it.<</if>> <<set $TFS.farmUpgrade = 2>> <<set $failedElite += 275>> <</replace>> <</link>> <br><<link "Decline">> <<replace "#result">> You decline. The Sister accepts your decision politely, but cannot hide her deep disappointment. <<set $TFS.farmUpgrade = -1>> <</replace>> <</link>> </span>
r3d/fc
src/uncategorized/tfsFarmUpgrade.tw
tw
bsd-3-clause
4,183
:: The Slavegirl School <<set $nextButton to "Back">>\ <<set $nextLink to "Buy Slaves">>\ <<set $returnTo to "Buy Slaves">>\ <<set $showEncyclopedia to 1>><<set $encyclopedia to "Slave Schools">>\ \ //The Slavegirl School is the newest slave school operating in the Free Cities. Its business model is to offer simpler, cheaper wares than its competitors. All Slavegirl School graduates are natural-born females without surgical modifications. Their training emphasizes elimination of any serious psychological deformities. They are promptly enslaved and sold as soon as they reach their majorities, and are marketed as complete virgins. <<if $TSS.schoolUpgrade != 0>><br><br>You have endowed <<if $TSS.schoolUpgrade == 1>>an alternative college at The Slavegirl School, which focuses on retraining good MILF stock into mature slave girls.<<else>>an improvement in the simplistic school's approach that teaches good basic skills without losing too much efficiency.<</if>> As a major <<if $PC.title == 0>>benefactrix<<else>>benefactor<</if>> of the institution, you also receive a discount on them.<</if>>// The Slavegirl School offers a fresh graduate for inspection via video call. The interview takes place in a faculty member's office. Absurdly, it's barely distinguishable from an office at any traditional institution of higher education. The only giveaway is the profusion of sex toys on the desk and the pornography on the walls. <<nobr>> <<if $TSS.schoolUpgrade == 1>> <<set $activeSlaveOneTimeMinAge to 36>> <<else>> <<set $activeSlaveOneTimeMaxAge to 18>> <</if>> <<include "Generate XX Slave">> <<set $activeSlave.career to "a slave">> <<set $activeSlave.butt to either(1, 2, 2, 3)>> <<set $activeSlave.boobs to either(200, 300, 300, 400)>> <<if $TSS.schoolUpgrade == 1>> <<set $activeSlave.origin to "You bought her fresh from the new Slavegirl School after she was retrained as a slave girl.">> <<set $activeSlave.butt += 1>> <<set $activeSlave.boobs += 200>> <<set $activeSlave.anus to 1>> <<set $activeSlave.vagina to 1>> <<else>> <<set $activeSlave.origin to "You bought her fresh from the Slavegirl School right after her majority.">> <<set $activeSlave.anus to 0>> <<set $activeSlave.vagina to 0>> <<set $activeSlave.birthWeek to 0>> <</if>> <<set $activeSlave.intelligenceImplant to 1>> <<set $activeSlave.teeth to "normal">> <<set $activeSlave.intelligence to either (-1, 0, 1, 2)>> <<set $activeSlave.devotion = random(25,45)>> <<set $activeSlave.trust = random(25,45)>> <<set $activeSlave.health = random(50,60)>> <<set $activeSlave.preg to 0>> <<set $activeSlave.weight to 0>> <<set $activeSlave.chem to 20>> <<if $TSS.schoolUpgrade == 0>> <<set $activeSlave.vaginalSkill = 0>> <<set $activeSlave.oralSkill = 0>> <<set $activeSlave.analSkill = 0>> <<set $activeSlave.whoreSkill = 0>> <<set $activeSlave.entertainSkill = 15>> <<else>> <<set $activeSlave.vaginalSkill = 15>> <<set $activeSlave.oralSkill = 15>> <<set $activeSlave.analSkill = 15>> <<set $activeSlave.whoreSkill = 15>> <<set $activeSlave.entertainSkill = 15>> <</if>> <<set $activeSlave.combatSkill = 0>> <<set $activeSlave.pubicHStyle to "waxed">> <<set $activeSlave.sexualFlaw to either("none")>> <<set $activeSlave.behavioralFlaw to either("none")>> <<set $activeSlave.hStyle to "tails">> <<set $activeSlave.customTat to "She has the simple logo of the corporation that operates The Slavegirl School tattooed on her left cheek.">> <<slaveCost $activeSlave>> <<if $TSS.schoolSale != 0>> <<set $slaveCost = Math.trunc($slaveCost*0.5)>> <<elseif $TSS.schoolUpgrade != 0>> <<set $slaveCost = Math.trunc($slaveCost*0.8)>> <</if>> <<if $slavesSeen > $slaveMarketLimit>><<set $slaveCost += Math.trunc($slaveCost*(($slavesSeen-$slaveMarketLimit)*0.1))>><</if>> <</nobr>>\ \ The price is ¤<<print $slaveCost>>.<<if $slavesSeen > $slaveMarketLimit>> You have cast such a wide net for slaves this week that it is becoming more expensive to find more for sale. Your reputation helps determine your reach within the slave market.<</if>> \ <<nobr>> <<if $cash >= $slaveCost>> [[Buy her slave contract|New Slave Intro][$cash -= $slaveCost,$TSS.schoolSale to 0,$TSS.studentsBought += 1,$nextButton to "Continue",$nextLink to "AS Dump",$returnTo to "Main"]] <<else>> //You lack the necessary funds to buy this slave.// <</if>> <</nobr>> [[Request to see a different graduate of the same school|The Slavegirl School][$slavesSeen += 1]] <<set $saleDescription to 1>>\ <<include "Long Slave Description">>\ <<set $saleDescription to 0>>\
r3d/fc
src/uncategorized/theSlavegirlSchool.tw
tw
bsd-3-clause
4,537
:: Toychest [nobr] //$slaves[$i].slaveName <<if $slaves[$i].fuckdoll > 0>> is waiting for use nearby. <<elseif $slaves[$i].fetish is "mindbroken">> is waiting dumbly nearby. <<elseif $slaves[$i].devotion > 50>> <<if $slaves[$i].toyHole is "mouth">> has positioned herself nearby with her mouth conveniently <<if $PC.dick == 1>>at cock level<<else>>level with your pussy<</if>>. <<elseif $slaves[$i].toyHole is "boobs">> is kneeling nearby with her chest thrust out as far as it will go. <<elseif ($slaves[$i].toyHole is "pussy") && ($slaves[$i].amp != 1)>> is kneeling on the couch with legs apart to present her pussy. <<elseif $slaves[$i].toyHole is "pussy">> is lying on the couch with her pussy ready for you. <<elseif ($slaves[$i].toyHole is "ass") && ($slaves[$i].amp != 1)>> is lying on the couch with her legs up and back to present her butthole. <<elseif $slaves[$i].toyHole is "ass">> is lying on the couch with her butt ready for you. /*check*/ <<elseif $slaves[$i].toyHole is "dick">> is lying on the couch with her dick at the ready for you. <<else>> is nearby, eagerly presenting herself. <</if>> <<elseif $slaves[$i].trust < -20>> is waiting nearby in terror, hoping obedience will save her from punishment. <<elseif $slaves[$i].devotion < -90>> is hogtied nearby for sexual abuse. <<elseif $slaves[$i].devotion < -50>> is restrained nearby for sexual use. <<elseif $slaves[$i].devotion < -20>> is unhappily waiting nearby for sexual use. <<elseif $slaves[$i].devotion <= 20>> is obediently waiting nearby for sexual use. <<elseif $slaves[$i].devotion <= 50>> has positioned herself nearby to offer you her body. <</if>> <<set $seed to random(1,100)>> <<if $slaves[$i].fuckdoll > 0>> Its holes are, as always, available. <<elseif $slaves[$i].fetish is "mindbroken">> She ignores her clothing, regarding it as an impediment to her purpose. <<elseif ($slaves[$i].clothes is "attractive lingerie")>> Her nipples show invitingly through the holes in her white lace lingerie. <<elseif ($slaves[$i].clothes is "shibari ropes")>> You've tied her shibari bindings so that she's forced to thrust out her chest. <<elseif ($slaves[$i].clothes is "uncomfortable straps") && ($seed > 75)>> Her leather straps are forcing her to thrust out her tits. <<elseif ($slaves[$i].clothes is "uncomfortable straps") && ($seed > 50)>> Her leather straps are uncomfortably pressing her breasts and asscrack. <<elseif ($slaves[$i].clothes is "uncomfortable straps") && ($seed > 25)>> The rings in her leather straps over each nipple and hole make her look like a perfect fucktoy. <<elseif ($slaves[$i].clothes is "uncomfortable straps")>> Her uncomfortable straps force her to constantly present her holes. <<elseif ($slaves[$i].clothes is "restrictive latex") or ($slaves[$i].clothes is "a latex catsuit")>> Her complete suit of latex makes her a nice, artistic display, a plastic work of art in the shape of a female form. <<elseif ($activeSlave.clothes is "a military uniform")>> Her uniformed presence lends your office the air of a military command center. <<elseif ($activeSlave.clothes is "a mini skirt")>> Her flattering mini dress makes her the perfect office ornament for the modern captain of industry. <<elseif ($activeSlave.clothes is "a nice nurse outfit")>> Her proper nurse's outfit gives the office a clinical air. <<elseif ($slaves[$i].clothes is "a fallen nuns habit")>> Her latex parody of a nuns habit gives the office a sacrilegious air. <<elseif ($slaves[$i].clothes is "a chattel habit")>> Her chattel habit makes the office look like what it is: the inner sanctum of a new and deeply sensual faith. <<elseif ($slaves[$i].clothes is "a penitent nuns habit")>> Her sackcloth habit gives the office a somber air. <<elseif ($slaves[$i].clothes is "attractive lingerie")>> She's wearing classy lingerie, making her an unusually refined ornament to the office. <<elseif ($slaves[$i].clothes is "a succubus outfit")>> She's dressed to look like a succubus. There is a <<if $PC.title == 1>>demon in this office, and she serves him<<else>>demoness in this office, and she serves her<</if>>. <<elseif ($slaves[$i].clothes is "a string bikini")>> She's wearing a string bikini, making her a sexy, enticing office ornament. <<elseif ($slaves[$i].clothes is "attractive lingerie for a pregnant woman")>> Her breasts gently spill out of her slightly to small top. <<if $slaves[$i].lactation > 0>> Her leaking nipples have rendered her top see-through. <</if>> <<elseif ($slaves[$i].clothes is "a maternity dress")>> Her low cut dress reveals ample cleavage. <<elseif ($slaves[$i].clothes is "a cheerleader outfit")>> She's wearing a slutty cheerleader outfit, making it look like she's here to fuck before team practice. <<elseif ($slaves[$i].clothes is "clubslut netting")>> She's wearing slutty netting and headphones so she can dance to music without annoying visitors. <<elseif ($slaves[$i].clothes is "cutoffs and a t-shirt")>> She's wearing cutoffs and a t-shirt, making her a fun, clean office ornament. <<elseif ($slaves[$i].clothes is "a slutty nurse outfit")>> She's wearing a slutty nurse outfit, and looks more than ready to minister to any patient's needs. <<elseif ($slaves[$i].clothes is "a schoolgirl outfit")>> She's wearing a slutty schoolgirl outfit, and looks ready to do whatever it takes to improve her grades. <<elseif ($slaves[$i].clothes is "a kimono")>> She's wearing a kimono, lending your office an air of elegance, though she lacks some of the air of the true yamato nadeshiko. <<elseif ($slaves[$i].clothes is "a slutty qipao")>> She's wearing a qipao, lending your office the elegance of an imperial court. <<elseif ($slaves[$i].clothes is "a hijab and abaya")>> She's wearing a modest hijab and abaya, lending your office a certain air of conservatism. <<elseif ($slaves[$i].clothes is "battledress")>> She's wearing skimpy battledress, making your office seem a little like the ideal bunker for a survivalist. <<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 21)>> She's wearing a schoolgirl uniform and sucking on hard candy, giving her a delectably youthful appearance. <<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 30)>> She's chosen to wear a slutty nurse outfit, and looks more than ready to minister to any patient's needs. <<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 40)>> She's wearing a schoolgirl uniform and sucking on hard candy, a delightfully perverse outfit for a slave in her thirties. <<elseif ($slaves[$i].clothes is "a slutty outfit")>> She's wearing a wifely apron that covers her front, but leaves her backside bare, an appropriate outfit for a slave in her forties. <<elseif ($slaves[$i].clothes is "a halter top dress")>> The gorgeous halter top dress she's wearing is almost a work of art. <<elseif ($slaves[$i].clothes is "a ball gown")>> The fabulous silken ball gown she's wearing lifts the entire atmosphere. <<elseif ($slaves[$i].clothes is "a slave gown")>> The gorgeous gown she's wearing lends an air of class to the office. <<elseif ($slaves[$i].clothes is "slutty business attire")>> The suit she's wearing would make it look like she's here to do business, if not for the extreme shortness of the skirt and her acre of cleavage. <<elseif ($slaves[$i].clothes is "nice business attire")>> The suit she's wearing makes it look like she's here to do business, not fuck. <<elseif ($slaves[$i].clothes is "a comfortable bodysuit")>> The bodysuit she's wearing displays her every fuckable curve. <<elseif ($slaves[$i].clothes is "a leotard")>> The leotard she's wearing is tight enough to advertise every detail. <<elseif ($slaves[$i].clothes is "a bunny outfit")>> The bunny outfit she's wearing makes her look ready to serve drinks and suck dick. <<elseif ($slaves[$i].clothes is "a slutty maid outfit")>> Her maid outfit makes her look useful and sexually easy. <<elseif ($slaves[$i].clothes is "a nice maid outfit")>> Her maid outfit makes her servitude obvious while not looking too lewd. <<elseif ($slaves[$i].clothes is "harem gauze")>> Her harem girl outfit lends her corner of your office an Eastern opulence. <<elseif ($slaves[$i].clothes is "slutty jewelry")>> The bangles she's wearing make little noises every time she moves, serving as a constant reminder of her sexual availability. <<elseif ($activeSlave.clothes is "conservative clothing")>> Her clothes make it look like she's here for some other purpose than sexual slavery. <<elseif ($activeSlave.clothes is "chains")>> Her chains make it obvious that she's here as an office sex toy. <<elseif ($activeSlave.clothes is "Western clothing")>> Her Western clothing is comically out of place in a modern office. <<elseif ($activeSlave.clothes is "body oil")>> Her body oil makes her muscles a lovely ornament to the office, and makes all her holes nice and inviting. <<elseif ($activeSlave.clothes is "a toga")>> Her toga lends an air of antiquity to the office. <<elseif ($activeSlave.clothes is "a slutty qipao")>> Her lovely qipao is a delicious contradiction of conservative silk patterns and scandalously high cuts. <<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>> Her chastity belt covers and protects her, but leaves her breasts naked, her mouth available, and her asshole vulnerable. <<elseif ($slaves[$i].vaginalAccessory is "anal chastity")>> Her chastity belt covers and protects her anus, but leaves her breasts naked, her mouth available, and her pussy vulnerable. <<elseif ($slaves[$i].vaginalAccessory is "combined chastity")>> Her chastity belt covers and protects both her vagina and anus, but leaves her breasts naked and her mouth available. <<else>> She's nude and ready to be fucked. <</if>>//
r3d/fc
src/uncategorized/toychest.tw
tw
bsd-3-clause
9,856
:: Twins Workaround Your new pair of slaves look frightened and uncertain, but seem encouraged by each other's presence. <<AddSlave $activeSlave>> <<set _secondSlave to clone($activeSlave)>> <<unset $activeSlave>> <<NationalityToName _secondSlave>> <<NationalityToAccent _secondSlave>> <<set _secondSlave.ID to _secondSlave.ID + 1000>> <<if $familyTesting == 0>> <<set _secondSlave.relation to "twin">> <<set _secondSlave.relationTarget to _secondSlave.ID - 1000>> <</if>> <<AddSlave _secondSlave>>
r3d/fc
src/uncategorized/twinsWorkaround.tw
tw
bsd-3-clause
503
:: Universal Rules [nobr] __Universal rules__ <<set $nextButton to "Back">> <<set $nextLink to "Manage Arcology">> <br><br> <<if $universalRulesRest == 0>> Slaves will ''remain on assignment'' when unhealthy. [[Allow automatic rest when unhealthy|Universal Rules][$universalRulesRest to 1]] <<else>> Slaves will ''automatically rest'' at $assistantName's discretion when unhealthy. [[Require all slaves to stay on assignment|Universal Rules][$universalRulesRest to 0]] <</if>> <br><br> <<if $universalRulesConsent == 0>> Slaves are ''not required'' to get consent before fucking other slaves. [[Restrain slave on slave molestation|Universal Rules][$universalRulesConsent to 1]] <<else>> Slaves are ''generally required'' to get consent before fucking other slaves. [[Encourage slave on slave molestation|Universal Rules][$universalRulesConsent to 0]] <</if>> <br><br> Slave nicknames are <<if ($nicknamesAllowed == 0)>> @@color:red;FORBIDDEN@@. [[Allow|Universal Rules][$nicknamesAllowed to 1]] <<else>> @@color:cyan;ALLOWED@@. [[Forbid|Universal Rules][$nicknamesAllowed to 0]] <</if>> <br> Slave requests for body mods are <<if ($modRequestsAllowed == 0)>> @@color:red;FORBIDDEN@@. [[Allow|Universal Rules][$modRequestsAllowed to 1]] <<else>> @@color:cyan;ALLOWED@@. [[Forbid|Universal Rules][$modRequestsAllowed to 0]] <</if>> <br> Slave requests for growth hormones are <<if ($expansionRequestsAllowed == 0)>> @@color:red;FORBIDDEN@@. [[Allow|Universal Rules][$expansionRequestsAllowed to 1]] <<else>> @@color:cyan;ALLOWED@@. [[Forbid|Universal Rules][$expansionRequestsAllowed to 0]] <</if>> <<if $FSAnnounced > 0>> <br><br> <<if ($useFSNames == 0)>> Future society names for new slaves are currently @@color:red;NOT APPLIED@@. [[Apply|Universal Rules][$useFSNames to 1]] <<else>> Future society names for new slaves are currently @@color:cyan;APPLIED@@. [[Stop applying|Universal Rules][$useFSNames to 0]] <</if>> <</if>> <<if $brothel+$club+$dairy+$servantsQuarters+$collectionFacility+$arcade+$schoolroom+$spa+$clinic+$masterSuite+$cellblock > 0>> <br><br> <<if $universalRulesFacilityWork == 0>> Slaves ''will not'' cooperate with staffed facilities to improve their performance. [[Allow cooperation|Universal Rules][$universalRulesFacilityWork to 1]] <<else>> Slaves ''will'' cooperate with staffed facilities to improve their performance. [[Stop cooperation|Universal Rules][$universalRulesFacilityWork to 0]] <</if>> <</if>> <br><br> <<if $universalRulesNewSlavesRA == 0>> The Rules Assistant ''will not apply'' automatically to newly acquired slaves. [[Apply to new slaves|Universal Rules][$universalRulesNewSlavesRA to 1]] <<else>> The Rules Assistant ''will apply'' automatically to newly acquired slaves [[Stop applying to new slaves|Universal Rules][$universalRulesNewSlavesRA to 0]] <</if>> <<if $seeDicks != 100>> <br><br> <<if $universalRulesImpregnation is "HG">> Fertile slaves will be ''systematically impregnated by your Head Girl,'' if she is able to do so. [[Cancel insemination regime|Universal Rules][($universalRulesImpregnation to "none"),($universalHGImpregnateMasterSuiteToggle to 0)]]<<if $PC.dick > 0>> | [[Inseminate them yourself|Universal Rules][($universalRulesImpregnation to "PC"),($universalHGImpregnateMasterSuiteToggle to 0)]]<</if>> <br> <<if $universalHGImpregnateMasterSuiteToggle == 1>> Your head girl, if able, ''is not'' inseminating slaves in the Master Suite. [[Allow her to inseminate Master Suite slaves|Universal Rules][$universalHGImpregnateMasterSuiteToggle to 0]] <<else>> Your head girl, if able, ''is'' inseminating slaves in the Master Suite. [[Forbid her from inseminating Master Suite slaves|Universal Rules][$universalHGImpregnateMasterSuiteToggle to 1]] <</if>> <<elseif $universalRulesImpregnation is "PC">> Fertile slaves will be ''systematically impregnated by you.'' [[Cancel insemination regime|Universal Rules][$universalRulesImpregnation to "none"]]<<if $seeDicks != 0>> | [[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation to "HG"]]<</if>> <<else>> Fertile slaves will ''not be systematically impregnated.'' <<if $PC.dick > 0>>[[Inseminate them yourself|Universal Rules][$universalRulesImpregnation to "PC"]]<</if>><<if ($PC.dick > 0) && ($seeDicks != 0)>> | <</if>><<if $seeDicks != 0>>[[Delegate insemination to your Head Girl|Universal Rules][$universalRulesImpregnation to "HG"]]<</if>> <</if>> <br><br> <<if $universalRulesBirthing == 1>> Heavily pregnant slaves will be ''scanned daily'' for signs of labor and moved to a birthing area immediately if any are detected. [[Stop scanning|Universal Rules][$universalRulesBirthing to 0]] <<else>> Heavily pregnant slaves will be ''required to work'' right up until they feel contractions. [[Apply daily scanning|Universal Rules][$universalRulesBirthing to 1]] &nbsp;&nbsp;&nbsp;&nbsp; //This will increase upkeep costs for these slaves// <</if>> <<if $universalRulesBirthing == 1>> <br><br> <<if $universalRulesCSec == 1>> Pregnant slaves will be ''given Caesarean sections'' rather than allowed to give birth naturally in order to minimize health issues and to preserve their vaginas. [[Only perform c-sections when necessary|Universal Rules][$universalRulesCSec to 0]] <<else>> Pregnant slaves will ''give birth naturally'' unless health issues pose a threat. [[Always perform c-sections|Universal Rules][$universalRulesCSec to 1]] &nbsp;&nbsp;&nbsp;&nbsp; //Will lessen medical costs, at the expense of scarring// <</if>> <</if>> <</if>> <br> <<if $dojo > 0>> <br><br> <<if $bodyguardTrains == 0>> Your Bodyguard ''is not allowed'' to train potential successors. [[Allow training|Universal Rules][$bodyguardTrains to 1]] <<else>> Your Bodyguard ''is allowed'' to train potential successors. [[Stop training|Universal Rules][$bodyguardTrains to 0]] <</if>> <</if>>
r3d/fc
src/uncategorized/universalRules.tw
tw
bsd-3-clause
5,882
:: Use Guard <<nobr>> // $slaves[$i].slaveName is standing behind your left shoulder, guarding your person. <<set $seed to random(1,100)>> <<if ($slaves[$i].clothes is "attractive lingerie")>> Her lacy lingerie contrasts with her deadly weaponry. <<elseif ($slaves[$i].clothes is "a succubus outfit")>> Her succubus outfit and impressive weapons make her look like a character from an overwrought graphic novel. <<elseif ($slaves[$i].clothes is "uncomfortable straps")>> Her uncomfortable straps make her look like a classical slave warrior. <<elseif ($slaves[$i].clothes is "shibari ropes")>> Her shibari ropes make her look like an insane slave fighter. <<elseif ($slaves[$i].clothes is "restrictive latex") or ($slaves[$i].clothes is "a latex catsuit")>> Her complete suit of latex gives her a beautiful yet intimidating appearance. <<elseif ($slaves[$i].clothes is "a nice nurse outfit")>> Her practical nurse's outfit make her weapons look like surgical instruments of death. <<elseif ($slaves[$i].clothes is "a military uniform")>> Her military uniform is most befitting of an honor guard. <<elseif ($slaves[$i].clothes is "a mini dress")>> Her revealing mini dress and elegant weapons make her look sexy, yet deadly. <<elseif ($slaves[$i].clothes is "clubslut netting")>> Her club netting's slutty appearance clashes amusingly with her deadly weapons. <<elseif ($slaves[$i].clothes is "a string bikini")>> Her string bikini's flirty appearance clashes amusingly with her deadly weapons. <<elseif ($slaves[$i].clothes is "cutoffs and a t-shirt")>> Her t-shirt's fun appearance clashes amusingly with her deadly weapons. <<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 21)>> She's wearing a schoolgirl uniform and sucking on hard candy, making her look like a character from a kung-fu film. <<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 30)>> She's chosen to wear a catsuit, and looks like a fictional heroine. <<elseif ($slaves[$i].clothes is "a slutty outfit") && ($slaves[$i].actualAge < 40)>> She's wearing a schoolgirl uniform and sucking on hard candy, making her look like a character from a kung-fu film. <<elseif ($slaves[$i].clothes is "a slutty outfit")>> She's wearing a wifely dress, creating a discordant effect with her weapons. <<elseif ($slaves[$i].clothes is "a cheerleader outfit")>> She's wearing a cheerleader uniform, creating an amusing effect with her weapons. <<elseif ($slaves[$i].clothes is "attractive lingerie for a pregnant woman")>> Her silky lingerie contrasts with her deadly weaponry. <<elseif ($slaves[$i].clothes is "a maternity dress")>> Her loose dress gives her plenty of places to conceal weaponry. <<elseif ($slaves[$i].clothes is "a slave gown")>> Her gorgeous gown and elegant weapons make her look refined, yet deadly. <<elseif ($slaves[$i].clothes is "a halter top dress")>> Her beautiful halter top dress and elegant weapons make her look refined, yet deadly. <<elseif ($slaves[$i].clothes is "a ball gown")>> Her fabulous silken ball gown and elegant weapons make her look refined, yet deadly. <<elseif ($slaves[$i].clothes is "a nice maid outfit")>> Her pretty maid outfit and weapons make her look like a character from an animated movie. <<elseif ($slaves[$i].clothes is "a slutty maid outfit")>> Her slutty maid outfit and weapons make her look like a character from an exploitation film. <<elseif ($slaves[$i].clothes is "cutoffs and a t-shirt")>> Her relaxed clothing clashes with her weaponry, making her look like she's planning to kill someone and then have a relaxing day off. <<elseif ($slaves[$i].clothes is "harem gauze")>> Her weapons pin her sheer gauze down over her body, putting everything on lewd display. <<elseif ($slaves[$i].clothes is "a fallen nuns habit")>> Her sacrilegious getup and weapons make her look like a sinner's fantasy. <<elseif ($slaves[$i].clothes is "a chattel habit")>> Her chattel habit and weapons make her role as a defender of the new faith instantly obvious. <<elseif ($slaves[$i].clothes is "a penitent nuns habit")>> Her somber habit and weapons make her look like a member of a militant order. <<elseif ($slaves[$i].clothes is "slutty business attire")>> Her slutty business suit and weapons give her the look a supervillain's sidekick. <<elseif ($slaves[$i].clothes is "nice business attire")>> Her business suit and weapons give her the look of a finely honed corporate instrument. <<elseif ($slaves[$i].clothes is "conservative clothing")>> Her casual, conservative clothes and weapons make her look like a normal old world security contractrix. <<elseif ($slaves[$i].clothes is "a comfortable bodysuit")>> Her bodysuit and weapons make her look like an action movie heroine. <<elseif ($slaves[$i].clothes is "a leotard")>> Her leotard and weapons make her look like the heroine of an old exploitation film. <<elseif ($slaves[$i].clothes is "a bunny outfit")>> Her bunny outfit and weapons make her look like the henchwoman of a villain from a cheesy vintage spy film. <<elseif ($slaves[$i].clothes is "a slutty nurse outfit")>> Between her nurse outfit and her weapons she looks prepared to do harm, and then to heal it. <<elseif ($slaves[$i].clothes is "a schoolgirl outfit")>> This schoolgirl is well armed, bringing to mind more than one farcical action film. <<elseif ($slaves[$i].clothes is "a kimono")>> Her kimono has discreet cuts that allow her to fight reasonably well in it if necessary, and are almost invisible when she stands straight. <<elseif ($slaves[$i].clothes is "a slutty qipao")>> Her qipao and weapons make her look like a character from a fighting game. <<elseif ($slaves[$i].clothes is "a hijab and abaya")>> Her weapons are strapped to the outside of her abaya, a juxtaposition that would be more ludicrous had not many women of the middle east recently been seen fighting dressed in just this way. <<elseif ($slaves[$i].clothes is "battledress")>> Though her battledress top is just a tank top, she still skirts the edge of looking more like a Free Cities mercenary than a Free Cities sex slave. <<elseif ($slaves[$i].clothes is "slutty jewelry")>> The bangles she's wearing are complemented by the straps that mount her weapons to her otherwise naked body. <<elseif ($slaves[$i].vaginalAccessory is "chastity belt")>> Her chastity belt covers and protects her, just as her weapons cover and protect you. <<else>> She is nude except for her armament. <</if>> // <</nobr>>\
r3d/fc
src/uncategorized/useGuard.tw
tw
bsd-3-clause
6,518
:: Walk Past [nobr] // <<set $target to "">> <<if $familyTesting == 1 && totalRelatives($activeSlave) > 0 && random(1,100) > 80>> <<set $relations to 0>> <<set $relations to []>> <<if $activeSlave.sisters > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if areSisters($activeSlave, $slaves[$j]) > 0>> <<set $relations.push($slaves[$j])>> <</if>> <</for>> <</if>> <<if $activeSlave.daughters > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].mother == $activeSlave.ID || $slaves[$j].father == $activeSlave.ID>> <<set $relations.push($slaves[$j])>> <</if>> <</for>> <</if>> <<if $activeSlave.mother > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $activeSlave.mother == $slaves[$j].ID>> <<set $relations.push($slaves[$j])>> <</if>> <</for>> <</if>> <<if $activeSlave.father > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $activeSlave.father == $slaves[$j].ID>> <<set $relations.push($slaves[$j])>> <</if>> <</for>> <</if>> <<set $relation = $relations.random()>> <<if $relation.mother == $activeSlave.ID || $relation.father == $activeSlave.ID>> <<set $relationType = "daughter">> <<elseif $activeSlave.mother == $relation.ID>> <<set $relationType = "mother">> <<elseif $activeSlave.father == $relation.ID>> <<set $relationType = "father">> <<elseif areSisters($activeSlave, $relation) == 1>> <<set $relationType = "twin">> <<elseif areSisters($activeSlave, $relation) == 2>> <<set $relationType = "sister">> <<elseif areSisters($activeSlave, $relation) == 3>> <<set $relationType = "half-sister">> <</if>> <<set _seed to 110, $partner to "relation">> <<elseif $familyTesting == 0 && ($activeSlave.relation isnot 0) and (random(1,100) gt 80)>> <<set _seed to 110, $partner to "relation">> <<elseif ($activeSlave.relationship gt 0) and (random(1,100) gt 70)>> <<set _seed to 120, $partner to "relationship">> <<elseif ($activeSlave.rivalry isnot 0) and ($activeSlave.amp isnot 1) and (random(1,100) gt 70)>> <<set _seed to 130, $partner to "rivalry">> <<else>> <<set _seed to random(1,100), $partner to "">> <</if>> <<SlavePronouns $activeSlave>> <span id="walk"> <<if ($partner != "relationship") or ($activeSlave.relationship is 1) or ($activeSlave.relationship is 2) or ($activeSlave.releaseRules == "restrictive")>> $activeSlave.slaveName <<switch $activeSlave.assignment>> <<case "work in the dairy">> <<if ($dairyRestraintsSetting > 1)>> is strapped to a milking machine in $dairyName. <<elseif ($activeSlave.lactation is 0) and ($activeSlave.balls > 0)>> is working in $dairyName, and is having her cock milked. As you watch, her balls tighten as the phallus up her butt brings her closer to a copious ejaculation. <<elseif _seed > 50>> is working in $dairyName, and is having her tits milked, but you have a good view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feeds. <<else>> is working in $dairyName, and is massaging her sore tits, but you have a good view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feeds. <</if>> <<case "work in the brothel">> <<Beauty $activeSlave>> is working in $brothelName, and is <<if ($beauty > 100) and (random(1,2) is 1)>> <<if (_seed > 80)>> riding one customer's dick while she gives another a blowjob. <<elseif (_seed > 60)>> sucking one customer's cock while giving another a handjob. <<elseif (_seed > 40)>> eating out one customer's cunt while another uses a strap-on on her. <<elseif (_seed > 20)>> getting pounded by two women wearing strap-ons. <<else>> being double penetrated by a pair of customers. <</if>> <<elseif (_seed > 80)>> riding a customer's dick. <<elseif (_seed > 60)>> sucking a customer's cock. <<elseif (_seed > 40)>> pleasuring a customer's cunt. <<elseif (_seed > 20)>> getting pounded by a woman wearing a strap-on. <<else>> being held down and buttfucked by a customer. <</if>> You have a voyeuristic view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feeds. <<case "serve the public">> <<Beauty $activeSlave>> is serving the public, and is <<if ($beauty > 100) and (random(1,2) is 1)>> <<if (_seed > 80)>> riding one citizen's dick while she gives another a blowjob. <<elseif (_seed > 60)>> sucking one citizen's cock while giving another a handjob. <<elseif (_seed > 40)>> eating out one citizen's cunt while another uses a strap-on on her. <<elseif (_seed > 20)>> getting pounded by two women wearing strap-ons. <<else>> being double penetrated by a pair of citizens. <</if>> <<elseif (_seed > 80)>> riding a citizen's dick. <<elseif (_seed > 60)>> sucking a citizen's cock. <<elseif (_seed > 40)>> pleasuring a citizen's cunt. <<elseif (_seed > 20)>> getting pounded by a citizen wearing a strap-on. <<else>> being held down and buttfucked by a citizen. <</if>> You have a voyeuristic view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feeds. <<case "serve in the club">> is working in $clubName, <<if _seed > 50>> displaying her <<if $seeRace is 1>>$activeSlave.race <</if>>body, keeping citizens company, and flirting with anyone who shows interest. <<else>> or rather just off it, having taken a prominent citizen back to a discreet room <<if $seeRace is 1>> so he can use her $activeSlave.race body<</if>>. <</if>> <<case "work as a servant">> <<if _seed > 50>> was scrubbing the penthouse floor, until another slave requested oral service. <<else>> is scrubbing the penthouse floor. <</if>> <<case "serve in the master suite">> <<if $activeSlave.fuckdoll > 0>> waiting for use in $masterSuiteName, next to a display case full of other sex toys. <<elseif $masterSuiteUpgradeLuxury is 1>> <<if _seed > 50>> is kneeling on the big bed in $masterSuiteName, awaiting your return. <<else>> is beautifying herself in $masterSuiteName so she'll be pretty when you return. <</if>> <<elseif $masterSuiteUpgradeLuxury is 2>> is in $masterSuiteName's fuckpit, <<if (_seed > 80)>> with a pair of her fellow fucktoys industriously sucking on her nipples. <<elseif (_seed > 60)>> <<if $activeSlave.anus > 0>> taking double penetration from <<else>> being spitroasted by <</if>> a pair of her fellow fucktoys. <<elseif (_seed > 40)>> <<if canAchieveErection($activeSlave)>> with her dick inside <<elseif $activeSlave.dick > 0>> getting her soft dick sucked by <<else>> getting eaten out by <</if>> a fellow fucktoy. <<elseif (_seed > 20)>> <<if $activeSlave.anus > 0>> getting her ass pounded <<else>> getting eaten out <</if>> by a fellow fucktoy. <<else>> performing oral sex on a fellow fucktoy. <</if>> <<else>> <<if ($activeSlave.energy > 95)>> is having enthusiastic sex with your other pets while waiting for your cock. <<else>> is having idle sex with several of your other toys while they await your pleasure. <<if ($activeSlave.fetishKnown is 1)>> <<if ($activeSlave.fetish is "buttslut")>> She's happily taking a strap-on up her asspussy. <<elseif ($activeSlave.fetish is "cumslut")>> She's happily performing oral on another slave. <<elseif ($activeSlave.fetish is "dom")>> She's holding another slave down while she fucks her. <<elseif ($activeSlave.fetish is "submissive")>> She's letting another slave hold her down as she fucks her. <<elseif ($activeSlave.fetish is "sadist")>> She's spanking another slave with one hand and giving her a handjob with the other. <<elseif ($activeSlave.fetish is "masochist")>> Another slave is spanking her and giving her a handjob at the same time. <<elseif ($activeSlave.fetish is "boobs")>> She has a slave sucking on each of her nipples while she gives each a handjob. <<elseif ($activeSlave.fetish is "pregnancy")>> <<if bigBelly($activeSlave)>> She's sighing contentedly as her rounded belly is sensually rubbed. <<else>> She's happily roleplaying conceiving a child as she gets fucked. <</if>> <</if>> <</if>> <</if>> <</if>> <<case "stay confined">> is confined, but you have a fine view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feed from her cell. <<case "be confined in the cellblock">> is confined in $cellblockName, but you have a fine view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feed from her cell. <<case "work independently">> is working from her apartment, but you have a fine view of her <<if $seeRace is 1>>$activeSlave.race body <</if>>on the feeds. <<case "be confined in the arcade" "work a glory hole">> is confined in <<if $activeSlave.assignment == "be confined in the arcade">>$arcadeName<<else>>a glory hole<</if>>; <<if (_seed > 80)>> $possessive ass is held out at cock height, and a customer is using $possessive fuckhole. <<elseif (_seed > 60)>> $possessive mouth is held open at cock height, and a customer is fucking $possessive throat. <<elseif (_seed > 40)>> a woman is abusing $possessive with a couple of dildos. <<elseif (_seed > 20)>> a customer is cruelly spanking $possessive helpless butt. <<else>> a customer is harshly using $possessive defenseless anus. <</if>> <<case "be the Madam">> is managing $brothelName: she is making sure all the customers are satisfied and all the whores are working hard. <<case "be your Concubine">> <<if random(1,2) is 1>> is looking after herself; she spends many hours every day on her beauty regimen. <<else>> is checking over the appearance of your harem, making sure everyone looks perfect. <</if>> <<case "be the Wardeness">> is looking after the cells: she is <<if _seed > 50>> forcing a resistant slave to orally service her. <<else>> beating a rebellious slave across the buttocks. <</if>> <<case "live with your Head Girl">> is getting the Head Girl's suite cleaned up while $HeadGirl.slaveName is out working. <<case "be the Stewardess">> is managing the house servants in $servantsQuartersName: she overseeing the laboring house slaves and punishing any that step out of line. <<case "be the Schoolteacher">> is teaching classes in $schoolroomName: she is leading the slave students in rote recitation. <<case "be the DJ">> is right where she belongs, in the DJ booth in $clubName she leads. She's bouncing in time with the beat to show off her tits. <<case "be the Milkmaid">> is working in $dairyName, looking after your stock. /% <<case "guard you">> is standing discreetly behind your left shoulder, watching for threats. She has a straight ceramic sword strapped to her back and a machine pistol at her hip. <<case "be the Collectrix">> is working in the collection facility, looking after your stock. %/ <<default>> /* WALKPASTS START HERE */ <<if ($activeSlave.heels is 1) and ($activeSlave.shoes != "flats") and ($activeSlave.shoes != "none")>> walks past your desk with the tiny swaying steps she must take in order to walk on her surgically altered legs. She is on her way to <<elseif ($activeSlave.shoes is "heels")>> walks past your desk with the swaying steps she must take in her high heels. She is on her way to <<elseif ($activeSlave.shoes is "boots")>> walks past your desk with the confident gait encouraged by her high heeled boots. She is on her way to <<elseif ($activeSlave.shoes is "extreme heels")>> walks past your desk with the tiny swaying steps she must take in her ridiculous heels. She is on her way to <<elseif ($activeSlave.heels is 1)>> crawls past your desk on all fours, since she has not been allowed the heels she needs to walk upright. She is on her way to <<elseif ($activeSlave.amp is 1)>> is carried past your desk by one of your other slaves. She is on her way to <<elseif !canWalk($activeSlave)>> is helped past your desk by one of your other slaves. She is on her way to <<else>> walks past your desk on her way to <</if>> <<if $activeSlave.inflation > 0 && random(1,100) > 70>> <<if $activeSlave.inflationMethod == 1>> gorge herself with $activeSlave.inflationType; <<elseif $activeSlave.inflationMethod == 2>> fill her rear with $activeSlave.inflationType; <<elseif $activeSlave.inflationMethod == 3>> <<if $activeSlave.inflationType == "milk">> suckle from her assigned nipple until she is sufficiently filled with milk; <<else>> suck her assigned dick until she is sufficiently filled with cum; <</if>> <</if>> <<else>> <<switch $activeSlave.assignment>> <<case "rest">> <<if _seed > 50>> bed; <<else>> eat; <</if>> <<case "get milked">> drain her <<if ($activeSlave.lactation is 0) and ($activeSlave.balls > 0)>> cum-filled, <<if $seeRace is 1>>$activeSlave.race <</if>>balls; <<elseif ($activeSlave.lactation > 0) and ($activeSlave.balls > 0)>> cum-filled, <<if $seeRace is 1>>$activeSlave.race <</if>>balls and milky udders; <<else>> milky <<if $seeRace is 1>>$activeSlave.race <</if>>udders; <</if>> <<case "whore">> <<if _seed > 50>> sell her <<if $seeRace is 1>>$activeSlave.race <</if>>body; <<else>> ply her trade as a whore; <</if>> <<case "serve the public">> <<if _seed > 50>> serve the public; <<else>> be a public slut; <</if>> <<case "rest in the spa">> relax in $spaName; <<case "be a servant">> clean up after your other slaves; <<case "learn in the schoolroom">> attend classes <<if $Schoolteacher is 0>> in $schoolroomName; <<else>> under $Schoolteacher.slaveName, perhaps literally; <</if>> <<case "be a subordinate slave">> service your other slaves; <<case "be the Attendant">> look after the girls in $spaName; <<case "take classes">> attend classes with $assistantName; <<case "be your Head Girl">> oversee your other slaves; /% <<case "please you">> sit next to you and wait for <<if _seed > 50>> you to fuck her; <<else>> her Master to use her<<if $seeRace is 1>> $activeSlave.race body<</if>>; <</if>> %/ <<case "be your Recruiter">> use her connections to recruit slaves; <<default>> $activeSlave.assignment; <</switch>> <</if>> <<if ($activeSlave.amp is 1)>> she is carried by on her way to her next task. <<elseif $activeSlave.fetish is "mindbroken">> she does not even glance at you as she goes mindlessly to her next task. <<elseif $activeSlave.devotion < -50>> she directs a look of pure hatred at where you sit as she passes. <<elseif $activeSlave.devotion < -20>> she cannot keep the loathing from her face as she passes. <<elseif $activeSlave.devotion <= 20>> she passes quickly, obviously hoping to avoid you. <<elseif $activeSlave.devotion <= 50>> she rushes by, hurrying to her next task. <<else>> as she passes she gives you a look of adoration. <</if>> <</switch>> /* WALKPASTS END */ <</if>> /* TIME TOGETHER EXCEPTION ENDS */ <<if ($partner is "rivalry")>> <<set _partnerSlave to null>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].ID == $activeSlave.rivalryTarget>> <<set _partnerSlave to $slaves[_i]>> <<break>> <</if>> <</for>> <<if _partnerSlave is null>> <<goto "Main">> <</if>> Meanwhile, <<if $activeSlave.rivalry >= 3>> _partnerSlave.slaveName, who she hates, <<elseif $activeSlave.rivalry >= 2>> her rival _partnerSlave.slaveName <<else>> _partnerSlave.slaveName, who she dislikes, <</if>> <<switch _partnerSlave.assignment>> <<case "stay confined">> is confined, but you have a fine view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feed from her cell. <<case "work independently">> is working from her apartment, but you have a fine view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "work in the brothel">> is working in the brothel, and is <<if _seed > 80>> riding a customer's dick. <<elseif _seed > 60>> sucking a customer's cock. <<elseif _seed > 40>> pleasuring a customer's cunt. <<elseif _seed > 20>> getting pounded by a woman wearing a strap-on. <<else>> being held down and buttfucked by a customer. <</if>> You have a voyeuristic view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "serve the public">> is serving the public, and is <<if _seed > 80>> riding a citizen's dick. <<elseif _seed > 60>> sucking a citizen's cock. <<elseif _seed > 40>> pleasuring a citizen's cunt. <<elseif _seed > 20>> getting pounded by a citizen wearing a strap-on. <<else>> being held down and buttfucked by a citizen. <</if>> You have a voyeuristic view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "work in the dairy">> <<if ($dairyRestraintsSetting > 1)>> is strapped to a milking machine in $dairyName. <<elseif (_partnerSlave.lactation is 0) and (_partnerSlave.balls > 0)>> is working in $dairyName, and is having her cock milked. As you watch, her balls tighten as the phallus up her butt brings her closer to a copious ejaculation. <<elseif _seed > 50>> is working in $dairyName, having her tits milked. <<else>> is working in $dairyName, massaging her sore tits. <</if>> You have a good view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "serve in the club">> is working on the club, <<if _seed > 50>> displaying her <<if $seeRace is 1>>_partnerSlave.race <</if>>body, keeping citizens company, and flirting with anyone who shows interest. <<else>> or rather just off it, having taken a prominent citizen back to a discreet room <<if $seeRace is 1>> so he can use her _partnerSlave.race body<</if>>. <</if>> <<case "work as a servant">> <<if _seed > 50>> was scrubbing the penthouse floor, until another slave requested oral service. <<else>> is scrubbing the penthouse floor. <</if>> <<case "guard you">> is standing discreetly behind your left shoulder, watching for threats. She has a straight ceramic sword strapped to her back and a machine pistol at her hip. <<case "be the Madam">> is managing the brothel: she is making sure all the customers are satisfied and all the whores are working hard. <<case "be the Stewardess">> is managing the house servants: she overseeing the laboring house slaves and punishing any that step out of line. <<case "be the Schoolteacher">> is teaching classes: she is leading the slave students in rote recitation. <<case "be the Attendant">> is seeing to girls in the spa: she is gently soaping an exhausted slave. <<case "be the DJ">> is taking the lead on the club: she greets new arrivals, flirts with them prettily, and subtly guides them towards choice sluts. <<case "be the Milkmaid">> is working in the dairy, looking after your stock. <<default>> <<if (_partnerSlave.heels is 1) and (_partnerSlave.shoes != "flats") and (_partnerSlave.shoes != "none")>> walks past your desk with the tiny swaying steps she must take in order to walk on her surgically altered legs. She is on her way to <<elseif (_partnerSlave.shoes is "heels")>> walks past your desk with the swaying steps she must take in her high heels. She is on her way to <<elseif (_partnerSlave.shoes is "boots")>> walks past your desk with the confident gait encouraged by her high heeled boots. She is on her way to <<elseif (_partnerSlave.shoes is "extreme heels")>> walks past your desk with the tiny swaying steps she must take in her ridiculous heels. She is on her way to <<elseif (_partnerSlave.heels is 1)>> crawls past your desk on all fours, since she has not been allowed the heels she needs to walk upright. She is on her way to <<elseif (_partnerSlave.amp is 1)>> is carried past your desk by one of your other slaves. She is on her way to <<elseif !canWalk(_partnerSlave)>> is helped past your desk by one of your other slaves. She is on her way to <<else>> walks past your desk on her way to <</if>> <<switch _partnerSlave.assignment>> <<case "whore">> <<if _seed > 50>> whore; <<else>> sell her <<if $seeRace is 1>>_partnerSlave.race <</if>>body; <</if>> <<case "serve the public">> <<if _seed > 50>> serve the public; <<else>> be a public slut; <</if>> <<case "rest">> <<if _seed > 50>> eat; <<else>> bed; <</if>> <<case "get milked">> <<if _seed > 50>> milk her overfull <<if $seeRace is 1>>_partnerSlave.race <</if>>tits; <<else>> drain her milky <<if $seeRace is 1>>_partnerSlave.race <</if>>udders; <</if>> <<case "please you">> wait next to you and wait for you to fuck $object; <<case "be a subordinate slave">> service your other slaves; <<case "be a servant">> clean up after your other slaves; <<case "be your Head Girl">> oversee your other slaves; <<case "be your Recruiter">> use her connections to recruit slaves; <</switch>> <<if (_partnerSlave.amp is 1)>> she is carried by on her way to her next task. <<elseif _partnerSlave.fetish is "mindbroken">> she does not even glance at you as she goes mindlessly to her next task. <<elseif _partnerSlave.devotion < -50>> she directs a look of pure hatred at where you sit as she passes. <<elseif _partnerSlave.devotion < -20>> she cannot keep the loathing from her face as she passes. <<elseif _partnerSlave.devotion <= 20>> she passes quickly, obviously hoping to avoid you. <<elseif _partnerSlave.devotion <= 50>> she rushes by, hurrying to her next task. <<else>> as she passes she gives you a look of adoration. <</if>> <</switch>> <<set $target to "FRival", _partnerSlave to null>> <<elseif ($partner is "relationship") and ($activeSlave.relationship >= 3) and ($activeSlave.releaseRules != "restrictive")>> <<set _partnerSlave to null>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].ID == $activeSlave.relationshipTarget>> <<set _partnerSlave to $slaves[_i]>> <<if $activeSlave.relationship <= 3>> <<set _activeSlaveRel to "friend with benefits">> <<elseif $activeSlave.relationship <= 4>> <<set _activeSlaveRel to "lover">> <<else>> <<set _activeSlaveRel to "slave wife">> <</if>> <<break>> <</if>> <</for>> <<if _partnerSlave is null>> <<goto "Main">> <</if>> <<SexualRelease $activeSlave>> $activeSlave.slaveName and _partnerSlave.slaveName are <<set _seed to random(1,3)>> <<if _seed is 1>> /* SEXY TIMES */ <<if (($activeSlave.fetish is "dom") or ($activeSlave.fetish is "sadist")) and ($activeSlave.dick > 0) and canPenetrate($activeSlave) and ((_partnerSlave.fetish is "dom") or (_partnerSlave.fetish is "sadist")) and (_partnerSlave.dick > 0) and canPenetrate(_partnerSlave)>> performing double anal on another slave. They're face to face over their sub's shoulders, looking into each other's eyes with every appearance of enjoyment and love, since for them rubbing dicks inside another slave's butt is what constitutes healthy sexual activity. _partnerSlave.slaveName is on the bottom, and holds their victim atop her with _partnerSlave.slaveName's cock already hilted in her ass so $activeSlave.slaveName can force herself inside as well. They enjoy the overstimulated girl's struggles. <<set $activeSlave.penetrativeCount++, _partnerSlave.penetrativeCount++, $penetrativeTotal += 2>> <<elseif ($activeSlave.energy > 95)>> having loud sex <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName is such a sexual addict that she wants it all the time, and _partnerSlave.slaveName does her best to help her _activeSlaveRel get off. <<if ($activeSlave.vagina > 0) or ($activeSlave.anus > 0)>> $activeSlave.slaveName is down on her knees in front of _partnerSlave.slaveName, taking <<if (_partnerSlave.dick > 1) and canPenetrate(_partnerSlave)>> her cock doggy style, <<elseif (_partnerSlave.dick > 1)>> a finger fuck, since her _activeSlaveRel is impotent, <<else>> a strap-on, doggy style, <</if>> <<if ($activeSlave.vagina > 0) and canDoVaginal($activeSlave) and (random(1,100) > 50)>> in her pussy. <<VaginalVCheck>> <<elseif canDoAnal($activeSlave) >> in her ass. <<AnalVCheck>> <</if>> <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<else>> They're scissoring enthusiastically and playing with each other's breasts. <<set $activeSlave.mammaryCount++, _partnerSlave.mammaryCount++, $mammaryTotal += 2>> <</if>> <<elseif ($activeSlave.fetishStrength > 60) and ($activeSlave.fetishKnown is 1)>> <<switch $activeSlave.fetish>> <<case "boobs">> snuggling rather sexually <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName loves having her breasts touched and massaged, so _partnerSlave.slaveName looks after her _activeSlaveRel's tits. <<if (_partnerSlave.amp is 1)>> Since _partnerSlave.slaveName is an amputee $activeSlave.slaveName has her propped on her belly so she can easily suckle and nuzzle. <<else>> They're spooning in bed with _partnerSlave.slaveName forming the large spoon so she can reach around and play with $activeSlave.slaveName's boobs. <</if>> <<set $activeSlave.mammaryCount++, _partnerSlave.mammaryCount++, $mammaryTotal += 2>> <<case "buttslut">> having loud buttsex <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName is such an anal addict that she wants it all the time, and _partnerSlave.slaveName does her best to keep her _activeSlaveRel satisfied. <<if ($activeSlave.anus > 0)>> $activeSlave.slaveName is down on her knees in front of _partnerSlave.slaveName, taking <<if (_partnerSlave.dick > 1) and canPenetrate(_partnerSlave)>> her cock up the butt. <<if ($activeSlave.anus > 2) and (_partnerSlave.dick > 2)>> $activeSlave.slaveName is clearly enjoying getting buttfucked by a cock big enough to make her feel tight again. <<elseif ($activeSlave.anus > 2) and (_partnerSlave.dick > 1)>> $activeSlave.slaveName's gaping ass takes _partnerSlave.slaveName's cock easily. <<elseif ($activeSlave.anus > 2)>> $activeSlave.slaveName can barely tell _partnerSlave.slaveName's little dick is even there, but it's the thought that counts. <<elseif ($activeSlave.anus < 2) and (_partnerSlave.dick > 2)>> $activeSlave.slaveName is panting and writhing with the pain of taking her _activeSlaveRel's massive dick. _partnerSlave.slaveName is doing her best to be gentle. <<elseif ($activeSlave.anus < 2) and (_partnerSlave.dick > 1)>> $activeSlave.slaveName is writhing with the mixed pain and pleasure of having her tight ass stretched by her _activeSlaveRel's nice cock. <<elseif ($activeSlave.anus < 2)>> $activeSlave.slaveName's tight anus and _partnerSlave.slaveName's little dick work well together; $activeSlave.slaveName can take it easily, and _partnerSlave.slaveName gets to fuck a hole that's tight, even for her. <</if>> <<elseif (_partnerSlave.dick > 1)>> a finger fuck, since her _activeSlaveRel is impotent. <<if ($activeSlave.anus > 2)>> Or rather, a fist fuck, since that's what it takes to satisfy her _activeSlaveRel's gaping hole. <<elseif ($activeSlave.anus > 1)>> _partnerSlave.slaveName is using three fingers to stretch her _activeSlaveRel's asshole. <<else>> _partnerSlave.slaveName is using two fingers to gently fuck her _activeSlaveRel's tight anus. <</if>> <<else>> a strap-on up the butt, doggy style. _partnerSlave.slaveName is using a <<if ($activeSlave.anus > 2)>> massive fake phallus to satisfy her _activeSlaveRel's gaping hole. <<elseif ($activeSlave.anus > 1)>> decent-sized fake phallus to stretch her _activeSlaveRel's asshole. <<else>> small fake phallus to gently fuck her _activeSlaveRel's tight anus. <</if>> <</if>> <<AnalVCheck>> <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<else>> Since $activeSlave.slaveName is an anal virgin, _partnerSlave.slaveName is rimming her _activeSlaveRel, who is clearly enjoying herself. <<set $activeSlave.oralCount++, _partnerSlave.oralCount++, $oralTotal += 2>> <</if>> <<case "cumslut">> sharing oral pleasure <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName is such an oral addict that she wants it all the time, and _partnerSlave.slaveName certainly doesn't mind all the loving oral attention. They're lying down to 69 comfortably, <<if (_partnerSlave.dick > 1) and canPenetrate(_partnerSlave)>> with $activeSlave.slaveName hungrily sucking her _activeSlaveRel's turgid cock. <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<elseif (_partnerSlave.dick > 1) and (_partnerSlave.anus > 0)>> with $activeSlave.slaveName hungrily sucking her _activeSlaveRel's limp cock. She has a finger up poor impotent _partnerSlave.slaveName's butt to stimulate her prostate so she can cum for her. <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<elseif (_partnerSlave.dick > 1)>> with $activeSlave.slaveName hungrily sucking her _activeSlaveRel's limp cock. She has a finger massaging poor impotent _partnerSlave.slaveName's perineum in the hope of stimulating her so she can cum for her. <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<else>> and $activeSlave.slaveName is sating her oral fixation for the moment by eagerly polishing _activeSlaveRel's pearl. <<set _partnerSlave.oralCount++, $oralTotal++>> <</if>> <<set $activeSlave.oralCount++, $oralTotal++>> <<case "submissive">> wrestling <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName is such a submissive that she wants it rough all the time, and _partnerSlave.slaveName does her best give her _activeSlaveRel the constant abuse she loves. $activeSlave.slaveName is down on her knees in front of _partnerSlave.slaveName, worshipping <<if (_partnerSlave.dick > 1) and canPenetrate(_partnerSlave)>> her cock <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<elseif (_partnerSlave.dick > 1)>> her asshole <<set _partnerSlave.oralCount++, $oralTotal++>> <<else>> her cunt <<set _partnerSlave.oralCount++, $oralTotal++>> <</if>> while _partnerSlave.slaveName rains light slaps and loving insults down on her bitch of a _activeSlaveRel. <<set $activeSlave.oralCount++, $oralTotal++>> <<case "dom">> wrestling <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName is so dominant with other slaves that she prefers to take what she wants, and _partnerSlave.slaveName does her best give her _activeSlaveRel the struggle fucking she loves. $activeSlave.slaveName is on top of _partnerSlave.slaveName getting oral, though it's more of a rough facefuck as $activeSlave.slaveName forces <<if ($activeSlave.dick > 1) and canPenetrate($activeSlave)>> her cock <<else>> a strap-on <</if>> down _partnerSlave.slaveName's throat. <<set _partnerSlave.oralCount++, $activeSlave.penetrativeCount++, $oralTotal++, $penetrativeTotal++>> <<case "sadist">> playing pain games <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName loves hurting other slaves, even her friends, and _partnerSlave.slaveName submits to her agonizing ministrations as often as $activeSlave.slaveName can cajole or force her into it. $activeSlave.slaveName has _partnerSlave.slaveName over her knee and is methodically tanning _partnerSlave.slaveName's $activeSlave.skin ass. <<case "masochist">> playing pain games <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName loves being hurt, so _partnerSlave.slaveName frequently indulges her with spanking, slapping, pinching, and more exotic forms of abuse. _partnerSlave.slaveName has $activeSlave.slaveName over her knee and is methodically tanning $activeSlave.slaveName's $activeSlave.skin ass. <<case "humiliation">> having open and visible sex <<if $activeSlave.livingRules is "luxurious">>in the doorway of the nice little room they share.<<else>>out in the hallway near the slave dormitory.<</if>> $activeSlave.slaveName pretends to hate fucking where other slaves can see her, but _partnerSlave.slaveName knows her _activeSlaveRel gets off on the mild humiliation. _partnerSlave.slaveName <<if ($activeSlave.vagina > 0) or ($activeSlave.anus > 0)>> has her back propped up against a doorframe and $activeSlave.slaveName in her lap, so she can blush at any passing slave as she shyly rides _partnerSlave.slaveName's <<if (_partnerSlave.dick > 1) and canPenetrate(_partnerSlave)>> cock <<else>> strap-on <</if>> <<if ($activeSlave.vagina > 0) and canDoVaginal($activeSlave) and (random(1,100) > 50)>> in her pussy. <<VaginalVCheck>> <<else>> up her ass. <<AnalVCheck>> <</if>> <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<else>> is giving $activeSlave.slaveName oral out in the open so she can blush and shiver as passing slaves see her climax. <<set $activeSlave.oralCount++, _partnerSlave.oralCount++, $oralTotal += 2>> <</if>> <<case "pregnancy">> having intimate sex <<if $activeSlave.livingRules == "luxurious">>in the nice little room they share.<<elseif ($activeSlave.ID is $HeadGirl.ID) and ($HGSuite is 1)>>in $activeSlave.ID's suite.<<else>>out in the open in the slave dormitory.<</if>> $activeSlave.slaveName's <<if $activeSlave.preg > 10 || $activeSlave.bellyImplant > 2000 || $activeSlave.inflation > 1>>middle is heavily rounded<<else>>desire to be bred is raging<</if>>, and _partnerSlave.slaveName does her best to keep her _activeSlaveRel satisfied. _partnerSlave.slaveName <<if ($activeSlave.vagina > 0) or ($activeSlave.anus > 0)>> <<if _partnerSlave.preg > 20 || _partnerSlave.bellyImplant > 4000>> is heavily pregnant herself, so she has $activeSlave.slaveName on her back so that she can penetrate her as best she can with her<<elseif _partnerSlave.preg > 10>> is pregnant herself, so she has $activeSlave.slaveName on her back so that she can penetrate her easier with her<<else>>has $activeSlave.slaveName on her back so that tease her belly as she fucks her with her<</if>> <<if (_partnerSlave.dick > 1) && canPenetrate(_partnerSlave)>> cock <<else>> strap-on <</if>> <<if ($activeSlave.vagina > 0) and canDoVaginal($activeSlave) and (random(1,100) > 50)>> in her <<if $activeSlave.preg > 10>>pregnant <</if>>pussy. <<VaginalVCheck>> <<else>> in her ass. <<AnalVCheck>> <</if>> <<set _partnerSlave.penetrativeCount++, $penetrativeTotal++>> <<else>> is giving $activeSlave.slaveName oral to try and sate her lust. <<set $activeSlave.oralCount++, _partnerSlave.oralCount++, $oralTotal += 2>> <</if>> <</switch>> <<elseif ($release is 1)>> just spooning in bed. Since $activeSlave.slaveName gets fucked at work, _partnerSlave.slaveName understands that what she really wants from her is emotional intimacy. They're cuddling quietly, offering each other silent comfort and companionship. <<elseif ($activeSlave.dick > 1) and canPenetrate($activeSlave) and (_partnerSlave.vagina > 0) and canDoVaginal(_partnerSlave) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> making love in the missionary position. _partnerSlave.slaveName has her legs wrapped around $activeSlave.slaveName's waist and her arms hugging her around the chest, and is looking deep into her eyes as she enjoys the wonderful feeling of her _activeSlaveRel's cock in her womanhood. <<set $activeSlave.penetrativeCount++, _partnerSlave.vaginalCount++, $vaginalTotal++, $penetrativeTotal++>> <<elseif ($activeSlave.clit > 2) and ($activeSlave.vaginalAccessory != "chastity belt") and (_partnerSlave.vagina > 0) and canDoVaginal(_partnerSlave) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> making love in the missionary position. _partnerSlave.slaveName has her legs wrapped around $activeSlave.slaveName's waist and her arms hugging her around the chest, and is looking deep into her eyes as she enjoys the wonderful feeling of her _activeSlaveRel's huge clit in her womanhood. <<set _partnerSlave.vaginalCount++, $activeSlave.penetrativeCount++, $vaginalTotal++, $penetrativeTotal++>> <<elseif ($activeSlave.dick > 1) and canPenetrate($activeSlave) and canDoAnal(_partnerSlave) and (_partnerSlave.anus > 0) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> having gentle anal sex while spooning. $activeSlave.slaveName is enjoying _partnerSlave.slaveName's ass, and is doing her best to ensure her _activeSlaveRel enjoys being buttfucked. She's nibbling her _activeSlaveRel's ears and neck, cupping a breast with one hand, and lightly stimulating her with the other. <<set _partnerSlave.analCount++, $activeSlave.penetrativeCount++, $analTotal++, $penetrativeTotal++>> <<elseif ($activeSlave.clit > 2) and canDoAnal(_partnerSlave) and (_partnerSlave.anus > 0) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> managing to have clitoral-anal sex. _partnerSlave.slaveName is facedown with her ass up, spreading her buttocks as wide as possible, giving her _activeSlaveRel the opportunity to squat over her and penetrate it with her huge, erect clit. $activeSlave.slaveName can't thrust much, but the shocking lewdness of the act is enough for both of them. <<set _partnerSlave.analCount++, $activeSlave.penetrativeCount++, $analTotal++, $penetrativeTotal++>> <<elseif ($activeSlave.dick > 1) and canPenetrate($activeSlave) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> spooning while $activeSlave.slaveName gently rubs her cock between _partnerSlave.slaveName's thighs, pressed tightly together. Since _partnerSlave.slaveName is a virgin, this is the closest they can come to penetrative intercourse, but $activeSlave.slaveName is enjoying _partnerSlave.slaveName's body anyway, and is doing her best to ensure her _activeSlaveRel enjoys herself. She's nibbling her _activeSlaveRel's ears and neck, cupping a breast with one hand, and lightly stimulating her with the other. <<set $activeSlave.penetrativeCount++, $penetrativeTotal++>> <<elseif ($activeSlave.clit > 2) and ($activeSlave.vaginalAccessory != "chastity belt") and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in the nice little room they share,<<else>>out in the open in the slave dormitory,<</if>> with _partnerSlave.slaveName down on her knees in front of $activeSlave.slaveName. From behind _partnerSlave.slaveName it looks like she's giving her _activeSlaveRel a conventional, if enthusiastic, blowjob. Only on closer inspection does it become clear how unusual the oral is: $activeSlave.slaveName has such a huge clit that her _activeSlaveRel can suck her off just like it were a penis. <<set _partnerSlave.oralCount++, $activeSlave.penetrativeCount++, $oralTotal++, $penetrativeTotal++>> <<elseif (_partnerSlave.vagina > 0) and canDoVaginal(_partnerSlave) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> making love in the missionary position. _partnerSlave.slaveName has her legs wrapped around $activeSlave.slaveName's waist and her arms hugging her around the chest, and is looking deep into her eyes as she enjoys the feeling of her _activeSlaveRel fucking her with a strap-on. <<set _partnerSlave.vaginalCount++, $activeSlave.penetrativeCount++, $vaginalTotal++, $penetrativeTotal++>> <<elseif (_partnerSlave.anus > 0) and (_partnerSlave.amp != 1) and ($activeSlave.amp != 1) and canDoAnal(_partnerSlave)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> having gentle anal sex while spooning. $activeSlave.slaveName is enjoying penetrating _partnerSlave.slaveName's ass with a strap-on, and is doing her best to ensure her _activeSlaveRel enjoys being buttfucked. She's nibbling her _activeSlaveRel's ears and neck, cupping a breast with one hand, and lightly stimulating her with the other. <<set _partnerSlave.analCount++, $activeSlave.penetrativeCount++, $analTotal++, $penetrativeTotal++>> <<elseif (_partnerSlave.amp != 1) and ($activeSlave.amp != 1)>> <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share,<<else>>out in the open on $activeSlave.slaveName's bedroll in the slave dormitory,<</if>> enjoying some mutual masturbation. <<elseif (_partnerSlave.amp is 1)>> just cuddling <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share.<<else>>on $activeSlave.slaveName's bedroll in the slave dormitory.<</if>> $activeSlave.slaveName is using _partnerSlave.slaveName's limbless torso as a pillow, which _partnerSlave.slaveName seems to be enjoying, by her contented expression. <<else>> just cuddling <<if $activeSlave.livingRules is "luxurious">>in bed in the nice little room they share.<<else>>on $activeSlave.slaveName's bedroll in the slave dormitory.<</if>> They're lying quietly, offering each other silent comfort and companionship. <</if>> <<elseif _seed is 2>> /* CUDDLE TIME */ <<if ($activeSlave.energy > 95) and (random(0,2) is 0)>> lying in bed together. _partnerSlave.slaveName has somehow managed to exhaust her _activeSlaveRel, and the sexually sated nympho is curled up with her head on _partnerSlave.slaveName's chest, snoring lightly. _partnerSlave.slaveName is smiling fondly at her. <<elseif (_partnerSlave.dick > 6) and ($activeSlave.amp != 1)>> sleeping in bed together. $activeSlave.slaveName is cuddled up close to _partnerSlave.slaveName, and is cradling her _activeSlaveRel's enormous, soft cock with one hand. <<elseif ($activeSlave.fetishKnown is 1)>> <<switch $activeSlave.fetish>> <<case "boobs">> sleeping in bed together. $activeSlave.slaveName is using _partnerSlave.slaveName's <<if _partnerSlave.boobs > 2000>>enormous breasts<<elseif _partnerSlave.boobs > 1000>>huge boobs<<elseif _partnerSlave.boobs > 300>>healthy tits<<else>>flat chest<</if>>, which she loves, as a pillow. <<case "buttslut">> sleeping in bed together. _partnerSlave.slaveName is sleeping face down so $activeSlave.slaveName can use her <<if _partnerSlave.butt > 5>>enormous posterior<<elseif _partnerSlave.butt > 2>>big butt<<elseif _partnerSlave.butt > 1>>trim behind<<else>>skinny ass<</if>>, which $activeSlave.slaveName loves, as a pillow. <<case "cumslut">> sleeping in bed together. $activeSlave.slaveName is spooning her _activeSlaveRel, her head nestled alongside _partnerSlave.slaveName's, her <<if $activeSlave.lips > 70>>enormous<<elseif $activeSlave.lips > 40>>pillowlike<<elseif $activeSlave.lips > 10>>plush<<else>>pretty<</if>> lips wet from kissing her to sleep. <<case "submissive" "masochist" "humiliation">> sleeping in bed together. $activeSlave.slaveName is being spooned by her _activeSlaveRel, smiling peacefully at being held. <<case "dom" "sadist">> sleeping in bed together. $activeSlave.slaveName is spooning her _activeSlaveRel possessively<<if $activeSlave.amp != 1>>, and even in her sleep, has a proprietary hand on _partnerSlave.slaveName's <<if _partnerSlave.balls > 0>>balls<<elseif _partnerSlave.balls > 0>>soft cock<<else>>pussy<</if>><</if>>. <<case "pregnancy">> sleeping in bed together. <<if bigBelly($activeSlave) && bigBelly(_activeSlaveRel)>> They are pressed as close as they can be with their rounded middles in the way. <<elseif bigBelly($activeSlave)>> $activeSlave.slaveName is spooning her _activeSlaveRel possessively, her rounded belly pushing into her back. <<elseif bigBelly(_activeSlaveRel)>> $activeSlave.slaveName is spooning her _activeSlaveRel possessively<<if $activeSlave.amp != 1>>, and even in her sleep, has a proprietary hand on _partnerSlave.slaveName's belly<</if>>. <<else>> $activeSlave.slaveName is being spooned by her _activeSlaveRel, smiling peacefully at being held. <</if>> <</switch>> <<elseif $activeSlave.height > _partnerSlave.height>> sleeping in bed together, with the taller $activeSlave.slaveName curled around her little _activeSlaveRel. <<elseif $activeSlave.amp is 1>> sleeping in bed together; _partnerSlave.slaveName is using her limbless _activeSlaveRel as a pillow. <<elseif _partnerSlave.amp != 1>> resting in bed together, holding hands in their sleep. <<else>> sleeping quietly in bed together. <</if>> <<else>> /* TOGETHER TIME */ <<if ($activeSlave.actualAge >= _partnerSlave.actualAge+10) and canTalk(_partnerSlave)>> tidying up their room together. _partnerSlave.slaveName is chattering about her day, while $activeSlave.slaveName listens quietly, smiling fondly at her _activeSlaveRel's prattle. <<elseif ($activeSlave.amp != 1) and (canTalk($activeSlave) == false)>> getting ready for bed. $activeSlave.slaveName is using gestures to tell her $activeSlave.slaveName about her day; _partnerSlave.slaveName is very patient and does her best to follow. <<elseif ($activeSlave.behavioralQuirk is "confident") and canTalk($activeSlave)>> finishing up a meal together. $activeSlave.slaveName is concluding a story, her clear confident voice ringing as she relates a slight. <<elseif ($activeSlave.behavioralQuirk is "cutting") and canTalk($activeSlave)>> seeing to their chores together. $activeSlave.slaveName is making biting remarks about another one of your other slaves, with which her _activeSlaveRel agrees tolerantly. <<elseif ($activeSlave.behavioralQuirk is "funny") and canTalk(_partnerSlave)>> seeing to their chores together. $activeSlave.slaveName has just produced some unintentional slapstick humor, and her _activeSlaveRel is giggling helplessly at her antics. <<elseif ($activeSlave.behavioralQuirk is "fitness")>> have just woken up. $activeSlave.slaveName is doing her morning crunches, and her _activeSlaveRel is sleepily sitting on her feet to help. <<elseif ($activeSlave.behavioralQuirk is "insecure") and canTalk(_partnerSlave)>> have just woken up. $activeSlave.slaveName is getting dressed when her _activeSlaveRel pays her a compliment; $activeSlave.slaveName blushes and gives _partnerSlave.slaveName a kiss. <<elseif ($activeSlave.behavioralQuirk is "sinful") and canTalk($activeSlave)>> have just woken up. $activeSlave.slaveName appears to be praying, but to go by her _activeSlaveRel's quiet mirth, she seems to be substituting in some lewd words. <<elseif ($activeSlave.behavioralQuirk is "advocate") and canTalk($activeSlave)>> starting a meal together. A third, less well trained slave has asked $activeSlave.slaveName an innocent question, and is getting enthusiastic slave dogma in return. Her _activeSlaveRel smiles tolerantly. <<elseif ($activeSlave.amp is 1) and (_partnerSlave.amp != 1)>> using some of their free time to watch the weather; _partnerSlave.slaveName carried her _activeSlaveRel to a window so she could look out with her. <<elseif ($activeSlave.amp != 1) and (_partnerSlave.amp is 1)>> using some of their free time to watch the weather; $activeSlave.slaveName carried her _activeSlaveRel to a window so she could look out with her. <<elseif $cockFeeder is 1>> taking in a meal together; they've chosen dispensers next to each other and are slurping away. <<elseif $suppository is 1>> taking their drugs together; they've chosen fuckmachines next to each other and are chatting quietly as they're sodomized. <<else>> eating a quiet meal together. <</if>> <</if>> /* CLOSE SEXY/CUDDLE/TOGETHER TIME */ <<if $slaves[_i].ID is _partnerSlave.ID>> <<set $slaves[_i] to _partnerSlave>> <<else>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].ID is _partnerSlave.ID>> <<set $slaves[_i] to _partnerSlave>> <<break>> <</if>> <</for>> <</if>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].ID is $activeSlave.ID>> <<set $slaves[_i] to $activeSlave>> <<break>> <</if>> <</for>> <<set $target to "FRelation", _partnerSlave to null>> <<elseif ($partner is "relationship") or ($partner is "relation")>> <<set _partnerSlave to null>> <<if ($partner is "relation")>> <<if $familyTesting == 1>> <<set _partnerSlave = $relation>> <<else>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].ID == $activeSlave.relationTarget>> <<set _partnerSlave to $slaves[_i]>> <<break>> <</if>> <</for>> <</if>> <<else>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $slaves[_i].ID == $activeSlave.relationshipTarget>> <<set _partnerSlave to $slaves[_i]>> <<if $activeSlave.relationship <= 1>> <<set _activeSlaveRel to "friend", _partnerRel to "friend">> <<elseif $activeSlave.relationship <= 2>> <<set _activeSlaveRel to "best friend", _partnerRel to "best friend">> <<elseif $activeSlave.relationship <= 3>> <<set _activeSlaveRel to "friend with benefits", _partnerRel to "friend with benefits">> <<elseif $activeSlave.relationship <= 4>> <<set _activeSlaveRel to "lover", _partnerRel to "lover">> <<elseif $activeSlave.relationship > 4>> <<set _activeSlaveRel to "slave wife", _partnerRel to "slave wife">> <</if>> <<break>> <</if>> <</for>> <</if>> <<if _partnerSlave is null>> <<goto "Main">> <</if>> Her <<if ($partner is "relation")>><<if $familyTesting == 1>>$relationType<<else>>_partnerSlave.relation<</if>><<else>>_activeSlaveRel<</if>> _partnerSlave.slaveName <<switch _partnerSlave.assignment>> <<case "stay confined">> is confined, but you have a fine view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feed from her cell. <<case "work independently">> is working from her apartment, but you have a fine view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "work in the brothel">> is working in the brothel, and is <<if (_seed > 80)>> riding a customer's dick. <<elseif (_seed > 60)>> sucking a customer's cock. <<elseif (_seed > 40)>> pleasuring a customer's cunt. <<elseif (_seed > 20)>> getting pounded by a woman wearing a strap-on. <<else>> being held down and buttfucked by a customer. You have a voyeuristic view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <</if>> You have a voyeuristic view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "serve the public">> is serving the public, and is <<if (_seed > 80)>> riding a citizen's dick. <<elseif (_seed > 60)>> sucking a citizen's cock. <<elseif (_seed > 40)>> pleasuring a citizen's cunt. <<elseif (_seed > 20)>> getting pounded by a citizen wearing a strap-on. <<else>> being held down and buttfucked by a citizen. <</if>> You have a voyeuristic view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "work in the dairy">> <<if ($dairyRestraintsSetting > 1)>> is strapped to a milking machine in $dairyName. <<elseif (_partnerSlave.lactation is 0) and (_partnerSlave.balls > 0)>> is working in $dairyName, and is having her cock milked. As you watch, her balls tighten as the phallus up her butt brings her closer to a copious ejaculation. <<elseif _seed > 50>> is working in $dairyName, having her tits milked. <<else>> is working in $dairyName, massaging her sore tits. <</if>> You have a good view of her <<if $seeRace is 1>>_partnerSlave.race body <</if>>on the feeds. <<case "serve in the club">> is working on the club, <<if _seed > 50>> displaying her <<if $seeRace is 1>>_partnerSlave.race <</if>>body, keeping citizens company, and flirting with anyone who shows interest. <<else>> or rather just off it, having taken a prominent citizen back to a discreet room <<if $seeRace is 1>> so he can use her _partnerSlave.race body<</if>>. <</if>> <<case "work as a servant">> <<if _seed > 50>> was scrubbing the penthouse floor, until another slave requested oral service. <<else>> is scrubbing the penthouse floor. <</if>> <<case "guard you">> is standing discreetly behind your left shoulder, watching for threats. She has a straight ceramic sword strapped to her back and a machine pistol at her hip. <<case "be the Madam">> is managing the brothel: she is making sure all the customers are satisfied and all the whores are working hard. <<case "be the Attendant">> is seeing to girls in the spa: she is gently soaping an exhausted slave. <<case "be the Stewardess">> is managing the house servants: she overseeing the laboring house slaves and punishing any that step out of line. <<case "be the DJ">> is taking the lead on the club: she greets new arrivals, flirts with them prettily, and subtly guides them towards choice sluts. <<case "be the Schoolteacher">> is teaching classes: she is leading the slave students in rote recitation. <<case "be the Milkmaid">> is working in the dairy, looking after your stock. <<default>> <<if (_partnerSlave.heels is 1) and (_partnerSlave.shoes != "flats") and (_partnerSlave.shoes != "none")>> walks past your desk with the tiny swaying steps she must take in order to walk on her surgically altered legs. She is on her way to <<elseif (_partnerSlave.shoes is "heels")>> walks past your desk with the swaying steps she must take in her high heels. She is on her way to <<elseif (_partnerSlave.shoes is "boots")>> walks past your desk with the confident gait encouraged by her high heeled boots. She is on her way to <<elseif (_partnerSlave.shoes is "extreme heels")>> walks past your desk with the tiny swaying steps she must take in her ridiculous heels. She is on her way to <<elseif (_partnerSlave.heels is 1)>> crawls past your desk on all fours, since she has not been allowed the heels she needs to walk upright. She is on her way to <<elseif (_partnerSlave.amp is 1)>> is carried past your desk by one of your other slaves. She is on her way to <<else>> walks past your desk on her way to <</if>> <<switch _partnerSlave.assignment>> <<case "whore">> <<if _seed > 50>> whore; <<else>> sell her <<if $seeRace is 1>>_partnerSlave.race <</if>>body; <</if>> <<case "serve the public">> <<if _seed > 50>> serve the public; <<else>> be a public slut; <</if>> <<case "rest">> <<if _seed > 50>> eat; <<else>> bed; <</if>> <<case "get milked">> <<if _seed > 50>> milk her overfull <<if $seeRace is 1>>_partnerSlave.race <</if>>tits; <<else>> drain her milky <<if $seeRace is 1>>_partnerSlave.race <</if>>udders; <</if>> <<case "please you">> sit next to you and wait for <<if _seed > 50>> you to fuck her; <<else>> her Master to use her<<if $seeRace is 1>> _partnerSlave.race body<</if>>; <</if>> <<case "be a subordinate slave">> service your other slaves; <<case "be a servant">> clean up after your other slaves; <<case "be your Head Girl">> oversee your other slaves; <<case "be your Recruiter">> use her connections to recruit slaves; <</switch>> <<if (_partnerSlave.amp is 1)>> she is carried by on her way to her next task. <<elseif _partnerSlave.fetish is "mindbroken">> she does not even glance at you as she goes mindlessly to her next task. <<elseif _partnerSlave.devotion < -50>> she directs a look of pure hatred at where you sit as she passes. <<elseif _partnerSlave.devotion < -20>> she cannot keep the loathing from her face as she passes. <<elseif _partnerSlave.devotion <= 20>> she passes quickly, obviously hoping to avoid you. <<elseif _partnerSlave.devotion <= 50>> she rushes by, hurrying to her next task. <<else>> as she passes she gives you a look of adoration. <</if>> <</switch>> <<set $target to "FRelation", _partnerSlave to null>> <<elseif (_seed > 80) && ($activeSlave.fuckdoll == 0)>> <<BoobsDescription>> <<switch $activeSlave.clothes>> <<case "uncomfortable straps">> The strap over her tits presses the soft flesh, and the ring around each nipple forces them to stick out. <<case "shibari ropes">> The ropes binding her chest dig into the soft flesh as she moves. <<case "attractive lingerie for a pregnant women">> Her silken bra causes her breasts to bulge around them. <<case "a maternity dress">> Her low cut dress shows ample cleavage and is made to be easy to pull down. <<case "restrictive latex">> Her tits stick out through her latex outfit. <<case "attractive lingerie">> Her pretty white lace bra has thoughtful cuts that tastefully let her nipples stick through. <<case "a succubus outfit">> Her succubus outfit presents this sex demon's breasts, inviting a damning fondle. <<case "a slutty maid outfit">> Her maid outfit covers her breasts with a thin white blouse designed to be easy to pull down. <<case "a nice maid outfit">> Her maid outfit covers her breasts demurely, offering the diverting task of pulling it off her. <<case "a string bikini">> Her string bikini covers only her nipples, leaving the remainder of her breasts naked. <<case "clubslut netting">> As she moves, the weave of the netting over her chest slips back and forth across her nipples. <<case "a cheerleader outfit">> As she moves, her chest threatens to fall out of her cheerleader top. <<case "cutoffs and a t-shirt">> Her tits are bare under her t-shirt, so movement gives delicious hints of their motion. <<case "a slutty outfit">> <<if (random(1,100) > 50)>> For today's slutty outfit she's chosen a handkerchief top that occasionally comes untied and spills her breasts out naked. <<else>> For today's slutty outfit she's chosen a halter top cut so low that her breasts occasionally pop out. <</if>> <<case "a slave gown">> Her gorgeous dress has thoughtful cuts that tastefully bares her breasts. <<case "slutty business attire">> Her suit jacket and blouse are low enough to show off a lot of boob. <<case "nice business attire">> Her suit jacket and blouse are businesslike, but they could be removed easily enough. <<case "a halter top dress">> Her beautiful halter top dress almost seems to be sculpted around her body. <<case "a ball gown">> Her fabulous silken ball gown is tailored to accentuate the shape of her breasts. <<case "a slutty nurse outfit">> Her jacket presents her breasts to be ogled. <<case "a schoolgirl outfit">> Her blouse lewdly displays her breasts. <<case "a kimono">> <<case "a hijab and abaya">> <<case "battledress">> Her tank top and sports bra support rather than flatter her breasts. <<case "a fallen nuns habit">> Her slutty nun outfit leaves her tits sinfully bare. <<case "a chattel habit">> Her chattel habit leaves her tits virtuously bare. <<case "a penitent nuns habit">> Her habit chafes her nipples so harshly that it would probably be a relief to her to have it stripped off her. <<case "a comfortable bodysuit">> Her bodysuit is tight enough to show off every contour of her chest. <<case "a latex catsuit">> Her latex catsuit is tight enough to show off every contour of her chest. <<case "a military uniform">> Her uniform tunic and shirt are formal, but they could be removed easily enough. <<case "a nice nurse outfit">> Her nurse's outfit is functional, but they could be removed easily enough. <<case "a mini dress">> Her mini dress is tight enough to show off every contour of her chest. <<case "a leotard">> Her leotard is tight enough that it not only hugs her breasts, but shows off her nipples. <<case "a bunny outfit">> Her strapless corset teddy presents her boobs while still managing to look a bit classy. <<case "harem gauze">> Her breasts are clearly visible through the thin gauze that covers them. <<case "slutty jewelry">> The light chain under her breasts accentuates their natural movement. <<default>> <<if ($activeSlave.vaginalAccessory is "chastity belt")>> Since she's wearing nothing but a chastity belt, her breasts are delightfully naked. <<else>> Her naked breasts catch your eye. <</if>> <</switch>> <<set $target to "FBoobs">> <<elseif (_seed > 60)>> <<ButtDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its rear hole. <<case "uncomfortable straps">> A strap passes between her <<if ($activeSlave.amp != 1 )>> legs, giving her gait an awkward sway. <<else>> leg stumps, pressing against her genitals. <</if>> <<case "shibari ropes">> <<if ($activeSlave.amp != 1 )>> Ropes bind her legs, giving her gait an awkward sway. <<else>> A rope passes between her leg stumps, pressing against her genitals. <</if>> <<case "attractive lingerie for a pregnant woman">> As she moves, her silken panties are very inviting. <<case "a maternity dress">> Her dress covers her legs, but it will lift easily enough. <<case "restrictive latex">> As some of the only islands in the sea of black latex, her holes are eyecatching. <<case "a fallen nuns habit">> Her slutty nun outfit invites sin. <<case "a chattel habit">> Her chattel habit is designed for sex without being removed. <<case "a penitent nuns habit">> Her habit chafes her so cruelly that it would probably be a relief to her to have it pulled off, even if she's roughly fucked afterward. <<case "attractive lingerie">> As she moves, her pretty white garter belt holds her stockings high up on her thighs. <<case "a succubus outfit">> Her succubus outfit's tail holds her skirt up high in back, inviting a damning fuck. <<case "a slutty maid outfit">> Her maid's skirt is cut extremely short, so that the slightest movement reveals a glimpse of her ass. <<case "a nice maid outfit">> Her maid's skirt is cut conservatively, but it will lift easily enough. <<case "a string bikini">> As she moves, her string lingerie leaves the entire line of her hips naked and enticing. <<case "clubslut netting">> As she moves, her clubslut netting moves with her, leaving nothing to the imagination. <<case "a cheerleader outfit">> As she moves, her pleated cheerleader bounces up and down flirtily. <<case "cutoffs and a t-shirt">> As she moves, her cutoffs hug her butt. <<case "a slutty outfit">> For today's slutty outfit she's chosen <<if (random(1,100) > 50) and ($activeSlave.amp != 1)>> yoga pants so sheer that everything she's got is clearly visible. <<elseif ($activeSlave.dick > 0)>> a miniskirt so brief that her ass is hanging out the back, and her dick is occasionally visible from the front. <<else>> a miniskirt so brief that her ass is hanging out the back, and her naked cunt is occasionally visible from the front. <</if>> <<case "a slave gown">> <<if ($activeSlave.amp is 1)>> Her gorgeous dress is specially designed for her limbless form, but without legs to support it it can hardly conceal the outline of everything she has. <<else>> Her gorgeous dress has a thoughtful cut that runs all the way from her ankle to over her hip, baring a leg all the way up. <</if>> <<case "a halter top dress">> Her beautiful halter top dress seems to be sculpted around her bottom. <<case "a ball gown">> Her fabulous silken ball gown is tailored to fit her and accentuates the shape of her butt. <<case "a slutty nurse outfit">> Her tight skirt flatters her ass. <<case "a schoolgirl outfit">> <<if $activeSlave.anus is 0>> This schoolgirl clearly needs to lose her anal virginity. <<elseif $activeSlave.vagina is 0>> This schoolgirl clearly takes it up the ass; that way, she can remain a virgin, and be, like, totally pure and innocent. <<else>> This schoolgirl clearly takes it up the ass. <</if>> <<case "a kimono">> <<if ($activeSlave.butt > 5)>> Her kimono demurely covers her behind, though it cannot conceal its massive shape. <<else>> Her kimono demurely covers her behind. <</if>> <<case "a hijab and abaya">> <<if ($activeSlave.butt > 5>> Her abaya totally covers her behind, though it cannot conceal its massive shape. <<else>> Her abaya totally conceals her behind. <</if>> <<case "battledress">> Her fatigue trousers are not particularly flattering to her butt. <<case "nice business attire">> Her attractive skirt is nevertheless tight enough to show off her derriere. <<case "slutty business attire">> Her skirt is so short it'll barely be necessary to lift it. <<case "a comfortable bodysuit">> Her bodysuit displays the curves of her butt. <<case "a latex catsuit">> Her latex catsuit displays the curves of her butt. <<case "a military uniform">> Her uniform skirt is nevertheless tight enough to show off her derriere. <<case "a nice nurse outfit">> Her nurse's trousers demurely cover her behind. <<case "a mini dress">> Her mini dress displays the curves of her butt. <<case "a leotard">> Her leotard leaves her buttocks gloriously bare. <<case "a bunny outfit">> Her teddy covers her rear, but in tight satin that flatters its curves. <<case "harem gauze">> Her hips are clearly visible through the thin gauze that covers it. <<case "slutty jewelry">> Her belt of light chain accentuates her hips. <<default>> <<if ($activeSlave.vaginalAccessory is "chastity belt")>> Her chastity belt protects her from vanilla intercourse. <<else>> You run your eye over her naked hips. <</if>> <</switch>> <<set $target to "FButt">> <<elseif (_seed > 40)>> <<if $activeSlave.inflation == 0>> <<if $activeSlave.bellyImplant < 2000>> <<if (($activeSlave.preg > 30) && ($activeSlave.pregType >= 20))>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "a very tight corset">> Her corset struggles to contain her enormous belly. <<case "chains">> Her enormous belly bulges in between her tight chains. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her enormous belly bulges around them. <<case "shibari ropes">> Her enormous belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her enormous belly makes her look like a giant balloon under the tight latex, her popped navel breaks the smoothness. <<case "a nice nurse outfit">> She's decided to become the maternity ward, judging by the enormous squirming pregnant belly she sports. <<case "a maternity dress">> Her tight dress is strained by her enormous belly. <<case "a nice maid outfit">> Her enormous belly is covered only by an apron. <<case "a penitent nuns habit">> Her enormous belly strains her habit, it looks absolutely sinful. <<case "a ball gown">> Your gaze is drawn to her enormous squirming pregnant belly by her striking silken ball gown. <<case "harem gauze">> Her silken garb and enormous pregnant belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her enormous belly lewdly fills her bodysuit. You swear you can see her babies kicking underneath the form fitting material. <<case "a schoolgirl outfit">> The school blimp is waddling by. <<case "a hijab and abaya">> Her enormous belly pushes out her abaya. <<case "a leotard">> Her enormous belly lewdly stretches her leotard. You swear you can see her babies kicking under the material. <<default>> Her bare enormous squirming pregnant belly catches your eye. <</switch>> <<elseif ((($activeSlave.preg > 20) && ($activeSlave.pregType >= 20)) || (($activeSlave.preg > 30) && ($activeSlave.pregType >= 10)))>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "a very tight corset">> Her corset struggles to contain her giant belly. <<case "chains">> Her giant belly bulges in between her tight chains. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her giant belly bulges around them. <<case "shibari ropes">> Her giant belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her giant belly makes her look like a balloon under the tight latex, her popped navel breaks the smoothness. <<case "a nice nurse outfit">> Her giant belly makes her resemble a maternity ward patient rather than a nurse. <<case "attractive lingerie for a pregnant woman">> Her giant belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is completely filled by her giant belly. <<case "a nice maid outfit">> Her maid outfit struggles to contain her giant belly, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her giant belly fills her habit, it looks absolutely sinful. <<case "a halter top dress">> Her giant belly fills her halter top dress, it struggles to contain her belly. <<case "a ball gown">> Your gaze is drawn to her giant pregnant belly by her struggling fabulous silken ball gown. <<case "harem gauze">> Her silken garb and giant pregnant belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her giant belly lewdly fills her bodysuit. You swear you can see her babies kicking underneath the form fitting material. <<case "a schoolgirl outfit">> The school bicycle is waddling by. <<case "a hijab and abaya">> Her giant belly fills her abaya. <<case "a leotard">> Her giant belly lewdly stretches her leotard. You swear you can see her babies kicking under the material. <<default>> Her bare giant pregnant belly catches your eye. <</switch>> <<elseif ((($activeSlave.preg > 10) && ($activeSlave.pregType >= 20)) || (($activeSlave.preg > 20) && ($activeSlave.pregType >= 10)) || ($activeSlave.preg > 30) || ($activeSlave.bellyAccessory is "a huge empathy belly") || ($activeSlave.bellyAccessory is "a large empathy belly"))>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> Her taut blouse shows off her huge belly. <<case "attractive lingerie for a pregnant woman">> Her huge belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is completely filled by her huge belly. <<case "chains">> Her huge belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her huge belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her huge belly bulges around them. <<case "shibari ropes">> Her huge belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her huge belly looks like a large beach ball under her tight latex, her popped navel breaks the smoothness. <<case "a military uniform">> Her huge belly threatens to pop the buttons off her tunic. <<case "a nice nurse outfit">> Her huge belly strains against her scrub top, making her resemble more a maternity ward patient than a nurse. <<case "a mini dress">> Her huge belly threatens to tear apart her mini dress. <<case "a slutty maid outfit">> Her huge belly is partially covered by a thin white blouse. <<case "a nice maid outfit">> Her huge belly threatens to tear her maid outfit open, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her huge belly bulges her habit, it looks absolutely sinful. <<case "clubslut netting">> Her huge belly threatens to tear apart her clubslut netting. <<case "a cheerleader outfit">> Her huge belly is partly covered by her cheerleader's top. <<case "a halter top dress">> Her huge belly fills out her halter top dress, the seams straining to contain it. <<case "a ball gown">> Your gaze is drawn to her huge pregnant belly by her fabulous silken ball gown. <<case "a slave gown">> Her huge belly is gently caressed by her gown. <<case "nice business attire">> Her huge belly threatens to pop the buttons off her jacket. <<case "harem gauze">> Her silken garb and huge pregnant belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her huge belly lewdly fills her bodysuit. <<if ($activeSlave.bellyAccessory != "a huge empathy belly") && ($activeSlave.bellyAccessory != "a large empathy belly")>>You swear you can see her babies kicking underneath the form fitting material.<</if>> <<case "a schoolgirl outfit">> Her huge belly is only partly covered by her blouse. <<case "a kimono">> Her kimono demurely covers the sides of her huge belly. <<case "a hijab and abaya">> Her huge belly tents her abaya. <<case "a leotard">> Her huge belly lewdly stretches her leotard. <<if ($activeSlave.bellyAccessory != "a huge empathy belly") && ($activeSlave.bellyAccessory != "a large empathy belly")>>You swear you can see her babies kicking underneath the form fitting material.<</if>> <<case "a chattel habit">> Her huge belly shoves the strip of cloth on her front to her side. <<case "a bunny outfit">> Her huge belly is threatening to tear her teddy, the seams along the side are already splitting. <<default>> Her bare huge pregnant belly catches your eye. <</switch>> <<elseif ((($activeSlave.preg > 0) && ($activeSlave.pregType >= 20)) || (($activeSlave.preg > 10) && ($activeSlave.pregType >= 10)) || ($activeSlave.preg > 20) || ($activeSlave.bellyAccessory is "a medium empathy belly"))>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> Her taut blouse shows off her big belly. <<case "attractive lingerie for a pregnant woman">> Her big belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is filled out by her big belly. <<case "chains">> Her big belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her big belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her big belly bulges around them. <<case "shibari ropes">> Her big belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her big belly looks like a beach ball under her tight latex, her popped navel breaks the smoothness. <<case "a military uniform">> Her big belly strains the buttons on her jacket. <<case "a nice nurse outfit">> Her large belly strains against her scrub top, making her resemble more a maternity ward patient than a nurse. <<case "a mini dress">> Her large belly strains against her mini dress. <<case "a slutty maid outfit">> Her big belly is partially covered by a thin white blouse. <<case "a nice maid outfit">> Her big belly strains her maid outfit, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her big belly bulges her habit, it looks absolutely sinful. <<case "clubslut netting">> Her big belly strains her clubslut netting. <<case "a cheerleader outfit">> Her big belly is partly covered by her cheerleader's top. <<case "a halter top dress">> Her big belly fills out her halter top dress. <<case "a ball gown">> Your gaze is drawn to her big pregnant belly by her fabulous silken ball gown. <<case "a slave gown">> Her big belly is gently caressed by her gown. <<case "nice business attire">> Her big belly strains the buttons on her jacket. <<case "harem gauze">> Her silken garb and big pregnant belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her big belly fills her bodysuit. <<if ($activeSlave.bellyAccessory != "a medium empathy belly")>>You swear you can see her babies kicking underneath the form fitting material.<</if>> <<case "a schoolgirl outfit">> Her big belly is only partly covered by her blouse. <<case "a kimono">> Her kimono demurely covers her big belly. <<case "a hijab and abaya">> Her big belly tents her abaya. <<case "a leotard">> Her big belly stretches her leotard. <<if ($activeSlave.bellyAccessory != "a medium empathy belly")>>You swear you can see her babies kicking underneath the form fitting material.<</if>> <<case "a chattel habit">> Her big belly shoves the strip of cloth on her front to her side. <<case "a bunny outfit">> Her big belly is strains her teddy, the seams along the side are showing signs of wear. <<default>> Her bare pregnant belly catches your eye. <</switch>> <<elseif $activeSlave.weight >= 95>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her taut blouse shows every jiggle in her fat gut as she moves. <<case "attractive lingerie for a pregnant woman">> Her fat gut is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is filled out by her fat gut. <<case "chains">> Her fat gut jiggles lewdly between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop, and jiggles with, her fat gut as she moves. <<case "uncomfortable straps">> Her fat gut jiggles lewdly between her tight straps. <<case "shibari ropes">> Her fat gut jiggles lewdly between the binding ropes. <<case "restrictive latex" "a latex catsuit">> Her fat gut barely has any room to move under her tight latex. <<case "a military uniform">> The buttons on her staining jacket can barely hold back her fat, jiggling gut. <<case "a nice nurse outfit">> Her scrub top jiggles along with her fat gut as she moves. <<case "a mini dress">> Her stretched minidress shows every jiggle in her fat gut as she moves. <<case "a slutty maid outfit">> Her fat gut is partially covered by a thin white blouse, that happily jiggles along with every motion. <<case "a nice maid outfit">> As she moves, a slight jiggle can be seen within her maid's dress. <<case "a penitent nuns habit">> Her habit does nothing to stop her fat gut from jiggling against the coarse cloth as she moves. <<case "clubslut netting">> Her clubslut netting jiggles lewdly along with her fat gut as she moves. <<case "a cheerleader outfit">> Her fat gut is partially covered by her cheerleader's top, which happily jiggles along with every motion. <<case "a halter top dress">> Her stretched halter top dress shows every jiggle in her fat gut as she moves. <<case "a ball gown">> Your gaze is drawn to her fat gut by her fabulous silken ball gown. <<case "a slave gown">> Her fat, jiggly gut is gently caressed by her gown. <<case "nice business attire">> Slight jiggling from her fat gut can be seen under her jacket. <<case "harem gauze">> Her silken garb and fat, jiggly gut makes her look like a belly dancer. <<case "a comfortable bodysuit">> The taut material of her bodysuit shows every jiggle in her fat gut as she moves. <<case "a schoolgirl outfit">> Her fat gut is partially covered by her blouse, which happily jiggles along with every motion. <<case "a kimono">> Slight jiggling can be seen through her kimono whenever she moves. <<case "a hijab and abaya">> Slight jiggling can be seen through her abaya whenever she moves. <<case "a leotard">> The taut material of her leotard shows every jiggle in her fat gut as she moves. <<case "a chattel habit">> Her fat gut jiggles around the strip of cloth down her front as she moves. <<case "a bunny outfit">> She is a sight in her bunny outfit. The front of her fat gut is held still be her teddy, but everything else of it jiggles obscenely with her every motion. <<default>> Her bare, jiggling, fat gut catches your eye. <</switch>> <<elseif ((($activeSlave.preg > 0) && ($activeSlave.pregType >= 10)) || ($activeSlave.preg > 10) || ($activeSlave.bellyAccessory is "a small empathy belly"))>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her blouse bulges with her growing belly. <<case "chains">> Her growing belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her growing belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her growing belly bulges around them. <<case "shibari ropes">> Her growing belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her growing belly bulges beneath her tight latex. <<case "a military uniform">> Her growing belly bulges her uniform tunic. <<case "a nice nurse outfit">> Her growing belly is clearly visible through her scrub top. <<case "a mini dress">> Her growing belly bulges her tight mini dress. <<case "a slutty maid outfit">> Her growing belly bulges her thin white blouse. <<case "a nice maid outfit">> Her growing belly is concealed by her maid outfit. <<case "a penitent nuns habit">> Her growing belly bulges her habit. <<case "attractive lingerie for a pregnant woman">> Her growing belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress conceals her growing belly. <<case "clubslut netting">> Her growing belly fills out her clubslut netting. <<case "a cheerleader outfit">> Her growing belly peeks out from under her cheerleader's top. <<case "a halter top dress">> Her growing belly bulges her halter top dress. <<case "a ball gown">> Your gaze is drawn to her growing pregnant belly by her fabulous silken ball gown. <<case "a slave gown">> Her growing belly is gently caressed by her gown. <<case "nice business attire">> Her growing belly bulges her suit jacket. <<case "harem gauze">> Her silken garb and growing pregnant belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her growing belly fills her bodysuit. <<case "a schoolgirl outfit">> Her growing belly peeks out from under her blouse. <<case "a kimono">> Her kimono demurely covers her growing belly. <<case "a hijab and abaya">> Her growing belly gently tents her abaya. <<case "a leotard">> Her growing belly fills her leotard. <<case "a chattel habit">> Her growing belly shows under the strip of cloth on her front. <<case "a bunny outfit">> Her growing belly is fills her teddy. <<default>> Her barely visible pregnancy catches your eye. <</switch>> <<else>> <<BellyDescription>> <<if $activeSlave.weight >= 30>> Slight jiggling can be seen in her chubby belly as she moves. <</if>> <<VaginaDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "uncomfortable straps">> <<if ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> A strap passes between her legs, and the big ring over her hermaphroditic genitalia gleams from between them. <<elseif ($activeSlave.dick != 0)>> A strap passes between her legs, and the ring around the base of her cock gleams from between them. <<else>> A strap passes between her legs, and the ring over her pussy gleams from between them. <</if>> <<case "shibari ropes">> Her ropes run tightly between her legs, pressing her closely as she moves. <<case "restrictive latex">> <<if ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her cock and pussy stick out through a big hole in the latex. <<elseif ($activeSlave.dick != 0)>> Her cock sticks out through a hole in the latex. <<else>> As one of the only islands in the sea of black latex, her pussy is eyecatching. <</if>> <<case "attractive lingerie for a pregnant woman">> <<if ($activeSlave.dick > 4) and ($activeSlave.balls > 3)>> As she moves, her pretty white panties totally fail to restrain her huge cock and balls, which bounce around lewdly in mockery of her lovely appearance. <<elseif $activeSlave.dick > 4>> As she moves, her pretty white panties totally fail to restrain her huge penis, which flops around lewdly in mockery of her lovely appearance. <<elseif $activeSlave.dick != 0>> As she moves, her pretty white panties struggle to restrain her penis. <<else>> As she moves, her pretty white panties daintily cover her womanhood. <</if>> <<case "a maternity dress">> <<if $activeSlave.dick > 2>> As she moves, something occasionally tents the front of her dress. <<else>> Her loose dress gives no hints to what's inside it. <</if>> <<case "attractive lingerie">> <<if ($activeSlave.dick > 4) and ($activeSlave.balls > 3)>> As she moves, her pretty white g-string totally fails to restrain her huge cock and balls, which bounce around lewdly in mockery of her lovely appearance. <<elseif ($activeSlave.dick > 4)>> As she moves, her pretty white g-string totally fails to restrain her huge penis, which flops around lewdly in mockery of her lovely appearance. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> As she moves, her pretty white g-string struggles to restrain her hermaphroditic genitalia. <<elseif ($activeSlave.dick != 0)>> As she moves, her pretty white g-string struggles to restrain her penis. <<else>> As she moves, her pretty white g-string daintily covers her womanhood. <</if>> <<case "a slutty maid outfit">> <<if ($activeSlave.dick > 4) and ($activeSlave.balls > 3)>> Her apron is cut very short in front. Her cock and balls are so big that she hangs out beyond the hem of her apron. <<elseif ($activeSlave.dick > 4)>> Her apron is cut very short in front. Her dick is so big that its lower half dangles out of her clothing. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her apron is cut very short in front, revealing frequent glimpses of her dangling cock, and occasional hints of something more. <<elseif ($activeSlave.dick != 0)>> Her apron is cut very short in front, revealing frequent glimpses of her dangling cock. <<else>> Her apron is cut very short in front, revealing occasional glimpses of her womanhood. <</if>> <<case "a nice maid outfit">> <<if ($activeSlave.dick > 4)>> As she moves, something massive bulges against the front of her apron. <<elseif ($activeSlave.dick > 1)>> As she moves, something presses against the front of her apron. <<else>> Her apron gives no hint of what's behind it. <</if>> <<case "a string bikini">> <<if ($activeSlave.dick > 4) and ($activeSlave.vagina != -1)>> As she moves, her g-string totally fails to restrain her hermaphroditic genitalia. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> As she moves, her g-string struggles to restrain her hermaphroditic genitalia. <<elseif ($activeSlave.dick > 4) and ($activeSlave.balls > 3)>> As she moves, her g-string totally fails to restrain her huge penis, and occasionally gives her huge scrotum a painful pinch. <<elseif ($activeSlave.dick > 4)>> As she moves, her g-string totally fails to restrain her huge penis. <<elseif ($activeSlave.dick != 0)>> As she moves, her pretty white g-string struggles to restrain her penis, which adds to her sluttiness as it escapes. <<else>> As she moves, her g-string rides up between her pussylips. <</if>> <<case "clubslut netting">> <<if ($activeSlave.dick != 0)>> As she moves, her bare cock flops around, sticking through its hole in her netting. <<else>> As she moves, her bare pussy beckons from its hole in her netting. <</if>> <<case "a cheerleader outfit">> <<if ($activeSlave.dick != 0)>> As she moves, her short pleated cheerleader skirt is bounced forward by something between her legs. <<else>> As she moves, her short pleated cheerleader skirt shows off her butt. <</if>> <<case "cutoffs and a t-shirt">> <<if ($activeSlave.dick > 4) and ($activeSlave.balls > 3)>> There's a huge bulge in the front of her cutoffs. <<elseif ($activeSlave.dick > 1)>> There's a bulge in the front of her cutoffs. <<else>> Her cutoffs conceal her front enticingly. <</if>> <<case "a slutty outfit">> <<if ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> For today's slutty outfit she's chosen ripped jean shorts whose holes tantalizingly hint that she's very unusual between the legs. <<elseif ($activeSlave.dick > 2)>> For today's slutty outfit she's chosen ripped jean shorts so brief that her huge dick occasionally escapes and flops free. <<elseif ($activeSlave.dick != 0)>> For today's slutty outfit she's chosen ripped jean shorts whose holes tantalizingly hint that she's got something other than a pussy between her legs. <<else>> For today's slutty outfit she's chosen ripped jean shorts so tight that she sports a raging cameltoe. <</if>> <<case "a slave gown">> <<if ($activeSlave.amp == 1) and ($activeSlave.vagina != -1)>> She's wearing a lovely 'dress' designed specifically for an amputee. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her gorgeous dress leaves little to the imagination; there's little doubt her pussy is bare beneath it, and her cock tents the fabric as she moves. <<elseif ($activeSlave.dick != 0)>> Her gorgeous dress leaves little to the imagination; her cock tents the fabric as she moves. <<else>> Her gorgeous dress leaves little to the imagination; there's little doubt her pussy is bare beneath it. <</if>> <<case "a halter top dress">> <<if ($activeSlave.amp == 1) and ($activeSlave.vagina != -1)>> She's wearing a 'beautiful halter top dress' designed specifically for an amputee. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her beautiful halter top dress is almost sculpted around her, but her cock tents the fabric as she moves. <<elseif ($activeSlave.dick != 0)>> Her beautiful halter top dress is almost sculpted around her; but her cock tents the fabric as she moves. <<else>> Her beautiful halter top dress is almost sculpted around her. <</if>> <<case "a ball gown">> <<if ($activeSlave.amp == 1) and ($activeSlave.vagina != -1)>> She's wearing a 'fabulous silken ball gown' designed specifically for an amputee. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her fabulous silken ball gown is draped around her, but her cock tents the fabric as she moves. <<elseif ($activeSlave.dick != 0)>> Her fabulous silken ball gown is draped around her; but her cock tents the fabric as she moves. <<else>> Her fabulous silken ball gown is draped around her. <</if>> <<case "slutty business attire">> <<if ($activeSlave.dick > 4)>> As she moves, something massive tents the front of her short skirt. <<elseif ($activeSlave.dick > 1)>> As she moves, something presses against the front of her short skirt. <<else>> Her short skirt gives no hint of what's behind it. <</if>> <<case "a fallen nuns habit">> <<if ($activeSlave.dick > 0)>> Her slutty nun outfit leaves her cock to swing sacrilegiously. <<else>> Her slutty nun outfit leaves her pussy totally and sacrilegiously bare. <</if>> <<case "a chattel habit">> Her chattel habit makes her sexual status immediately and encouragingly obvious. <<case "a penitent nuns habit">> <<if ($activeSlave.dick > 0)>> She moves with painful caution, desperately trying to keep her coarse habit from chafing her dick raw. <<else>> She moves with painful caution, desperately trying to keep her coarse habit from chafing her pussy raw. <</if>> <<case "nice business attire">> <<if ($activeSlave.dick > 4)>> As she moves, something massive tents the front of her skirt. <<elseif ($activeSlave.dick > 1)>> As she moves, something presses against the front of her skirt. <<else>> Unusually, her businesslike skirt gives no hint of what's behind it. <</if>> <<case "a slutty nurse outfit">> Her tight skirt constantly threatens to ride up in front. <<case "a schoolgirl outfit">> Her schoolgirl skirt is so short that it constantly threatens to ride up in front. <<case "a kimono">> Her obi demurely covers her front. <<case "a hijab and abaya">> Her abaya billows somewhat as she moves. <<case "battledress">> Her fatigue trousers are utilitarian and unflattering. <<case "a comfortable bodysuit">> <<if ($activeSlave.dick != 0)>> Her bodysuit displays every inch of her member as she moves. <<else>> Her bodysuit shows off her womanhood as she moves. <</if>> <<case "a leotard">> <<if ($activeSlave.dick > 0) and canAchieveErection($activeSlave)>> She's got her erection tucked vertically upward under the tight material of her leotard. <<elseif ($activeSlave.dick > 0)>> The tight material of her leotard hugs and minimizes the size of her soft member as she moves. <<else>> The thin crotch piece of her leotard occasionally threatens to ride up between her pussylips as she moves. <</if>> <<case "a bunny outfit">> <<if ($activeSlave.dick > 0) and canAchieveErection($activeSlave)>> She's moving uncomfortably, as though her teddy isn't tailored quite perfectly for what she's got going on in front. <<elseif ($activeSlave.dick > 0)>> Her teddy is tailored well enough to minimize the fact that she isn't a natural woman. <<else>> As she moves, the satin material of her bunny outfit flashes just a hint of inviting pussy. <</if>> <<case "harem gauze">> <<if ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her hermaphroditic genitals are clearly visible through the thin gauze that covers them. <<elseif ($activeSlave.dick != 0)>> Her dick is clearly visible through the thin gauze that covers it. <<else>> Her pussy is clearly visible through the thin gauze that covers it. <</if>> <<case "slutty jewelry">> <<if ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> Her belt of light chain has a lewd bauble over her stomach; its weight pulls it down towards her hermaphroditic genitalia with each step. <<elseif ($activeSlave.dick != 0)>> Her belt of light chain has a lewd bauble over her stomach; its weight pulls it down towards the base of her penis with each step. <<else>> Her belt of light chain has a lewd bauble over her stomach; its weight pulls it down towards her mons with each step. <</if>> <<default>> <<if ($activeSlave.vaginalAccessory is "chastity belt")>> Her chastity belt protects her from vanilla intercourse. <<elseif ($activeSlave.dick != 0) and ($activeSlave.vagina != -1)>> You get a good view of her cock and pussy: a marvel of modern surgery. <<elseif ($activeSlave.dick != 0)>> You get a good view of her cock. <<else>> You get a good view of her pussy. <</if>> <</switch>> <<if ($activeSlave.vaginalAccessory is "long dildo") || ($activeSlave.vaginalAccessory is "long, large dildo") || ($activeSlave.vaginalAccessory is "long, huge dildo")>> With every motion she makes; her dildo shifts, bulging out her stomach. <<if ($activeSlave.buttPlug is "long plug") || ($activeSlave.buttPlug is "long, large plug") || ($activeSlave.buttPlug is "long, huge plug")>> Beside it, a second bulge caused by her extra long buttplug. <</if>> <<elseif ($activeSlave.buttPlug is "long plug") || ($activeSlave.buttPlug is "long, large plug") || ($activeSlave.buttPlug is "long, huge plug")>> With every motion she makes; her buttplug shifts, bulging out her stomach. <</if>> <</if>> <<else>> /* implant descs */ <<if $activeSlave.bellyImplant >= 32000>> <<BellyImplantDescription>> <<switch $activeSlave.clothes>> <<case "a very tight corset">> Her corset struggles to contain her enormous belly. <<case "chains">> Her enormous belly bulges in between her tight chains. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her enormous belly bulges around them. <<case "shibari ropes">> Her enormous belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her enormous belly makes her look like a giant balloon under the tight latex, her popped navel breaks the smoothness. <<case "a nice nurse outfit">> She's decided to become the maternity ward, judging by the enormous belly she sports. <<case "a maternity dress">> Her tight dress is strained by her enormous belly. <<case "a nice maid outfit">> Her enormous belly is covered only by an apron. <<case "a penitent nuns habit">> Her enormous belly strains her habit, it looks absolutely sinful. <<case "a ball gown">> Your gaze is drawn to her enormous belly by her striking silken ball gown. <<case "harem gauze">> Her silken garb and enormous belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her enormous belly lewdly fills her bodysuit. <<case "a schoolgirl outfit">> The school blimp is waddling by. <<case "a hijab and abaya">> Her enormous belly pushes out her abaya. <<case "a leotard">> Her enormous belly lewdly stretches her leotard. <<default>> Her bare enormous stomach catches your eye. <</switch>> <<elseif $activeSlave.bellyImplant >= 16000>> <<BellyImplantDescription>> <<switch $activeSlave.clothes>> <<case "a very tight corset">> Her corset struggles to contain her giant belly. <<case "chains">> Her giant belly bulges in between her tight chains. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her giant belly bulges around them. <<case "shibari ropes">> Her giant belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her giant belly makes her look like a balloon under the tight latex, her popped navel breaks the smoothness. <<case "a nice nurse outfit">> Her giant belly makes her resemble a maternity ward patient rather than a nurse. <<case "attractive lingerie for a pregnant woman">> Her giant belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is completely filled by her giant belly. <<case "a nice maid outfit">> Her maid outfit struggles to contain her giant belly, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her giant belly fills her habit, it looks absolutely sinful. <<case "a halter top dress">> Her giant belly fills her halter top dress, it struggles to contain her belly. <<case "a ball gown">> Your gaze is drawn to her giant belly by her struggling fabulous silken ball gown. <<case "harem gauze">> Her silken garb and giant belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her giant belly lewdly fills her bodysuit. <<case "a schoolgirl outfit">> The school bicycle is waddling by. <<case "a hijab and abaya">> Her giant belly fills her abaya. <<case "a leotard">> Her giant belly lewdly stretches her leotard. <<default>> Her bare giant belly catches your eye. <</switch>> <<elseif $activeSlave.bellyImplant >= 8000>> <<BellyImplantDescription>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> Her taut blouse shows off her huge belly. <<case "attractive lingerie for a pregnant woman">> Her huge belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is completely filled by her huge belly. <<case "chains">> Her huge belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her huge belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her huge belly bulges around them. <<case "shibari ropes">> Her huge belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her huge belly looks like a large beach ball under her tight latex, her popped navel breaks the smoothness. <<case "a military uniform">> Her huge belly threatens to pop the buttons off her tunic. <<case "a nice nurse outfit">> Her huge belly strains against her scrub top, making her resemble more a maternity ward patient than a nurse. <<case "a mini dress">> Her huge belly threatens to tear apart her mini dress. <<case "a slutty maid outfit">> Her huge belly is partially covered by a thin white blouse. <<case "a nice maid outfit">> Her huge belly threatens to tear her maid outfit open, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her huge belly bulges her habit, it looks absolutely sinful. <<case "clubslut netting">> Her huge belly threatens to tear apart her clubslut netting. <<case "a cheerleader outfit">> Her huge belly is partly covered by her cheerleader's top. <<case "a halter top dress">> Her huge belly fills out her halter top dress, the seams straining to contain it. <<case "a ball gown">> Your gaze is drawn to her huge belly by her fabulous silken ball gown. <<case "a slave gown">> Her huge belly is gently caressed by her gown. <<case "nice business attire">> Her huge belly threatens to pop the buttons off her jacket. <<case "harem gauze">> Her silken garb and huge belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her huge belly lewdly fills her bodysuit. <<case "a schoolgirl outfit">> Her huge belly is only partly covered by her blouse. <<case "a kimono">> Her kimono demurely covers the sides of her huge belly. <<case "a hijab and abaya">> Her huge belly tents her abaya. <<case "a leotard">> Her huge belly lewdly stretches her leotard. <<case "a chattel habit">> Her huge belly shoves the strip of cloth on her front to her side. <<case "a bunny outfit">> Her huge belly is threatening to tear her teddy, the seams along the side are already splitting. <<default>> Her bare huge belly catches your eye. <</switch>> <<elseif $activeSlave.bellyImplant >= 4000>> <<BellyImplantDescription>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> Her taut blouse shows off her big belly. <<case "chains">> Her big belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her big belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her big belly bulges around them. <<case "shibari ropes">> Her big belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her big belly looks like a beach ball under her tight latex, her popped navel breaks the smoothness. <<case "a military uniform">> Her big belly strains the buttons on her jacket. <<case "a nice nurse outfit">> Her large belly strains against her scrub top, making her resemble more a maternity ward patient than a nurse. <<case "a mini dress">> Her large belly strains against her mini dress. <<case "a slutty maid outfit">> Her big belly is partially covered by a thin white blouse. <<case "a nice maid outfit">> Her big belly strains her maid outfit, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her big belly bulges her habit, it looks absolutely sinful. <<case "clubslut netting">> Her big belly strains her clubslut netting. <<case "a cheerleader outfit">> Her big belly is partly covered by her cheerleader's top. <<case "a halter top dress">> Her big belly fills out her halter top dress. <<case "a ball gown">> Your gaze is drawn to her big belly by her fabulous silken ball gown. <<case "a slave gown">> Her big belly is gently caressed by her gown. <<case "nice business attire">> Her big belly strains the buttons on her jacket. <<case "harem gauze">> Her silken garb and big belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her big belly fills her bodysuit. <<case "a schoolgirl outfit">> Her big belly is only partly covered by her blouse. <<case "a kimono">> Her kimono demurely covers her big belly. <<case "a hijab and abaya">> Her big belly tents her abaya. <<case "a leotard">> Her big belly stretches her leotard. <<case "a chattel habit">> Her big belly shoves the strip of cloth on her front to her side. <<case "a bunny outfit">> Her big belly is strains her teddy, the seams along the side are showing signs of wear. <<default>> Her bare belly catches your eye. <</switch>> <<elseif $activeSlave.weight >= 95>> <<BellyImplantDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her taut blouse shows every jiggle in her fat gut as she moves. <<case "chains">> Her fat gut jiggles lewdly between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop, and jiggles with, her fat gut as she moves. <<case "uncomfortable straps">> Her fat gut jiggles lewdly between her tight straps. <<case "shibari ropes">> Her fat gut jiggles lewdly between the binding ropes. <<case "restrictive latex" "a latex catsuit">> Her fat gut barely has any room to move under her tight latex. <<case "a military uniform">> The buttons on her staining jacket can barely hold back her fat, jiggling gut. <<case "a nice nurse outfit">> Her scrub top jiggles along with her fat gut as she moves. <<case "a mini dress">> Her stretched minidress shows every jiggle in her fat gut as she moves. <<case "a slutty maid outfit">> Her fat gut is partially covered by a thin white blouse, that happily jiggles along with every motion. <<case "a nice maid outfit">> As she moves, a slight jiggle can be seen within her maid's dress. <<case "a penitent nuns habit">> Her habit does nothing to stop her fat gut from jiggling against the coarse cloth as she moves. <<case "clubslut netting">> Her clubslut netting jiggles lewdly along with her fat gut as she moves. <<case "a cheerleader outfit">> Her fat gut is partially covered by her cheerleader's top, which happily jiggles along with every motion. <<case "a halter top dress">> Her stretched halter top dress shows every jiggle in her fat gut as she moves. <<case "a ball gown">> Your gaze is drawn to her fat gut by her fabulous silken ball gown. <<case "a slave gown">> Her fat, jiggly gut is gently caressed by her gown. <<case "nice business attire">> Slight jiggling from her fat gut can be seen under her jacket. <<case "harem gauze">> Her silken garb and fat, jiggly gut makes her look like a belly dancer. <<case "a comfortable bodysuit">> The taut material of her bodysuit shows every jiggle in her fat gut as she moves. <<case "a schoolgirl outfit">> Her fat gut is partially covered by her blouse, which happily jiggles along with every motion. <<case "a kimono">> Slight jiggling can be seen through her kimono whenever she moves. <<case "a hijab and abaya">> Slight jiggling can be seen through her abaya whenever she moves. <<case "a leotard">> The taut material of her leotard shows every jiggle in her fat gut as she moves. <<case "a chattel habit">> Her fat gut jiggles around the strip of cloth down her front as she moves. <<case "a bunny outfit">> She is a sight in her bunny outfit. The front of her fat gut is held still be her teddy, but everything else of it jiggles obscenely with her every motion. <<default>> Her bare, jiggling, fat gut catches your eye. <</switch>> <<elseif $activeSlave.bellyImplant >= 2000>> <<BellyImplantDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her blouse bulges with her distended belly. <<case "chains">> Her distended belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her distended belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her distended belly bulges around them. <<case "shibari ropes">> Her distended belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her distended belly bulges beneath her tight latex. <<case "a military uniform">> Her distended belly bulges her uniform tunic. <<case "a nice nurse outfit">> Her distended belly is clearly visible through her scrub top. <<case "a mini dress">> Her distended belly bulges her tight mini dress. <<case "a slutty maid outfit">> Her distended belly bulges her thin white blouse. <<case "a nice maid outfit">> Her distended belly is concealed by her maid outfit. <<case "a penitent nuns habit">> Her distended belly bulges her habit. <<case "attractive lingerie for a pregnant woman">> Her distended belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress conceals her distended belly. <<case "clubslut netting">> Her distended belly fills out her clubslut netting. <<case "a cheerleader outfit">> Her distended belly peeks out from under her cheerleader's top. <<case "a halter top dress">> Her distended belly bulges her halter top dress. <<case "a ball gown">> Your gaze is drawn to her distended belly by her fabulous silken ball gown. <<case "a slave gown">> Her distended belly is gently caressed by her gown. <<case "nice business attire">> Her distended belly bulges her suit jacket. <<case "harem gauze">> Her silken garb and distended belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her distended belly fills her bodysuit. <<case "a schoolgirl outfit">> Her distended belly peeks out from under her blouse. <<case "a kimono">> Her kimono demurely covers her distended belly. <<case "a hijab and abaya">> Her distended belly gently tents her abaya. <<case "a leotard">> Her distended belly fills her leotard. <<case "a chattel habit">> Her distended belly shows under the strip of cloth on her front. <<case "a bunny outfit">> Her distended belly is fills her teddy. <<default>> Her slightly rounded belly catches your eye. <</switch>> <</if>> <</if>> <<else>> /* inflation descs */ <<if $activeSlave.inflation == 3>> <<BellyInflationDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her taut blouse shows off her taut, sloshing belly. <<case "attractive lingerie for a pregnant woman">> Her taut, sloshing belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is completely filled by her taut, sloshing belly. <<case "chains">> Her taut, sloshing belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her taut, sloshing belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her taut, sloshing belly bulges around them. <<case "shibari ropes">> Her taut, sloshing belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her taut, sloshing belly looks like a large beach ball under her tight latex, her popped navel breaks the smoothness. <<case "a military uniform">> Her taut, sloshing belly threatens to pop the buttons off her tunic. Her belly bulges out between them. <<case "a nice nurse outfit">> Her taut, sloshing belly strains against her scrub top, making her resemble more a maternity ward patient than a nurse. <<case "a mini dress">> Her taut, sloshing belly threatens to tear apart her mini dress. <<case "a slutty maid outfit">> Her taut, sloshing belly is partially covered by a thin white blouse. <<case "a nice maid outfit">> Her taut, sloshing belly threatens to tear her maid outfit open, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her taut, sloshing belly bulges her habit, it looks absolutely sinful. <<case "clubslut netting">> Her taut, sloshing belly threatens to tear apart her clubslut netting. Her belly bulges obscenely through the mesh. <<case "a cheerleader outfit">> Her taut, sloshing belly is partly covered by her cheerleader's top. <<case "a halter top dress">> Her taut, sloshing belly fills out her halter top dress, the seams straining to contain it. Her belly bulges between the gaps. <<case "a ball gown">> Your gaze is drawn to her taut, sloshing belly by her fabulous silken ball gown. <<case "a slave gown">> Her taut, sloshing belly is gently caressed by her gown. <<case "nice business attire">> Her taut, sloshing belly threatens to pop the buttons off her jacket. Her belly bulges between the buttons. <<case "harem gauze">> Her silken garb and taut, sloshing belly makes her look like a belly dancer. That'd be a show. <<case "a comfortable bodysuit">> Her taut, sloshing belly lewdly fills her bodysuit. The form fitting material jiggling obscenely with her body's contents. <<case "a schoolgirl outfit">> Her taut, sloshing belly is only partly covered by her blouse. <<case "a kimono">> Her kimono demurely covers the sides of her taut, sloshing belly. <<case "a hijab and abaya">> Her taut, sloshing belly tents her abaya. <<case "a leotard">> Her taut, sloshing belly lewdly stretches her leotard. The form fitting material jiggling obscenely with her body's contents. <<case "a chattel habit">> Her taut, sloshing belly shoves the strip of cloth on her front to her side. <<case "a bunny outfit">> Her taut, sloshing belly is threatening to tear her teddy, the seams along the side are already splitting. Her belly is bulging out the gaps. <<default>> Her bare, taut, sloshing belly catches your eye. <</switch>> <<elseif $activeSlave.inflation == 2>> <<BellyInflationDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her taut blouse shows off her rounded, sloshing belly. <<case "chains">> Her rounded, sloshing belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her rounded, sloshing belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her rounded, sloshing belly bulges around them. <<case "attractive lingerie for a pregnant woman">> Her rounded, sloshing belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress is filled by her rounded, sloshing belly. <<case "shibari ropes">> Her rounded, sloshing belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her rounded, sloshing belly looks like a beach ball under her tight latex, her popped navel breaks the smoothness. <<case "a military uniform">> Her rounded, sloshing belly strains the buttons on her jacket. It bulges slightly between them. <<case "a nice nurse outfit">> Her rounded, sloshing belly strains against her scrub top, making her resemble more a maternity ward patient than a nurse. <<case "a mini dress">> Her rounded, sloshing belly strains against her mini dress. <<case "a slutty maid outfit">> Her rounded, sloshing belly is partially covered by a thin white blouse. <<case "a nice maid outfit">> Her rounded, sloshing belly strains her maid outfit, her popped navel is visible under her apron. <<case "a penitent nuns habit">> Her rounded, sloshing belly bulges her habit, it looks absolutely sinful. <<case "clubslut netting">> Her rounded, sloshing belly strains her clubslut netting. <<case "a cheerleader outfit">> Her rounded, sloshing belly is partly covered by her cheerleader's top. <<case "a halter top dress">> Her rounded, sloshing belly fills out her halter top dress. <<case "a ball gown">> Your gaze is drawn to her rounded, sloshing belly by her fabulous silken ball gown. <<case "a slave gown">> Her rounded, sloshing belly is gently caressed by her gown. <<case "nice business attire">> Her rounded, sloshing belly strains the buttons on her jacket. It bulges slightly between them. <<case "harem gauze">> Her silken garb and rounded, sloshing belly makes her look like a belly dancer. That'd be a show. <<case "a comfortable bodysuit">> Her rounded, sloshing belly fills her bodysuit. Every movement of the liquid within her is very visible. <<case "a schoolgirl outfit">> Her rounded, sloshing belly is only partly covered by her blouse. <<case "a kimono">> Her kimono demurely covers her rounded, sloshing belly. <<case "a hijab and abaya">> Her rounded, sloshing belly tents her abaya. <<case "a leotard">> Her rounded, sloshing belly stretches her leotard. Every movement of the liquid within her is very visible. <<case "a chattel habit">> Her rounded, sloshing belly shoves the strip of cloth on her front to her side. <<case "a bunny outfit">> Her rounded, sloshing belly is strains her teddy, the seams along the side are showing signs of wear. <<default>> Her bare, rounded, sloshing belly catches your eye. <</switch>> <<elseif $activeSlave.weight >= 95>> <<BellyDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her taut blouse shows every jiggle in her fat gut as she moves. <<case "chains">> Her fat gut jiggles lewdly between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop, and jiggles with, her fat gut as she moves. <<case "uncomfortable straps">> Her fat gut jiggles lewdly between her tight straps. <<case "shibari ropes">> Her fat gut jiggles lewdly between the binding ropes. <<case "restrictive latex" "a latex catsuit">> Her fat gut barely has any room to move under her tight latex. <<case "a military uniform">> The buttons on her staining jacket can barely hold back her fat, jiggling gut. <<case "a nice nurse outfit">> Her scrub top jiggles along with her fat gut as she moves. <<case "a mini dress">> Her stretched minidress shows every jiggle in her fat gut as she moves. <<case "a slutty maid outfit">> Her fat gut is partially covered by a thin white blouse, that happily jiggles along with every motion. <<case "a nice maid outfit">> As she moves, a slight jiggle can be seen within her maid's dress. <<case "a penitent nuns habit">> Her habit does nothing to stop her fat gut from jiggling against the coarse cloth as she moves. <<case "clubslut netting">> Her clubslut netting jiggles lewdly along with her fat gut as she moves. <<case "a cheerleader outfit">> Her fat gut is partially covered by her cheerleader's top, which happily jiggles along with every motion. <<case "a halter top dress">> Her stretched halter top dress shows every jiggle in her fat gut as she moves. <<case "a ball gown">> Your gaze is drawn to her fat gut by her fabulous silken ball gown. <<case "a slave gown">> Her fat, jiggly gut is gently caressed by her gown. <<case "nice business attire">> Slight jiggling from her fat gut can be seen under her jacket. <<case "harem gauze">> Her silken garb and fat, jiggly gut makes her look like a belly dancer. <<case "a comfortable bodysuit">> The taut material of her bodysuit shows every jiggle in her fat gut as she moves. <<case "a schoolgirl outfit">> Her fat gut is partially covered by her blouse, which happily jiggles along with every motion. <<case "a kimono">> Slight jiggling can be seen through her kimono whenever she moves. <<case "a hijab and abaya">> Slight jiggling can be seen through her abaya whenever she moves. <<case "a leotard">> The taut material of her leotard shows every jiggle in her fat gut as she moves. <<case "a chattel habit">> Her fat gut jiggles around the strip of cloth down her front as she moves. <<case "a bunny outfit">> She is a sight in her bunny outfit. The front of her fat gut is held still be her teddy, but everything else of it jiggles obscenely with her every motion. <<default>> Her bare, jiggling, fat gut catches your eye. <</switch>> <<elseif $activeSlave.inflation == 1>> <<BellyInflationDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. <<case "conservative clothing">> Her blouse bulges with her distended belly. <<case "chains">> Her distended belly bulges between her tight chains. <<case "a slutty qipao">> The front of her qipao rests atop her distended belly. <<case "uncomfortable straps">> A steel ring rests around her navel, held in place by tight straps. Her distended belly bulges around them. <<case "shibari ropes">> Her distended belly bulges out from between her ropes. <<case "restrictive latex" "a latex catsuit">> Her distended belly bulges beneath her tight latex. <<case "a military uniform">> Her distended belly bulges her uniform tunic. <<case "a nice nurse outfit">> Her distended belly is clearly visible through her scrub top. <<case "a mini dress">> Her distended belly bulges her tight mini dress. <<case "a slutty maid outfit">> Her distended belly bulges her thin white blouse. <<case "a nice maid outfit">> Her distended belly is concealed by her maid outfit. <<case "a penitent nuns habit">> Her distended belly bulges her habit. <<case "attractive lingerie for a pregnant woman">> Her distended belly is gently framed by her silken vest. <<case "a maternity dress">> Her loose dress conceals her distended belly. <<case "clubslut netting">> Her distended belly fills out her clubslut netting. <<case "a cheerleader outfit">> Her distended belly peeks out from under her cheerleader's top. <<case "a halter top dress">> Her distended belly bulges her halter top dress. <<case "a ball gown">> Your gaze is drawn to her distended belly by her fabulous silken ball gown. <<case "a slave gown">> Her distended belly is gently caressed by her gown. <<case "nice business attire">> Her distended belly bulges her suit jacket. <<case "harem gauze">> Her silken garb and distended belly makes her look like a belly dancer. <<case "a comfortable bodysuit">> Her distended belly fills her bodysuit. <<case "a schoolgirl outfit">> Her distended belly peeks out from under her blouse. <<case "a kimono">> Her kimono demurely covers her distended belly. <<case "a hijab and abaya">> Her distended belly gently tents her abaya. <<case "a leotard">> Her distended belly fills her leotard. <<case "a chattel habit">> Her distended belly shows under the strip of cloth on her front. <<case "a bunny outfit">> Her distended belly is fills her teddy. <<default>> Her distended belly catches your eye. <</switch>> <</if>> <</if>> <<set $target to "FVagina">> <<elseif (_seed > 20)>> <<AnusDescription>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its rear hole. <<case "uncomfortable straps">> The ring over her asshole beckons. <<case "shibari ropes">> The rope between her buttocks presses lewdly against her anus as she moves. <<case "restrictive latex">> As one of the only islands in the sea of black latex, her asshole is eye catching. <<case "a fallen nuns habit">> Her slutty nun outfit leaves her butthole bare and available for anal sin. <<case "a chattel habit">> Her chattel habit covers her anus with a strip of cloth, but it's designed to be lifted readily. <<case "a penitent nuns habit">> Her habit chafes her rear end so cruelly that it would probably be a relief to her to have it pulled up for a rough buttfuck. <<case "attractive lingerie">> <<if ($activeSlave.anus > 1) and ($activeSlave.amp is 1)>> Her pretty g-string frequently fails to cover her big butthole. <<elseif ($activeSlave.anus > 1)>> As she moves, her pretty g-string frequently fails to cover her big butthole. <<else>> As she moves, her pretty g-string draws your attention to her ass. <</if>> <<case "a succubus outfit">> Her succubus outfit's tail holds her skirt up high in back, inviting a damning buttfuck. <<case "a nice maid outfit">> Her long maid's skirt will have to be gotten out of the way to permit access to her ass. <<case "a slutty maid outfit">> Her short maid's skirt can be lifted to reveal her bare buttocks. <<case "a slutty nurse outfit">> Her tight skirt flatters her ass as she moves. <<case "a schoolgirl outfit")>> <<if $activeSlave.anus is 0>> This schoolgirl clearly needs to lose her anal virginity. <<elseif $activeSlave.vagina is 0>> This schoolgirl clearly takes it up the ass; that way, she can remain a virgin, and be, like, totally pure and innocent. <<else>> This schoolgirl clearly takes it up the ass. <</if>> <<case "a kimono">> <<if ($activeSlave.butt > 5)>> Her kimono demurely covers her behind, though it cannot conceal its massive shape. <<else>> Her kimono demurely covers her behind. <</if>> <<case "attractive lingerie for a pregnant woman">> Her silken panties are just begging to be torn off. <<case "a maternity dress">> <<if $activeSlave.butt > 5>> Her dress covers her behind, though it cannot conceal its massive size. <<else>> Her dress demurely covers her behind. <</if>> <<case "a hijab and abaya">> <<if ($activeSlave.butt > 5)>> Her abaya totally covers her behind, though it cannot conceal its massive shape. <<else>> Her abaya totally conceals her behind. <</if>> <<case "battledress">> Her fatigue trousers are not particularly flattering to her butt. <<case "a string bikini">> <<if ($activeSlave.anus > 1)>> As she moves, her big butthole is clearly visible behind her tiny g-string. <<else>> As she moves, her tiny g-string draws your attention to her ass. <</if>> <<case "clubslut netting">> As she moves, the hole in her netting right over her butthole looks inviting. <<case "a cheerleader outfit">> As she moves, her short pleated cheerleader skirt shows off her butt. <<case "cutoffs and a t-shirt">> As she moves, her tight cutoffs flatter her butt. <<case "a slutty outfit">> <<if ($activeSlave.butt > 5)>> For today's slutty outfit she's chosen a leather skirt with zippers that permit ready access to her butt. <<else>> For today's slutty outfit she's chosen fishnets with a hole cut over her asshole so she can be sodomized without removing or damaging her clothing. <</if>> <<case "a slave gown">> Her gorgeous dress leaves little to the imagination; there's little doubt her butt is bare beneath it. <<case "a halter top dress">> Her dress should slide up over her butt to reveal her backdoor. <<case "a ball gown">> Her ballgown and its petticoats could easily be flipped up to bare her butt. <<case "slutty business attire">> Her short skirt will easily slide up to bare her asshole. <<case "nice business attire">> Her conservative skirt can be slid up over her hips to bare her butthole. <<case "a comfortable bodysuit">> Her bodysuit demands attention for her tightly clad backdoor. <<case "a latex catsuit">> Her latex catsuit's crotch zipper offer ready access to her backdoor. <<case "a military uniform">> Her uniform skirt can be slid up over her hips to bare her butthole. <<case "a nice nurse outfit">> Her nurse's trousers can be easily slid down to expose her butthole. <<case "a mini dress">> Her mini dress can be easily slid up to expose her butthole. <<case "a leotard">> As her buttocks work naturally with her movement, her tight leotard gives hints of her asshole. <<case "a bunny outfit">> Her fluffy white cottontail draws attention to her butt, inevitably bringing anal to mind. <<case "harem gauze">> Her ass is clearly visible through the thin gauze that covers it. <<case "slutty jewelry">> Her belt of light chain threatens to dip into her asscrack with each step. <<default>> <<if ($activeSlave.vaginalAccessory is "chastity belt")>> Her chastity belt leaves her ass available. <<else>> You run your eye over her naked ass. <</if>> <</switch>> <<set $target to "FAnus">> <<elseif (_seed > 0)>> <<LipsDescription>> <<switch $activeSlave.collar>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its face hole. <<case "uncomfortable leather">> Her uncomfortable leather collar makes her swallow and lick her lips periodically, making it look like she's offering oral even though she's just trying to relieve the discomfort. <<case "tight steel" "cruel retirement counter">> Her tight steel collar makes her swallow and lick her lips periodically, making it look like she's offering oral even though she's just trying to relieve the discomfort. <<case "preg biometrics">> Her collar reveals everything about her womb, bringing eyes straight to her belly before drawing them back to her neck. <<case "dildo gag">> Her ring gag would make her ready for oral service, as soon as the formidable dildo it secures down her throat is removed. <<case "massive dildo gag">> Your eyes are drawn to the distinct bulge in her throat caused by the enormous dildo in it, though her mouth would only be suitable for the largest of cocks right now. <<case "shock punishment">> Her shock collar rests threateningly at her throat, ready to compel her to do anything you wish. <<case "neck corset">> Her fitted neck corset keeps her breaths shallow, and her head posture rigidly upright. <<case "stylish leather">> Her stylish leather collar is at once a fashion statement, and a subtle indication of her enslavement. <<case "satin choker">> Her elegant satin choker is at once a fashion statement, and a subtle indication of her enslavement. <<case "silk ribbon">> Her delicate, fitted silken ribbon is at once a fashion statement, and a subtle indication of her enslavement. <<case "heavy gold">> Her heavy gold collar draws attention to the sexual decadence of her mouth. <<case "pretty jewelry" "nice retirement counter">> Her pretty necklace can hardly be called a collar, but it's just slavish enough to hint that the throat it rests on is available. <<case "leather with cowbell">> Her cowbell tinkles merrily whenever she moves, instantly dispelling any grace or gravity. <<case "bowtie">> Her black bowtie contrasts with her white collar, drawing the eye towards her neck and face. <<case "ancient Egyptian">> Her wesekh glints richly as she moves, sparkling with opulence and sensuality. <<default>> Her unadorned <<if $PC.dick is 1>>throat is just waiting to be wrapped around a thick shaft<<else>>lips are just begging for a cunt to lavish attention on<</if>>. <</switch>> <<if random(1,3) is 1>> <<set $target to "FKiss">> <<else>> <<set $target to "FLips">> <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if (_seed <= 80) and (_seed > 40) and ($activeSlave.vaginalAccessory is "chastity belt")>> //If you wish to have vanilla intercourse with her you must order her to remove her chastity belt.// <<elseif _seed > 100>> <<if $familyTesting == 1 && _seed == 110>> <<else>> <span id="walkpast"><<link "Summon them both">><<replace "#walk">><<include $target>><</replace>><</link>></span> <</if>> <<elseif $activeSlave.assignment is "stay confined">> <span id="walkpast"><<link "Have her brought out of her cell">><<replace "#walk">><<include $target>><</replace>><</link>></span> <<elseif ($activeSlave.assignment is "work in the dairy") and ($dairyRestraintsSetting > 1)>> //She is strapped into a milking machine and cannot leave $dairyName.// <<elseif ($activeSlave.assignmentVisible is 0)>> <span id="walkpast"><<link "Have her take a break and come up">><<replace "#walk">><<include $target>><</replace>><</link>></span> <<else>> <span id="walkpast"><<link "Call her over">><<replace "#walk">><<include $target>><</replace>><</link>></span> <</if>> <<else>> <<switch $target>> <<case "FVagina">> <span id="walkpast"><<link "Fuck it">><<replace "#walk">><<FFuckdollVaginal>><</replace>><</link>></span> <<case "FButt" "FAnus">> <span id="walkpast"><<link "Fuck it">><<replace "#walk">><<FFuckdollAnal>><</replace>><</link>></span> <<default>> <span id="walkpast"><<link "Fuck it">><<replace "#walk">><<FFuckdollOral>><</replace>><</link>></span> <</switch>> <</if>> </span> //
r3d/fc
src/uncategorized/walkPast.tw
tw
bsd-3-clause
136,177
:: Wardeness Select <<nobr>> <<set $nextButton to "Back">> <<set $nextLink to "Cellblock">> <<set $showEncyclopedia to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<if $Wardeness.ID == $slaves[_i].ID>> ''__@@color:pink;$slaves[_i].slaveName@@__'' is serving as your Wardeness. <<set $slaves[_i].assignment to "be the Wardeness">> <<set $slaves[_i].assignmentVisible to 0>> <br><br>She will help break your prisoners. <<break>> <</if>> <</for>> <<if ($Wardeness == 0)>> You have not selected a Wardeness. <</if>> <br><br>''Appoint a Wardeness from your devoted slaves:'' <<include "Slave Summary">> <br><br>[[None|Wardeness Workaround][$Wardeness to 0]] <</nobr>>
r3d/fc
src/uncategorized/wardenessSelect.tw
tw
bsd-3-clause
677
:: Wardeness Workaround <<for $i to 0; $i < $slaves.length; $i++>> <<if ($slaves[$i].assignment is "be the Wardeness") && ($slaves[$i].ID != $Wardeness.ID)>> <<set $slaves[$i].assignment to "rest">> <<set $slaves[$i].assignmentVisible to 1>> <<break>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $Wardeness.ID == $slaves[$i].ID>> <<if $slaves[$i].ID is $personalAttention>> <<if $PC.career == "escort">> <<set $personalAttention to "whoring">> <<elseif $PC.career == "servant">> <<set $personalAttention to "upkeep">> <<else>> <<set $personalAttention to "business">> <</if>> <</if>> <<set $slaves[$i].assignment to "be the Wardeness">> <<if $slaves[$i].choosesOwnClothes == 1>><<include "SA chooses own clothes">><</if>> <<set $slaves[$i].assignmentVisible to 0>> <<set $slaves[$i].sentence to 0>> <<set $slaves[$i].livingRules to "luxurious">> <<if $slaves[$i].ID is $HeadGirl.ID>> <<set $HeadGirl to 0>> <</if>> <<if $slaves[$i].ID is $Recruiter.ID>> <<set $Recruiter to 0>> <</if>> <<if $slaves[$i].ID is $Bodyguard.ID>> <<set $Bodyguard to 0>> <</if>> <<break>> <</if>> <</for>> <<goto "Cellblock">>
r3d/fc
src/uncategorized/wardenessWorkaround.tw
tw
bsd-3-clause
1,196
:: Whore Workaround <<set $activeSlave.assignment to "whore">> <<set $activeSlave.choosesOwnAssignment to 0>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $activeSlave.ID == $slaves[$i].ID>> <<set $slaves[$i] to $activeSlave>> <<break>> <</if>> <</for>> <<goto "Main">>
r3d/fc
src/uncategorized/whoreWorkaround.tw
tw
bsd-3-clause
280
:: art widgets [nobr widget] /% Call as <<AssistantArt>> Displays assistant images. Currently passage-based. $args[0]: Image size/center. 3: Large, right. Example: description. 2: Medium, right. Example: random events. %/ <<widget "AssistantArt">> <<if $imageChoice == 0>> /* RENDERED IMAGES BY SHOKUSHU */ <<switch $assistantAppearance>> <<case "monstergirl">> <<set _fileName = "'resources/renders/assistant monstergirl.png' ">> <<case "shemale">> <<set _fileName = "'resources/renders/assistant shemale.png' ">> <<case "amazon">> <<set _fileName = "'resources/renders/assistant amazon.png' ">> <<case "businesswoman">> <<set _fileName = "'resources/renders/assistant businesswoman.png' ">> <<case "goddess">> <<set _fileName = "'resources/renders/assistant goddess.png' ">> <<case "schoolgirl">> <<set _fileName = "'resources/renders/assistant schoolgirl.png' ">> <<default>> <<set _fileName = "'resources/renders/assistant default.png' ">> <</switch>> <<if $args[1] == 3>> <<print "<img src=" + _fileName + "style='float:right; border:3px hidden'/>">> <<else>> <<print "<img src=" + _fileName + "style='float:right; border:3px hidden' width='300' height='300'/>">> <</if>> <</if>> /* CLOSES IMAGE CHOICE */ <</widget>> /% Call as <<SlaveArt>> Displays slave images. Currently passage-based. $args[0]: Slave. $args[1]: Image size/center. 3: Large, right. Example: long slave description. 2: Medium, right. Example: random events. 1: Small, left. Example: lists. 0: Tiny, left. Example: facilities $args[2]: icon UI Display for vector art, 1 for on. %/ <<widget "SlaveArt">> <<if ndef $args[0].customImage>><<set $args[0].customImage = 0>><</if>> <<if $args[0].customImage != 0>> <<set _fileName = "'resources/" + $args[0].customImage + ".png' ">> <<if $args[1] == 3>> <<print "<img src=" + _fileName + "style='float:right; border:3px hidden'/>">> <<elseif $args[1] == 2>> <<print "<img src=" + _fileName + "style='float:right; border:3px hidden' width='300' height='300'/>">> <<elseif $args[1] == 1>> <<if $seeSummaryImages != 0>><<print "<img src=" + _fileName + "style='float:left; border:3px hidden' width='150' height='150'/>">><</if>> <<else>> <<print "<img src=" + _fileName + "style='float:left; border:3px hidden' width='120' height='120'/>">> <</if>> <<elseif $imageChoice == 1>> /* VECTOR ART BY NOX */ <<if $args[1] != 0>> /* IMAGE DOES NOT HAVE TO BE TINY */ <<if ($args[1] != 1) || ($seeSummaryImages != 0)>> /* IMAGE IS NOT PART OF A LIST, OR IMAGES ARE TO BE DISPLAYED IN LISTS */ /* 000-250-006 */ /* <div class="imageRef"> */ /* 000-250-006 */ <<set _folderLoc = "'resources/vector">> <<if $args[2] == 1>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/test ui.svg'" + "/></object>">> <</if>> /% Set skin colour %/ <<set _imgSkinLoc = _folderLoc + "/body/">> <<switch $args[0].skin>> <<case "light" "white" "fair" "lightened" "extremely pale" "pale">> <<set _imgSkinLoc = _imgSkinLoc + "white">> <<case "light brown" "dark">> <<set _imgSkinLoc = _imgSkinLoc + "brown">> <<case "brown" "black">> <<set _imgSkinLoc = _imgSkinLoc + "dark brown">> <<default>> <<set _imgSkinLoc = _imgSkinLoc + "tanned">> <</switch>> /% Shoulder width and arm or no arm %/ <<if $args[0].amp != 1>> <<if $args[0].fuckdoll == 0>> <<if $args[0].devotion > 50>> <<set _leftArmType = "high">> <<set _rightArmType = "high">> <<elseif $args[0].trust >= -20>> <<if $args[0].devotion < -20>> <<set _leftArmType = "rebel">> <<set _rightArmType = "low">> <<elseif $args[0].devotion <= 20>> <<set _leftArmType = "low">> <<set _rightArmType = "low">> <<else>> <<set _leftArmType = "mid">> <<set _rightArmType = "high">> <</if>> <<else>> <<set _leftArmType = "mid">> <<set _rightArmType = "mid">> <</if>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/arm left " + _leftArmType + ".svg'" + "/></object>">> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/arm right " + _rightArmType + ".svg'" + "/></object>">> <<else>> <<set _leftArmType = "mid latex">> <<set _rightArmType = "mid latex">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/arm left " + _leftArmType + ".svg'" + "/></object>">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/arm right " + _rightArmType + ".svg'" + "/></object>">> <</if>> <</if>> /% Hair Aft %/ <<if $args[0].hStyle != "shaved">> <<if $args[0].fuckdoll == 0>> <<switch $args[0].hColor>> <<case "blonde" "golden" "platinum blonde" "strawberry-blonde">> <<set _hairColor = "blonde">> <<case "brown" "hazel" "chestnut" "chocolate brown" "auburn" "dark brown">> <<set _hairColor = "brown">> <<case "red" "copper" "ginger" "burgundy">> <<set _hairColor = "red">> <<case "green">> <<set _hairColor = "green">> <<case "blue">> <<set _hairColor = "blue">> <<case "pink">> <<set _hairColor = "pink">> <<case "black" "grey" "silver" "white">> <<set _hairColor = "black">> <<default>> <<set _hairColor = "black">> <</switch>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/hair aft neat " + _hairColor + ".svg'" + "/></object>">> <</if>> <</if>> /% Butt %/ <<if $args[0].amp != 1>> <<if $args[0].butt > 5>> <<set _buttSize = 3>> <<elseif $args[0].butt > 4>> <<set _buttSize = 2>> <<elseif $args[0].butt > 3>> <<set _buttSize = 1>> <<elseif $args[0].butt > 2>> <<set _buttSize = 0>> <</if>> <<if $args[0].fuckdoll != 0>> <<set _buttSize = _buttSize + " latex">> <</if>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/butt " + _buttSize + ".svg'" + "/></object>">> <</if>> /% Leg + 1 size up when chubby or fat%/ <<if $args[0].hips < 0>> <<if $args[0].weight <= 95>>/%Chubby%/ <<set _legSize = "normal">> <<else>> <<set _legSize = "narrow">> <</if>> <<elseif $args[0].hips == 0>> <<if $args[0].weight <= 95>>/%Chubby%/ <<set _legSize = "wide">> <<else>> <<set _legSize = "normal">> <</if>> <<elseif $args[0].hips > 0>> <<set _legSize = "wide">> <</if>> <<if $args[0].amp != 0>> <<set _legSize = "stump " + _legSize>> <</if>> <<if $args[0].fuckdoll != 0 and $args[0].amp != 1>> <<set _legSize = _legSize + " latex">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/leg " + _legSize + ".svg'" + "/></object>">> <<else>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/leg " + _legSize + ".svg'" + "/></object>">> <</if>> /% Feet %/ <<if $args[0].amp != 1>> <<if $args[0].shoes is "heels">> <<set _shoesType = "heel">> <<elseif $args[0].shoes is "extreme heels">> <<if $args[0].weight <= 95>>/%Chubby%/ <<set _shoesType = "extreme heel wide">> <<else>> <<set _shoesType = "extreme heel">> <</if>> <<elseif $args[0].shoes is "boots">> <<if $args[0].weight <= 95>>/%Chubby%/ <<set _shoesType = "boot wide">> <<else>> <<set _shoesType = "boot">> <</if>> <<elseif $args[0].shoes is "flats">> <<set _shoesType = "flat">> <<else>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/feet.svg'" + "/></object>">> <</if>> <<if $args[0].shoes is "extreme heels" or $args[0].shoes is "boots">> <<if $args[0].fuckdoll != 0>> <<set _shoesType = _shoesType + " latex">> <</if>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/" + _shoesType + ".svg'" + "/></object>">> <</if>> <<if $args[0].shoes is "heels" or $args[0].shoes is "flats">> <<if $args[0].fuckdoll != 0>> <<set _shoesType = _shoesType + " latex">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/" + _shoesType + ".svg'" + "/></object>">> <<else>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/" + _shoesType + ".svg'" + "/></object>">> <</if>> <</if>> <</if>> /% Torso %/ <<if $args[0].waist is 1>>/%Hour glass%/ <<if $args[0].weight <= 95>>/%Chubby%/ <<set _torsoSize = "normal">> <<else>> <<set _torsoSize = "hourglass">> <</if>> <<elseif $args[0].waist is 2>>/*Unnatural*/ <<if $args[0].weight <= 95>>/%Chubby%/ <<set _torsoSize = "hourglass">> <<else>> <<set _torsoSize = "unnatural">> <</if>> <<elseif $args[0].waist is 0>>/*Normal*/ <<set _torsoSize = "normal">> <</if>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/torso " + _torsoSize + ".svg'" + "/></object>">> <<if $args[0].fuckdoll != 0>> <<set _torsoSize = _torsoSize + " latex">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/torso " + _torsoSize + ".svg'" + "/></object>">> <</if>> /*Navel Piercing*/ <<if $args[0].navelPiercing >= 1>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/navel piercing.svg'" + "/></object>">> <</if>> <<if $args[0].navelPiercing == 2>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/navel piercing heavy.svg'" + "/></object>">> <</if>> /% Vagina %/ <<if $args[0].vagina >= 0>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/vagina.svg'" + "/></object>">> <<if $args[0].clitPiercing == 1>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/clit piercing.svg'" + "/></object>">> <<elseif $args[0].clitPiercing == 2>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/clit piercing heavy.svg'" + "/></object>">> <<elseif $args[0].clitPiercing == 3>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/clit piercing smart.svg'" + "/></object>">> <</if>> <<if $args[0].vaginaPiercing == 1>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/pussy piercing.svg'" + "/></object>">> <<elseif $args[0].vaginaPiercing == 2>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/pussy piercing heavy.svg'" + "/></object>">> <</if>> <</if>> /%if pregnant%/ <<if $args[0].preg > 0>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/preg belly.svg'" + "/></object>">> <<if $args[0].navelPiercing >= 1>>/*Navel Piercing*/ <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/preg navel piercing.svg'" + "/></object>">> <</if>> <<if $args[0].navelPiercing == 2>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/preg navel piercing heavy.svg'" + "/></object>">> <</if>> <</if>> /% Head base image %/ <<if $args[0].fuckdoll != 0>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/head latex.svg'" + "/></object>">> <<else>> <<print "<object type='image/svg+xml' data=" +_imgSkinLoc + "/head.svg'" + "/></object>">> <</if>> /% Collar %/ <<if $args[0].collar is "dildo gag">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/gag.svg'" + "/></object>">> <</if>> /% Glasses %/ <<if $args[0].eyewear is "corrective glasses" or $args[0].eyewear is "glasses" or $args[0].eyewear is "blurring glasses">> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/glasses.svg'" + "/></object>">> <</if>> /% Boob %/ <<if $args[0].boobs < 100>> <<set _boobSize = 0>> <<elseif $args[0].boobs < 400>> <<set _boobSize = 1>> <<elseif $args[0].boobs < 800>> <<set _boobSize = 2>> <<elseif $args[0].boobs < 1600>> <<set _boobSize = 3>> <<elseif $args[0].boobs < 3200>> <<set _boobSize = 4>> <<elseif $args[0].boobs < 6400>> <<set _boobSize = 5>> <<elseif $args[0].boobs < 12000>> <<set _boobSize = 6>> <<else>> <<set _boobSize = 7>> <</if>> <<if $args[0].fuckdoll != 0>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/outfit/boob " +_boobSize +" latex.svg'" + "/></object>">> <<if $args[0].lactation > 0>><<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/boob " +_boobSize + " areola.svg'" + "/></object>">><</if>> <<else>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/boob " +_boobSize +".svg'" + "/></object>">> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/boob " +_boobSize + " areola.svg'" + "/></object>">> <</if>> <<if $args[0].nipplesPiercing == 1>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/boob " +_boobSize +" piercing.svg'" + "/></object>">> <<elseif $args[0].nipplesPiercing == 2>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/boob " +_boobSize +" piercing heavy.svg'" + "/></object>">> <</if>> <<if $args[0].areolaePiercing == 1>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/boob " +_boobSize +" areola piercing.svg'" + "/></object>">> <</if>> /% Scrotum %/ <<if $args[0].scrotum > 0>> <<if $args[0].scrotum >= 6>> <<set _ballSize = 4>> <<elseif $args[0].scrotum >= 4>> <<set _ballSize = 3>> <<elseif $args[0].scrotum >= 3>> <<set _ballSize = 2>> <<elseif $args[0].scrotum >= 2>> <<set _ballSize = 1>> <<else>> <<set _ballSize = 0>> <</if>> <</if>> /% Penis %/ <<if $args[0].dick > 0>> <<if $args[0].dick >= 8>> <<set _penisSize = 6>> <<elseif $args[0].dick >= 7>> <<set _penisSize = 5>> <<elseif $args[0].dick >= 6>> <<set _penisSize = 4>> <<elseif $args[0].dick >= 5>> <<set _penisSize = 3>> <<elseif $args[0].dick >= 4>> <<set _penisSize = 2>> <<elseif $args[0].dick >= 2>> <<set _penisSize = 1>> <<else>> <<set _penisSize = 0>> <</if>> <</if>> <<if _boobSize <= 5>> <<if $args[0].vagina > 0>> <<if $args[0].dick > 0>> <div class="highPenis"> <<if $args[0].scrotum > 0>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/ball " + _ballSize + ".svg'" + "/></object>">> <</if>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/penis " + _penisSize + ".svg'" + "/></object>">> /* 000-250-006 */ /* </div> */ /* 000-250-006 */ <</if>> <<else>> <<if $args[0].dick > 0>> <div class="lowPenis"> <<if $args[0].scrotum > 0>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/ball " + _ballSize + ".svg'" + "/></object>">> <</if>> <<print "<object type='image/svg+xml' data=" + _imgSkinLoc + "/penis " + _penisSize + ".svg'" + "/></object>">> /* 000-250-006 */ /* </div> */ /* 000-250-006 */ <</if>> <</if>> <</if>> /% clavicle %/ <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/clavicle.svg'" + "/></object>">> /% Hair Foreground%/ <<if $args[0].hStyle != "shaved">> <<if $args[0].fuckdoll == 0>> <<print "<object type='image/svg+xml' data=" + _folderLoc + "/body/addon/hair fore neat " + _hairColor + ".svg'" + "/></object>">> <</if>> <</if>> /* 000-250-006 */ /* </div> */ /* 000-250-006 */ <</if>> <</if>> /* CLOSES EXEMPTIONS FOR IMAGE SIZES NOT CURRENTLY SUPPORTED BY VECTOR ART */ <<else>> /* RENDERED IMAGES BY SHOKUSHU */ <<if $args[0].vagina gt -1>> <<if $args[0].dick gt 0>> <<if $args[0].balls gt 0>> <<set _fileName = "futanari">> <<else>> <<set _fileName = "herm">> <</if>> <<else>> <<set _fileName = "female">> <</if>> <<else>> <<if $args[0].balls gt 0>> <<set _fileName = "shemale">> <<else>> <<set _fileName = "gelding">> <</if>> <</if>> <<if $args[0].preg gt 10>> <<set _fileName = "preg " + _fileName>> <</if>> <<if $args[0].boobs < 400>> <<set _fileName = _fileName + " small">> <<elseif $args[0].boobs < 800>> <<set _fileName = _fileName + " big">> <<elseif $args[0].boobs < 6000>> <<set _fileName = _fileName + " huge">> <<else>> <<set _fileName = _fileName + " hyper">> <</if>> <<if $args[0].muscles > 30>> <<set _fileName = _fileName + " muscle">> <<else>> <<set _fileName = _fileName + " soft">> <</if>> <<if $args[0].fuckdoll > 0>> <<set _fileName = _fileName + " rebellious">> <<elseif $args[0].devotion <= 20>> <<if $args[0].trust < -20>> <<set _fileName = _fileName + " reluctant">> <<else>> <<set _fileName = _fileName + " rebellious">> <</if>> <<elseif $args[0].fetish == "mindbroken">> <<set _fileName = _fileName + " reluctant">> <<elseif $args[0].devotion <= 50 || $args[0].fetishKnown != 1 || ($seeMainFetishes == 0 && $args[1] < 2)>> <<set _fileName = _fileName + " obedient">> <<else>> <<if $args[0].fetish == "none">> <<set _fileName = _fileName + " obedient">> <<else>> <<set _fileName = _fileName + " " + $args[0].fetish>> <</if>> <</if>> <<set _fileName = "'resources/renders/" + _fileName + ".png' ">> <<if $args[1] == 3>> <<print "<img src=" + _fileName + "style='float:right; border:3px hidden'/>">> <<elseif $args[1] == 2>> <<print "<img src=" + _fileName + "style='float:right; border:3px hidden' width='300' height='300'/>">> <<elseif $args[1] == 1>> <<if $seeSummaryImages != 0>><<print "<img src=" + _fileName + "style='float:left; border:3px hidden' width='150' height='150'/>">><</if>> <<else>> <<print "<img src=" + _fileName + "style='float:left; border:3px hidden' width='120' height='120'/>">> <</if>> <</if>> /* CLOSES IMAGE CHOICE */ <</widget>>
r3d/fc
src/utility/artWidgets.tw
tw
bsd-3-clause
16,678
:: assay widgets [widget nobr] <<widget "Beauty">> <<modScore $args[0]>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set $modded += 1>> <<elseif $args[0].corsetPiercing == 0 && $piercingScore < 3 && $tatScore < 2>> <<set $unmodded += 1>> <</if>> <<if $args[0].vagina is -1>> <<set $XY += 1>> <<else>> <<set $XX += 1>> <</if>> <<if $args[0].visualAge >= 30>> <<set $old += 1>> <<else>> <<set $young += 1>> <</if>> <<set $beauty to 0>> <<if $args[0].fuckdoll == 0>> /* NOT A FUCKDOLL */ <<set $beauty += 150 - ($args[0].visualAge*3) + (5*$args[0].ageImplant) + (Math.min($args[0].health,100)/5) + (2*$args[0].waist) - ($args[0].muscles/30) +($args[0].lips/10) + (6*$args[0].face) +(1.5*$args[0].butt) + ($args[0].clit) + (($args[0].height-160)/10) + ($args[0].voice) + (3*$args[0].intelligence) + ($args[0].entertainSkill/10) + ($args[0].whoreSkill/10) + (2*$args[0].hips)>> <<if $arcologies[0].FSDegradationist != "unset">> <<set $beauty -= ($arcologies[0].FSDegradationist/10)*$args[0].intelligence>> <</if>> <<if $arcologies[0].FSGenderFundamentalistLawBimbo == 1>> <<set $beauty -= 6*$args[0].intelligence>> <</if>> <<if $args[0].teeth is "crooked">> <<set $beauty -= 3>> <<elseif ($args[0].teeth == "braces" || $args[0].teeth == "cosmetic braces") && $args[0].visualAge > 14>> <<set $beauty += 1>> <<elseif $args[0].teeth != "normal">> <<set $beauty -= 1>> <</if>> <<if $arcologies[0].FSAssetExpansionist != "unset" && $arcologies[0].FSGenderFundamentalist == "unset">> <<if $args[0].dick > 6>> <<set $beauty += Math.trunc($args[0].dick)>> <</if>> <<if $args[0].balls > 10>> <<set $beauty += Math.trunc($args[0].balls/4)>> <</if>> <<else>> <<set $beauty -= (2*$args[0].dick) + ($args[0].balls)>> <</if>> <<if $args[0].faceShape is "masculine">> <<if ($arcologies[0].FSGenderRadicalist != "unset")>> <<set $beauty -= (2-($arcologies[0].FSGenderRadicalist/25))*$args[0].face>> <<elseif ($arcologies[0].FSGenderFundamentalist != "unset")>> <<set $beauty -= (2+($arcologies[0].FSGenderFundamentalist/25))*$args[0].face>> <<else>> <<set $beauty -= 2*$args[0].face>> <</if>> <<elseif $args[0].faceShape is "androgynous">> <<if ($arcologies[0].FSGenderRadicalist != "unset")>> <<set $beauty -= (0-($arcologies[0].FSGenderRadicalist/25))*$args[0].face>> <<elseif ($arcologies[0].FSGenderFundamentalist != "unset")>> <<set $beauty -= ($arcologies[0].FSGenderFundamentalist/25)*$args[0].face>> <<else>> <<set $beauty += $args[0].face>> <</if>> <<elseif $args[0].faceShape is "exotic">> <<set $beauty += 2*$args[0].face>> <<elseif $args[0].faceShape is "sensual">> <<set $beauty += 2+$args[0].face>> <<elseif $args[0].faceShape is "cute">> <<set $beauty += 4>> <</if>> <<if $args[0].brand != 0>> <<if $rep > 10000>> <<set $beauty += 1>> <<elseif $rep < 5000>> <<set $beauty -= 1>> <</if>> <</if>> <<if $args[0].minorInjury != 0>> <<set $beauty -= 2>> <</if>> <<if $args[0].cSec == 1>> <<set $beauty -= 2>> <</if>> <<if $args[0].nails > 0>><<set $beauty += 1>><</if>> <<if $args[0].makeup > 0>><<set $beauty += 1>><</if>> <<if ($arcologies[0].FSTransformationFetishist > 20) || ($arcologies[0].FSDegradationist > 20)>> <<if $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set $beauty += 8+($modScore*0.25)>> <<elseif $modScore > 7>> <<set $beauty += $modScore-7>> <</if>> <<elseif ($arcologies[0].FSBodyPurist > 20) || ($arcologies[0].FSPaternalist > 20)>> <<if $modScore <= 7>> <<set $beauty += 10>> <<else>> <<set $beauty += 15-$modScore>> <</if>> <<else>> <<if $modScore <= 7>> <<set $beauty += $modScore>> <<elseif $modScore > 15 || ($piercingScore > 8 && $tatScore > 5)>> <<set $beauty += 11>> <<else>> <<set $beauty += 7+(0.5*($modScore-7))>> <</if>> <</if>> <<if $arcologies[0].FSSupremacist != "unset">> <<if $args[0].race != $arcologies[0].FSSupremacistRace>> <<set $beauty += ($arcologies[0].FSSupremacist/30)+$arcologies[0].FSSupremacistLawME>> <</if>> <</if>> <<if $arcologies[0].FSSubjugationist != "unset">> <<if $args[0].race is $arcologies[0].FSSubjugationistRace>> <<set $beauty += ($arcologies[0].FSSubjugationist/20)+$arcologies[0].FSSubjugationistLawME>> <</if>> <</if>> <<if $arcologies[0].FSEdoRevivalist != "unset">> <<if ($args[0].nationality is "Japanese") || ($args[0].nationality is "Edo Revivalist")>> <<set $beauty += ($arcologies[0].FSEdoRevivalist/20)>> <</if>> <</if>> <<if $arcologies[0].FSChineseRevivalist != "unset">> <<if ($args[0].nationality is "Chinese") || ($args[0].nationality is "Chinese Revivalist")>> <<set $beauty += ($arcologies[0].FSChineseRevivalist/20)>> <</if>> <</if>> <<if $args[0].race is "white">> <<set $beauty += 4>> <<elseif $args[0].race is "surgically altered to look white">> <<set $beauty += 2>> <</if>> <<if $args[0].visualAge >= 30>> <<if $arcologies[0].FSYouthPreferentialist != "unset">> <<set $beauty -= ($arcologies[0].FSYouthPreferentialist/30)+$arcologies[0].FSYouthPreferentialistLaw>> <<elseif $arcologies[0].FSMaturityPreferentialist != "unset">> <<set $beauty += ($arcologies[0].FSMaturityPreferentialist/20)+$arcologies[0].FSMaturityPreferentialistLaw>> <</if>> <<else>> <<if $arcologies[0].FSMaturityPreferentialist != "unset">> <<set $beauty -= ($arcologies[0].FSMaturityPreferentialist/30)-$arcologies[0].FSMaturityPreferentialistLaw>> <<elseif $arcologies[0].FSYouthPreferentialist != "unset">> <<set $beauty += ($arcologies[0].FSYouthPreferentialist/20)-$arcologies[0].FSYouthPreferentialistLaw>> <</if>> <</if>> <<if ($args[0].markings != "none")>> <<if ($args[0].markings is "beauty mark")>> <<if ($args[0].face > 1)>> <<set $beauty += 2>> <<elseif ($args[0].face < 1)>> <<set $beauty -= 2>> <</if>> <<elseif ($args[0].markings is "birthmark")>> <<if ($args[0].prestige > 0)>> <<set $beauty += 2>> <<else>> <<set $beauty -= 2>> <</if>> <<else>> <<if ($args[0].skin is "pale") || ($args[0].skin is "fair")>> <<set $beauty += 1>> <<if ($args[0].hColor is "red")>> <<set $beauty += 1>> <</if>> <</if>> <</if>> <</if>> <<if $entertainmentCareers.contains($args[0].career)>> <<set $beauty += 1>> <<elseif ($week-$args[0].weekAcquired >= 20) && ($args[0].entertainSkill >= 100)>> <<set $beauty += 1>> <</if>> <<if $seeAge == 1>> <<if $args[0].physicalAge == 18>> <<set $beauty += 1>> <<if $args[0].birthWeek == 0>> <<set $beauty += 0.8*$beauty>> <<elseif $args[0].birthWeek < 4>> <<set $beauty += 0.1*$beauty>> <</if>> <</if>> <</if>> <<else>> /* FUCKDOLL */ <<set $beauty += 100 + (2*$args[0].waist) - ($args[0].muscles/30) +($args[0].lips/10) + (3*$args[0].face) +(1.5*$args[0].butt) + ($args[0].clit) + (($args[0].height-160)/10) + (2*$args[0].hips)>> <<if $arcologies[0].FSAssetExpansionist != "unset" && $arcologies[0].FSGenderFundamentalist == "unset">> <<if $args[0].dick > 6>> <<set $beauty += Math.trunc($args[0].dick)>> <</if>> <<if $args[0].balls > 10>> <<set $beauty += Math.trunc($args[0].balls/4)>> <</if>> <<else>> <<set $beauty -= (2*$args[0].dick) + ($args[0].balls)>> <</if>> <</if>> /* CLOSES FUCKDOLL CHECK */ <<if ($arcologies[0].FSTransformationFetishist > 20) || ($arcologies[0].FSAssetExpansionist > 20)>> <<if $args[0].boobs <= 500>> <<set $beauty += (0.02*($args[0].boobs-250))>> <<elseif $args[0].boobs <= 1500>> <<set $beauty += 5+(0.015*($args[0].boobs-500))>> <<elseif $args[0].boobs <= 3000>> <<set $beauty += 20+(0.01*($args[0].boobs-1500))>> <<else>> <<set $beauty += 50+(0.005*($args[0].boobs-3000))>> <</if>> <<if $args[0].butt <= 2>> <<set $beauty += (2*($args[0].butt-1))>> <<elseif $args[0].butt <= 4>> <<set $beauty += 2+(1.5*($args[0].butt-2))>> <<else>> <<set $beauty += 5+(1*($args[0].butt-4))>> <</if>> <<elseif ($arcologies[0].FSSlimnessEnthusiast > 20)>> <<if $args[0].boobs <= 500>> <<set $beauty += (0.05*($args[0].boobs))>> <<elseif $args[0].boobs <= 1000>> <<set $beauty += 25+(0.01*($args[0].boobs-500))>> <<elseif $args[0].boobs <= 3000>> <<set $beauty += 30>> <<else>> <<set $beauty += 30-(0.005*($args[0].boobs-3000))>> <</if>> <<if $args[0].butt <= 3>> <<set $beauty += (3*($args[0].butt-1))>> <<elseif $args[0].butt <= 5>> <<set $beauty += 9>> <<else>> <<set $beauty += 9-(1*($args[0].butt-5))>> <</if>> <<else>> <<if $args[0].boobs <= 1200>> <<set $beauty += (0.02*($args[0].boobs-200))>> <<elseif $args[0].boobs <= 2400>> <<set $beauty += 20+(0.01*($args[0].boobs-1200))>> <<elseif $args[0].boobs <= 3600>> <<set $beauty += 32+(0.005*($args[0].boobs-2400))>> <<else>> <<set $beauty += 38>> <</if>> <<if $args[0].butt <= 2>> <<set $beauty += (2*($args[0].butt-1))>> <<elseif $args[0].butt <= 4>> <<set $beauty += 2+(1.5*($args[0].butt-2))>> <<elseif $args[0].butt <= 8>> <<set $beauty += 2+(1.5*($args[0].butt-2))>> <<else>> <<set $beauty += 9>> <</if>> <</if>> <<if ($arcologies[0].FSTransformationFetishist > 20)>> <<if $args[0].hips >= 3>> <<set $beauty += 1>> <</if>> <</if>> <<if $args[0].hips < -1>> <<if $args[0].butt > 2>> <<if $arcologies[0].FSTransformationFetishist is "unset">> <<set $beauty += 2-$args[0].butt>> <<else>> <<set $beauty += 1>> <</if>> <<else>> <<set $beauty += 1>> <</if>> <<elseif $args[0].hips < 0>> <<if $args[0].butt > 4>> <<if $arcologies[0].FSTransformationFetishist is "unset">> <<set $beauty += 4-$args[0].butt>> <<else>> <<set $beauty += 1>> <</if>> <<else>> <<set $beauty += 1>> <</if>> <<elseif $args[0].hips > 2>> <<if $args[0].butt <= 8>> <<set $beauty += $args[0].butt-8>> <<else>> <<set $beauty += 1>> <</if>> <<elseif $args[0].hips > 1>> <<if $args[0].butt <= 3>> <<set $beauty += $args[0].butt-4>> <<else>> <<set $beauty += 1>> <</if>> <<elseif $args[0].hips > 0>> <<if $args[0].butt > 8>> <<if $arcologies[0].FSTransformationFetishist is "unset">> <<set $beauty += 8-$args[0].butt>> <<else>> <<set $beauty += 1>> <</if>> <<elseif $args[0].butt <= 2>> <<set $beauty += $args[0].butt-3>> <<else>> <<set $beauty += 1>> <</if>> <<else>> <<if $args[0].butt > 6>> <<if $arcologies[0].FSTransformationFetishist is "unset">> <<set $beauty += 6-$args[0].butt>> <<else>> <<set $beauty += 1>> <</if>> <<elseif $args[0].butt <= 1>> <<set $beauty += $args[0].butt-2>> <<else>> <<set $beauty += 1>> <</if>> <</if>> <<if $args[0].boobs > 250>> <<if $args[0].boobShape is "perky">> <<set $beauty += 1>> <<elseif $args[0].boobShape is "torpedo-shaped">> <<set $beauty += 1>> <<elseif $args[0].boobShape is "downward-facing">> <<set $beauty -= 1>> <<elseif $args[0].boobShape is "saggy">> <<set $beauty -= 1>> <</if>> <</if>> <<if $args[0].nipples is "huge">> <<set $beauty += 2>> <<elseif $args[0].nipples is "inverted">> <<set $beauty += 1>> <<elseif $args[0].nipples is "puffy">> <<set $beauty += 1>> <<elseif $args[0].nipples is "tiny">> <<set $beauty -= 1>> <</if>> <<if $args[0].anus > 3>> <<set $beauty -= 1>> <</if>> <<if $args[0].vagina > 3>> <<set $beauty -= 1>> <</if>> <<if ($args[0].hips > 1)>> <<if ($args[0].weight >= 95)>> <<set $beauty -= (2*Math.abs($args[0].weight))/15>> <<elseif ($args[0].weight < -30)>> <<set $beauty -= (2*Math.abs($args[0].weight))/10>> <</if>> <<elseif ($args[0].hips < -1)>> <<if ($args[0].weight <= -95) || ($args[0].weight > 30)>> <<set $beauty -= (2*Math.abs($args[0].weight))/10>> <</if>> <<else>> <<if Math.abs($args[0].weight) > 30>> <<set $beauty -= (2*Math.abs($args[0].weight))/10>> <</if>> <</if>> <<if ($arcologies[0].FSGenderRadicalist > 20) || ($arcologies[0].FSSlimnessEnthusiast > 20)>> <<if $args[0].hips < 0>> <<set $beauty += Math.abs($args[0].hips)>> <</if>> <</if>> <<if $arcologies[0].FSRestart != "unset">> <<if $args[0].balls > 0>> <<set $beauty -= $args[0].balls*(1+($arcologies[0].FSRestart/100))>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalist != "unset">> <<if $args[0].dick > 0>> <<set $beauty += $args[0].dick*(1+($arcologies[0].FSGenderRadicalist/100))>> <</if>> <<if $args[0].scrotum > 0>> <<set $beauty += $args[0].balls*(1+($arcologies[0].FSGenderRadicalist/200))>> <</if>> <<if $args[0].preg > 5 && $arcologies[0].FSRepopulationFocus is "unset" && $arcologies[0].FSRestart is "unset">> <<set $beauty to ($beauty*0.7)>> <</if>> <<elseif $arcologies[0].FSGenderFundamentalist != "unset">> <<if $args[0].scrotum > 0>> <<set $beauty -= $args[0].balls*(1+($arcologies[0].FSGenderFundamentalist/200))>> <<if $args[0].pubertyXY == 0>> <<set $beauty += 5>> <</if>> <</if>> <<if $args[0].shoulders > $args[0].hips>> <<if $args[0].boobs <= 2000*($args[0].shoulders-$args[0].hips)>> <<set $beauty -= ($args[0].shoulders-$args[0].hips)*(1+($arcologies[0].FSGenderFundamentalist/200))>> <</if>> <</if>> <<else>> <<if $args[0].shoulders > $args[0].hips>> <<if $args[0].boobs <= 2000*($args[0].shoulders-$args[0].hips)>> <<set $beauty -= $args[0].shoulders-$args[0].hips>> <</if>> <</if>> <<if $args[0].dick > 4>> <<set $beauty += $args[0].dick - 4>> <</if>> <<if $args[0].scrotum > 4>> <<set $beauty += $args[0].balls - 4>> <</if>> <<if $args[0].preg > 10 && $arcologies[0].FSRepopulationFocus is "unset" && $arcologies[0].FSRestart is "unset">> <<set $beauty to ($beauty*0.8)>> <</if>> <</if>> <<if $arcologies[0].FSPhysicalIdealist != "unset">> <<if $args[0].muscles > 30>> <<set $beauty += ($args[0].muscles*($arcologies[0].FSPhysicalIdealist/40))>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalistLawFuta != 0>> <<if $arcologies[0].FSGenderRadicalistLawFuta == 1>> <<if $args[0].dick > 0>> <<if $args[0].vagina > -1>> <<set $beauty += 2*$args[0].dick>> <</if>> <</if>> <<elseif $arcologies[0].FSGenderRadicalistLawDicks == 2>> <<if $args[0].dick > 0>> <<if $args[0].balls > 0>> <<set $beauty += $args[0].dick+$args[0].balls>> <</if>> <</if>> <<else>> <<if $args[0].butt >= 5>> <<if $args[0].anus >= 2>> <<if $args[0].hips >= 1>> <<if $args[0].analSkill > 60>> <<set $beauty += ($args[0].butt-5) + 2*($args[0].anus-2) + 4*($args[0].hips-1)>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $args[0].vagina == 10>> <<set $beauty -= 10>> <</if>> <<if $args[0].customDesc is "She has a massive scar down her front from where her body exploded under the pressure of her bloated womb.">> <<if $arcologies[0].FSDegradationist != "unset">> <<set $beauty += 15>> <<else>> <<set $beauty -= 15>> <</if>> <</if>> <<if $arcologies[0].FSRepopulationFocus > 40>> <<if $args[0].preg > 30>> <<if $args[0].pregType >= 20>> <<set $beauty += 10>> <<elseif $args[0].pregType >= 10>> <<set $beauty += 9>> <<else>> <<set $beauty += 8>> <</if>> <<elseif $args[0].preg > 20>> <<if $args[0].pregType >= 20>> <<set $beauty += 6>> <<elseif $args[0].pregType >= 10>> <<set $beauty += 5>> <<else>> <<set $beauty += 4>> <</if>> <<elseif $args[0].preg > 10>> <<if $args[0].pregType >= 20>> <<set $beauty += 3>> <<elseif $args[0].pregType >= 10>> <<set $beauty += 2>> <<else>> <<set $beauty += 1>> <</if>> <<else>> <<set $beauty -= 3>> <</if>> <<if $args[0].births > 50>> <<set $beauty += 50>> <<else>> <<set $beauty += $args[0].births>> <</if>> <<elseif $arcologies[0].FSRestart > 40>> <<if $args[0].breedingMark == 1>> <<if $args[0].preg > 5 && $args[0].pregSource == -1>> <<set $beauty += 5>> <</if>> <<else>> <<if $args[0].preg > 30>> <<if $args[0].pregType >= 20>> <<set $beauty -= 50>> <<elseif $args[0].pregType >= 10>> <<set $beauty -= 40>> <<else>> <<set $beauty -= 30>> <</if>> <<elseif $args[0].preg > 20>> <<if $args[0].pregType >= 20>> <<set $beauty -= 40>> <<elseif $args[0].pregType >= 10>> <<set $beauty -= 30>> <<else>> <<set $beauty -= 20>> <</if>> <<elseif $args[0].preg > 10>> <<if $args[0].pregType >= 20>> <<set $beauty -= 30>> <<elseif $args[0].pregType >= 10>> <<set $beauty -= 20>> <<else>> <<set $beauty -= 10>> <</if>> <<elseif $args[0].preg is -2>> <<set $beauty += 5>> <<else>> <<set $beauty += 3>> <</if>> <<if $args[0].births > 50>> <<set $beauty -= 50>> <<else>> <<set $beauty -= $args[0].births>> <</if>> <</if>> <</if>> <<if $args[0].bellyImplant > 1000>> <<if $arcologies[0].FSTransformationFetishist > 20>> <<set $beauty += Math.trunc($args[0].bellyImplant/10)>> <<elseif $arcologies[0].FSRepopulationFocus > 60>> <<if ($args[0].ovaries == 0 && $args[0].mpreg == 0) || $args[0].preg < -1>> <<set $beauty += 2>> <</if>> <<else>> <<set $beauty to ($beauty*0.9)>> <</if>> <</if>> <<if ($args[0].preg > 10) || ($args[0].bellyImplant >= 4000)>> <<set $pregYes += 1>> <<elseif ($args[0].pregType < 10) && ($args[0].preg < 1) && ($args[0].weight < 2) && ($args[0].bellyImplant == 0) && ($args[0].inflation == 0)>> <<set $pregNo -= 1>> <</if>> <<if $args[0].bellySag > 0>> <<if $args[0].preg < 10 && $args[0].inflation == 0 && $args[0].bellyImplant < 2000>> <<if $arcologies[0].FSRepopulationFocus != "unset">> <<else>> <<set $beauty -= 10>> <</if>> <</if>> <</if>> <<if $args[0].pubertyXX == 1>> <<set $beauty += 1>> <</if>> <<if $args[0].pubertyXY == 0 && $args[0].physicalAge > $potencyAge && $args[0].balls > 0>> <<set $beauty += 1>> <</if>> <<if ($args[0].butt > 4) && ($args[0].boobs > 800)>> <<if $arcologies[0].FSSlimnessEnthusiast is "unset">> <<set $beauty += 1>> <</if>> <<set $stacked += 1>> <<if $arcologies[0].FSAssetExpansionist != "unset">> <<set $beauty += ($arcologies[0].FSAssetExpansionist/20)>> <<if canTalk($args[0])>> <<if $args[0].voice is 3>> <<set $beauty += ($arcologies[0].FSAssetExpansionist/40)>> <</if>> <</if>> <</if>> <</if>> <<if ($args[0].boobs < 500) && ($args[0].butt < 3) && ($args[0].weight <= 10) && ($args[0].muscles <= 95)>> <<set $beauty += 3>> <<set $slim += 1>> <<if $arcologies[0].FSSlimnessEnthusiast > 20>> <<set $beauty += ($arcologies[0].FSSlimnessEnthusiast/20)>> <<if canTalk($args[0])>> <<if $args[0].voice is 3>> <<set $beauty += ($arcologies[0].FSSlimnessEnthusiast/40)>> <</if>> <</if>> <</if>> <</if>> <<if ($args[0].boobsImplant == 0) && ($args[0].buttImplant == 0) && ($args[0].waist < 2) && ($args[0].lipsImplant == 0) && ($args[0].faceImplant < 2)>> <<set $pure += 1>> <<if $arcologies[0].FSBodyPurist != "unset">> <<set $beauty += ($arcologies[0].FSBodyPurist/20)>> <</if>> <<if $arcologies[0].FSTransformationFetishist is "unset">> <<set $beauty += 2>> <</if>> <<else>> <<set $implanted += 1>> <<if $arcologies[0].FSTransformationFetishist != "unset">> <<set $beauty += ($arcologies[0].FSTransformationFetishist/40)>> <</if>> <</if>> <<if canTalk($args[0]) == false>> <<set $beauty -= 2>> <<else>> <<if ($args[0].accent >= 3)>> <<set $beauty -= 1>> <<elseif ($args[0].accent == 1)>> <<set $beauty += 1>> <</if>> <</if>> <<if ($args[0].physicalAge < 13)>> <<elseif $args[0].underArmHStyle == "neat">> <<elseif $args[0].underArmHStyle == "hairless">> <<set $beauty += 1>> <<elseif ($args[0].underArmHStyle is "waxed")>> <<set $beauty += 1>> <<elseif $args[0].underArmHStyle == "shaved">> <<set $beauty += 1>> <<elseif $args[0].underArmHStyle == "bushy">> <<set $beauty -= 1>> <</if>> <<if $args[0].amp == 0>> <<elseif $args[0].amp == 1>> <<set $beauty -= 3>> <<elseif $args[0].amp is -3>> <<elseif $args[0].amp is -5>> <<else>> <<set $beauty -= 2>> <</if>> <<if $arcologies[0].FSGenderFundamentalistLawBeauty + $arcologies[0].FSGenderRadicalistLawBeauty > 0>> <<if ($args[0].boobs >= 500)>> <<if ($args[0].boobs <= 800)>> <<if ($args[0].butt >= 3)>> <<if ($args[0].butt <= 4)>> <<if (Math.abs($args[0].weight) <= 30)>> <<if ($args[0].muscles <= 30)>> <<set $beauty += 3>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $arcologies[0].FSChattelReligionistCreed == 1>> <<if $nicaeaAssignment == $args[0].assignment>> <<set $beauty += $nicaeaPower*2>> <</if>> <</if>> <<if $args[0].prestige > 0>> <<set $beauty to $beauty+($beauty*$args[0].prestige*0.1)>> <</if>> <<if $args[0].breedingMark == 1>> <<set $beauty = Math.trunc($beauty*2)>> <</if>> <<if $beauty < 1>> <<set $beauty to 1>> <<else>> <<set $beauty = Math.trunc($beauty*0.5)>> <</if>> <</widget>> <<widget "FResult">> <<set $FResult to (3-$args[0].anus)+($args[0].muscles/30)>> <<if $args[0].muscles < -95>> <<set $FResult -= 5>> <<elseif $args[0].muscles < -30>> <<set $FResult -= 2>> <</if>> <<set $seed to $oralUseWeight + $vaginalUseWeight + $analUseWeight>> <<if $seed > 0>> <<set $FResult += (6+$args[0].tonguePiercing)*($oralUseWeight/$seed)*($args[0].oralSkill/30)>> <<if $args[0].sexualFlaw == "cum addict">> <<set $FResult += ($oralUseWeight/$seed)*($args[0].oralSkill/30)>> <</if>> <<if $args[0].vagina > -1>> <<if $args[0].vaginalAccessory != "chastity belt">> <<set $FResult += 6*($vaginalUseWeight/$seed)*($args[0].vaginalSkill/30)>> <<set $FResult += (3-$args[0].vagina)>> <<set $FResult += ($args[0].vaginaLube)>> <</if>> <</if>> <<set $FResult += 6*($analUseWeight/$seed)*($args[0].analSkill/30)>> <<if $args[0].sexualFlaw == "anal addict">> <<set $FResult += ($analUseWeight/$seed)*($args[0].analSkill/30)>> <</if>> <</if>> <<if $args[0].fuckdoll == 0>> /* NOT A FUCKDOLL */ <<if $familyTesting == 1>> <<if totalRelatives($args[0]) > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $args[0].mother == $slaves[$j].ID>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult += 1>> <<if $arcologies[0].FSEgyptianRevivalist > 20>> <<set $FResult += 1>> <</if>> <</if>> <</if>> <<if $args[0].father == $slaves[$j].ID>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult += 1>> <<if $arcologies[0].FSEgyptianRevivalist > 20>> <<set $FResult += 1>> <</if>> <</if>> <</if>> <<if $slaves[$j].mother == $args[0].ID || $slaves[$j].father == $args[0].ID>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult += 1>> <<if $arcologies[0].FSEgyptianRevivalist > 20>> <<set $FResult += 1>> <</if>> <</if>> <</if>> <<if areSisters($args[0], $slaves[$j]) > 0>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult += 1>> <<if $arcologies[0].FSEgyptianRevivalist > 20>> <<set $FResult += 1>> <</if>> <</if>> <</if>> <</for>> <</if>> <<else>> <<if $args[0].relation != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $args[0].relationTarget>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult += 2>> <<if $arcologies[0].FSEgyptianRevivalist > 20>> <<set $FResult += 2>> <</if>> <</if>> <<break>> <</if>> <</for>> <</if>> <</if>> <<if $args[0].relationship > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $args[0].relationshipTarget>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult += 1>> <</if>> <<break>> <</if>> <</for>> <<elseif $args[0].relationship is -1>> <<set $FResult += 2>> <</if>> <<if $args[0].rivalry != 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $slaves[$j].ID is $args[0].rivalryTarget>> <<if $slaves[$j].assignment is $args[0].assignment>> <<set $FResult -= 1>> <</if>> <<break>> <</if>> <</for>> <</if>> <<if $args[0].drugs is "male hormone injections" || $args[0].drugs is "female hormone injections">> <<set $FResult -= 10>> <</if>> <<if $args[0].diet is "XXY">> <<set $FResult += 2>> <<elseif $args[0].diet is "XY" || $args[0].diet is "XX">> <<set $FResult += 1>> <<elseif $args[0].diet is "cum production">> <<set $FResult += 1>> <</if>> <<if $arcologies[0].FSRepopulationFocus > 20>> <<if $args[0].preg > 10>> <<set $FResult += 2>> <<else>> <<set $FResult -= 2>> <</if>> <<elseif $arcologies[0].FSRestart > 20>> <<if $args[0].preg > 5 && $args[0].breedingMark == 1>> <<set $FResult += 1>> <<elseif $args[0].preg > 10>> <<set $FResult -= 10>> <<else>> <<set $FResult += 0>> <</if>> <</if>> <<if ($args[0].clitPiercing > 2)>> <<set $FResult += 1>> <</if>> <<if ($args[0].fetishKnown == 1)>> <<if ($args[0].fetishStrength > 60)>> <<if ($args[0].fetish != "none")>> <<set $FResult += $args[0].fetishStrength/5>> <</if>> <</if>> <</if>> <<if ($args[0].attrKnown == 1)>> <<set $FResult += Math.trunc($args[0].attrXX/20)>> <<set $FResult += Math.trunc($args[0].attrXY/20)>> <<if ($args[0].energy > 95)>> <<set $FResult += 3>> <<elseif ($args[0].energy > 80)>> <<set $FResult += 2>> <<elseif ($args[0].energy > 60)>> <<set $FResult += 1>> <<elseif ($args[0].energy <= 40)>> <<set $FResult -= 1>> <<elseif ($args[0].energy <= 20)>> <<set $FResult -= 2>> <</if>> <</if>> <<if ($args[0].sexualFlaw != "none")>> <<set $FResult -= 2>> <</if>> <<if ($args[0].sexualQuirk != "none")>> <<set $FResult += 2>> <</if>> <<if ($args[0].behavioralFlaw != "none")>> <<set $FResult -= 2>> <</if>> <<if ($args[0].behavioralQuirk != "none")>> <<set $FResult += 2>> <</if>> <<if $whoreCareers.contains($args[0].career)>> <<set $FResult += 1>> <<elseif ($args[0].oralCount + $args[0].analCount + $args[0].vaginalCount + $args[0].mammaryCount + $args[0].penetrativeCount > 1000)>> <<set $FResult += 1>> <</if>> <<if !canSee($args[0])>> <<set $FResult -= 3>> <<elseif $args[0].eyes <= -1>> <<if $args[0].eyewear != "corrective glasses">> <<if $args[0].eyewear != "corrective contacts">> <<set $FResult -= 1>> <</if>> <</if>> <<elseif $args[0].eyewear is "blurring glasses">> <<set $FResult -= 1>> <<elseif $args[0].eyewear is "blurring contacts">> <<set $FResult -= 1>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist != "unset">> <<if ndef $racialVarieties>> <<set $racialVarieties to []>> <</if>> <<set $seed to 0>> <<for $j to 0; $j < $racialVarieties.length; $j++>> <<if $args[0].race is $racialVarieties[$j]>> <<set $seed to 1>> <</if>> <</for>> <<if $seed == 0>> <<set $racialVarieties.push($args[0].race)>> <</if>> <</if>> <<else>> /* FUCKDOLL */ <<set $FResult += $args[0].fuckdoll/10>> <</if>> /* CLOSES FUCKDOLL CHECK */ <<set $FResult += $args[0].aphrodisiacs*2>> <<if ($args[0].lactation > 0)>> <<set $FResult += 1>> <</if>> <<if $seeAge == 1>> <<if $args[0].physicalAge == 18>> <<set $FResult += 1>> <<if $args[0].birthWeek == 0>> <<set $FResult += 0.5*$FResult>> <<elseif $args[0].birthWeek < 4>> <<set $FResult += 0.1*$FResult>> <</if>> <</if>> <</if>> <<if ($args[0].fetish is "mindbroken")>> <<set $FResult = Math.trunc($FResult*0.4)>> <<else>> <<set $FResult = Math.trunc($FResult*0.7)>> <</if>> <<if $args[0].amp == 0>> <<elseif $args[0].amp == 1>> <<set $FResult -= 2>> <<elseif $args[0].amp is -2>> <<elseif $args[0].amp is -5>> <<else>> <<set $FResult -= 1>> <</if>> <<if $FResult < 2>> <<set $FResult to 2>> <</if>> <</widget>> <<widget "Deadliness">> <<set $deadliness to 2>> <<if $args[0].combatSkill > 0>> <<set $deadliness += 2>> <</if>> <<if $bodyguardCareers.contains($Bodyguard.career)>> <<set $deadliness += 1>> <</if>> <<if ($args[0].muscles > 30) && ($args[0].muscles <= 95)>> <<set $deadliness += 1>> <<elseif ($args[0].muscles > 95) && ($args[0].height >= 185)>> <<set $deadliness += 2>> <<elseif ($args[0].muscles > 95)>> <<set $deadliness -= 1>> <<elseif ($args[0].muscles < -95)>> <<set $deadliness -= 20>> <<elseif ($args[0].muscles < -30)>> <<set $deadliness -= 7>> <<elseif ($args[0].muscles < -5)>> <<set $deadliness -= 3>> <</if>> <<if $args[0].height >= 170>> <<set $deadliness += 1>> <</if>> <<if $args[0].health > 50>> <<set $deadliness += 1>> <</if>> <<if $args[0].boobs > 4000>> <<set $deadliness -= 2>> <<elseif $args[0].boobs > 2000>> <<set $deadliness -= 1>> <</if>> <<if $args[0].butt > 6>> <<set $deadliness -= 1>> <</if>> <<if $args[0].hips > 2>> <<set $deadliness -= 1>> <</if>> <<if Math.abs($args[0].weight) > 30>> <<set $deadliness -= 1>> <</if>> <<if $args[0].health < -50>> <<set $deadliness -= 1>> <</if>> <<if $args[0].inflation == 3>> <<set $deadliness -= 3>> <<elseif $args[0].inflation == 2>> <<set $deadliness -= 2>> <<elseif $args[0].inflation == 1>> <<set $deadliness -= 1>> <</if>> <<if $args[0].bellyImplant >= 32000>> <<set $deadliness -= 5>> <<elseif $args[0].bellyImplant >= 16000>> <<set $deadliness -= 4>> <<elseif $args[0].bellyImplant >= 8000>> <<set $deadliness -= 3>> <<elseif $args[0].bellyImplant >= 4000>> <<set $deadliness -= 2>> <<elseif $args[0].bellyImplant >= 2000>> <<set $deadliness -= 1>> <</if>> <<if $args[0].preg > 10>> <<if $args[0].pregType >= 20 && $args[0].preg > 30>> <<set $deadliness -= 15>> <<elseif $args[0].pregType >= 20>> <<set $deadliness -= 3>> <<elseif $args[0].pregType >= 10>> <<set $deadliness -= 2>> <<else>> <<set $deadliness -= 1>> <</if>> <</if>> <<if $args[0].balls >= 15>> <<set $deadliness -= 1>> <</if>> <<if $args[0].dick >= 10>> <<set $deadliness -= 1>> <</if>> <<if $args[0].amp == 0>> <<if !canWalk($args[0])>> <<set $deadliness -= 20>> <</if>> <<elseif $args[0].amp == 1>> <<set $deadliness -= 20>> <<elseif $args[0].amp == -5>> <<set $deadliness += 10>> <<elseif $args[0].amp == -4>> <<else>> <<set $deadliness -= 1>> <</if>> <<if !canSee($args[0])>> <<set $deadliness -= 8>> <<elseif ($args[0].eyes is -1 and ($args[0].eyewear != "corrective glasses" or $args[0].eyewear != "corrective contacts")) || ($args[0].eyes == 1 and ($args[0].eyewear is "blurring glasses" or $args[0].eyewear is "blurring contacts"))>> <<set $deadliness -= 1>> <</if>> <<if $deadliness < 1>> <<set $deadliness to 1>> <</if>> <</widget>> <<widget "SexualRelease">> <<set $release to 0>> <<if ($args[0].assignment is "serve the public")>> <<set $release to 1>> <<elseif ($args[0].assignment is "serve in the club")>> <<set $release to 1>> <<elseif ($args[0].assignment is "whore")>> <<set $release to 1>> <<elseif ($args[0].assignment is "work in the brothel")>> <<set $release to 1>> <<elseif ($args[0].assignment is "please you")>> <<set $release to 1>> <<elseif ($args[0].assignment is "serve in the master suite")>> <<set $release to 1>> <<elseif ($args[0].assignment is "be a subordinate slave")>> <<set $release to 1>> <<elseif ($args[0].assignment is "work a glory hole")>> <<set $release to 1>> <<elseif ($args[0].assignment is "be confined in the arcade")>> <<set $release to 1>> <<elseif ($args[0].assignment is "get milked") && (($args[0].fetish is "boobs") || ($args[0].energy > 95))>> <<set $release to 1>> <<elseif ($args[0].assignment is "work in the dairy") && (($args[0].fetish is "boobs") || ($args[0].energy > 95))>> <<set $release to 1>> <<elseif ($args[0].assignment is "get cockmilked")>> <<set $release to 1>> <<elseif ($args[0].assignment is "work in the collection facility")>> <<set $release to 1>> <<elseif ($args[0].assignment is "be your Head Girl") && ($HGRelease == 1)>> <<set $release to 1>> <</if>> <</widget>> <<widget "SlaveTitle">> <<if $newDescriptions == 1>> <<if $args[0].dick > 0 and $args[0].balls > 0 and $args[0].boobs > 300 and $args[0].vagina > -1 and $args[0].ovaries == 1>> <<if random(1,100) > 50>> <<set $desc to "futanari">> <<else>> <<set $desc to "herm">> <</if>> <<elseif $args[0].dick > 0 and $args[0].balls == 0 and $args[0].boobs > 300 and $args[0].vagina > -1 and $args[0].ovaries == 1>> <<set $desc to "dickgirl">> <<elseif $args[0].dick > 0 and $args[0].vagina > -1 and $args[0].ovaries == 0>> <<set $desc to "shemale">> <<elseif $args[0].dick > 0 and $args[0].balls == 0 and $args[0].vagina == -1 and $args[0].ovaries == 0>> <<set $desc to "eunuch">> <<elseif $args[0].dick > 0 and $args[0].balls > 0 and $args[0].vagina > -1 and $args[0].ovaries == 1 and $args[0].voice < 2 and $args[0].boobs < 300 and ($args[0].faceType is "masculine" or $args[0].faceType is "androgynous")>> <<set $desc to "cunt boy">> <<elseif $args[0].dick > 0 and $args[0].balls > 0 and $args[0].vagina == -1 and $args[0].ovaries == 0>> <<if $args[0].face > -1 and $args[0].hips > -1 and $args[0].shoulders < 1 and $args[0].faceType != "masculine">> <<set $desc to "trap">> <<elseif $args[0].boobs > 800>> <<set $desc to "titty boy">> <<elseif $args[0].dick == 1 and $args[0].balls == 1>> <<set $desc to "sissy">> <<elseif $args[0].dick > 1 and $args[0].balls > 1 and $args[0].height < 160 and $args[0].muscles == 0 and $args[0].visualAge < 19>> <<set $desc to "boy toy">> <<elseif $args[0].muscles > 95 and $args[0].height >= 185>> <<set $desc to "titan">> <<elseif $args[0].muscles > 30>> <<set $desc to "muscle boy">> <<else>> <<set $desc to "slave boy">> <</if>> <<elseif $args[0].dick == 0 and $args[0].balls == 0 and $args[0].vagina > -1 and $args[0].ovaries == 1>> <<if $args[0].weight > 10 and $args[0].boobs > 800 and $args[0].birthsTotal > 0 and $args[0].physicalAge > 59>> <<set $desc to "GMILF">> <<elseif $args[0].weight > 10 and $args[0].boobs > 800 and $args[0].birthsTotal > 0 and $args[0].physicalAge > 35>> <<set $desc to "MILF">> <<elseif $args[0].lips > 70 and $args[0].boobs > 2000 and $args[0].butt > 3>> <<set $desc to "bimbo">> <<elseif $args[0].hips > 1 and $args[0].boobs > 2000 and $args[0].butt > 3 and $args[0].waist > 0>> <<set $desc to "hourglass">> <<elseif $args[0].muscles > 95 and $args[0].height >= 185>> <<set $desc to "amazon">> <<elseif $args[0].muscles > 30>> <<set $desc to "muscle girl">> <<else>> <<set $desc to "slave girl">> <</if>> <<elseif $args[0].dick == 0 and $args[0].balls == 0 and $args[0].vagina == -1>> <<set $desc to "neuter">> <<else>> <<set $desc to "slave">> <</if>> <<if $args[0].visualAge < 13>> <<if $args[0].vagina > -1>> <<set $desc to "loli " + $desc>> <<else>> <<set $desc to "shota " + $desc>> <</if>> <</if>> <<if $args[0].boobs > 4000 and $args[0].lactation > 0>> <<if $args[0].physicalAge < 13>> <<set $desc to $desc + " calf">> <<else>> <<set $desc to $desc + " cow">> <</if>> <<elseif $args[0].lactation > 0>> <<set $desc to "milky " + $desc>> <</if>> <<if $args[0].boobs > 7500>> <<set $desc to "supermassive titted " + $desc>> <<elseif $args[0].boobs > 4000>> <<set $desc to "huge titted " + $desc>> <<elseif $args[0].boobs > 1000>> <<set $desc to "busty " + $desc>> <</if>> <<if $args[0].dick > 5 and $args[0].balls > 5 and $args[0].boobs > 5000>> <<set $desc to "hyper " + $desc>> <<elseif $args[0].dick > 5 and $args[0].balls > 5>> <<set $desc to "baby maker " + $desc>> <<elseif $args[0].dick > 5>> <<set $desc to "well hung " + $desc>> <</if>> <<if $args[0].births >= 10>> <<set $desc to $desc + " broodmother">> <<elseif $args[0].births >= 3>> <<set $desc to $desc + " breeder">> <</if>> <<if $args[0].indenture > -1>> <<set $desc to "indentured " + $desc>> <</if>> <<if $args[0].preg > 10>> <<set $desc to "pregnant " + $desc>> <</if>> <<if $args[0].fuckdoll > 0>> <<set $desc to $desc + " fuckdoll">> <</if>> <<else>> <<if $args[0].vagina > -1>> <<if $args[0].dick > 0>> <<if $args[0].balls > 0>> <<if $args[0].ovaries == 1>> <<if $args[0].visualAge > 59>> <<set $desc to "futanari GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "futanari MILF">> <<elseif $args[0].visualAge >= 25>> <<set $desc to "futanari">> <<else>> <<set $desc to "futanari girl">> <</if>> <<else>> <<if $args[0].visualAge > 59>> <<set $desc to "true herm GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "true herm MILF">> <<elseif $args[0].visualAge >= 25>> <<set $desc to "true herm">> <<else>> <<set $desc to "true hermgirl">> <</if>> <</if>> <<else>> <<if $args[0].ovaries == 1>> <<if $args[0].visualAge > 59>> <<set $desc to "futa GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "futa MILF">> <<elseif $args[0].visualAge >= 25>> <<set $desc to "futa">> <<else>> <<set $desc to "futagirl">> <</if>> <<else>> <<if $args[0].visualAge > 59>> <<set $desc to "herm GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "herm MILF">> <<elseif $args[0].visualAge >= 25>> <<set $desc to "herm">> <<else>> <<set $desc to "hermgirl">> <</if>> <</if>> <</if>> <<if $args[0].dick > 5 and $args[0].balls > 5 and $args[0].boobs > 5000>> <<set $desc to "hyper " + $desc>> <</if>> <<else>> <<if $args[0].visualAge > 59>> <<if $args[0].muscles > 95>> <<if $args[0].height > 185>> <<set $desc to "GMILF amazon">> <<else>> <<set $desc to "muscle GMILF">> <</if>> <<elseif ($args[0].lactation > 0) && ($args[0].boobs > 2000)>> <<set $desc to "GMILF cow">> <<elseif ($args[0].boobsImplant > 0) && ($args[0].buttImplant > 0)>> <<set $desc to "GMILF bimbo">> <<elseif ($args[0].boobs > 6000)>> <<set $desc to "boob GMILF">> <<else>> <<set $desc to "GMILF">> <</if>> <<elseif $args[0].visualAge > 35>> <<if $args[0].muscles > 95>> <<if $args[0].height > 185>> <<set $desc to "MILF amazon">> <<else>> <<set $desc to "muscle MILF">> <</if>> <<elseif ($args[0].lactation > 0) && ($args[0].boobs > 2000)>> <<set $desc to "MILF cow">> <<elseif ($args[0].boobsImplant > 0) && ($args[0].buttImplant > 0)>> <<set $desc to "MILF bimbo">> <<elseif ($args[0].boobs > 6000)>> <<set $desc to "boob MILF">> <<else>> <<set $desc to "MILF">> <</if>> <<elseif $args[0].visualAge >= 25>> <<if $args[0].muscles > 95>> <<if $args[0].height > 185>> <<set $desc to "amazon">> <<else>> <<set $desc to "muscle slave">> <</if>> <<elseif ($args[0].lactation > 0) && ($args[0].boobs > 2000)>> <<set $desc to "cow">> <<elseif ($args[0].boobsImplant > 0) && ($args[0].buttImplant > 0)>> <<set $desc to "bimbo">> <<elseif ($args[0].boobs > 6000)>> <<set $desc to "boob slave">> <<else>> <<set $desc to "slave">> <</if>> <<else>> <<if $args[0].muscles > 95>> <<if $args[0].height > 185>> <<set $desc to "amazon slavegirl">> <<else>> <<set $desc to "musclegirl">> <</if>> <<elseif ($args[0].lactation > 0) && ($args[0].boobs > 2000)>> <<set $desc to "cowgirl">> <<elseif ($args[0].boobsImplant > 0) && ($args[0].buttImplant > 0)>> <<set $desc to "bimbogirl">> <<elseif ($args[0].boobs > 6000)>> <<set $desc to "boobgirl">> <<else>> <<set $desc to "slavegirl">> <</if>> <</if>> <</if>> <<else>> <<if $args[0].balls > 0>> <<if ($args[0].boobs > 300) && ($args[0].butt > 2)>> <<if $args[0].visualAge > 59>> <<set $desc to "shemale GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "shemale MILF">> <<else>> <<set $desc to "shemale">> <</if>> <<else>> <<if ($args[0].shoulders < 1) && ($args[0].muscles < 2)>> <<if ($args[0].faceShape is "masculine") || ($args[0].faceShape is "androgynous")>> <<if $args[0].visualAge > 59>> <<set $desc to "sissy GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "sissy MILF">> <<else>> <<set $desc to "sissy">> <</if>> <<else>> <<if $args[0].visualAge > 59>> <<set $desc to "trap GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "trap MILF">> <<elseif $args[0].visualAge >= 25>> <<set $desc to "trap">> <<else>> <<set $desc to "trapgirl">> <</if>> <</if>> <<else>> <<set $desc to "bitch">> <</if>> <</if>> <<else>> <<if ($args[0].faceShape is "masculine") || ($args[0].faceShape is "androgynous")>> <<if $args[0].visualAge > 59>> <<set $desc to "gelded GMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "gelded MILF">> <<else>> <<set $desc to "gelded bitch">> <</if>> <<else>> <<if $args[0].visualAge > 59>> <<set $desc to "dickGMILF">> <<elseif $args[0].visualAge > 35>> <<set $desc to "dickMILF">> <<elseif $args[0].visualAge >= 25>> <<set $desc to "dickslave">> <<else>> <<set $desc to "dickgirl">> <</if>> <</if>> <</if>> <</if>> <<if $args[0].births >= 5>> <<set $desc to $desc + "broodmother">> <<elseif $args[0].births >= 2>> <<set $desc to $desc + "breeder">> <</if>> <<if $args[0].indenture > -1>> <<set $desc to "indentured " + $desc>> <</if>> <<if $args[0].preg > 10>> <<set $desc to "pregnant " + $desc>> <</if>> <<if $args[0].fuckdoll > 0>> <<set $desc to $desc + " fuckdoll">> <</if>> <</if>> <</widget>> <<widget "modScore">> /* Use is <<modScore $someSlave>> where $someSlave is any variable that points to a valid slave */ <<set $piercingScore = 0>> <<set $tatScore = 0>> <<if $args[0].earPiercing > 0>><<set $piercingScore += $args[0].earPiercing*0.75-0.5>><</if>> <<if $args[0].nosePiercing > 0>><<set $piercingScore += $args[0].nosePiercing*0.75-0.5>><</if>> <<if $args[0].eyebrowPiercing > 0>><<set $piercingScore += $args[0].eyebrowPiercing*0.75-0.5>><</if>> <<if $args[0].navelPiercing > 0>><<set $piercingScore += $args[0].navelPiercing*0.75-0.5>><</if>> <<if $args[0].corsetPiercing > 0>><<set $piercingScore += $args[0].corsetPiercing*0.75+0.5>><</if>> <<if $args[0].nipplesPiercing > 0>><<set $piercingScore += $args[0].nipplesPiercing*0.75-0.25>><</if>> <<if $args[0].areolaePiercing > 0>><<set $piercingScore += $args[0].areolaePiercing*0.75+0.5>><</if>> <<if $args[0].lipsPiercing > 0>><<set $piercingScore += $args[0].lipsPiercing*0.75-0.25>><</if>> <<if $args[0].tonguePiercing > 0 >><<set $piercingScore += $args[0].tonguePiercing*0.75-0.25>><</if>> <<if $args[0].clitPiercing == 3>><<set $piercingScore += 1.25>> /* smart piercing */ <<elseif $args[0].clitPiercing > 0>><<set $piercingScore += $args[0].clitPiercing*0.75-0.25>><</if>> <<if $args[0].vaginaPiercing > 0>><<set $piercingScore += $args[0].vaginaPiercing*0.75-0.25>><</if>> <<if $args[0].dickPiercing > 0>><<set $piercingScore += $args[0].dickPiercing*0.75-0.25>><</if>> <<if $args[0].anusPiercing > 0>><<set $piercingScore += $args[0].anusPiercing*0.75-0.25>><</if>> <<if $args[0].boobsTat != 0>><<set $tatScore += 1.25>><</if>> <<if $args[0].buttTat != 0>><<set $tatScore += 1.25>><</if>> <<if $args[0].lipsTat != 0>><<set $tatScore += 1.25>><</if>> <<if $args[0].shouldersTat != 0>><<set $tatScore += 1>><</if>> <<if $args[0].backTat != 0>><<set $tatScore += 1.25>><</if>> <<if $args[0].armsTat != 0>><<set $tatScore += 1>><</if>> <<if $args[0].legsTat != 0>><<set $tatScore += 1>><</if>> <<if $args[0].stampTat != 0>><<set $tatScore += 1>><</if>> <<if $args[0].vaginaTat != 0>><<set $tatScore += 1>><</if>> <<if $args[0].dickTat != 0>><<set $tatScore += 1>><</if>> <<if $args[0].bellyTat != 0>> <<if (($args[0].preg > 30) && ($args[0].pregType >= 20)) || ($args[0].bellyImplant >= 32000)>> <<set $tatScore += 0.75>> <<elseif (($args[0].preg > 20) && ($args[0].pregType >= 20)) || (($args[0].preg > 30) && ($args[0].pregType >= 10)) || ($args[0].bellyImplant >= 16000)>> <<set $tatScore += 1>> <<elseif (($args[0].preg > 10) && ($args[0].pregType >= 20)) || (($args[0].preg > 20) && ($args[0].pregType >= 10)) || ($args[0].preg > 30) || ($args[0].inflation == 3) || ($args[0].bellyImplant >= 8000)>> <<set $tatScore += 1>> <<elseif (($args[0].preg > 0) && ($args[0].pregType >= 20)) || (($args[0].preg > 10) && ($args[0].pregType >= 10)) || ($args[0].preg > 20) || ($args[0].inflation == 2) || ($args[0].bellyImplant >= 4000)>> <<set $tatScore += 0.5>> <<elseif (($args[0].preg > 0) && ($args[0].pregType >= 10)) || ($args[0].preg > 10) || ($args[0].inflation == 1) || ($args[0].bellyImplant >= 2000)>> <<set $tatScore += 0.25>> <<else>> <<set $tatScore += 0.1>> <</if>> <</if>> <<if $args[0].anusTat == "bleached">><<set $tatScore += 0.5>> <<elseif $args[0].anusTat != 0>><<set $tatScore += 1.25>><</if>> <<set $modScore = $piercingScore+$tatScore>> /* note: always overwrites previous $modScore */ <</widget>> <<widget "fetishChangeChance">> <<if $args[0].clitSetting != $args[0].fetish>> <<set $fetishChangeChance = Math.trunc(Math.clamp(($args[0].devotion/4)-($args[0].fetishStrength/4), 0, 100))>> <<else>> <<set $fetishChangeChance = 0>> <</if>> <</widget>> <<widget "slaveCost">> <<Beauty $args[0]>> <<FResult $args[0]>> <<set $slaveCost = ($beauty*$FResult)>> <<set $slaveMultiplier to $slaveCostFactor>> <<if $args[0].behavioralFlaw != "none">> <<set $slaveMultiplier -= 0.1>> <</if>> <<if $args[0].behavioralQuirk != "none">> <<set $slaveMultiplier += 0.1>> <</if>> <<if $args[0].sexualFlaw == "breeder" && $arcologies[0].FSRepopulationFocus != "unset">> <<set $slaveMultiplier += 0.3>> <<elseif $args[0].sexualFlaw != "none">> <<set $slaveMultiplier -= 0.1>> <</if>> <<if $args[0].sexualQuirk != "none">> <<set $slaveMultiplier += 0.1>> <</if>> <<if $args[0].fetishKnown == 1>> <<if $args[0].fetish is "mindbroken">> <<set $slaveMultiplier -= 0.3>> <<elseif $args[0].fetish != "none">> <<set $slaveMultiplier += $args[0].fetishStrength/1000>> <</if>> <<else>> <<set $slaveMultiplier -= 0.1>> <</if>> <<if $args[0].attrKnown == 1>> <<if $args[0].energy > 95>> <<set $slaveMultiplier += 0.2>> <</if>> <</if>> <<if $args[0].vagina == 0>> <<set $slaveMultiplier += 0.1>> <</if>> <<if $args[0].mpreg == 1>> <<set $slaveMultiplier += 0.2>> <</if>> <<if $arcologies[0].FSRepopulationFocusSMR == 1>> <<if $args[0].preg < -1>> <<set $slaveMultiplier -= 0.5>> <<elseif ($args[0].pregType >= 10) && ($args[0].preg > 20)>> <<set $slaveMultiplier += 0.5>> <<elseif $args[0].preg > 10>> <<set $slaveMultiplier += 0.1>> <</if>> <<elseif $arcologies[0].FSRestartSMR == 1>> <<if $args[0].preg < -1>> <<set $slaveMultiplier += 0.5>> <<elseif ($args[0].pregType >= 10) && ($args[0].preg > 20)>> <<set $slaveMultiplier -= 1.5>> <<elseif $args[0].preg > 10>> <<set $slaveMultiplier -= 1.0>> <</if>> <<else>> <<if $args[0].preg < -1>> <<set $slaveMultiplier -= 0.1>> <<elseif ($args[0].pregType >= 10) && ($args[0].preg > 20)>> <<set $slaveMultiplier -= 0.5>> <<elseif $args[0].preg > 10>> <<set $slaveMultiplier -= 0.1>> <</if>> <</if>> <<set $slaveMultiplier += 0.05*$args[0].intelligence>> <<if $args[0].intelligenceImplant == 1>> <<set $slaveMultiplier += 0.1-($args[0].intelligence*0.02)>> <</if>> <<if $args[0].vagina > -1 && $arcologies[0].FSRestartSMR == 1>> <<if $args[0].dick > 0>> <<if $args[0].ovaries == 0 && $args[0].balls == 0>> <<set $slaveMultiplier += 0.8>> <</if>> <</if>> <<elseif $args[0].vagina > -1>> <<if $args[0].dick > 0>> <<if ($ui != "start") || ($PC.dick == 0) || ($PC.vagina == 0)>> <<set $slaveMultiplier += 0.2>> <<if $args[0].ovaries > 0>> <<if $args[0].balls > 0>> <<set $slaveMultiplier += 0.8>> <</if>> <</if>> <<else>> <<set $slaveMultiplier += 0.1>> <<if $args[0].ovaries > 0>> <<if $args[0].balls > 0>> <<set $slaveMultiplier += 0.2>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $args[0].pubertyXY == 0 && $args[0].physicalAge >= $potencyAge && $arcologies[0].FSGenderRadicalist == "unset">> <<set $slaveMultiplier += 0.5>> <</if>> <<if $args[0].prestige > 0>> <<set $slaveMultiplier += 0.7*$args[0].prestige>> <</if>> <<if $specialSlavesPriceOverride == 1>> <<if $args[0].devotion >= 50>> <<set $slaveMultiplier += $args[0].devotion/200>> <</if>> <<if $args[0].trust >= 50>> <<set $slaveMultiplier += $args[0].trust/200>> <</if>> <<else>> <<set $slaveMultiplier += $args[0].devotion/200>> <<if $args[0].devotion <= 50>> <<set $slaveMultiplier += $args[0].trust/200>> <<else>> <<if $args[0].trust > 0>> <<set $slaveMultiplier += $args[0].trust/200>> <</if>> <</if>> <</if>> <<if $args[0].brand != 0>> <<if $rep > 10000>> <<set $slaveMultiplier += 0.1>> <<elseif $rep < 5000>> <<set $slaveMultiplier -= 0.1>> <</if>> <</if>> <<if $arcologies[0].FSSupremacistLawME != 0>> <<if $args[0].race != $arcologies[0].FSSupremacistRace>> <<set $slaveMultiplier -= 0.1>> <</if>> <</if>> <<if $arcologies[0].FSSubjugationistLawME != 0>> <<if $args[0].race is $arcologies[0].FSSubjugationistRace>> <<set $slaveMultiplier -= 0.2>> <</if>> <</if>> <<if $arcologies[0].FSRestartSMR != 0>> <<if $args[0].dick > 0>> <<set $slaveMultiplier -= 0.1>> <</if>> <<if $args[0].balls > 0>> <<set $slaveMultiplier -= 0.2>> <</if>> <<if $args[0].vagina > 0>> <<set $slaveMultiplier -= 0.1>> <</if>> <<if $args[0].ovaries > 0>> <<set $slaveMultiplier -= 0.5>> <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalistSMR != 0>> <<if $args[0].dick > 0>> <<set $slaveMultiplier -= 0.1>> <</if>> <<if $args[0].balls > 0>> <<set $slaveMultiplier -= 0.1>> <</if>> <</if>> <<if $arcologies[0].FSGenderRadicalistLaw != 0>> <<if $args[0].dick > 0>> <<set $slaveMultiplier += 0.1>> <</if>> <<if $args[0].balls > 0>> <<set $slaveMultiplier -= 0.1>> <</if>> <</if>> <<if $arcologies[0].FSArabianRevivalist > 50>> <<set $slaveMultiplier += 0.1>> <</if>> <<if $args[0].career != 0>> <<if $args[0].career is "a slave">> <<set $slaveMultiplier += 0.1>> <<elseif $bodyguardCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $wardenessCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $attendantCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $schoolteacherCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $stewardessCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $milkmaidCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $madamCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $DJCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $HGCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $recruiterCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.1>> <<elseif $entertainmentCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.05>> <<elseif $whoreCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.05>> <<elseif $gratefulCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.05>> <<elseif $menialCareers.contains($args[0].career)>> <<set $slaveMultiplier += 0.05>> <</if>> <</if>> <<if ($week-$args[0].weekAcquired >= 20) && ($args[0].entertainSkill >= 100)>> <<if $entertainmentCareers.contains($args[0].career)>> <<else>> <<set $slaveMultiplier += 0.05>> <</if>> <</if>> <<if ($args[0].oralCount + $args[0].analCount + $args[0].vaginalCount + $args[0].mammaryCount + $args[0].penetrativeCount > 1000)>> <<if $whoreCareers.contains($args[0].career)>> <<else>> <<set $slaveMultiplier += 0.05>> <</if>> <</if>> <<if $seeAge == 1>> <<if $args[0].physicalAge == 18>> <<if $args[0].birthWeek == 0>> <<set $slaveMultiplier -= 0.2>> <<elseif $args[0].birthWeek < 4>> <<set $slaveMultiplier -= 0.05>> <</if>> <</if>> <</if>> <<if $args[0].amp == 1>> <<set $slaveMultiplier -= 0.2>> <</if>> <<if $args[0].eyes is -2>> <<set $slaveMultiplier -= 0.2>> <</if>> <<if $args[0].indenture > -1>> <<set $slaveMultiplier -= 0.1*$args[0].indentureRestrictions>> <<set $slaveMultiplier -= (260-$args[0].indenture)/260>> <<elseif $seeAge == 1>> <<if $args[0].actualAge >= ($retirementAge-5) && $PhysicalRetirementAgePolicy != 1>> <<set $seed to 52*($retirementAge-$args[0].actualAge)>> <<set $slaveMultiplier to $slaveMultiplier*($seed/260)>> <</if>> <<if $args[0].physicalAge >= ($retirementAge-5) && $PhysicalRetirementAgePolicy == 1>> <<set $seed to 52*($retirementAge-$args[0].physicalAge)>> <<set $slaveMultiplier to $slaveMultiplier*($seed/260)>> <</if>> <</if>> <<set $slaveCost to ($slaveCost*$slaveMultiplier*50)>> <<if $slaveCost < $minimumSlaveCost>> <<set $slaveCost = $minimumSlaveCost>> <<elseif $slaveCost <= 100000>> <<elseif $slaveCost <= 200000>> <<set $slaveCost -= (($slaveCost-100000)*0.1)>> <<elseif $slaveCost <= 300000>> <<set $slaveCost -= 10000 + (($slaveCost-200000)*0.2)>> <<elseif $slaveCost <= 400000>> <<set $slaveCost -= 30000 + (($slaveCost-300000)*0.3)>> <<elseif $slaveCost <= 500000>> <<set $slaveCost -= 60000 + (($slaveCost-400000)*0.4)>> <<else>> <<set $slaveCost -= 100000 + (($slaveCost-500000)*0.5)>> <</if>> <<if $slaveCost < 1000>> <<set $slaveCost = 1000>> <</if>> <<set $slaveCost to 500*Math.trunc($slaveCost/500)>> <</widget>>
r3d/fc
src/utility/assayWidgets.tw
tw
bsd-3-clause
52,115
:: description widgets [widget nobr] <<widget "MainLinks">> <center> <<if ($personalAttention is "business")>>You plan to focus on business this week. <<elseif ($personalAttention is "whoring")>>You plan to focus on earning extra money this week. <<elseif ($personalAttention is "upkeep")>>You plan to focus on cleaning the penthouse this week. <<elseif ($personalAttention is "HG")>>You plan to support your Head Girl this week, so $pronoun can give more slaves $possessive attention. <<elseif ($personalAttention is "sex")>>You plan to have as much sex with your slaves as possible this week. <<else>> <<if _PA > -1>> You plan to train ''__@@color:pink;$slaves[_PA].slaveName@@__'' to $trainingRegimen this week. <</if>> <</if>> <span id="managePA"><strong><<link "Change plans">><<goto "Personal Attention Select">><</link>></strong></span> @@color:cyan;[A]@@ <br> <<if _HG > -1>> ''__@@color:pink;$HeadGirl.slaveName@@__'' is <<if ndef $headGirlFocus>>serving as your head girl<<if $arcologies[0].FSEgyptianRevivalistLaw == 1>> and Consort<</if>>.<<else>>your head girl<<if $arcologies[0].FSEgyptianRevivalistLaw == 1>> and Consort,<</if>> and is focusing on your slaves' $headGirlFocus.<</if>> <span id="manageHG"><strong><<link "Manage Head Girl">><<goto "HG Select">><</link>></strong></span> @@color:cyan;[H]@@ <<elseif (_HG == -1) && ($slaves.length > 1)>> You have not selected a Head Girl<<if $arcologies[0].FSEgyptianRevivalistLaw == 1>> and Consort<</if>>. <span id="manageHG"><strong><<link "Select one">><<goto "HG Select">><</link>></strong></span> @@color:cyan;[H]@@ <<elseif (_HG == -1)>> //You do not have enough slaves to keep a Head Girl// <</if>> <br> <<if _RC > -1>> ''__@@color:pink;$Recruiter.slaveName@@__'' is working to recruit girls. <span id="manageRecruiter"><strong><<link "Manage Recruiter">><<goto "Recruiter Select">><</link>></strong></span> @@color:cyan;[R]@@ <<else>> You have not selected a Recruiter. <span id="manageRecruiter"><strong><<link "Select one">><<goto "Recruiter Select">><</link>></strong></span> @@color:cyan;[R]@@ <</if>> <<if ($dojo != 0)>> <br> <<if _BG > -1>> ''__@@color:pink;$Bodyguard.slaveName@@__'' is serving as your bodyguard. <span id="manageBG"><strong><<link "Manage Bodyguard">><<goto "BG Select">><</link>></strong></span> @@color:cyan;[B]@@ <<else>> You have not selected a Bodyguard. <span id="manageBG"><strong><<link "Select One">><<goto "BG Select">><</link>></strong></span> @@color:cyan;[B]@@ <</if>> <</if>> <<if $organsCompleted > 0>> <<set $dumped to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<set _Slave to $slaves[_i]>> <<for _j to 0; _j < $organs.length; _j++>> <<if ($organs[_j] != 0) && ($organs[_j].ID == _Slave.ID) && ($organs[_j].weeksToCompletion <= 0)>> <br>@@color:yellow;The fabricator has completed an organ for@@ <span id="name"><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">></span>, @@color:yellow; which is ready to be implanted.@@ <</if>> <</for>> <</for>> <</if>> <<if $limbsCompleted > 0>> <<set $dumped to 0>> <<for _i to 0; _i < $slaves.length; _i++>> <<set _Slave to $slaves[_i]>> <<for _j to 0; _j < $limbs.length; _j++>> <<if ($limbs[_j] != 0) && ($limbs[_j].ID == _Slave.ID) && ($limbs[_j].weeksToCompletion == 0)>> <br>@@color:yellow;The facility has completed a set of limbs for@@ <span id="name"><<print "[[_Slave.slaveName|Slave Interact][$activeSlave to $slaves[" + _i + "]]]">></span>, @@color:yellow; which is ready to be attached.@@ <</if>> <</for>> <</for>> <</if>> <br> <span id="buySlaves"><strong><<link "Buy Slaves">><<goto "Buy Slaves">><</link>></strong></span> @@color:cyan;[S]@@ <<if ($slaveCostFactor > 1.1)>> @@color:yellow;There is a bull market for slaves; the price of slaves is very high.@@ <<elseif ($slaveCostFactor > 1)>> @@color:yellow;The slave market is bullish; the price of slaves is high.@@ <<elseif ($slaveCostFactor < 0.9)>> @@color:yellow;There is a bear market for slaves; the price of slaves is very low.@@ <<elseif ($slaveCostFactor < 1)>> @@color:yellow;The slave market is bearish; the price of slaves is low.@@ <<else>> The slave market is stable; the price of slaves is average. <</if>> <<if $TSS.schoolSale != 0>> <br>@@color:yellow;For your first purchase, @@<strong>[[The Slavegirl School][$slavesSeen += 1]]</strong>@@color:yellow; will sell at half price this week.@@ <</if>> <<if $GRI.schoolSale != 0>> <br>@@color:yellow;For your first purchase, @@<strong>[[Growth Research Institute][$slavesSeen += 1]]</strong>@@color:yellow; will sell at half price this week.@@ <</if>> <<if $SCP.schoolSale != 0>> <br>@@color:yellow;For your first purchase, @@<strong>[[St. Claver Preparatory][$slavesSeen += 1]]</strong>@@color:yellow; will sell at half price this week.@@ <</if>> <<if ($seeDicks != 0)>> <<if $LDE.schoolSale != 0>> <br>@@color:yellow;For your first purchase, @@<strong>[[L'école des Enculées][$slavesSeen += 1]]</strong>@@color:yellow; will sell at half price this week.@@ <</if>> <<if $TGA.schoolSale != 0>> <br>@@color:yellow;For your first purchase, @@<strong>[[The Gymnasium-Academy][$slavesSeen += 1]]</strong>@@color:yellow; will sell at half price this week.@@ <</if>> <<if $TFS.schoolSale != 0>> <br>@@color:yellow;For your first purchase, @@<strong>[[The Futanari Sisters][$slavesSeen += 1]]</strong>@@color:yellow; will sell at half price this week.@@ <</if>> <</if>> </center> <</widget>> <<widget "BoobsDescription">> <<SlavePronouns $activeSlave>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $surgeryDescription == 0>> <<if ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> $activeSlave.slaveName's breasts are gently moving with the powerful pumping of the milkers attached to $possessive nipples. <<else>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's Fuckdoll suit <<if $activeSlave.boobs > 20000>> fits each of its awe-inspiring masses of breastflesh perfectly. <<elseif $activeSlave.boobs > 10000>> fits each of its enormous masses of breastflesh perfectly. <<elseif $activeSlave.boobs > 2000>> fits each of its huge breasts individually. <<elseif $activeSlave.boobs > 800>> fits each of its heavy breasts individually. <<elseif $activeSlave.boobs > 300>> fits each of its breasts individually. <<else>> is flat across its chest. <</if>> <<case "conservative clothing">> <<if $activeSlave.boobs > 20000>> $activeSlave.slaveName is wearing a massively oversized custom sweater since nothing else comes close to modestly covering $possessive tits. Even so, it's stretched taut just struggling to cover $possessive nipples, causing acres of breast flesh to spill out from under it and through the neckhole. <<elseif $activeSlave.boobs > 10000>> $activeSlave.slaveName is wearing a massively oversized custom sweater since nothing else comes close to modestly covering $possessive tits. Even so, it's stretched taut struggling to contain their immense mass. <<elseif $activeSlave.boobs > 8000>> $activeSlave.slaveName is wearing an oversized sweater, since that's the only top that will come close to covering $possessive tits. Even so, it's stretched taut just struggling to cover $possessive nipples. <<elseif $activeSlave.boobs > 4000>> $activeSlave.slaveName is wearing an oversized sweater, since that's the only top that will cover $possessive tits. Even so, it's stretched taut over them. <<elseif $activeSlave.boobs > 2000>> $activeSlave.slaveName's blouse is professional, but can't conceal the gigantic dimensions of $possessive tits. <<elseif $activeSlave.boobs > 800>> $activeSlave.slaveName's blouse is professional, but can't conceal how big $possessive tits are. <<else>> $activeSlave.slaveName's blouse is professional and includes a pleated front over $possessive breasts. <</if>> <<case "chains">> $activeSlave.slaveName has a length of chain painfully <<if $activeSlave.boobs > 800>> tightened around the base of each breast, forcing them out. <<else>> looped under $possessive chest, forcing $possessive breasts up. <</if>> <<case "Western clothing">> $activeSlave.slaveName's flannel shirt <<if $activeSlave.boobs > 2000>> can't begin to contain $possessive tits, so $pronoun's just tied it under them for support. <<elseif $activeSlave.boobs > 800>> can't close over $possessive tits, so $pronoun's just buttoned it up to where they start and let them fill it out above that. <<else>> rests comfortably over $possessive breasts. <</if>> <<case "body oil">> $activeSlave.slaveName's breasts are covered in a sexy sheen of body oil. <<case "a toga">> <<if $activeSlave.boobs > 6000>> $activeSlave.slaveName's breasts are too big to cover with $possessive toga, so $pronoun leaves them hanging free. <<else>> $activeSlave.slaveName is wearing $possessive toga so as to leave one breast bare. <</if>> <<case "a slutty qipao">> $activeSlave.slaveName's qipao <<if $activeSlave.boobs > 6000>> can't contain the immense size of $possessive breasts, so $pronoun wears a modified variant that lets $possessive tits hang free. <<elseif $activeSlave.boobs > 4000>> barely covers $possessive breasts, it strains to contain their absurd size. Breast flesh spills from any gap it can find. <<elseif $activeSlave.boobs > 2000>> demurely covers $possessive breasts, though it cannot conceal their absurd size. <<else>> demurely covers $possessive breasts. <</if>> <<case "uncomfortable straps">> $activeSlave.slaveName's slave <<if $activeSlave.boobs > 2000>> outfit has special straps for $possessive massive boobs: one strap down the front of each with steel rings to let $possessive nipples through, and a strap around the base of each, painfully squeezing $possessive breasts out to make them seem even bigger. <<elseif $activeSlave.boobs > 800>> outfit's straining straps restrain the flesh of $possessive tits like a string bikini, with steel rings to let $possessive nipples through. <<else>> outfit's straps pass over $possessive breasts like a string bikini, with steel rings to let $possessive nipples through. <</if>> <<case "shibari ropes">> $activeSlave.slaveName's <<if $activeSlave.boobs > 2000>> breasts are restrained by yards and yards of rope. <<elseif $activeSlave.boobs > 800>> boobs are tightly bound with rope, soft flesh pushing out from between them. <<else>> chest is tightly bound with rope. <</if>> <<case "restrictive latex">> $activeSlave.slaveName's <<if $activeSlave.boobs > 2000>> breasts protrude through holes in $possessive latex suit, which are too small for them, painfully constricting $possessive and making them seem even bigger. <<elseif $activeSlave.boobs > 800>> breasts protrude through holes in $possessive latex suit. <<else>> latex suit leaves $possessive chest bare. <</if>> <<case "attractive lingerie">> $activeSlave.slaveName's <<if $activeSlave.boobs > 6000>> lace bra cannot cover the whole breast; its cups are half-moon shaped, and designed to offer what support they can to the bottom of them. They have disappeared completely under the immense quantity of breast flesh. <<elseif $activeSlave.boobs > 2000>> lace bra cannot cover the whole breast; its cups are half-moon shaped, and designed to offer what support they can to the bottom of them. <<elseif $activeSlave.boobs > 800>> sturdy lace bra supports $possessive huge breasts. <<else>> pretty lace bra accentuates $possessive breasts. <</if>> <<case "a succubus outfit">> $activeSlave.slaveName's corset ends just below $possessive breasts, leaving them bare. <<if $activeSlave.boobs > 2000>> It hugs $possessive tightly and comes up to right under where they start, forcing them to spill over and hide its upper half. <<elseif $activeSlave.boobs > 400>> It hugs $possessive tightly and comes up to right under where they start, presenting them like a push-up bra. <</if>> <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress stops below $possessive breasts, but the outfit includes a thin white blouse <<if $activeSlave.boobs > 4000>> that fails to even come close to covering $possessive immense breasts. <<elseif $activeSlave.boobs > 2000>> that covers them to just over $possessive nipples when $pronoun pulls it up over them. It's pulled down by $possessive huge chest whenever $pronoun moves. <<elseif $activeSlave.boobs > 800>> that covers them to just over $possessive nipples, leaving a large area of deliciously unsupported and jiggling cleavage. <<else>> to cover them. <</if>> <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress front is almost conservative, covering $possessive <<if $activeSlave.boobs > 6000>> immense breasts as best it can; it barely succeeds at its task, straining at the seams and allowing breast flesh to spill out of every available gap. <<elseif $activeSlave.boobs > 2000>> breasts, though it cannot conceal their enormous mass. <<else>> breasts. <</if>> <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit includes a <<if $activeSlave.boobs > 2000>> half-corset, but only the bottom edge is visible: the rest is swallowed up under $possessive gigantic tits. <<elseif $activeSlave.boobs > 800>> half-corset to force $possessive big boobs up and forward, forming a lot of cleavage even though they're bare. <<else>> half-corset to force $possessive boobs up and forward. <</if>> <<case "a chattel habit">> $activeSlave.slaveName's chattel habit's scapular covers $possessive shoulders and arms, but is open in front, leaving $possessive <<if $activeSlave.boobs > 2000>> boobs completely bare. It tucks into a golden belt, though this is buried under $possessive breasts. <<elseif $activeSlave.boobs > 300>> boobs completely bare. It tucks into a golden belt, which is cinched up right under $possessive breasts. <<else>> chest completely bare. It tucks into a golden belt cinched around $possessive middle torso. <</if>> <<case "a penitent nuns habit">> If $pronoun fails to hold $possessive torso totally still, the coarse cloth of $possessive top agonizingly scrapes across $possessive nipples, bare under $possessive habit. <<case "a string bikini">> <<if $activeSlave.boobs > 2000>> With even the slightest movement, $activeSlave.slaveName's huge breasts pull $possessive nipples out from under the tiny scrap of cloth that $possessive string bikini affords them. <<elseif $activeSlave.boobs > 800>> $activeSlave.slaveName's big breasts threaten to break out of $possessive straining string bikini top. <<else>> $activeSlave.slaveName's string bikini top barely covers anything, affording only a tiny scrap of cloth for each nipple. <</if>> <<case "clubslut netting">> $activeSlave.slaveName's <<if $activeSlave.boobs > 6000>> immense boobs hang out the holes they tore in $possessive clubslut netting. <<elseif $activeSlave.boobs > 2000>> clubslut netting is stretched to the breaking point by $possessive massive boobs. <<elseif $activeSlave.boobs > 800>> clubslut netting is stretched by $possessive big breasts. <<else>> clubslut netting hugs $possessive chest tightly. <</if>> <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top <<if $activeSlave.boobs > 6000>> can't support $possessive giant bust and is lost beneath $possessive immense breasts. <<elseif $activeSlave.boobs > 2000>> is strongly engineered, but it can barely support $possessive enormous bust. <<elseif $activeSlave.boobs > 800>> gives $possessive an acre of cleavage. <<else>> does its best to make $possessive boobs look bigger than they are. <</if>> <<case "cutoffs and a t-shirt">> $activeSlave.slaveName's <<if $activeSlave.boobs > 4000>> tits are so huge that $possessive t-shirt rests pathetically atop their quivering mass. <<elseif $activeSlave.boobs > 2000>> tits are so big that $possessive t-shirt barely comes down over $possessive nipples, leaving a lot of underboob hanging out. <<elseif $activeSlave.boobs > 800>> t-shirt is held out and away from $possessive midriff by $possessive big breasts. <<else>> t-shirt is tied up to bare $possessive midriff. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName <<if $activeSlave.boobs > 5000>> has given up trying to contain $possessive immense bust and is now choosing outfits that allow $possessive breasts to hang free. <<elseif $activeSlave.boobs > 2000>> has to be careful choosing slutty outfits that can restrain $possessive massive breasts. <<elseif $activeSlave.boobs > 800>> has to be careful choosing slutty outfits that can handle $possessive big breasts. <<else>> chooses slutty outfits that accentuate $possessive breasts. <</if>> <<case "a slave gown">> $activeSlave.slaveName's slave gown <<if $activeSlave.boobs > 10000>> is no longer able to cover $possessive immense breasts. Instead, it has been redesigned to draw the eye to them. <<elseif $activeSlave.boobs > 2000>> is carefully engineered and is somehow able to cover the enormous mass of $possessive breasts. <<elseif $activeSlave.boobs > 800>> is carefully tailored, tastefully covering yet enhancing $possessive big breasts. <<else>> subtly accentuates $possessive breasts. <</if>> <<case "a halter top dress">> <<if $activeSlave.boobs > 6000>> $activeSlave.slaveName's immense breasts are far too big for $possessive dress to contain; instead it has been redesigned to allow them to hang freely while still drawing attention to them. <<elseif $activeSlave.boobs > 4000>> $activeSlave.slaveName's enormous breasts are spill out from every available space in $possessive beautiful halter top dress. <<elseif $activeSlave.boobs > 2000>> $activeSlave.slaveName's enormous breasts are bulging inside a beautiful halter top dress. <<elseif $activeSlave.boobs > 800>> $activeSlave.slaveName's is draped inside a beautiful halter top dress, making $possessive big breasts the center of attention. <<else>> $activeSlave.slaveName is wearing a beautiful silky halter top dress, almost as if it was sculpted to match $possessive frame. <</if>> <<case "a ball gown">> <<if $activeSlave.boobs > 6000>> $activeSlave.slaveName fabulous silken ball gown is pulled down to allow $possessive oversized breasts to hang free. <<elseif $activeSlave.boobs > 4000>> $activeSlave.slaveName somehow managed to cram the immense mass of $possessive breasts inside a fabulous silken ball gown. They spill out of every available gap. <<elseif $activeSlave.boobs > 2000>> $activeSlave.slaveName somehow managed to fit the enormous mass of $possessive breasts inside a fabulous silken ball gown. <<elseif $activeSlave.boobs > 800>> $activeSlave.slaveName's fabulous silken ball gown is carefully tailored, beautifully covering yet enhancing $possessive big breasts. <<else>> $activeSlave.slaveName's draped inside a fabulous silken ball gown. <</if>> <<case "slutty business attire">> $activeSlave.slaveName's suit jacket <<if $activeSlave.boobs > 2000>> and blouse are both open in front, leaving $possessive boobs bare, since there's no way $pronoun could button $possessive clothes over $possessive tits. <<elseif $activeSlave.boobs > 800>> is open in front, and $possessive straining blouse barely restrains $possessive tits. <<else>> is open in front, and $possessive blouse barely covers $possessive breasts. <</if>> <<case "nice business attire">> $activeSlave.slaveName's <<if $activeSlave.boobs > 6000>> tits are so immense that $possessive specially tailored blouse and jacket are incapable of being buttoned up. <<elseif $activeSlave.boobs > 4000>> tits are so huge that they prevent $possessive jacket from closing. Every motion $pronoun makes threatens to turn $possessive blouse buttons into ballistics. <<elseif $activeSlave.boobs > 2000>> tits are so big that they strain even $possessive specially tailored blouse and jacket. <<elseif $activeSlave.boobs > 800>> big tits strain against $possessive tailored blouse and jacket. <<else>> suit jacket conceals a flattering bra that lifts and presents $possessive bosom. <</if>> <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit is so tightly form-fitting that $possessive breasts are individually hugged and supported by the material. <<case "a latex catsuit">> $activeSlave.slaveName's latex catsuit fits $possessive like a second skin, showing off every detail of $possessive nipples and breasts. <<case "a military uniform">> <<if $activeSlave.boobs > 6000>> $activeSlave.slaveName's tits are so immense that $possessive specially tailored shirt and tunic are incapable of being buttoned up. <<elseif $activeSlave.boobs > 4000>> $activeSlave.slaveName's tits are so huge that they prevent $possessive tunic from closing. Every motion $pronoun makes threatens to turn $possessive shirt buttons into ballistics. <<elseif $activeSlave.boobs > 2000>> $activeSlave.slaveName's tits are so big that they strain even $possessive specially tailored shirt and tunic. <<elseif $activeSlave.boobs > 800>> $activeSlave.slaveName's big tits strain against $possessive tailored shirt and tunic. <<else>> $activeSlave.slaveName cuts a dashing figure in $possessive tunic. <</if>> <<case "a nice nurse outfit">> $activeSlave.slaveName's <<if $activeSlave.boobs > 6000>> immense tits are too big for $possessive scrub top, it rests uselessly atop $possessive bust. <<elseif $activeSlave.boobs > 4000>> massive tits strain against $possessive scrub top, it only manages to cover $possessive nipples. <<elseif $activeSlave.boobs > 2000>> massive tits strain against $possessive scrub top, filling it out completely despite its utilitarian cut. <<elseif $activeSlave.boobs > 800>> sizable tits nicely fill out $possessive scrub top, despite its utilitarian cut. <<else>> tits are hidden beneath $possessive scrub top. <</if>> <<case "a mini dress">> $activeSlave.slaveName's <<if $activeSlave.boobs > 4000>> mini dress is pulled down to allow $possessive immense breasts to hang free. <<elseif $activeSlave.boobs > 2000>> massive breasts stretch $possessive custom tailored dress to its absolute limit. <<elseif $activeSlave.boobs > 800>> big breasts stretch taut against $possessive dress, leaving nothing to the imagination. <<else>> chest stretches taut against $possessive dress, leaving little to the imagination. <</if>> <<case "a leotard">> $activeSlave.slaveName's <<if $activeSlave.boobs > 2000>> tits are so big that even $possessive specially tailored leotard cannot really support them. <<elseif $activeSlave.boobs > 800>> big tits stretch the spandex of $possessive leotard taut across their width. <<else>> chest is flattered by $possessive leotard. <</if>> <<case "a bunny outfit">> $activeSlave.slaveName's <<if $activeSlave.boobs > 8000>> tits are so immense that $possessive teddy can't contain them; it's pulled down slightly to allow them to hang free. <<elseif $activeSlave.boobs > 6000>> tits are so huge that $possessive teddy conceals special stays to keep them from popping out at the slightest movement. Breast flesh massively overflows $possessive top. <<elseif $activeSlave.boobs > 2000>> tits are so big that $possessive teddy conceals special stays to keep them from popping out at the slightest movement. <<elseif $activeSlave.boobs > 800>> big tits are perpetually on the verge of spilling out of $possessive top. <<else>> teddy conceals cunning stays designed to make $possessive bosom look considerably bigger than it actually is. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's <<if $activeSlave.boobs > 4000>> top has been retailored to fit $possessive enormous bust. The ample breast flesh almost completely consumes $possessive silken lingerie. $possessiveCap silken vest is barely visible behind $possessive massive tits. <<elseif $activeSlave.boobs > 2000>> gigantic tits dwarf $possessive tiny top. It barely manages to cover $possessive nipples. $possessiveCap silken vest is parted to either side of $possesive breasts. <<elseif $activeSlave.boobs > 800>> large breasts spill out from above and below $possessive tight top. <<else>> top tightly clings to $possessive chest. <</if>> <<case "a maternity dress">> $activeSlave.slaveName's <<if $activeSlave.boobs > 4000>> low cut dress can't contain $possessive enormous breasts, so $pronoun keeps it pulled up just below $possessive bust. <<elseif $activeSlave.boobs > 2000>> low cut dress can barely conceal $possessive giant breasts. They bulge over the top and create a deep valley of cleavage. <<elseif $activeSlave.boobs > 800>> dress is low cut and reveals a large amount of cleavage. <<else>> dress is low cut and ends just above $possessive nipples. <</if>> <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit <<if $activeSlave.boobs > 800>> lets $possessive breasts swing free beneath <<else>> only covers $possessive breasts with <</if>> a thin film of gauze. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket <<if $activeSlave.boobs > 2000>> barely closes beneath $possessive tits, leaving almost everything visible. <<elseif $activeSlave.boobs > 800>> jacket pushes $possessive tits together to form some great cleavage. <<else>> jacket pushes $possessive tits together to form as much cleavage as possible. <</if>> <<case "a schoolgirl outfit">> $activeSlave.slaveName's <<if $activeSlave.boobs > 2000>> breasts are too big for $possessive blouse, so $pronoun's tied it under them; they're so huge that the blouse disappears entirely beneath them. <<elseif $activeSlave.boobs > 800>> breasts are too big for $possessive blouse, so $pronoun's tied it under them and left them totally bare. <<else>> blouse only barely covers $possessive breasts. <</if>> <<case "a kimono">> $activeSlave.slaveName's kimono <<if $activeSlave.boobs > 6000>> can't cover $possessive breasts, so $pronoun leaves it hanging loose; allowing them to hang freely. <<elseif $activeSlave.boobs > 4000>> barely covers $possessive breasts. It reveals most of $possessive chest, just covering the outer edges of $possessive breasts and their nipples. <<elseif $activeSlave.boobs > 2000>> demurely covers $possessive breasts, though it cannot conceal their absurd size. <<else>> demurely covers $possessive breasts. <</if>> <<case "battledress">> $activeSlave.slaveName's <<if $activeSlave.boobs > 10000>> immense breasts are barely supported by a specially engineered, space-age sports bra. <<elseif $activeSlave.boobs > 2000>> huge breasts are supported by a specially engineered, space-age sports bra under $possessive tank top. <<else>> breasts are supported by a sports bra under $possessive tank top. <</if>> <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a <<if $activeSlave.boobs > 2000>> thin chain that runs under $possessive breasts, disappearing entirely. <<elseif $activeSlave.boobs > 800>> thin chain that runs under $possessive breasts, appearing and disappearing enticingly when $pronoun moves. <<else>> light chain that loops under $possessive breasts. <</if>> <<default>> <</switch>> <</if>> <<else>> $activeSlave.slaveName's breasts are bare and ready for surgery. <</if>> <</if>> $possessiveCap <<if $activeSlave.boobs < 300>><<print either("androgynous", "flat")>> breasts are barely there. <<elseif $activeSlave.boobs < 400>><<print either("pointy", "tiny")>> breasts<<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would only fill A cups. <<elseif $activeSlave.boobs < 500>><<print either("perky", "small")>> <<print either("tits", "breasts", "boobs", "bosoms")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill B cups. <<elseif $activeSlave.boobs < 650>><<print either("healthy", "curved")>> <<print either("tits", "breasts", "boobs", "bosoms")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill C cups. <<elseif $activeSlave.boobs < 800>><<print either("big", "sizable")>> <<print either("tits", "breasts", "boobs", "bosoms")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill D cups. <<elseif $activeSlave.boobs < 1000>><<print either("large", "big")>> <<print either("tits", "breasts", "boobs", "bosoms")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill DD cups. <<elseif $activeSlave.boobs < 1200>><<print either("proud", "hefty")>> <<print either("tits", "breasts", "mammaries", "udders", "boobs")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill F cups. <<elseif $activeSlave.boobs < 1400>><<print either("hefty", "huge")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill G cups. <<elseif $activeSlave.boobs < 1600>><<print either("massive", "huge")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill H cups. <<elseif $activeSlave.boobs < 1800>><<print either("enormous", "massive")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill I cups. <<elseif $activeSlave.boobs < 2050>><<print either("titanic", "enormous")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill J cups. <<elseif $activeSlave.boobs < 2300>><<print either("stupendous", "titanic")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill K cups. <<elseif $activeSlave.boobs < 2600>><<print either("magnificent", "stupendous")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill L cups. <<elseif $activeSlave.boobs < 2900>><<print either("tremendous", "magnificent")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill M cups. <<elseif $activeSlave.boobs < 3250>><<print either("awe-inspiring", "tremendous")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill N cups. <<elseif $activeSlave.boobs < 3600>><<print either("absurd", "awe-inspiring")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill O cups. <<elseif $activeSlave.boobs < 3950>><<print either("disproportionate", "attention-grabbing")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill P cups. <<elseif $activeSlave.boobs < 4300>><<print either("shocking", "massive")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill Q cups. <<elseif $activeSlave.boobs < 4700>><<print either("unreal", "jaw-dropping")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill R cups. <<elseif $activeSlave.boobs < 5100>><<print either("tremendous", "astounding")>> <<print either("tits", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> would fill S cups. <<elseif $activeSlave.boobs < 5100+($activeSlave.muscles*10) and $activeSlave.physicalAge <= 3>> <<if ($activeSlave.amp == 1)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun might not be able to walk, if $pronoun still had legs. <<elseif ($activeSlave.muscles > 5)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $possessive <<if $activeSlave.muscles > 95>>shredded<<elseif $activeSlave.muscles > 30>>rippling<<else>>toned<</if>> back muscles get a workout just from supporting them. If they grow any larger, $pronoun may not be able to walk. <<else>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun can barely stand. If they grow any larger, $pronoun may not be able to walk. <</if>> <<elseif $activeSlave.boobs < 7000+($activeSlave.muscles*20) and $activeSlave.physicalAge <= 12>> <<if ($activeSlave.amp == 1)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun might not be able to walk, if $pronoun still had legs. <<elseif ($activeSlave.muscles >= 5)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $possessive <<if $activeSlave.muscles > 95>>shredded<<elseif $activeSlave.muscles > 30>>rippling<<else>>toned<</if>> back muscles get a workout just from supporting them. If they grow any larger, $pronoun may not be able to walk. <<else>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun can barely stand. If they grow any larger, $pronoun may not be able to walk. <</if>> <<elseif $activeSlave.boobs < 9000+($activeSlave.muscles*50) and $activeSlave.physicalAge < 18>> <<if ($activeSlave.amp == 1)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun might not be able to walk, if $pronoun still had legs. <<elseif ($activeSlave.muscles >= 5)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $possessive <<if $activeSlave.muscles > 95>>shredded<<elseif $activeSlave.muscles > 30>>rippling<<else>>toned<</if>> back muscles get a workout just from supporting them. If they grow any larger, $pronoun may not be able to walk. <<else>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun can barely stand. If they grow any larger, $pronoun may not be able to walk. <</if>> <<elseif $activeSlave.boobs < 9000+($activeSlave.muscles*100) and $activeSlave.physicalAge >= 18>> <<if ($activeSlave.amp == 1)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun might not be able to walk, if $pronoun still had legs. <<elseif ($activeSlave.muscles >= 5)>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $possessive <<if $activeSlave.muscles > 95>>shredded<<elseif $activeSlave.muscles > 30>>rippling<<else>>toned<</if>> back muscles get a workout just from supporting them. If they grow any larger, $pronoun may not be able to walk. <<else>> <<print either("boobs", "breasts", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so large that $pronoun can barely stand. If they grow any larger, $pronoun may not be able to walk. <</if>> <<elseif $activeSlave.boobs < 20000>> <<if ($activeSlave.amp == 1)>> <<print either("tits", "boobs", "mammaries")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so gargantuan that they would immobilize $object, if $pronoun still had legs. $possessiveCap udders constitute almost half of $possessive overall weight, since $possessive body consists of nothing but $possessive head, torso, and breasts. <<else>> <<print either("tits", "boobs", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so gargantuan that they effectively immobilize $object. $possessiveCap breasts constitute a significant fraction of $possessive overall weight. <</if>> <<else>> <<if ($activeSlave.amp == 1)>> <<print either("tits", "boobs", "mammaries")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so immense it is safer to leave $object resting atop them. $possessiveCap udders each weigh more than twice the rest of $possessive body, since $possessive body consists of nothing but $possessive head, torso, and breasts. <<else>> <<print either("tits", "boobs", "mammaries", "udders")>><<if $showBoobCCs == 1>>, <<print $activeSlave.boobs>> CCs each,<</if>> are so gargantuan that they effectively immobilize $object. $pronounCap's most comfortable lying down. <</if>> <</if>> <<if $showImplantEffects == 1>> <<if $activeSlave.fuckdoll > 0>> <<if $activeSlave.boobs > 250>> The natural shape of its breasts is completely irrelevant, since the suit forces each of them <<if $activeSlave.boobs > 5000>> into a monstrous orb shape. <<elseif $activeSlave.boobs > 1000>> into an orb shape. <<else>> up and out like a severe pushup bra. <</if>> <</if>> <<elseif ($activeSlave.boobsImplant == 0)>> <<switch $activeSlave.boobShape>> <<case "perky">> <<if $activeSlave.boobs > 12000>> When $pronoun's on $possessive back, some of their natural perkiness can still be seen in the way they tend to obscure $possessive head and shoulders. <<elseif $activeSlave.boobs > 5000>> Their natural perkiness has helped them resist their enormous size, making them look like a normal pair of merely gigantic tits that have growth to be bigger than $possessive head without changing shape. <<elseif $activeSlave.boobs > 2500>> They're orbs of soft flesh, resting heavily against $possessive chest and each other. They remain naturally perky, defying gravity. <<elseif $activeSlave.boobs > 1000>> They're somewhat perky despite their large size, with $possessive nipples pointing slightly upward. <<elseif $activeSlave.boobs > 500>> They're full and perky, and $possessive nipples point upward. <<elseif $activeSlave.boobs > 250>> They're perky, and $possessive nipples point upward. <<else>> They're very minimal. <</if>> <<case "downward-facing">> <<if $activeSlave.boobs > 12000>> Their naturally downward-facing shape makes them a convenient cushion when $pronoun's facedown, naturally placing $possessive in a kneeling position. <<elseif $activeSlave.boobs > 5000>> They're huge pillows of soft flesh, distorted by gravity and where they rest against $possessive stomach and each other. Naturally downward-facing, they are so big that $possessive nipples point directly down. <<elseif $activeSlave.boobs > 2500>> They're orbs of soft flesh, resting heavily against $possessive stomach and each other. Since they are naturally downward-facing, most of their mass rests low. <<elseif $activeSlave.boobs > 1000>> They're not attractively shaped, with $possessive nipples pointing downward more strongly than they should for $possessive breast size. <<elseif $activeSlave.boobs > 500>> They're not attractively shaped, with $possessive nipples pointing down. <<elseif $activeSlave.boobs > 250>> They're not attractively shaped, with $possessive nipples pointing down despite $possessive small breasts. <<else>> They're very minimal. <</if>> <<case "torpedo-shaped">> <<if $activeSlave.boobs > 12000>> They are naturally torpedo-shaped, which can be seen in the way they stick out more than a meter in front of $possessive when $pronoun sits up. <<elseif $activeSlave.boobs > 5000>> They're huge promontories of soft flesh. Their natural torpedo shape remains to a certain extent, $possessive swaying breasts reaching an incredibly long way out from $possessive chest. <<elseif $activeSlave.boobs > 2500>> They're orbs of soft flesh, resting heavily against $possessive chest and each other. Their natural torpedo shape is distorted by their weight. <<elseif $activeSlave.boobs > 1000>> They're strongly torpedo-shaped despite their large size, projecting a long way from $possessive chest and swaying lewdly when $pronoun's naked. <<elseif $activeSlave.boobs > 500>> They're strongly torpedo-shaped, projecting a long way from $possessive chest and swaying cutely when $pronoun's naked. <<elseif $activeSlave.boobs > 250>> They're strongly torpedo-shaped despite their small size, projecting some way from $possessive chest. <<else>> They're very minimal. <</if>> <<case "wide-set">> <<if $activeSlave.boobs > 12000>> They are naturally wide-set, which can be seen in the way they stick out more than a meter to either side of $possessive when $pronoun's facedown. <<elseif $activeSlave.boobs > 5000>> They're huge pillows of soft flesh whose natural wide-set shape somehow keeps them from touching despite their mass. <<elseif $activeSlave.boobs > 2500>> They're orbs of soft flesh whose natural wide-set shape obscures $possessive upper arms. They rest without natural cleavage despite their size. <<elseif $activeSlave.boobs > 1000>> They're wide-set, with their weight pointing each nipple away from $possessive sternum. <<elseif $activeSlave.boobs > 500>> They're wide-set, with each nipple pointing away from $possessive sternum. <<elseif $activeSlave.boobs > 250>> They're wide-set, with each nipple pointing somewhat sideways. <<else>> They're very minimal. <</if>> <<case "saggy">> <<if $activeSlave.boobs > 12000>> Their naturally saggy shape makes them a convenient cushion when $pronoun's facedown, naturally placing $possessive in a kneeling position. <<elseif $activeSlave.boobs > 5000>> They're huge pillows of soft flesh that sag past $possessive navel. $possessiveCap nipples are placed on their bottoms, pointed at the ground by the heavy mass of breastflesh above them. <<elseif $activeSlave.boobs > 2500>> They're orbs of soft flesh that sag almost to $possessive navel. $possessiveCap nipples are placed on their bottoms, pointed at the ground by the weight of breast above them. <<elseif $activeSlave.boobs > 1000>> They're heavy and saggy, pointing $possessive nipples at the ground. <<elseif $activeSlave.boobs > 500>> They're not attractively shaped, with $possessive nipples pointing down. <<elseif $activeSlave.boobs > 250>> They're not attractively shaped, with $possessive nipples pointing down despite $possessive small breasts. <<else>> They're very minimal. <</if>> <<default>> <<if $activeSlave.boobs > 12000>> They anchor $possessive when $pronoun's facedown, and pin $possessive when $pronoun's on $possessive back. <<elseif $activeSlave.boobs > 5000>> They're huge pillows of soft flesh, distorted by gravity and where they rest against $possessive stomach and each other. <<elseif $activeSlave.boobs > 2500>> They're orbs of soft flesh, resting heavily against $possessive chest and each other. <<elseif $activeSlave.boobs > 1000>> They're soft and round, resting heavily against $possessive chest and each other. <<elseif $activeSlave.boobs > 500>> They're nice and soft and rest naturally against $possessive chest. <<elseif $activeSlave.boobs > 250>> They're nicely rounded and rest naturally. <<else>> They're very minimal. <</if>> <</switch>> <<elseif ($activeSlave.boobsImplant <= 400)>> <<if ($activeSlave.boobs > 800)>> $pronounCap has <<print $activeSlave.boobsImplant>>cc breast implants. $possessiveCap tits look fairly natural, but defy gravity more than could be expected given their size. <<elseif ($activeSlave.boobs > 300)>> $pronounCap has <<print $activeSlave.boobsImplant>>cc breast implants. $possessiveCap tits look fairly natural, but are perkier than could be expected given their size. <<else>> $pronounCap has <<print $activeSlave.boobsImplant>>cc breast implants. $possessiveCap tits look fairly natural, mostly because they're so small. <</if>> <<elseif ($activeSlave.boobsImplant <= 600)>> <<if ($activeSlave.boobs > 800)>> $pronounCap has <<print $activeSlave.boobsImplant>>cc breast implants. $possessiveCap implants are well done, but $possessive breasts are so perfect and gravity-defying that they are clearly artificial. <<else>> $pronounCap has <<print $activeSlave.boobsImplant>>cc breast implants. $possessiveCap implants are well done, but $possessive breasts are so rounded and high that they are clearly artificial. <</if>> <<else>> <<if ($activeSlave.boobs > 2000)>> $pronounCap has <<print $activeSlave.boobsImplant>>cc <<if $activeSlave.boobsImplantType == 1>>engorged string<<else>>fillable breast<</if>> implants, which is obvious from the unnatural size of $possessive boobs. <<elseif $activeSlave.boobs - $activeSlave.boobsImplant > 800>> $pronounCap has <<print $activeSlave.boobsImplant>>cc <<if $activeSlave.boobsImplantType == 1>>engorged string<<else>>fillable breast<</if>> implants, which is obvious from the roundness of $possessive fake tits. <<else>> $pronounCap has <<print $activeSlave.boobsImplant>>cc <<if $activeSlave.boobsImplantType == 1>>engorged string<<else>>fillable breast<</if>> implants. They are extremely obvious; with little natural breast tissue to support them, they look like a pair of balloons attached to $possessive chest. <</if>> <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalistLawBeauty + $arcologies[0].FSGenderRadicalistLawBeauty > 0>> <<if $activeSlave.boobs > 800>> They're too big for the fashionable feminine ideal. <<elseif $activeSlave.boobs < 500>> They're too small for the fashionable feminine ideal. <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.shoulders < -1>> $possessiveCap shoulders and chest are very narrow and <<if $activeSlave.boobs > 2000>> feminine, forcing $possessive pressed-together tits to spread far beyond $possessive sides. <<else>> feminine. <</if>> <<elseif $activeSlave.shoulders < 0>> $possessiveCap shoulders and chest are quite <<if $activeSlave.boobs > 1200>> feminine, causing a lot of cleavage and pressing $possessive boobs outward beyond $possessive sides. <<else>> feminine. <</if>> <<elseif $activeSlave.shoulders > 1>> $possessiveCap shoulders and chest are very <<if $activeSlave.boobs > 600>> broad, making $possessive boobs look a lot smaller than they actually are. <<else>> broad. <</if>> <<elseif $activeSlave.shoulders > 0>> $possessiveCap shoulders and chest are fairly <<if $activeSlave.boobs > 600>> broad, making $possessive tits look smaller than they actually are. <<else>> broad. <</if>> <<else>> $possessiveCap shoulders and chest are <<if $activeSlave.boobs > 800>> feminine, flattering $possessive breasts. <<else>> feminine. <</if>> <</if>> <<if $activeSlave.shoulders > $activeSlave.hips>> They're wider than $possessive hips, <<if $activeSlave.boobs > 2000*($activeSlave.shoulders- $activeSlave.hips)>> but $possessive massive breasts make it hard to discern. <<else>> giving $possessive a somewhat mannish appearance. <</if>> <</if>> <</if>> <<if $activeSlave.physicalAge >= 18>> <<if $activeSlave.boobs > 7500>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having gigantic breasts are much reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if $activeSlave.amp != 1>> $possessiveCap breasts are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms crossed under $possessive tits to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and uses a stand to support them when $pronoun must remain upright for more than a short time. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1) && ($activeSlave.boobs > 10000)>> The straps that secure $object to the milking machine have become less necessary since $possessive breasts grew to the point where they pin $object to it. <<else>> $pronounCap cannot get to $possessive feet unaided, and uses a wheeled stand to support $possessive boobs when $pronoun must walk or remain upright. <</if>> <<else>> Together they are nearly the same size as $possessive torso, making $object about half boob. <</if>> <<if $activeSlave.boobs > 7500 && ($activeSlave.assignment != "work in the dairy") || ($dairyRestraintsSetting < 2)>> <<if $boobAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a bosom <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with chests <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge <= 3>> <<if $activeSlave.boobs > 4000>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having gigantic breasts are much reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if $activeSlave.amp != 1>> $possessiveCap breasts are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms crossed under $possessive tits to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and uses a stand to support them when $pronoun must remain upright for more than a short time. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1) && ($activeSlave.boobs > 5100+($activeSlave.muscles*100))>> The straps that secure $object to the milking machine have become less necessary since $possessive breasts grew to the point where they pin her to it. <<else>> $pronounCap cannot get to $possessive feet unaided, and uses a wheeled stand to support $possessive boobs when $pronoun must walk or remain upright. <</if>> <<else>> Together they are nearly the same size as her torso, making her about half boob. <</if>> <<if $activeSlave.boobs > 7500 && ($activeSlave.assignment != "work in the dairy") || ($dairyRestraintsSetting < 2)>> <<if $boobAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a bosom <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with chests <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge <= 12>> <<if $activeSlave.boobs > 5600>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having gigantic breasts are much reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if $activeSlave.amp != 1>> $possessiveCap breasts are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms crossed under $possessive tits to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and uses a stand to support them when $pronoun must remain upright for more than a short time. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1) && ($activeSlave.boobs > 7000+($activeSlave.muscles*200))>> The straps that secure $object to the milking machine have become less necessary since $possessive breasts grew to the point where they pin her to it. <<else>> $pronounCap cannot get to $possessive feet unaided, and uses a wheeled stand to support $possessive boobs when $pronoun must walk or remain upright. <</if>> <<else>> Together they are nearly the same size as her torso, making her about half boob. <</if>> <<if $activeSlave.boobs > 7500 && ($activeSlave.assignment != "work in the dairy") || ($dairyRestraintsSetting < 2)>> <<if $boobAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a bosom <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with chests <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge < 18>> <<if $activeSlave.boobs > 7500>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having gigantic breasts are much reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if $activeSlave.amp != 1>> $possessiveCap breasts are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms crossed under $possessive tits to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and uses a stand to support them when $pronoun must remain upright for more than a short time. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1) && ($activeSlave.boobs > 9000+($activeSlave.muscles*500))>> The straps that secure $object to the milking machine have become less necessary since $possessive breasts grew to the point where they pin her to it. <<else>> $pronounCap cannot get to $possessive feet unaided, and uses a wheeled stand to support $possessive boobs when $pronoun must walk or remain upright. <</if>> <<else>> Together they are nearly the same size as her torso, making her about half boob. <</if>> <<if $activeSlave.boobs > 7500 && ($activeSlave.assignment != "work in the dairy") || ($dairyRestraintsSetting < 2)>> <<if $boobAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a bosom <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with chests <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.markings is "heavily freckled">> <<if $activeSlave.boobs > 2000>> They're covered in freckles, though $possessive tits are so big that the freckles are spaced widely across the breadth of each boob. <<elseif $activeSlave.boobs > 250>> They're covered in freckles, which are particularly dense in the cleft between them. <<else>> $possessiveCap chest is covered in dense freckles. <</if>> <<elseif $activeSlave.markings is "freckles">> <<if $activeSlave.boobs > 250>> The tops of $possessive breasts and $possessive cleavage are lightly freckled. <<else>> $possessiveCap chest is covered in a light spray of freckles. <</if>> <</if>> <</if>> <<if ($activeSlave.skin is "tanned") || ($activeSlave.skin is "fair")>> <<if ($activeSlave.preg > 10 || ($activeSlave.birthsTotal > 0 && $activeSlave.lactation > 0))>> <<set $seed to "dark brown">> <<else>> <<set $seed to "pink">> <</if>> <<elseif ($activeSlave.skin is "pale") || ($activeSlave.race is "white")>> <<if ($activeSlave.preg > 10 || ($activeSlave.birthsTotal > 0 && $activeSlave.lactation > 0))>> <<set $seed to "brown">> <<else>> <<set $seed to "pink">> <</if>> <<elseif ($activeSlave.skin is "brown") || ($activeSlave.race is "black")>> <<if ($activeSlave.preg > 10 || ($activeSlave.birthsTotal > 0 && $activeSlave.lactation > 0))>> <<set $seed to "black">> <<else>> <<set $seed to "dark brown">> <</if>> <<else>> <<if ($activeSlave.preg > 10 || ($activeSlave.birthsTotal > 0 && $activeSlave.lactation > 0))>> <<set $seed to "dark brown">> <<else>> <<set $seed to "brown">> <</if>> <</if>> <<if $activeSlave.fuckdoll > 0>> <<if $activeSlave.lactation > 0>> Its $activeSlave.nipples, $seed, milky nipples protrude through holes in the suit, to allow drinking. <<else>> Its nipples are completely obscured. <</if>> <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> $possessiveCap <<switch $activeSlave.nipples>> <<case "tiny">> tiny $seed nipples are too small for the milkers, and the suction is drawing a lot of boob in with them. <<case "puffy">> puffy $seed nipples form a good seal against the milkers' suction. <<case "partially inverted">> $seed, partially inverted nipples are causing $object some discomfort as the milkers haul against them. <<case "inverted">> $seed, inverted nipples are being kept painfully protruded by the milkers' powerful suction. <<case "huge">> huge $seed nipples fill the milkers completely. <<default>> $seed nipples are being tugged at by the milkers' powerful suction. <</switch>> <<else>> $possessiveCap $seed nipples are <<if ($activeSlave.aphrodisiacs > 0) || ($activeSlave.energy > 95)>> <<switch $activeSlave.nipples>> <<case "tiny">> stiff little nubs. <<case "puffy">> puffy and erect, the stiff flesh around each swelling outward to a pointy promontory. <<case "partially inverted" "inverted">> stiffly erect. They'd be inverted if $pronoun weren't so aroused, but $pronoun's so horny they stay popped out. <<case "huge">> <<if ($activeSlave.boobs-$activeSlave.boobsImplant > 7500)>> and in proportion with $possessive breasts: they're stiffly erect and <<if ($activeSlave.dick > 0) && ($activeSlave.dick < 3)>> bigger than $possessive girlcock. <<elseif ($activeSlave.height < 160) && ($activeSlave.amp != 1)>> almost as large as $possessive little fists. <<else>> large enough to be jerked off. <</if>> <<else>> enormously erect. <</if>> <<default>> stiffly erect. <</switch>> <<else>> <<switch $activeSlave.nipples>> <<case "tiny">> tiny little nubs. <<case "puffy">> puffy, the soft flesh around each swelling outward to a promontory. <<case "partially inverted">> <<if $activeSlave.nipplesPiercing != 0>> partially inverted, or would be if they weren't pierced. The metal is holding them protruded, causing some discomfort. <<else>> partially inverted: when soft, they rest flush with the front of the breast. <</if>> <<case "inverted">> <<if $activeSlave.nipplesPiercing != 0>> inverted, or would be if they weren't pierced. The metal is holding them protruded, to the slave's considerable discomfort. <<else>> inverted: they are completely swallowed by the surrounding breastflesh. <</if>> <<case "huge">> <<if ($activeSlave.boobs-$activeSlave.boobsImplant > 7500)>> in proportion with $possessive breasts: they've grown <<if ($activeSlave.dick > 0) && ($activeSlave.dick < 3)>> bigger than $possessive little girlcock. <<elseif ($activeSlave.height < 160) && ($activeSlave.amp != 1)>> almost as large as $possessive little fists. <<else>> large enough to be jerked off. <</if>> <<else>> the size of the last joint of $possessive thumbs when erect. <</if>> <<default>> pretty normal. <</switch>> <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $activeSlave.nipples != "tiny">> <<if $activeSlave.nipples != "inverted">> <<if $activeSlave.nipples != "partially inverted">> <<if ($activeSlave.clothes is "cutoffs and a t-shirt")>> Since $pronoun isn't wearing a bra, they tent the front of $possessive t-shirt. <<elseif ($activeSlave.clothes is "clubslut netting")>> They tent the front of $possessive netting. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.lactation > 0>> <<if ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> The transparent lines coming off the cups attached to each of $possessive nipples are white with a constant stream of milk. <<elseif $activeSlave.lactation == 1>> $possessiveCap motherly breasts are full of milk. <<elseif $activeSlave.fuckdoll > 0>> Its overworked, overfull breasts press its nipples through the holes mercilessly. <<else>> <<if $activeSlave.nipples is "inverted">> $possessiveCap inverted nipples prevent $possessive from releasing milk spontaneously. The lactation drugs are so powerful that if $pronoun hasn't been milked in the past hour or so, the built-up pressure leaves $possessive <<if canTalk($activeSlave) == false>>weeping<<else>>whining<</if>> piteously. <<elseif $activeSlave.energy > 95>> The powerful lactation drugs keep $possessive breasts so full of milk that when $pronoun orgasms <<if $activeSlave.balls > 0>>$pronoun releases three jets of white fluid: a stream of milk from each nipple and a squirt of cum from $possessive dickhead<<else>>$pronoun cums milk out of $possessive nipples<</if>>. <<else>> The lactation drugs are so powerful that if $pronoun hasn't been milked in the past hour or so, $pronoun leaves a mess wherever $pronoun goes. <</if>> <</if>> <<if $activeSlave.lactationAdaptation > 10>> <<if $activeSlave.lactationAdaptation > 50>> $pronounCap's given so much milk that $possessive body is now well-adapted to copious production. <<else>> $possessiveCap body has become used to milk production. <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<switch $activeSlave.areolae>> <<case 1>> $possessiveCap areolae form large, lovely circles of $seed skin around each nipple. <<if $activeSlave.areolaePiercing > 0>> $pronounCap has stud piercings around their borders, enhancing the contrast. <</if>> <<case 2>> $possessiveCap areolae are unusually wide, eye-catching circles of $seed skin around each nipple. <<if $activeSlave.areolaePiercing > 0>> $pronounCap has stud piercings around their borders, enhancing the contrast. <</if>> <<case 3>> $possessiveCap $seed areolae are unnaturally broad, covering much of the <<if $activeSlave.boobShape is "saggy">>bottom<<else>>front<</if>> of each breast. <<if $activeSlave.areolaePiercing > 0>> $pronounCap has many stud piercings around their edges, forming a metal border between $seed nipple and breast. <</if>> <<case 4>> $possessiveCap huge $seed areolae are heart-shaped, an obvious surgical alteration. <<if $activeSlave.boobShape is "saggy">>$possessiveCap motherly boobs point downward, though, leaving only the curved top of each heart visible.<</if>> <<if $activeSlave.areolaePiercing > 0>> Their borders are defined by stud piercings with pink stones. <</if>> <<case 5>> $possessiveCap huge $seed areolae are star-shaped, an obvious surgical alteration. <<if $activeSlave.boobShape is "saggy">>$possessiveCap motherly boobs point downward, though, leaving only the pointed top of each star visible.<</if>> <<if $activeSlave.areolaePiercing > 0>> Their borders are defined by shiny stud piercings. <</if>> <<default>> <<if $activeSlave.areolaePiercing > 0>> $pronounCap has stud piercings in circles around the edges of $possessive minimal $seed areolae. <</if>> $possessiveCap $activeSlave.nipples nipples are surrounded by a minimal $seed areolae. <</switch>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $activeSlave.areolae > 1>> <<switch $activeSlave.clothes>> <<case "a string bikini">> $possessiveCap string bikini covers only $possessive nipples, with the rest of $possessive areolae lewdly visible around them. <<case "slutty business attire">> The upper half of each of them is visible above the top of $possessive blouse. <<case "a cheerleader outfit" "a bunny outfit">> The upper half of each of them is visible. <<case "a leotard">> The material of $possessive leotard is so thin and tight that not only are $possessive nipples obvious, the outline of $possessive areolae can be made out, too. <</switch>> <</if>> <</if>> <</if>> <<if $showBodyMods == 1>> <<if $activeSlave.fuckdoll > 0>> <<if $activeSlave.nipplesPiercing > 0>> Its nipple piercings help secure the suit material to its breasts. <</if>> <<else>> <<if $activeSlave.nipplesPiercing == 1>> $possessiveCap $seed nipples have a simple piercing, which keeps them a little harder than they would normally be. <<elseif $activeSlave.nipplesPiercing is 2>> $possessiveCap $seed nipples are heavily pierced with several rings and studs, and there is a chain between them. <<if ($activeSlave.boobShape is "saggy") && ($activeSlave.boobs > 2500)>> It's been shortened to take advantage of the way $possessive tits sag, and holds $possessive $seed nipples almost together, producing cleavage that runs from $possessive $seed nipples all the way up to $possessive sternum. <<else>> The constant tugging keeps $possessive $seed nipples erect. <</if>> <</if>> <<if $activeSlave.nipplesPiercing > 0>> <<switch $activeSlave.clothes>> <<case "attractive lingerie">> The piercings are a girly color, to complement $possessive lingerie. <<case "a succubus outfit">> The piercings are severe steel, as befits a sex demon. <<case "uncomfortable straps">> Each nipple bears a horizontal bar that is held forward of the steel ring that's part of $possessive outfit, constantly tugging them outward. <<case "restrictive latex">> The piercings are tantalizingly visible under the latex. <<case "a fallen nuns habit">> A tiny ebon cross on a short chain dangles from each piercing. <<case "a chattel habit">> A tiny golden cock and balls dangles from each piercing. <<case "a string bikini">> The piercings are a pastel color, to complement $possessive bikini. <<case "a schoolgirl outfit">> <<if ($activeSlave.boobs <= 2000)>> The piercings are tantalizingly visible under the thin material. <</if>> <<case "attractive lingerie for a pregnant woman">> The piercings are tantalizingly visible under the thin silk. <<case "a maternity dress">> The piercings are tantalizingly visible under the dress's tight top. <<case "battledress">> The piercings are tantalizingly visible under $possessive tank top. <<case "nice business attire">> One side of each piercing peeks over the edge of $possessive blouse. <<case "a comfortable bodysuit">> The piercings are tantalizingly visible under the tight bodysuit. <<case "a latex catsuit">> The piercings are tantalizingly visible under the tight latex catsuit. <<case "a mini dress">> The piercings are tantalizingly visible under the tight mini dress. <<case "a slutty maid outfit">> One side of each piercing peeks over the edge of $possessive lacy top. <<case "harem gauze">> The piercings are tantalizingly visible under the gauze. <</switch>> <</if>> <<if ($activeSlave.brand != 0) && ($activeSlave.brandLocation is "left breast") || ($activeSlave.brandLocation is "right breast") || ($activeSlave.brandLocation is "breasts")>> $pronounCap has $activeSlave.brand branded into the flesh of one of $possessive $activeSlave.brandLocation. <</if>> <<switch $activeSlave.boobsTat>> <<case "tribal patterns">> $possessiveCap chest and breasts are tattooed with tribal patterns that focus attention on $possessive nipples. <<case "flowers">> $possessiveCap chest is tattooed with a pattern of flowering vines that delicately outlines $possessive breasts. <<case "advertisements">> 'Fuck Me!' is tattooed across $possessive chest in such large letters that the word is visible a long way off. <<case "rude words">> 'Fuckslave' is tattooed across $possessive chest in such large letters that the word is visible a long way off. <<case "scenes">> $possessiveCap chest is tattooed with lewd scenes; each of $possessive breasts shows a phallus receiving a titfuck while each of $possessive collarbones shows a woman deepthroating a large phallus. <<case "degradation">> '<<if $PC.title == 1>>Master<<else>>Mistress<</if>>'s' is tattooed across the top of $possessive right breast; 'Bitch' is tattooed across the top of $possessive left. <<case "counting">> <<if $activeSlave.mammaryCount == 0>> There is a horizontal line tattooed across $possessive middle chest for symbols counting $possessive mammary encounters to be inscribed under, once $pronoun has some. <<elseif $activeSlave.mammaryCount < 500>> Tiny dick, lips, breast, and even pussy symbols are tattooed all over $possessive cleavage, one for each of $possessive mammary encounters. <<else>> Tiny dick, lips, breast, and even pussy symbols cover $possessive breasts, cleavage, and sides, one for each of $possessive mammary encounters. <</if>> <<case "bovine patterns">> $possessiveCap chest is tattooed to look like a Holstein cow's, with $possessive udders left bare to draw attention to them. <<case "Asian art">> An octopus is tattooed on $possessive upper chest; its tentacles reach down to envelop $possessive breasts, their tips reaching for but not quite reaching each nipple. <</switch>> <</if>> <</if>> <</widget>> <<widget "ButtDescription">> <<SlavePronouns $activeSlave>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $surgeryDescription == 0>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> The suit <<if $activeSlave.butt > 10>> hugs each of its massive buttocks individually, permitting <<elseif $activeSlave.butt > 6>> hugs each of its enormous buttocks individually, permitting <<elseif $activeSlave.butt > 3>> cups each of its big buttocks, permitting <<else>> fits its little buttocks closely, offering <</if>> easy access to the rear hole. <<case "conservative clothing">> $possessiveCap slacks are pressed and <<if $activeSlave.butt > 10>> well-tailored, but strain at the seams trying to hold back $possessive massive ass. <<elseif $activeSlave.butt > 6>> well-tailored, but can't hide the huge size of $possessive ass. <<elseif $activeSlave.butt > 3>> well-tailored, but can't hide the huge size of $possessive ass. <<else>> well-tailored. <</if>> <<case "a nice nurse outfit">> $possessiveCap trousers are <<if $activeSlave.butt > 10>> well-tailored, but strain at the seams trying to hold back $possessive massive ass. <<elseif $activeSlave.butt > 6>> well-tailored, but can't hide the huge size of $possessive ass. <<elseif $activeSlave.butt > 3>> well-tailored, but can't hide the huge size of $possessive ass. <<else>> well-tailored. <</if>> <<case "chains">> Each buttock has a length of chain <<if $activeSlave.butt > 3>> disappearing <<else>> running tightly <</if>> under it. <<case "Western clothing">> $possessiveCap chaps are assless, and $possessive <<if $activeSlave.butt > 10>> butt is so massive it seems to explode out of the hole left for it. <<elseif $activeSlave.butt > 6>> butt is so big it seems to explode out of the hole left for it. <<elseif $activeSlave.butt > 3>> $possessive big butt is bare. <<else>> butt is bare. <</if>> <<case "body oil">> $possessiveCap buttocks are shiny with oil. <<case "a toga">> $possessiveCap toga <<if $activeSlave.butt > 10>> barely covers $possessive ass, it does nothing to conceal its absurd size. <<elseif $activeSlave.butt > 6>> covers $possessive ass, though it cannot conceal its absurd size. <<else>> covers $possessive ass. <</if>> <<case "attractive lingerie for a pregnant woman">> $possessiveCap pretty silken panties <<if $activeSlave.butt > 10>> disappear between $possessive inhuman buttocks. <<elseif $activeSlave.butt > 6>> disappear between $possessive huge buttocks. <<elseif $activeSlave.butt > 3>> peek out from between $possessive big buttocks. <<else>> makes $possessive buttocks especially delectable. <</if>> <<case "a maternity dress">> $possessiveCap <<if $activeSlave.butt > 10>> massive buttocks strains the seams of $possessive dress considerably. <<elseif $activeSlave.butt > 6>> huge buttocks stretches the fabric of $possessive dress considerably. <<elseif $activeSlave.butt > 3>> big ass fills out $possessive dress nicely. <<else>> dress completely hides $possessive butt. <</if>> <<case "a kimono">> $possessiveCap kimono demurely covers $possessive <<if $activeSlave.butt > 10>> ass, it does nothing to conceal its absurd size. <<elseif $activeSlave.butt > 6>> butt, though it cannot conceal its absurd size. <<elseif $activeSlave.butt > 3>> big butt. <<else>> butt. <</if>> <<case "a slutty qipao">> $possessiveCap qipao is slit up the side, <<if $activeSlave.butt > 10>> and $possessive ass is so massive that the rear part of the qipao rests meekly atop it. <<elseif $activeSlave.butt > 6>> and $possessive ass is so big that the rear part of the qipao only covers its top half. <<else>> baring quite a bit of the side of each buttock. <</if>> <<case "uncomfortable straps">> $possessiveCap slave outfit's <<if $activeSlave.butt > 10>> straining straps frame $possessive colossal rear, with a strap disappearing under each inhuman buttock. <<elseif $activeSlave.butt > 6>> straining straps frame $possessive enormous rear, with a strap disappearing under each massive buttock. <<elseif $activeSlave.butt > 3>> straining straps frame $possessive enormous buttocks, with a strap passing uncomfortably under each one. <<else>> straps frame $possessive buttocks, with a strap passing uncomfortably between them. <</if>> <<case "shibari ropes">> $possessiveCap <<if $activeSlave.butt > 10>> inhuman ass strains the tight ropes that frame it. Ass flesh bulges from between the ropes. <<elseif $activeSlave.butt > 6>> massive ass almost explodes out of the tight ropes that frame it. <<elseif $activeSlave.butt > 3>> big buttocks are deliciously framed by tight ropes. <<else>> cute buttocks are each lifted by a rope that passes under them. <</if>> <<case "restrictive latex">> <<if $activeSlave.butt > 10>> The latex creaks ominously as it is strained by $possessive inhuman ass. <<elseif $activeSlave.butt > 6>> The latex creaks ominously as it is strained by $possessive massive ass. <<elseif $activeSlave.butt > 3>> $possessiveCap big buttocks strain the latex. <<else>> The latex makes $possessive ass look even shapelier. <</if>> <<case "attractive lingerie">> $possessiveCap pretty lace g-string <<if $activeSlave.butt > 10>> disappears between $possessive inhuman buttocks. <<elseif $activeSlave.butt > 6>> disappears between $possessive huge buttocks. <<elseif $activeSlave.butt > 3>> peeks out from between $possessive big buttocks. <<else>> makes $possessive buttocks especially delectable. <</if>> <<case "a succubus outfit">> A tail sprouts from under $possessive little leather skirt, curving upward to end in a spade tip. It holds the skirt up in back, leaving $possessive ass totally bare. <<case "a slutty maid outfit">> $possessiveCap maid dress <<if $activeSlave.butt > 10>> fails to cover any of $possessive inhuman <<elseif $activeSlave.butt > 6>> only covers the top quarter of $possessive massive <<elseif $activeSlave.butt > 3>> ends halfway down $possessive big <<else>> ends three-quarters of the way down $possessive <</if>> buttocks. <<case "a nice maid outfit">> <<if $activeSlave.butt > 10>> $possessiveCap maid dress strains at the seams holding back $possessive massive buttocks. <</if>> <<case "a string bikini">> $possessiveCap <<if $activeSlave.butt > 10>> slutty string bikini bottom disappears between $possessive inhuman <<elseif $activeSlave.butt > 6>> slutty string bikini bottom disappears between $possessive huge <<elseif $activeSlave.butt > 3>> slutty string bikini bottom peeks out from between $possessive big <<else>> string bikini bottom runs enticingly down between $possessive <</if>> buttocks. <<case "a cheerleader outfit">> $possessiveCap pleated cheerleader skirt rests <<if $activeSlave.butt > 10>> atop $possessive massive ass. <<elseif $activeSlave.butt > 6>> atop $possessive huge ass. <<elseif $activeSlave.butt > 3>> over $possessive plump butt. <<else>> over $possessive cute butt. <</if>> <<case "clubslut netting">> $possessiveCap netting <<if $activeSlave.butt > 6>> strains to support $possessive massive behind. <<elseif $activeSlave.butt > 3>> strains to restrain $possessive big behind. <<else>> technically covers $possessive cute butt, but it's all visible. <</if>> <<case "cutoffs and a t-shirt">> $possessiveCap cutoffs <<if $activeSlave.butt > 10>> fail to cover $possessive massive buttocks, with the jean material disappearing between them. <<elseif $activeSlave.butt > 6>> fail to cover $possessive huge buttocks, with the jean material almost disappearing between them. <<elseif $activeSlave.butt > 3>> bare the bottom of each of $possessive big buttocks. <<else>> bare a little buttock in back. <</if>> <<case "a slutty outfit">> <<if $activeSlave.butt > 5>> Many of $possessive choices of slutty outfit leave all or part of $possessive huge buttocks bare. <<else>> Some of $possessive choices of slutty outfit reveal part of $possessive buttocks. <</if>> <<case "a slutty nurse outfit">> $possessiveCap <<if $activeSlave.butt > 10>> massive buttocks are easily visible below the hem of $possessive tight skirt. <<elseif $activeSlave.butt > 6>> huge buttocks are easily visible below the hem of $possessive tight skirt. <<elseif $activeSlave.butt > 3>> big butt is just visible past the hem of $possessive tight skirt. <<else>> tight skirt comes down to just below the bottom of $possessive buttocks. <</if>> <<case "a schoolgirl outfit">> $possessiveCap skirt <<if $activeSlave.butt > 10>> can't begin to cover $possessive massive butt, and just rests on top of $possessive buttocks, leaving virtually $possessive entire behind <<elseif $activeSlave.butt > 6>> can't begin to cover $possessive huge butt, and just rests on top of $possessive buttocks, leaving virtually $possessive entire behind <<elseif $activeSlave.butt > 3>> only covers the top of $possessive big butt, leaving most of $possessive bottom <<else>> only covers the top half of $possessive butt, leaving the bottom half of $possessive behind <</if>> bare. <<case "a fallen nuns habit">> $possessiveCap latex habit parts to leave $possessive <<if $activeSlave.butt > 10>> inhuman <<elseif $activeSlave.butt > 6>> massive <<elseif $activeSlave.butt > 3>> big <</if>> buttocks bare. <<case "a chattel habit">> The belt around $possessive ribs has two long strips of white fabric hanging from it, down $possessive front and back, leaving $possessive sides bare from $possessive flanks down to $possessive hips. $possessiveCap <<if $activeSlave.butt > 10>> massive buttocks have a way of trapping the strip of fabric in back between them. <<elseif $activeSlave.butt > 6>> huge buttocks have a way of trapping the strip of fabric in back between them. <<elseif $activeSlave.butt > 3>> big buttocks force the strip of fabric in back to swoop out over them. <<else>> cute buttocks are just curved enough to push the strip in back out a bit. <</if>> <<case "a slave gown">> $possessiveCap slave gown <<if $activeSlave.butt > 10>> is tailored as tastefully as possible for $possessive inhuman <<elseif $activeSlave.butt > 6>> is tailored as tastefully as possible for $possessive massive <<elseif $activeSlave.butt > 3>> is tailored to flatter $possessive big <<else>> tastefully clings to $possessive <</if>> buttocks. <<case "a halter top dress">> $possessiveCap beautiful halter top dress is <<if $activeSlave.butt > 10>> tailored, but still strains at the seams to hold $possessive inhuman <<elseif $activeSlave.butt > 6>> tailored as possible for $possessive massive <<elseif $activeSlave.butt > 3>> tailored to flatter $possessive big <<else>> almost sculpted over $possessive <</if>> buttocks. <<case "a ball gown">> $possessiveCap fabulous silken ball gown is draped <<if $activeSlave.butt > 10>> as tastefully as possible for $possessive inhuman <<elseif $activeSlave.butt > 6>> as tastefully as possible for $possessive massive <<elseif $activeSlave.butt > 3>> around $possessive big <<else>> around $possessive <</if>> buttocks. <<case "nice business attire">> $possessiveCap suit skirt <<if $activeSlave.butt > 10>> is tailored but still strains to restrain $possessive massive buttocks. <<elseif $activeSlave.butt > 6>> is tailored as tastefully as possible to restrain $possessive huge buttocks. <<elseif $activeSlave.butt > 3>> is tailored to flatter $possessive big buttocks. <<else>> tastefully hugs $possessive derriere. <</if>> <<case "slutty business attire">> $possessiveCap skirt is so short that <<if $activeSlave.butt > 10>> quite a lot of inhumanly large <<elseif $activeSlave.butt > 6>> quite a lot of massive <<elseif $activeSlave.butt > 3>> more than a hint of <<else>> a hint of <</if>> buttock is visible in back. <<case "a comfortable bodysuit">> $possessiveCap bodysuit comfortably hugs $possessive <<if $activeSlave.butt > 10>> massive <</if>> butt. <<case "a latex catsuit">> <<if $activeSlave.butt > 10>> The latex creaks ominously as it is strained by $possessive inhuman ass. <<elseif $activeSlave.butt > 6>> The latex creaks ominously as it is strained by $possessive massive ass. <<elseif $activeSlave.butt > 3>> $possessiveCap latex covered big buttocks are shapely and smooth. <<else>> $possessiveCap latex covered buttocks are shapely and smooth. <</if>> <<case "a military uniform">> $possessiveCap uniform skirt <<if $activeSlave.butt > 10>> is tailored as tastefully as possible to restrain $possessive enormous buttocks, though its massive size strains the seams. <<elseif $activeSlave.butt > 6>> is tailored as tastefully as possible to restrain $possessive huge buttocks. <<elseif $activeSlave.butt > 3>> is tailored to flatter $possessive big buttocks. <<else>> tastefully hugs $possessive derriere. <</if>> <<case "a mini dress">> $possessiveCap scandalously short dress <<if $activeSlave.butt > 10>> is impossible to pull over $possessive enormous buttocks, leaving $possessive behind entirely exposed. <<elseif $activeSlave.butt > 6>> is at constant risk of sliding above $possessive huge butt and leaving $possessive behind entirely exposed. <<elseif $activeSlave.butt > 3>> barely covers half of $possessive ample buttocks. <<else>> barely manages to cover $possessive buttocks. <</if>> <<case "a leotard">> $possessiveCap high-sided leotard leaves $possessive hips totally bare, and <<if $activeSlave.butt > 10>> disappears completely between $possessive enormous buttocks. <<elseif $activeSlave.butt > 6>> disappears completely between $possessive buttocks. <<elseif $activeSlave.butt > 3>> almost disappears between $possessive buttocks. <<else>> leaves $possessive buttocks bare. <</if>> <<case "a bunny outfit">> $possessiveCap teddy is actually quite modest in back, covering $possessive buttocks in tight satin with a fluffy white cottontail positioned over $possessive tailbone. <<case "harem gauze">> $possessiveCap harem gauze filmily covers <<if $activeSlave.butt > 10>> the acres of assflesh. <<elseif $activeSlave.butt > 6>> the expanse of assflesh. <<elseif $activeSlave.butt > 3>> $possessive big buttocks. <<else>> $possessive buttocks. <</if>> <<case "slutty jewelry">> $possessiveCap bangles include a loose chain about $possessive waist that <<if $activeSlave.butt > 10>> $pronoun constantly has to fish out of the cleft between $possessive inhuman <<elseif $activeSlave.butt > 6>> $pronoun constantly has to fish out of the cleft between $possessive massive <<elseif $activeSlave.butt > 3>> dips seductively down toward the cleft between $possessive big <<else>> dips seductively down toward the cleft between $possessive <</if>> buttocks. <<default>> <</switch>> <</if>> <</if>> <<if $showBodyMods == 1>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.stampTat != 0>> <<switch $activeSlave.stampTat>> <<case "tribal patterns">> $pronounCap has a tribal-patterned tramp stamp. <<case "flowers">> $pronounCap has a floral-patterned tramp stamp. <<case "advertisements">> $pronounCap has a tramp stamp which reads 'Fuck my ass!' <<case "rude words">> $pronounCap has a tramp stamp which reads 'Rear Entrance,' with an arrow pointing downward. <<case "sacrilege">> $pronounCap has a tramp stamp which reads 'Fuck my ass and be damned.' <<case "scenes">> $pronounCap has a tramp stamp which shows a cock entering an anus, recognizably hers. <<case "Asian art">> A traditional Asian household scene is tattooed on $possessive lower back, showing a rendition of $activeSlave.slaveName, dressed in rich silks, having sex with a <<if $PC.title == 1>>gentleman<<else>>lady<</if>>. The slave and the <<if $PC.title == 1>>gentleman<<else>>lady<</if>> are kissing passionately as <<if $PC.title == 1>>he<<else>>she<</if>> <<if $activeSlave.vagina < 0>> penetrates the slave's anus. <<elseif $activeSlave.preg > 5>> embraces the slave's pregnant belly. <<else>> penetrates the slave's vagina. <</if>> <<case "degradation">> $pronounCap has a tramp stamp formed from gothic lettering that reads 'Anal Whore.' <<case "counting">> <<if $activeSlave.anus == 0>> $pronounCap has the dashed outline of a cock tattooed across $possessive lower back. <<else>> $pronounCap has the silhouette of the largest cock $pronoun's ever had up $possessive anus tattooed across $possessive lower back. <</if>> <</switch>> <</if>> <</if>> <</if>> $pronounCap's got a <<if $activeSlave.butt <= 1>> flat and <<if $arcologies[0].FSSlimnessEnthusiast > 20>> <<print either("fashionable", "attractive", "enticing")>> <<else>> <<print either("skinny", "slim", "taut")>> <</if>> ass. <<elseif $activeSlave.butt <= 2>> <<if $arcologies[0].FSSlimnessEnthusiast > 20>> <<print either("fashionable", "small and enticing", "sleek and attractive")>> <<else>> <<print either("small, sleek", "small but rounded", "rounded, small")>> <</if>> rear end. <<elseif $activeSlave.butt <= 3>><<print either("big and healthy", "curved and plump", "healthy and plump")>> derriere. <<elseif $activeSlave.butt <= 4>><<print either("juicy and large", "big bubble", "curvy and enticing")>> butt. <<elseif $activeSlave.butt <= 5>><<print either("juicy and huge", "huge", "massive and undeniable")>> rear end. <<elseif $activeSlave.butt <= 6>><<print either("truly massive", "enormous")>> posterior. <<elseif $activeSlave.butt <= 7>><<print either("gigantic", "titanic")>> ass. <<elseif $activeSlave.butt <= 10>><<print either("gigantic", "titanic")>> ass. <<if ($activeSlave.assignment is "work in the dairy") && ($dairyStimulatorsSetting > 1)>> It's so big it jiggles as the machine rapes $possessive asshole. <<elseif !canWalk($activeSlave)>> It's so big it would jiggle as $pronoun walked - if $pronoun could walk. <<else>> It's so big it jiggles as $pronoun walks. <</if>> <<elseif $activeSlave.butt <= 14>><<print either("cushion-like", "inhuman")>> ass. <<if ($activeSlave.assignment is "work in the dairy") && ($dairyStimulatorsSetting > 1)>> It's so big it massively jiggles as the machine rapes $possessive asshole. <<elseif !canWalk($activeSlave)>> It's so big it would jiggle nonstop as $pronoun walked - if $pronoun could walk. <<else>> It's so big it jiggles nonstop as $pronoun walks. <</if>> <<elseif $activeSlave.butt <= 20>><<print either("bean bag sized", "inhuman")>> ass. <<if ($activeSlave.assignment is "work in the dairy") && ($dairyStimulatorsSetting > 1)>> It's so massive it jiggles endlessly as the machine rapes $possessive asshole. <<elseif !canWalk($activeSlave)>> It's so massive it would jiggle endlessly as $pronoun walked - if $pronoun could walk. <<else>> It's so massive it jiggles endlessly as $pronoun walks. <</if>> <</if>> <<if $activeSlave.hips < -1>> <<if $activeSlave.butt > 2>> $possessiveCap butt is @@color:red;disproportionately large@@ for $possessive narrow hips<<if $arcologies[0].FSTransformationFetishist is "unset">>.<<else>>, but your transformation fetishist arcology considers this attractive.<</if>> <<else>> $possessiveCap hips are very narrow. <</if>> <<elseif $activeSlave.hips < 0>> <<if $activeSlave.butt > 4>> $possessiveCap butt is @@color:red;disproportionately large@@ for $possessive trim hips<<if $arcologies[0].FSTransformationFetishist is "unset">>.<<else>>, but your transformation fetishist arcology considers this attractive.<</if>> <<else>> $possessiveCap butt is complemented by $possessive trim hips. <</if>> <<elseif $activeSlave.hips > 2>> <<if $activeSlave.butt <= 8>> $possessiveCap butt is @@color:red;disproportionately small@@ for $possessive monstrous hips. <<else>> $possessiveCap butt is fitting for $possessive monstrous hips. <</if>> <<elseif $activeSlave.hips > 1>> <<if $activeSlave.butt <= 3>> $possessiveCap butt is @@color:red;disproportionately small@@ for $possessive very wide hips. <<else>> $possessiveCap butt is flattered by $possessive very wide hips. <</if>> <<elseif $activeSlave.hips > 0>> <<if $activeSlave.butt > 8>> $possessiveCap butt is @@color:red;disproportionately large@@ for $possessive broad hips<<if $arcologies[0].FSTransformationFetishist is "unset">>.<<else>>, but your transformation fetishist arcology considers this attractive.<</if>> <<elseif $activeSlave.butt <= 2>> $possessiveCap butt is @@color:red;disproportionately small@@ for $possessive broad hips. <<else>> $possessiveCap butt is complemented by $possessive broad hips. <</if>> <<else>> <<if $activeSlave.butt > 6>> $possessiveCap butt is @@color:red;disproportionately large@@ for $possessive womanly hips<<if $arcologies[0].FSTransformationFetishist is "unset">>.<<else>>, but your transformation fetishist arcology considers this attractive.<</if>> <<elseif $activeSlave.butt <= 1>> $possessiveCap butt is @@color:red;disproportionately small@@ for $possessive ample hips. <<else>> $possessiveCap butt is complemented by $possessive ample hips. <</if>> <</if>> <<if $showImplantEffects == 1>> <<if $activeSlave.fuckdoll > 0>> The tight suit forces its ass into the most attractive shape possible and keeps it there regardless of position. <<else>> <<if $activeSlave.buttImplant == 1>> $possessiveCap butt implants make $possessive ass look especially pert no matter how $pronoun moves. <<elseif $activeSlave.buttImplant is 2>> $possessiveCap big butt implants make $possessive ass jut out curvaceously whatever pose $pronoun's in. <<elseif $activeSlave.buttImplant > 2>> $pronounCap has <<if $activeSlave.buttImplantType == 1>>engorged string<<else>>fillable butt<</if>> implants, and it shows. Whatever $possessive position, $possessive ass looks just as artificially enticing. <<elseif $activeSlave.buttImplant > 7>> $pronounCap has oversized <<if $activeSlave.buttImplantType == 1>>engorged string<<else>>fillable butt<</if>> implants, and it is completely obvious. Whatever $possessive position, $possessive ass looks like someone shoved a pair of overinflated beachballs in $possessive buttcheeks. <</if>> <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalistLawBeauty + $arcologies[0].FSGenderRadicalistLawBeauty > 0>> <<if $activeSlave.butt > 4>> It's too big for the fashionable feminine ideal. <<elseif $activeSlave.butt < 3>> It's too small for the fashionable feminine ideal. <</if>> <</if>> <<if $activeSlave.physicalAge <= 3>> <<if $activeSlave.butt >= 8>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic ass is greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap butt is so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive hands sunk into $possessive buttcheeks to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tries to rest $possessive huge cheeks on whatever nearby surfaces $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated on $possessive enormous rear rather than stand. <</if>> <<else>> Together it is nearly the same size as $possessive torso, making $object about half butt. <</if>> <<if $activeSlave.butt > 15>> <<if $buttAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a rear <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with buttcheeks <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge <= 12>> <<if $activeSlave.butt >= 12>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic ass is greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap butt is so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive hands sunk into $possessive buttcheeks to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tries to rest $possessive huge cheeks on whatever nearby surfaces $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated on $possessive enormous rear rather than stand. <</if>> <<else>> Together it is nearly the same size as $possessive torso, making $object about half butt. <</if>> <<if $activeSlave.butt > 15>> <<if $buttAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a rear <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with buttcheeks <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge > 12>> <<if $activeSlave.butt > 17>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic ass is greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap butt is so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive hands sunk into $possessive buttcheeks to help take their weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tries to rest $possessive huge cheeks on whatever nearby surfaces $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated on $possessive enormous rear rather than stand. <</if>> <<else>> Together it is nearly the same size as $possessive torso, making $object about half butt. <</if>> <<if $activeSlave.butt > 15>> <<if $buttAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a rear <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with buttcheeks <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.markings is "heavily freckled">> $possessiveCap freckles are particularly dense across $possessive lower back. <<elseif $activeSlave.markings is "freckles">> $possessiveCap lower back is covered in a light speckling of freckles. <</if>> <</if>> <<if $showBodyMods == 1>> <<switch $activeSlave.buttTat>> <<case "tribal patterns">> $possessiveCap buttocks and hips are tattooed with tribal patterns that emphasize $possessive womanly curves. <<case "flowers">> $possessiveCap hips are tattooed with a cute floral design. <<case "advertisements">> 'Shove' is tattooed across $possessive left buttock; 'It In' is tattooed across $possessive right. <<case "rude words">> <<if $activeSlave.vagina > 0>> 'No. 2' <<else>> 'No. 1' <</if>> is tattooed across $possessive left buttock; 'Fuckhole' is tattooed across $possessive right. <<case "sacrilege">> 'It's not a sin' is tattooed across $possessive left buttock; <<if $activeSlave.vagina > -1>> 'If I don't enjoy it' <<else>> 'I'm a girl' <</if>> is tattooed across $possessive right. <<case "scenes">> <<if ($activeSlave.dick > 0) && ($activeSlave.balls > 0)>> $possessiveCap buttocks are tattooed with lewd scenes; each of $possessive buttocks shows a smiling shemale offering $possessive anus, while each of $possessive thighs shows a rear view of a shemale simultaneously being sodomized and sodomizing. <<elseif ($activeSlave.dick > 0)>> $possessiveCap buttocks are tattooed with lewd scenes; each of $possessive buttocks shows a gelding, legs together to conceal $possessive cock and display $possessive anus, while each of $possessive thighs shows a gelding being double penetrated in $possessive gaping anus. <<else>> $possessiveCap buttocks are tattooed with lewd scenes; each of $possessive buttocks shows a woman being sodomized while each of $possessive thighs shows a woman being gangbanged in all $possessive holes. <</if>> <<case "degradation">> 'Treat it' is tattooed across $possessive left buttock; 'Like a Pussy' is tattooed across $possessive right. <<case "counting">> <<if $activeSlave.analCount == 0>> There is a horizontal line tattooed across the tops of $possessive buttocks for symbols counting $possessive anal exploits to be inscribed under, once $pronoun has some. <<elseif $activeSlave.analCount < 500>> Tiny dick symbols are tattooed all over $possessive the tops of $possessive buttocks, one for every time $pronoun's been assfucked. <<else>> Tiny dick symbols are tattooed all over $possessive entire buttocks, attesting to long anal slavery. <</if>> <<case "bovine patterns">> $possessiveCap buttocks are tattooed with large black splotches like those of a Holstein cow. <<case "Asian art">> Each of $possessive buttocks bears a tattoo of a coiled dragon, advancing meaningfully towards $possessive anus. <</switch>> <<if ($activeSlave.brand != 0) && ($activeSlave.brandLocation is "left buttock") || ($activeSlave.brandLocation is "right buttock") || ($activeSlave.brandLocation is "buttocks") || ($activeSlave.brandLocation is "left thigh") || ($activeSlave.brandLocation is "right thigh") || ($activeSlave.brandLocation is "thighs")>> $pronounCap has $activeSlave.brand branded into the flesh of $possessive $activeSlave.brandLocation. <</if>> <<switch $activeSlave.legsTat>> <<case "tribal patterns">> $possessiveCap tribal tattoos run down $possessive legs. <<case "flowers">> $possessiveCap floral tattoos run down $possessive legs, with an especially beautiful bouquet of blooms sprayed across each thigh. <<case "advertisements">> $possessiveCap thighs are used as simple ad space, promoting $arcologies[0].name and your business pursuits. <<case "rude words">> $possessiveCap left thigh reads $desc and the right 'Slut.' <<case "scenes">> $pronounCap has symmetrical tattoos on each thigh depicting $possessive being spitroasted. <<case "degradation">> <<if ($activeSlave.vagina < 0)>> $possessiveCap left thigh reads 'I Used To Fuck,' and the right 'But Now I Get Fucked.' <<else>> $possessiveCap left thigh reads 'My Life Is Sex,' and the right 'All I'm Good For.' <</if>> <<case "counting">> $possessiveCap thighs are used as space for tattoos that count the number of times $pronoun's done various degrading but nonsexual things. <</switch>> <</if>> <</widget>> <<widget "AnusDescription">> <<SlavePronouns $activeSlave>> <<if ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> $activeSlave.slaveName's anus is <<if ($dairyStimulatorsSetting > 1)>> filled by an enormous dildo <<if ($activeSlave.balls > 0)>>which is sodomizing $object vigorously to force ejaculation<<else>>which is filling $possessive rectum with curative fluids<</if>>. <<else>> being penetrated by $possessive milking machine for curative delivery. <</if>> <<else>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> The suit has a wide opening for its rear hole, leaving the anus bare and unprotected. <<case is "chains">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is completely visible and a chain runs down around it. <<else>> Another chain runs down $possessive <<if $activeSlave.anus > 2>> asscrack; $possessive asshole is so huge that it occasionally threatens to swallow one of the links. <<else>> asscrack. <</if>> <</if>> <<case "Western clothing">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is completely visible from the rear. <<else>> With $possessive ass bare, <<if $activeSlave.anus > 2>> $possessive huge asshole is very visible from the rear. <<elseif $activeSlave.anus > 1>> $possessive roomy asshole is very visible from the rear. <<else>> there is an occasional glimpse of $possessive asshole. <</if>> <</if>> <<case "body oil">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is visible from the rear. <<else>> With $possessive butt bare, <<if $activeSlave.anus > 2>> $possessive huge, well-oiled asshole is very visible from the rear. <<elseif $activeSlave.anus > 1>> $possessive roomy, well-oiled asshole is very visible from the rear. <<else>> there is an occasional glimpse of $possessive well-oiled asshole. <</if>> <</if>> <<case "attractive lingerie for a pregnant woman">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is quite visible under $possessive silken panties. <<else>> $possessiveCap <<if $activeSlave.anus > 3>> gaping asshole can easily be discerned though $possessive panties. <<else>> $possessiveCap panties completely hide $possessive asshole. <</if>> <</if>> <<case "a maternity dress">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap maternity dress hides $possessive anal chastity accessory underneath. <<else>> Though $possessive dress covers $possessive rear, $possessive asshole is bare beneath it. <</if>> <<case "a slutty qipao">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is barely covered from the rear. <<else>> <<if ($activeSlave.butt > 6)>> The rear hem of $possessive qipao is so inadequate to cover $possessive butt that <<if $activeSlave.anus > 2>> $possessive huge asshole is very visible from the rear. <<elseif $activeSlave.anus > 1>> $possessive roomy asshole is very visible from the rear. <<else>> there is an occasional glimpse of $possessive asshole. <</if>> <</if>> <</if>> <<case "uncomfortable straps">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is completely visible. $possessiveCap straps come down around it between $possessive buttocks. <<else>> The strap between $possessive buttocks has a steel ring over $possessive <<if $activeSlave.anus > 2>> butthole to admit cock. Amusingly, the ring is probably more restrictive than $possessive loose ass. <<else>> asshole to admit cock. <</if>> <</if>> <<case "shibari ropes">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is completely visible. $possessiveCap rope passes around it between $possessive buttocks. <<else>> The rope between $possessive buttocks passes <<if $activeSlave.anus > 2>> over $possessive asshole, but $possessive lewd anus is so big that it's visible to either side of it. <<else>> tightly over $possessive asshole. <</if>> <</if>> <<case "restrictive latex">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt can be barely made out through the latex. <<else>> $possessiveCap <<if $activeSlave.anus > 1>> well-fucked <<else>> tight <</if>> asshole is visible through a hole in the latex, left expressly to admit cock. <</if>> <<case "attractive lingerie">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is on display. <<else>> $possessiveCap g-string <<if $activeSlave.anus > 1>> cannot conceal $possessive well-fucked <<else>> shows only a hint of $possessive tight <</if>> asshole. <</if>> <<case "a string bikini">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is integrated into $possessive bikini. <<else>> $possessiveCap <<if $activeSlave.anus > 1>> well-fucked asshole makes a mockery of $possessive string bikini, which cannot begin to conceal it. <<else>> string bikini shows more than a hint of $possessive tight asshole. <</if>> <</if>> <<case "clubslut netting">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap anal chastity belt is fully visible through the netting. <<else>> There's a hole in $possessive netting right over $possessive <<if $activeSlave.anus > 1>> big <<else>> tight <</if>> butthole. <</if>> <<case "a cheerleader outfit">> If $pronoun bends over even slightly, the hem of $possessive skirt rides up to reveal $possessive <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> anal chastity belt. <<else>> <<if $activeSlave.anus > 1>> $possessive lewd butthole. <<else>> a hint of $possessive tight anus. <</if>> <</if>> <<case "harem gauze">> $possessiveCap <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> anal chastity belt is clearly visible through $possessive gauze. <<else>> <<if $activeSlave.anus > 1>> well-fucked asshole is clearly <<else>> tight ass is tantalizingly <</if>> <</if>> visible through $possessive gauze. <<case "a fallen nuns habit">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap uncovered butt shows off $possessive anal chastity belt clearly when $pronoun bends over. <<else>> With $possessive butt uncovered, committing the sin of sodomy with this nun is as easy as bending $possessive over. <</if>> <<case "a chattel habit">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> Underneath $possessive chattel habit, $possessive anal chastity belt prevents anal. <<else>> The strip of cloth over $possessive rear hole can be flipped up for anal, or tucked up under the belt for prolonged sodomy. <</if>> <<case "a penitent nuns habit">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> Underneath $possessive habit, $possessive anal chastity belt prevents anal. <<else>> $possessiveCap poor sinful asshole is terribly chafed by $possessive habit. <</if>> <<case "a slutty outfit">> $possessiveCap slutty outfits <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> betray $possessive anal chastity belt. <<else>> are designed for easy access to $possessive asshole. <</if>> <<case "a slave gown">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap pretty gown hides $possessive anal chastity accessory underneath. <<else>> Though $possessive gown is very pretty, $possessive asshole is bare beneath it. <</if>> <<case "a halter top dress">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap beautiful halter top dress hides $possessive anal chastity accessory underneath. <<else>> Though $possessive halter top dress is very beautiful, $possessive asshole is bare beneath it. <</if>> <<case "a ball gown">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap fabulous silken ball gown hides $possessive anal chastity accessory underneath. <<else>> Though $possessive silken ball gown is fabulous, $possessive asshole is bare beneath it. <</if>> <<case "a comfortable bodysuit">> $possessiveCap bodysuit is so form-fitting that the shape of $possessive <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> anal chastity accessory is clearly <<else>> anus is distinctly <</if>> visible. <<case "a latex catsuit">> $possessiveCap crotch zipper <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> does nothing as $possessive anal chastity accessory is underneath it. <<else>> gives ready access to $possessive asshole. <</if>> <<case "a leotard">> The thin strip of leotard running between <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> legs is so thin that $possessive anal chastity accessory is clearly visible underneath. <<else>> $possessive buttocks is so thin and snug that the outline of $possessive anus is clearly visible<<if ($activeSlave.butt > 3)>> if $pronoun's spread<</if>>. <</if>> <<case "a mini dress">> If $pronoun bends over even slightly, the hem of $possessive short dress rides up to reveal $possessive <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> anal chastity accessory underneath. <<else>> <<if $activeSlave.anus > 1>> lewd butthole. <<else>> tight anus. <</if>> <</if>> <<case "a slutty nurse outfit">> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> The very tight skirt covers $possessive anal chastity accessory. <<else>> The skirt is tight enough that lifting it to fuck $possessive butt is an amusing wrestling match. <</if>> <<case "a schoolgirl outfit">> The skirt is so short that it <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> reveals $possessive anal chastity accessory. <<else>> doesn't even have to be lifted to fuck $possessive schoolgirl ass. <</if>> <<case "a hijab and abaya">> The abaya may be modest, but it's also loose and easy to lift. <<case "a slutty maid outfit">> The short skirt of $possessive maid dress <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> covers $possessive anal chastity accessory. <<else>> is made to be easily liftable for access to $possessive anus. <</if>> <<case "conservative clothing" "a toga" "cutoffs and a t-shirt" "battledress" "slutty business attire" "nice business attire" "a military uniform" "a bunny outfit" "a nice nurse outfit" "a kimono" >> /* We could use chastity belt descriptions! */ <<default>> <<if ($activeSlave.anus > 2)>> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap bare buttocks and $possessive anal chastity accessory are very visible from the rear. <<else>> With $possessive ass bare, $possessive huge asshole is very visible from the rear. <</if>> <<elseif ($activeSlave.anus > 1)>> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap bare buttocks and $possessive anal chastity accessory are very visible from the rear. <<else>> With $possessive ass bare, $possessive loose asshole is visible from the rear. <</if>> <<else>> <<if ($activeSlave.vaginalAccessory is "anal chastity") || ($activeSlave.vaginalAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap bare buttocks and $possessive anal chastity accessory are visible. <<else>> With $possessive ass bare, there is an occasional glimpse of $possessive asshole. <</if>> <</if>> <</switch>> <</if>> <</if>> <<if ($activeSlave.buttplug is "plug") && ($activeSlave.anus > 2)>> It's filled by a standard buttplug, which is on the verge of falling out. <<elseif ($activeSlave.buttplug is "long plug") && ($activeSlave.anus > 2)>> It's filled by a standard sized, overly long buttplug, which is on the verge of sliding out $possessive rear. It causes a noticeable bulge in $possessive belly. <<elseif ($activeSlave.buttplug is "plug")>> It's filled by a standard buttplug. <<elseif ($activeSlave.buttplug is "long plug")>> It's filled by a standard sized, overly long buttplug. It causes a noticeable bulge in $possessive belly. <<elseif ($activeSlave.buttplug is "large plug") && ($activeSlave.anus < 2)>> It's agonizingly stretched by a large buttplug. <<elseif ($activeSlave.buttplug is "long, large plug") && ($activeSlave.anus < 2)>> It's agonizingly stretched by a large and long buttplug. It causes a noticeable bulge in $possessive belly. <<elseif ($activeSlave.buttplug is "large plug") && ($activeSlave.anus < 3)>> It's uncomfortably filled by a large buttplug. <<elseif ($activeSlave.buttplug is "long, large plug") && ($activeSlave.anus < 3)>> It's uncomfortably filled by a large and long buttplug. It causes a noticeable bulge in $possessive belly. <<elseif ($activeSlave.buttplug is "large plug")>> It's comfortably filled by a large buttplug. <<elseif ($activeSlave.buttplug is "long, large plug")>> It's comfortably filled by a large and long buttplug. It causes a noticeable bulge in $possessive belly. <<elseif ($activeSlave.buttplug is "huge plug") && ($activeSlave.anus < 4)>> It's agonizingly stretched by a plug so huge $possessive anus is probably being stretched into a permanent gape. <<if $activeSlave.fuckdoll == 0>> <<if ($activeSlave.fetish is "masochist") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>> $pronounCap's frequently in tears from the pain, which is so sharp it often tips $possessive over into spontaneous orgasm. <<else>> $pronounCap spends much of $possessive time sobbing with anal pain and fear at having $possessive hole ruined. <</if>> <</if>> <<elseif ($activeSlave.buttplug is "long, huge plug") && ($activeSlave.anus < 4)>> It's agonizingly stretched by a plug so huge it causes $possessive belly to bulge and is likely stretching $possessive anus into a permanent gape. <<if $activeSlave.fuckdoll == 0>> <<if ($activeSlave.fetish is "masochist") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>> $pronounCap's frequently in tears from the pain, which is so sharp it often tips $possessive over into spontaneous orgasm. <<else>> $pronounCap spends much of $possessive time sobbing with anal pain and fear at having $possessive hole ruined. <</if>> <</if>> <<elseif ($activeSlave.buttplug is "huge plug")>> Its ridiculous gape is comfortably filled by a huge buttplug. <<elseif ($activeSlave.buttplug is "long, huge plug")>> Its ridiculous gape is comfortably filled by a wide and long buttplug. It causes a noticeable bulge in $possessive belly. <</if>> <<if ($activeSlave.skin is "tanned") || ($activeSlave.skin is "fair") || ($activeSlave.skin is "pale") || ($activeSlave.race is "white")>> <<set $skinDesc to "pink">> <<elseif ($activeSlave.anusTat is "bleached")>> <<set $skinDesc to $activeSlave.skin>> <<elseif ($activeSlave.skin is "brown") || ($activeSlave.race is "black")>> <<set $skinDesc to "dark">> <<else>> <<set $skinDesc to "darker">> <</if>> <<set $analSkinDesc to either("crinkled", "puckered", "puffy")>> <<if $activeSlave.anus == 0>> $pronounCap is an @@color:lime;anal virgin;@@ $possessive asshole is fresh and tight. <<elseif $activeSlave.anus == 1>> <<set $seed to either("anal opening", "anus", "butthole", "asshole")>> $possessiveCap $seed is <<set $seed to either("very", "nice and")>>$seed tight, <<if $activeSlave.analArea-$activeSlave.anus > 3>> but it's surrounded by a massive oval of $analSkinDesc $skinDesc skin that runs from $possessive tailbone all the way down to the <<if $activeSlave.vagina > -1>>bottom of $possessive pussy<<else>>base of $possessive cock<</if>>. <<elseif $activeSlave.analArea-$activeSlave.anus > 2>> but it's surrounded by an oval of $analSkinDesc $skinDesc skin that occupies $possessive entire <<set $seed to either("asscrack", "buttcrack")>>$seed. <<elseif $activeSlave.analArea-$activeSlave.anus > 1>> but it's surrounded by a big ring of $analSkinDesc $skinDesc skin. <<elseif $activeSlave.analArea-$activeSlave.anus > 0>> and it's surrounded by a cute <<set $seed to either("rosebud", "pucker", "ring")>>$seed of $skinDesc skin. <<else>> and the $skinDesc skin around it is stretched smooth, since it's been deflowered only recently. <</if>> <<elseif $activeSlave.anus is 2>> <<set $seed to either("anal opening", "anus", "butthole", "asshole", "asspussy")>> $possessiveCap $seed is <<if $activeSlave.analArea-$activeSlave.anus > 1>>only <</if>><<set $seed to either("relaxed", "loose", "accommodating")>>$seed, <<if $activeSlave.analArea-$activeSlave.anus > 2>> but it's surrounded by a massive oval of $analSkinDesc $skinDesc skin that runs from $possessive tailbone all the way down to the <<if $activeSlave.vagina > -1>>bottom of $possessive pussy<<else>>base of $possessive cock<</if>>. <<elseif $activeSlave.analArea-$activeSlave.anus > 1>> but it's surrounded by an oval of $analSkinDesc $skinDesc skin that occupies $possessive entire <<set $seed to either("asscrack", "buttcrack")>>$seed. <<elseif $activeSlave.analArea-$activeSlave.anus > 0>> and it's surrounded by a big ring of $analSkinDesc $skinDesc skin. <<else>> and the $skinDesc skin around it is stretched smooth, suggesting it's getting used to being this way. <</if>> <<elseif $activeSlave.anus is 3>> <<set $seed to either("anal opening", "anus", "butthole", "asshole", "asspussy")>> $possessiveCap $seed is a <<set $seed to either("relaxed", "loose", "welcoming", "lewd")>>$seed slit, <<if $activeSlave.analArea-$activeSlave.anus > 1>> and it's surrounded by a massive oval of $analSkinDesc $skinDesc skin that runs from $possessive tailbone all the way down to the <<if $activeSlave.vagina > -1>>bottom of $possessive pussy<<else>>base of $possessive cock<</if>>. <<elseif $activeSlave.analArea-$activeSlave.anus > 0>> and it's surrounded by an oval of $analSkinDesc $skinDesc skin that occupies $possessive entire <<set $seed to either("asscrack", "buttcrack")>>$seed. <<else>> and the $skinDesc skin around it is stretched smooth, suggesting $pronoun's getting used to having such a cock-hungry rear fuckhole. <</if>> <<else>> <<set $seed to either("anal opening", "anus", "butthole", "asshole", "asspussy", "anal slit")>> $possessiveCap $seed is a <<set $seed to either("relaxed", "loose", "permanent", "open")>>$seed gape, <<if $activeSlave.analArea-$activeSlave.anus > 0>> and it's surrounded by a massive oval of $skinDesc skin that runs from $possessive tailbone all the way down to the <<if $activeSlave.vagina > -1>>bottom of $possessive pussy<<else>>base of $possessive cock<</if>>. <<else>> and the $skinDesc skin around it is stretched smooth, suggesting $pronoun's only recently had $possessive ass ruined. <</if>> <</if>> <<if ($activeSlave.pubicHStyle is "bushy")>> <<if ($activeSlave.physicalAge >= 13)>> Since $pronoun has been left natural $pronoun has some light $activeSlave.pubicHColor pubic hair around $possessive ass. <</if>> <</if>> <<if $activeSlave.minorInjury is "sore ass">> $possessiveCap asshole has seen hard use lately and looks a little sore. <</if>> <<if $saleDescription == 1>> <<if $gingering is "ginger">> $possessiveCap asshole looks unusually puffy and sore. $pronounCap's either been cruelly assraped lately, or $pronoun's had an irritant placed in $possessive anus. <</if>> <</if>> <<if $showBodyMods == 1>> <<if ($activeSlave.vagina > -1)>> <<if ($activeSlave.anusPiercing == 1)>> $pronounCap has a simple piercing between $possessive pussy and $possessive asshole<<if $activeSlave.fuckdoll > 0>> which helps keep the strip of material <<if $activeSlave.vagina > -1>>between its holes<<else>>below its rear hole<</if>> in place<</if>>. <<elseif ($activeSlave.anusPiercing is 2)>> $pronounCap has a big ring between $possessive pussy and $possessive asshole<<if $activeSlave.fuckdoll > 0>>, which helps keep the strip of material <<if $activeSlave.vagina > -1>>between its holes<<else>>below its rear hole<</if>> in place,<</if>> and studs in all around $possessive anus. <</if>> <<else>> <<if ($activeSlave.anusPiercing == 1)>> $pronounCap has a simple perianal piercing between the base of $possessive dick and $possessive girly butthole<<if $activeSlave.fuckdoll > 0>> which helps keep the strip of material <<if $activeSlave.vagina > -1>>between its holes<<else>>below its rear hole<</if>> in place<</if>>. <<elseif ($activeSlave.anusPiercing is 2)>> $pronounCap has a big ring between the base of $possessive dick and $possessive girly butthole, which has studs all around it. <</if>> <</if>> <<if $activeSlave.anusTat != 0>> <<switch $activeSlave.anusTat>> <<case "bleached">> $possessiveCap anus is bleached and looks like a sexual organ. <<case "flowers">> $pronounCap has a huge blooming flower tattooed right over $possessive anus. <<case "advertisements">> <<if ($activeSlave.vagina > -1)>> $pronounCap has a ring of text tattooed around $possessive anus which reads 'Second Pussy.' <<else>> $pronounCap has a ring of text tattooed around $possessive anus which reads 'Spit First.' <</if>> <<case "rude words">> <<if ($activeSlave.vagina > -1)>> $pronounCap has a ring of text tattooed around $possessive anus which reads 'Fucktoy's Favorite Fuckhole.' <<else>> $pronounCap has a ring of text tattooed around $possessive anus which reads 'Sissy Slut's Sodomy Slit.' <</if>> <<case "sacrilege">> $pronounCap has a ring of Aramaic text tattooed around $possessive anus, which translates to horrible blasphemy. <<case "tribal patterns">> $possessiveCap anus is bleached and looks like a sexual organ. It is tattooed with a tribal pattern that changes interestingly when $pronoun relaxes or tightens $possessive sphincter. <<case "degradation">> $possessiveCap anus is bleached and looks like a sexual organ. It is tattooed with gothic script in a ring around $possessive hole, reading '<<if $PC.title == 1>>Master<<else>>Mistress<</if>> Made Me An Anal Slut.' <<case "counting">> <<if $activeSlave.analCount == 0>> $pronounCap has a dashed line tattooed around $possessive anus as a guideline for where her anal count will be inscribed. <<elseif $activeSlave.analCount < 1000>> $pronounCap has a fine rings tattooed around $possessive anus, one for each hundred cocks. <<else>> $pronounCap has a thick and fine rings tattooed around $possessive anus, for each thousand and hundred cocks. <</if>> <<case "bovine patterns">> $possessiveCap anus is tattooed to mimic the puffy, dark appearance of a cow's. <</switch>> <</if>> <</if>> <<if $activeSlave.fuckdoll > 0>> As a Fuckdoll, <<if $activeSlave.fuckdoll <= 45>> $pronoun is only fit to be locked in place so its rear hole can be raped. <<else>> $pronoun can be instructed to rhythmically squeeze <<if $PC.dick == 1>>cocks<<else>>anything<</if>> inserted into its rear hole. <<if $activeSlave.fuckdoll <= 85>> It can also be ordered to bounce atop objects in its anus. <</if>> <</if>> <<else>> <<if $activeSlave.analSkill >= 100>> $pronounCap is a @@color:aquamarine;masterful anal slut@@. <<elseif $activeSlave.analSkill > 60>> $pronounCap is an @@color:aquamarine;expert anal slut@@. <<elseif $activeSlave.analSkill > 30>> $pronounCap is a @@color:aquamarine;skilled anal slut@@. <<elseif $activeSlave.analSkill > 10>> $pronounCap has @@color:aquamarine;basic knowledge about anal@@. <<else>> $pronounCap is unskilled at taking anal. <</if>> <</if>> <</widget>> <<widget "VaginaDescription">> <<SlavePronouns $activeSlave>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> <<if ($dairyPregSetting > 1) && ($activeSlave.ovaries == 1)>> $activeSlave.slaveName's pussy is occupied by a massive dildo, servicing $possessive womb with its ejaculate. <<elseif ($activeSlave.balls > 0)>> $activeSlave.slaveName's dick is buried in $possessive milking machine's cum receptacle. <<elseif ($activeSlave.vagina > -1)>> $activeSlave.slaveName's pussy is being serviced by a drug-ejaculating dildo. <</if>> <<else>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's <<if $activeSlave.dick > 0>> <<if $activeSlave.dick > 6>>absurd<<elseif $activeSlave.dick > 4>>big<<elseif $activeSlave.dick > 2>>modest<<else>>pathetic<</if>> <<if canAchieveErection($activeSlave)>> cock is kept painfully erect by the Fuckdoll suit's systems. It's tightly wrapped in a condom-shaped extension of the suit's protective material, preventing it from feeling any real pleasure. <<if $activeSlave.scrotum > 0>> $possessiveCap ballsack have its own uncomfortably tight pouch in the suit. <</if>> <<else>> soft cock<<if $activeSlave.scrotum > 0>> and balls are<<else>>is<</if>> trapped up against its abdomen, under the Fuckdoll suit's protective material. <</if>> <</if>> <<if $activeSlave.vagina > -1>> <<if $activeSlave.dick > 0>> $possessiveCap front hole, meanwhile, is left completely bare. <<else>> front hole is left completely bare by the Fuckdoll suit's protective material. <</if>> <</if>> <<case "conservative clothing">> <<if $activeSlave.dick > 6>> There is an absurd bulge at the crotch of $activeSlave.slaveName's pants. <<elseif $activeSlave.dick > 3>> There is a distinct bulge at the crotch of $activeSlave.slaveName's pants. <<elseif $activeSlave.dick > 1>> There is a modest bulge at the crotch of $activeSlave.slaveName's pants. <</if>> <<case "chains">> <<if $activeSlave.dick > 0>> $activeSlave.slaveName has chain dangling from around $possessive waist to end next to $possessive cock, so that when $pronoun moves, it occasionally strikes $possessive in the dick. <<else>> $activeSlave.slaveName's pussy has a chain running tightly between $possessive pussylips. <</if>> <<case "Western clothing">> $activeSlave.slaveName's chaps have no crotch, so $possessive <<if $activeSlave.dick > 2>> dick dangles <<elseif $activeSlave.dick > 0>> little dick is <<else>> pussy is <</if>> bare. <<case "body oil">> <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> Every surface of $activeSlave.slaveName's hermaphroditic genitalia have been carefully <<elseif $activeSlave.dick > 0>> $activeSlave.slaveName's dick has been lovingly <<else>> $activeSlave.slaveName's pussy has been lovingly <</if>> oiled. <<case "a toga">> <<if $activeSlave.dick > 3>> Something is tenting the front of $activeSlave.slaveName's toga. <</if>> <<case "attractive lingerie for a pregnant woman">> <<if ($activeSlave.dick > 5) && canAchieveErection($activeSlave) && ($activeSlave.devotion > 20) && ($activeSlave.preg > 10)>> $activeSlave.slaveName's huge erection is agonizingly pressed down by $possessive pregnancy. <<elseif ($activeSlave.dick > 5) && canAchieveErection($activeSlave) && ($activeSlave.devotion > 20)>> $activeSlave.slaveName's erection is so big that $pronoun's restrained it by trapping its head under $possessive bra.<<if $activeSlave.boobs > 800>> Its head peeks out from $possessive cleavage.<</if>> <<elseif ($activeSlave.dick > 3) && ($activeSlave.vagina > -1)>> $activeSlave.slaveName's silken panties cannot cover $possessive hermaphroditic genitalia due to the size of her cock. $pronounCap's simply pulled it to one side, leaving $possessive pussy bare as well. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> $activeSlave.slaveName's silken panties demurely cover $possessive hermaphroditic genitalia as long as $pronoun doesn't move too much, but $possessive dick has a way of slipping out and uncovering $possessive pussy. <<elseif $activeSlave.dick > 3>> $activeSlave.slaveName's silken panties cannot cover $possessive cock. $pronounCap's simply pulled it to one side. <<elseif $activeSlave.dick > 0>> $activeSlave.slaveName's silken panties demurely cover $possessive dick as long as $pronoun doesn't move too much, but it has a way of slipping out. <<else>> $activeSlave.slaveName's silken panties demurely cover $possessive pussy. <</if>> <<case "a maternity dress">> <<if $activeSlave.dick > 5>> Something massive can be seen bulging under $possessive dress. <<elseif $activeSlave.dick > 2>> When $pronoun moves, something occasionally tents the front of $possessive dress. <<else>> $activeSlave.slaveName's dress demurely conceals $possessive pussy. <</if>> <<case "a slutty qipao">> $activeSlave.slaveName's <<if $activeSlave.dick > 3>> dick is long enough that its head dangles down below the front of $possessive short qipao. <<elseif $activeSlave.dick > 0>> qipao occasionally tents in front when $pronoun moves. <<else>> qipao barely comes down far enough to cover $possessive pussy. <</if>> <<case "uncomfortable straps">> $activeSlave.slaveName's strap between $possessive legs has a steel ring <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> around the base of $possessive dick, letting it pass through, and a ring over $possessive pussy. <<elseif $activeSlave.dick > 0>> the base of $possessive dick, letting it pass through. <<else>> over $possessive pussy. <</if>> <<case "shibari ropes">> <<if ($activeSlave.dick > 4) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20) && ($activeSlave.preg > 10)>> $activeSlave.slaveName's ropes bind $possessive huge cock to the bottom of $possessive pregnant belly. <<elseif ($activeSlave.dick > 4) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20)>> $activeSlave.slaveName's ropes bind $possessive huge cock straight up $possessive abdomen.<<if $activeSlave.boobs > 400>> It's so long that its head rests between $possessive breasts.<</if>> <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> $activeSlave.slaveName's ropes are woven in a complex pattern to bind all parts of $possessive complicated genitalia. <<elseif $activeSlave.dick > 0>> $activeSlave.slaveName's ropes include a tight loop around the base of $possessive dick. <<else>> $activeSlave.slaveName has a rope passing tightly between $possessive pussylips. <</if>> <<case "restrictive latex">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are visible through a special hole in the latex. <<elseif $activeSlave.dick > 0>> latex has a hole to leave $possessive dick bare and vulnerable. <<else>> latex has a hole to leave $possessive pussy bare and vulnerable. <</if>> <<case "attractive lingerie">> $activeSlave.slaveName's <<if ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20) && ($activeSlave.preg > 10)>> huge erection is agonizingly pressed down by $possessive pregnancy. <<elseif ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20)>> erection is so big that $pronoun's restrained it by trapping its head under $possessive bra.<<if $activeSlave.boobs > 800>> Its head peeks out from $possessive cleavage.<</if>> <<elseif ($activeSlave.dick > 3) && ($activeSlave.vagina > -1)>> lace g-string cannot cover hermaphroditic genitalia due to the size of $possessive cock. $pronounCap's simply pulled it to one side, leaving $possessive pussy bare as well. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> lace g-string demurely covers $possessive hermaphroditic genitalia as long as $pronoun doesn't move too much, but $possessive dick has a way of slipping out and uncovering $possessive pussy. <<elseif $activeSlave.dick > 3>> lace g-string cannot cover $possessive cock. $pronounCap's simply pulled it to one side. <<elseif $activeSlave.dick > 0>> lace g-string demurely covers $possessive dick as long as $pronoun doesn't move too much, but it has a way of slipping out. <<else>> lace g-string demurely covers $possessive pussy. <</if>> <<case "a succubus outfit">> $activeSlave.slaveName's leather skirt is cut to conceal precisely nothing in front, coming down to just above <<if $activeSlave.dick > 0>> the base of $possessive cock. <<else>> $possessive clit. <</if>> <<case "a string bikini">> $activeSlave.slaveName's <<if ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20) && ($activeSlave.preg > 10)>> huge erection is agonizingly pressed down by $possessive pregnancy. <<elseif ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20)>> erection is so big that $pronoun's got it restrained behind $possessive string bikini top.<<if $activeSlave.boobs > 800>> Its head peeks out from $possessive cleavage.<</if>> <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> just given up and pushed $possessive bikini bottom to one side, since the bikini bottom that fits a hermaphrodite has not yet been designed. <<elseif $activeSlave.dick > 0>> string bikini bottom is more of a banana hammock, in front. <<else>> string bikini runs lewdly between $possessive pussylips. <</if>> <<case "clubslut netting">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia require a huge hole in $possessive netting to keep everything aired out and accessible. <<elseif ($activeSlave.dick > 0) && ($activeSlave.scrotum > 1)>> cock has its own hole in $possessive netting, but $possessive balls are restrained inside it. <<elseif ($activeSlave.dick > 0)>> cock has its own hole in $possessive netting. <<else>> pussy is left bare by a hole in $possessive netting. <</if>> <<case "a cheerleader outfit">> $activeSlave.slaveName's <<if ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20) && ($activeSlave.preg > 10)>> huge erection pins $possessive skirt against $possessive pregnant belly, revealing $possessive bare pussy. <<elseif ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20)>> erection is so big that $pronoun's trapped it upwards against $possessive stomach and under $possessive top.<<if $activeSlave.boobs > 800>> Its head peeks out from $possessive cleavage.<</if>> <<elseif $activeSlave.dick > 5>> cheerleader skirt is not designed for someone with a cock as big as hers; its lower half sticks out beneath its edge. <<elseif $activeSlave.dick > 3>> cheerleader skirt is not designed for someone with a cock as big as hers; its head is easily visible beneath its edge. <<elseif $activeSlave.dick > 0>> cheerleader skirt hides $possessive dick reasonably well as long as $pronoun stands still. <<else>> cheerleader skirt often flips up to reveal $possessive bare pussy. <</if>> <<case "cutoffs and a t-shirt">> $activeSlave.slaveName's <<if ($activeSlave.dick > 5) and canAchieveErection($activeSlave) && ($activeSlave.devotion > 20)>> erection is so big that closing $possessive jean cutoffs is hopeless. $pronounCap's got $possessive fly unbuttoned and $possessive dick sticking out proudly. <<elseif $activeSlave.dick > 5>> jean cutoffs are pretty brief, and $possessive huge cock sticks out, trapped against one leg. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> jean cutoffs are pretty brief, but decently cover $possessive cock and pussy. <<elseif $activeSlave.dick > 0>> jean cutoffs are pretty brief, but decently cover $possessive cock. <<else>> jean cutoffs are pretty brief, but still cover $possessive pussy decently in front. <</if>> <<case "a slave gown">> $activeSlave.slaveName's <<if $activeSlave.dick > 6>> lovely gown cannot hide the fact that something massive is lurking between $possessive legs. <<elseif $activeSlave.dick > 3>> cock tents the front of $possessive lovely gown. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are hidden by $possessive lovely gown. <<elseif $activeSlave.dick > 0>> cock is hidden by $possessive lovely gown. <<else>> pussy is concealed by $possessive lovely gown. <</if>> <<case "a halter top dress">> $activeSlave.slaveName's <<if $activeSlave.dick > 3>> cock tents the front of $possessive beautiful halter top dress. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are hidden by $possessive beautiful halter top dress. <<elseif $activeSlave.dick > 0>> cock is hidden by $possessive beautiful halter top dress. <<else>> pussy is concealed by $possessive beautiful halter top dress. <</if>> <<case "a ball gown">> $activeSlave.slaveName's <<if $activeSlave.dick > 3>> cock tents the front of $possessive fabulous silken ball gown. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are hidden by $possessive fabulous silken ball gown. <<elseif $activeSlave.dick > 0>> cock is hidden by $possessive fabulous silken ball gown. <<else>> pussy is concealed by $possessive fabulous silken ball gown. <</if>> <<case "slutty business attire">> $activeSlave.slaveName's <<if $activeSlave.dick > 3>> dickhead dangles down beneath the hem of $possessive short skirt. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are barely hidden by $possessive skirt. <<elseif $activeSlave.dick > 0>> cock is barely hidden by $possessive skirt. <<else>> pussy is barely concealed by $possessive skirt. <</if>> <<case "nice business attire">> $activeSlave.slaveName's <<if $activeSlave.dick > 3>> conservative skirt bulges forward in front. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are decently hidden by $possessive skirt. <<elseif $activeSlave.dick > 0>> conservative skirt gives no hint of the cock behind it. <<else>> conservative skirt gives no hint of the pussy behind it. <</if>> <<case "a comfortable bodysuit">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are a bit crowded by $possessive tight bodysuit. <<elseif $activeSlave.dick > 0>> cock is quite visible under the tight material of $possessive bodysuit. <<else>> bodysuit forms a perfect cameltoe against $possessive pussy. <</if>> <<case "a latex catsuit">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) and ($activeSlave.vagina > -1)>> latex encased cock and pussy are just waiting to be exposed through $possessive crotch zipper. <<elseif $activeSlave.dick > 0>> latex encased cock is just waiting to be exposed through $possessive crotch zipper. <<else>> latex encased pussy is just waiting to be exposed through $possessive crotch zipper. <</if>> <<case "a military uniform">> <<if $activeSlave.dick > 3>> $activeSlave.slaveName's uniform skirt bulges forward in front. <<elseif ($activeSlave.dick > 0) and ($activeSlave.vagina > -1)>> $activeSlave.slaveName's hermaphroditic genitalia are decently hidden by $possessive skirt. <<elseif $activeSlave.vagina > -1>> $activeSlave.slaveName's uniform skirt gives no hint of the pussy behind it. <<elseif $activeSlave.dick > 0>> $activeSlave.slaveName's uniform skirt gives no hint of the cock behind it. <</if>> <<case "a mini dress">> $activeSlave.slaveName's <<if ($activeSlave.dick > 5) and canAchieveErection($activeSlave) and ($activeSlave.devotion > 20) and ($activeSlave.preg > 20)>> massive erection is agonizingly pinned to the front of $possessive gravid belly, entirely visible against the straining fabric of $possessive dress. <<elseif ($activeSlave.dick > 5) and canAchieveErection($activeSlave) and ($activeSlave.devotion > 20)>> massive erection ascends up $possessive chest, entirely visible against the straining fabric of $possessive dress. <<elseif ($activeSlave.dick > 3) and canAchieveErection($activeSlave) and ($activeSlave.devotion > 20) and ($activeSlave.preg > 20)>> erection lies flush against the bottom of $possessive gravid stomach, visible under the tight fabric of $possessive dress. <<elseif ($activeSlave.dick > 3) and canAchieveErection($activeSlave) and ($activeSlave.devotion > 20)>> erection lies flush against $possessive stomach, visible under the tight fabric of $possessive dress. <<elseif $activeSlave.dick > 5>> short dress can't possibly conceal $possessive huge cock; its lower half sticks out below the hemline. <<elseif $activeSlave.dick > 3>> short dress can't possibly conceal $possessive big cock; its head peeks out below the hemline. <<elseif ($activeSlave.dick > 0) and ($activeSlave.vagina > -1)>> short dress scarcely covers the bulge of $possessive cock, while leaving a hint of $possessive bare pussy visible below the hemline. <<elseif $activeSlave.dick > 0>> short dress scarcely covers the bulge of $possessive cock. <<elseif $activeSlave.vaginalAccessory is "chastity belt">> short dress leaves a hint of $possessive polished chastity belt below the hemline. <<elseif $activeSlave.vaginalAccessory is "anal chastity">> short dress leaves a hint of $possessive polished anal chastity belt below the hemline. <<elseif $activeSlave.vaginalAccessory is "combined chastity">> short dress leaves a hint of $possessive polished chastity belt below the hemline. <<else>> short dress leaves a hint of $possessive bare pussy below the hemline. <</if>> <<case "a leotard">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) && canAchieveErection($activeSlave)>> tight leotard affords no extra room for $possessive penis, so when $pronoun gets hard, every vein is clearly visible through the material. <<elseif $activeSlave.dick > 0>> soft cock is clearly outlined by the tight material of $possessive leotard. <<elseif $activeSlave.clit > 1>> leotard hugs $possessive pussy, so closely that $possessive impressive clit is clearly visible. <<else>> leotard hugs $possessive pussy, forming an inviting cameltoe. <</if>> <<case "a bunny outfit">> <<if $activeSlave.dick > 4>> The crotch of $activeSlave.slaveName's teddy has a significant bulge to it. <<elseif $activeSlave.dick > 0>> The crotch of $activeSlave.slaveName's teddy bulges slightly. <<else>> $activeSlave.slaveName's teddy is tight enough to form a distinct cameltoe. <</if>> <<case "a slutty maid outfit">> $activeSlave.slaveName's <<if $activeSlave.dick > 3>> cockhead dangles down beneath the hem of $possessive short apron. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are poorly concealed by $possessive short apron. <<elseif $activeSlave.dick > 0>> cock is barely concealed by $possessive short apron. <<else>> pussy is barely covered by $possessive short apron. <</if>> <<case "a nice maid outfit">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are protected by $possessive functional apron. <<elseif $activeSlave.dick > 0>> dick is protected by $possessive functional apron. <<else>> pussy is protected by $possessive functional apron. <</if>> <<case "a nice nurse outfit">> <<if $activeSlave.dick > 3>> $activeSlave.slaveName's trousers bulge forward in front. <<elseif ($activeSlave.dick > 0) and ($activeSlave.vagina > -1)>> $activeSlave.slaveName's hermaphroditic genitalia are decently hidden by $possessive trousers. <<elseif $activeSlave.dick > 0>> $activeSlave.slaveName's trousers give no hint of the cock behind it. <<elseif $activeSlave.vagina > -1>> $activeSlave.slaveName's trousers give no hint of the pussy behind it. <</if>> <<case "a slutty nurse outfit">> <<if $activeSlave.dick > 3>> $activeSlave.slaveName's skirt is tight enough to reveal the massive outline of $possessive dick behind it. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> $activeSlave.slaveName's skirt is tight enough to reveal the outline of the hermaphroditic genitalia behind it. <<elseif $activeSlave.dick > 0>> $activeSlave.slaveName's skirt is tight enough to reveal the outline of $possessive dick behind it. <<elseif $activeSlave.vagina > -1>> $activeSlave.slaveName's skirt is barely long enough to cover $possessive pussy. <</if>> <<case "a schoolgirl outfit">> <<if $activeSlave.dick > 3>> $activeSlave.slaveName's dickhead is visible, swinging below the hem of $possessive skirt. <<elseif $activeSlave.dick > 0>> Something is pushing against the front of $activeSlave.slaveName's plaid skirt. <<else>> $activeSlave.slaveName's plaid skirt lifts to show off $possessive pussy with the slightest provocation. <</if>> <<case "a kimono">> <<if $activeSlave.dick > 2>> Despite the quality tailoring of $activeSlave.slaveName's kimono, it is clear that $pronoun has something between $possessive legs. <<elseif $activeSlave.vagina > -1>> $activeSlave.slaveName's kimono demurely conceals $possessive pussy. <</if>> <<case "a hijab and abaya">> <<if $activeSlave.dick > 2>> When $pronoun moves, something occasionally tents the front of $possessive abaya. <<elseif $activeSlave.vagina > -1>> $activeSlave.slaveName's abaya properly conceals $possessive pussy. <</if>> <<case "battledress">> <<if $activeSlave.dick > 2>> $activeSlave.slaveName's fatigue pants bulge in front. <<elseif $activeSlave.vagina > -1>> $activeSlave.slaveName's fatigue pants protect $possessive pussy. <</if>> <<case "a fallen nuns habit">> The ludicrously short skirt of $activeSlave.slaveName's habit parts below $possessive navel, leaving $possessive <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia bare. <<elseif $activeSlave.dick > 0>> cock bare. <<else>> pussy bare. <</if>> <<case "a chattel habit">> The strip of cloth running down $possessive front <<if ($activeSlave.dick > 0) && canAchieveErection($activeSlave)>> splits well above the base of $possessive dick, allowing $possessive erection to stand out proudly. <<elseif ($activeSlave.vagina < 0) || ($activeSlave.vaginalAccessory is "chastity belt")>> has the new religion's symbol for anal sex embossed on it in gold, implying that this holy sex slave should be approached from the rear. <<elseif ($activeSlave.vaginalAccessory is "combined chastity")>> has the new religion's symbol for chastity embossed on it in gold, implying that this holy sex slave should only be used for oral. <<elseif ($activeSlave.vaginalAccessory is "anal chastity") && canDoVaginal($activeSlave)>> has the new religion's symbol for anal chastity embossed on it in gold, implying that this holy sex slave should be used for vaginal sex or oral sex only. <<else>> has the new religion's stylized symbol depicting the vagina embossed on it in gold, and can be tucked up to bare $possessive womanhood. <</if>> <<case "a penitent nuns habit">> <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> $activeSlave.slaveName's sackcloth undergarments chafe and torture $possessive poor hermaphrodite's genitalia, keeping $possessive aware that $pronoun is an abomination. <<elseif $activeSlave.dick > 0>> $pronounCap's wearing a painful metal cilice around the base of $possessive cock, making $possessive shift constantly in search of comfort that will not come. <<else>> $activeSlave.slaveName's sackcloth undergarments chafe and torture $possessive poor womanhood. <</if>> <<case "harem gauze">> $activeSlave.slaveName's <<if ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> hermaphroditic genitalia are obscured by a covering of sheer gauze. $possessiveCap pussy is barely discernible. <<elseif $activeSlave.dick > 0>> cock is obscured by a covering of sheer gauze. <<else>> pussy is obscured by a covering of sheer gauze. <</if>> <<default>> <<if ($activeSlave.dick > 0) && ($activeSlave.vagina != -1)>> $activeSlave.slaveName's hermaphroditic genitalia are bare and available. <<elseif ($activeSlave.dick == 0)>> $activeSlave.slaveName's pussy is bare. <<elseif ($activeSlave.dickAccessory is "chastity") || ($activeSlave.dickAccessory is "combined chastity") || ($activeSlave.dickAccessory is "anal chastity")>> <<else>> <<switch $activeSlave.dick>> <<case 10>> $activeSlave.slaveName's inhuman cock hangs naked. <<case 9>> $activeSlave.slaveName's absurd cock hangs naked. <<case 8>> $activeSlave.slaveName's titanic<<if canAchieveErection($activeSlave)>><<else>>, flaccid<</if>> cock hangs naked. <<case 7>> $activeSlave.slaveName's gigantic<<if canAchieveErection($activeSlave)>><<else>>, flaccid<</if>> cock hangs naked. <<case 6>> $activeSlave.slaveName's huge<<if canAchieveErection($activeSlave)>><<else>>, flaccid<</if>> cock hangs naked. <<case 5>> $activeSlave.slaveName's imposing<<if canAchieveErection($activeSlave)>><<else>>, flaccid<</if>> cock swings naked. <<case 4>> $activeSlave.slaveName's big<<if canAchieveErection($activeSlave)>><<else>>, flaccid<</if>> cock dangles naked. <<case 3>> $activeSlave.slaveName's<<if canAchieveErection($activeSlave)>><<else>> flaccid<</if>> cock dangles bare. <<case 2>> $activeSlave.slaveName's little<<if canAchieveErection($activeSlave)>><<else>> flaccid<</if>> dick is bare. <<case 1>> $activeSlave.slaveName's tiny<<if canAchieveErection($activeSlave)>><<else>> flaccid<</if>> dick is bare. <<default>> $activeSlave.slaveName's hypertrophied cock hangs naked. <</switch>> <</if>> <</switch>> <</if>> <</if>> <<if ($activeSlave.dick > 0)>> <<switch $activeSlave.dick>> <<case 10>> <<if $showDickCMs == 1>> $possessiveCap awe-inspiring<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis is around 60cm long, <<else>> $pronounCap has a awe-inspiring<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis, <</if>> a true masterpiece of modern growth hormone treatment, <<case 9>> <<if $showDickCMs == 1>> $possessiveCap monstrous<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis is around 50cm long, <<else>> $pronounCap has a monstrous<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis, <</if>> a work of modern pharmacological art, <<case 8>> <<if $showDickCMs == 1>> $possessiveCap truly imposing<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis is around 40cm long when as hard as it can get, <<else>> $pronounCap has a truly imposing<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis, <</if>> an obvious product of modern growth hormones, <<case 7>> <<if $showDickCMs == 1>> $possessiveCap massive<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis is around 35cm long when as hard as it can get, <<else>> $pronounCap has a massive<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis, <</if>> larger than a dick can grow naturally, <<case 6>> <<if $showDickCMs == 1>>$possessiveCap enormous<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis <<if canAchieveErection($activeSlave)>>is around 30cm long when<<else>>would be around 30cm long if it could become<</if>> erect<<else>>$pronounCap has an enormous<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis<</if>>, a rival to the world's largest natural dicks, <<case 5>> <<if $showDickCMs == 1>>$possessiveCap huge<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis <<if canAchieveErection($activeSlave)>>is more than 25cm long when<<else>>would be around 25cm long if it could become<</if>> erect<<else>>$pronounCap has a huge<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis<</if>>, large enough to be sexually inconvenient, <<case 4>> <<if $showDickCMs == 1>>$possessiveCap large<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis <<if canAchieveErection($activeSlave)>>is around 20cm long when<<else>>would be around 20cm long if it could become<</if>> erect<<else>>$pronounCap has a large<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis<</if>>, big enough to be a source of pride on a male, <<case 3>> <<if $showDickCMs == 1>>$possessiveCap average-sized<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis <<if canAchieveErection($activeSlave)>>is around 15cm long when<<else>>would be around 15cm long if it could become<</if>> erect<<else>>$pronounCap has an average-sized<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis<</if>>, <<case 2>> <<if $showDickCMs == 1>>$possessiveCap small<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis <<if canAchieveErection($activeSlave)>>is around 10cm long when<<else>>would be around 10cm long if it could become<</if>> erect<<else>>$pronounCap has a small<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis<</if>>, little enough to be a source of embarrassment on a male, <<case 1>> <<if $showDickCMs == 1>>$possessiveCap<<if $seeCircumcision == 1>> <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> micropenis <<if canAchieveErection($activeSlave)>>is less than 5cm long when<<else>>would be less than 5cm long if it could become<</if>> erect<<else>>$pronounCap has <<if $seeCircumcision == 1>><<if $activeSlave.foreskin > 0>>an uncut<<else>>a circumcised<</if>><<else>>a<</if>> micropenis<</if>>, <<default>> <<if $showDickCMs == 1>> $possessiveCap mind-shattering<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis is around <<print (6*$activeSlave.dick)>>cm long, <<else>> $pronounCap has a mind-shattering<<if $seeCircumcision == 1>>, <<if $activeSlave.foreskin > 0>>uncut<<else>>circumcised<</if>><</if>> penis, <</if>> a true masterpiece of modern growth hormone treatment, <</switch>> <<if $activeSlave.scrotum == 0>> <<if $activeSlave.vagina > -1>> is right above $possessive vagina. <<else>> rests above nothing but smooth, sensitive skin until <<switch $activeSlave.anus>> <<case 0>> the tiny crinkle of $possessive virgin asshole. <<case 1>> $possessive tight little rosebud. <<case 2>> the bottom the vertical slit formed by $possessive rear pussy. <<case 3>> the bottom the soft slit formed by $possessive lewd rear pussy. <<default>> the edge of $possessive open anal gape. <</switch>> <</if>> <<else>> <<switch $activeSlave.balls>> <<case 6>> and $pronoun has a gigantic, clearly unnatural pair of testicles<<if $showDickCMs == 1>>, about 10cm long<</if>>. <<case 5>> and $pronoun has a huge pair of testicles<<if $showDickCMs == 1>>, about 8cm long<</if>>. <<case 4>> and $pronoun has a big pair of testicles<<if $showDickCMs == 1>>, about 6cm long<</if>>. <<case 3>> and $pronoun has an average pair of testicles<<if $showDickCMs == 1>>, about 4cm long<</if>>. <<case 2>> and $pronoun has a small pair of testicles<<if $showDickCMs == 1>>, about 2cm long<</if>>. <<case 1>> and $possessive testicles are so small they have retreated up into $possessive abdomen. <<case 0>> <<if ($activeSlave.dick == 2)>> and $pronoun lacks testicles. <<elseif ($activeSlave.dick == 1)>> and $pronoun lacks testicles: $possessive vestigial dick is functionally a large, soft clit. <<else>> but $pronoun lacks testicles. <</if>> <<default>> and $pronoun has a hypertrophied, clearly unnatural pair of testicles<<if $showDickCMs == 1>>, about <<print ($activeSlave.balls*2)>>cm long<</if>>, a true masterpiece of modern growth hormone treatment. <</switch>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.balls > 0>> <<if $activeSlave.scrotum > 0>> <<set $seed to $activeSlave.scrotum - $activeSlave.balls>> <<if $activeSlave.balls > 5>> <<if $seed < -1>> $possessiveCap poor scrotum is so overfilled, every little vein is visible. $pronounCap must be in agony. <<elseif $seed is -1>> They're held against $possessive base by a tight scrotum that permits them little movement. <<elseif $seed == 0>> $possessiveCap comfortable scrotum allows them to hang massively <<if $activeSlave.amp != 1>>between $possessive legs<<else>>from $possessive limbless torso<</if>>. <<else>> Their weight has stretched $possessive scrotum downward, so that they dangle <<if $activeSlave.amp != 1>>halfway to $possessive knees<<else>>some distance from $possessive limbless torso<</if>>. <</if>> <<elseif $activeSlave.balls > 3>> <<if $seed < -1>> They're too big for $possessive tiny scrotum, which is stretched tight over each ball. <<elseif $seed is -1>> They're held against $possessive base by a tight scrotum that permits them little movement. <<elseif $seed == 0>> $possessiveCap soft scrotum allows them to rest comfortably <<if $activeSlave.amp != 1>>between $possessive legs<<else>>beneath $possessive limbless torso<</if>>. <<else>> $pronounCap has a loose, dangling scrotum that allows them to swing <<if $activeSlave.amp != 1>>between $possessive legs<<else>>from $possessive limbless torso<</if>>. <</if>> <<elseif $activeSlave.balls > 1>> <<if $seed is -1>> They're held tightly by a very minimal scrotum that turns them into a soft little bump at $possessive base. <<elseif $seed == 0>> $possessiveCap comfortable little scrotum allows them to rest softly at $possessive base. <<else>> They're almost lost in $possessive big soft scrotum, wrinkled for lack of anything to fill it properly. <</if>> <<else>> <<if $seed == 0>> $pronounCap has a soft little trace of scrotum at $possessive base. <<else>> They've left $possessive scrotum soft and empty. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.physicalAge <= 3>> <<if $activeSlave.dick >= 15>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic dick are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap penis so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely to move $possessive penis, and usually walks carrying $possessive it in any way $pronoun can. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to move $possessive penis, and tries to rest it on the ground whenever $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated so $possessive enormous penis doesn't weigh $object down as much. <</if>> <<else>> It is nearly the same size as $possessive torso, making $object about half cock. <</if>> <<if $activeSlave.dick > 45>> <<if $dickAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a cock <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with dicks <</if>> bigger than they are. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge <= 12>> <<if $activeSlave.dick >= 30>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic dick are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap penis so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely to move $possessive penis, and usually walks carrying it in any way $pronoun can. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to move $possessive penis, and tries to rest it on the ground whenever $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated so $possessive enormous penis doesn't weigh $object down as much. <</if>> <<else>> It is nearly the same size as $possessive torso, making $object about half cock. <</if>> <<if $activeSlave.dick > 45>> <<if $dickAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a cock <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with dicks <</if>> bigger than they are. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge > 12>> <<if $activeSlave.dick > 68>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic dick are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap penis so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely to move $possessive penis, and usually walks carrying it in any way $pronoun can. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to move $possessive penis, and tries to rest it on the ground whenever $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated so $possessive enormous penis doesn't weigh $object down as much. <</if>> <<else>> It is nearly the same size as $possessive torso, making $object about half cock. <</if>> <<if $activeSlave.dick > 45>> <<if $dickAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with a cock <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with dicks <</if>> bigger than they are. <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.physicalAge <= 3>> <<if $activeSlave.balls >= 25>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic pair of testicles are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap balls are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks carrying $possessive testicles in any way $pronoun can. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tries to rest $possessive huge balls on the ground whenever $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated so $possessive enormous balls don't weigh $object down as much. <</if>> <<else>> Together they are nearly the same size as $possessive torso, making $object about half testicle. <</if>> <<if $activeSlave.balls > 90>> <<if $ballsAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with balls <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with testicles <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge <= 12>> <<if $activeSlave.balls >= 50>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic pair of testicles are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap balls are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks carrying $possessive testicles in any way $pronoun can. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tries to rest $possessive huge balls on the ground whenever $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated so $possessive enormous balls don't weigh $object down as much. <</if>> <<else>> Together they are nearly the same size as $possessive torso, making $object about half testicle. <</if>> <<if $activeSlave.balls > 90>> <<if $ballsAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with balls <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with testicles <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<elseif $activeSlave.physicalAge > 12>> <<if $activeSlave.balls > 70>> <<if $activeSlave.fuckdoll > 0>> The difficulties of having a gigantic pair of testicles are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <<else>> <<if canWalk($activeSlave)>> $possessiveCap balls are so massive that it is difficult for $object to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support them. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks carrying $possessive testicles in any way $pronoun can. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tries to rest $possessive huge balls on the ground whenever $pronoun can. <<else>> $pronounCap cannot get to $possessive feet unaided, and prefers to remain seated so $possessive enormous balls don't weigh $object down as much. <</if>> <<else>> Together they are nearly the same size as $possessive torso, making $object about half testicle. <</if>> <<if $activeSlave.balls > 90>> <<if $ballsAccessibility == 1>> Fortunately for $object, the penthouse is adapted for daily life with balls <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with testicles <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.mpreg == 1 && canAchieveErection($activeSlave) && $activeSlave.preg > 30>> $possessiveCap huge pregnancy puts pressure on $possessive prostate at all times, leaving $object fully erect and trailing cum. <<elseif ($activeSlave.assignment is "work in the dairy") and ($dairyStimulatorsSetting > 1) and ($activeSlave.balls > 0)>> <<if ($activeSlave.dick > 8)>> $pronounCap's soft despite the drugs ejaculated by the dildo up $possessive asshole, since $possessive cock is too huge to ever become hard. The soft monstrosity simply exists to gush cum into a catchbasin. <<elseif ($activeSlave.dick > 6)>> $pronounCap's only half hard despite the drugs ejaculated by the dildo up $possessive asshole, and $pronoun must feel very faint, since even that requires much of $possessive blood volume. <<else>> The drugs ejaculated by the dildo up $possessive asshole keep $possessive almost permanently hard, only letting $possessive go soft right after ejaculation. <</if>> As you watch, the machine detects that $possessive balls are ready for emptying. It reams $possessive ass until semen whitens the transparent tubing coming off the head of the receptacle covering $possessive dick. <<elseif ($activeSlave.dickAccessory is "chastity") || ($activeSlave.dickAccessory is "combined chastity")>> $possessiveCap cock is encased in a tight chastity cage, which is designed to be comfortable as long as $pronoun remains soft. <<if ($activeSlave.energy > 95)>> The poor nympho looks painfully frustrated by this, and a long string of precum is dangling from the hole in the bottom of the cage. <</if>> <<if $arcologies[0].FSRestart != "unset">> An appearance that pleases the Societal Elite. <</if>> <<elseif ($activeSlave.dick > 8)>> $pronounCap's too huge for $possessive cardiovascular system to create even the beginnings of an erection. $possessiveCap cock is a soft, sensitive monolith<<if ($activeSlave.dick*6) > $activeSlave.height>>bigger than $possessive body<<elseif ($activeSlave.dick*6) > ($activeSlave.height/2)>>the size of one of $possessive legs<<else>>the size of one of $possessive arms<</if>>, <<if $activeSlave.amp == 1 && (($activeSlave.dick*6) > $activeSlave.height)>> or would be if $pronoun had any of those. <<else>> hanging with its head <<if ($activeSlave.dick > 9)>>below<<else>>between<</if>> $possessive knees. <</if>> <<elseif ($gingering is "vasodiolator")>> $pronounCap's painfully erect. <<elseif ($activeSlave.balls == 0)>> Since $pronoun has been gelded, $possessive cock is soft. <<if ($activeSlave.energy > 95)>> $pronounCap's such a nympho that despite this, $possessive limp member is tipped by a drop of precum. <</if>> <<elseif ($activeSlave.dick > 1) && ($activeSlave.hormones > 0)>> Since $pronoun's on an intense regimen of female hormones, $possessive cock is soft. <<if ($activeSlave.devotion > 75)>> Despite this, $pronoun's so devoted to you that being near you has $possessive horny. $possessiveCap limp member is tipped by a drop of precum. <<elseif ($activeSlave.drugs is "testicle enhancement") || ($activeSlave.drugs is "hyper testicle enhancement")>> Unfortunately for the poor slave, $pronoun's also on drugs that cause overproduction of cum. Since $possessive soft dick makes it difficult for $object to ejaculate properly, $pronoun's almost frantic with discomfort, and $possessive dickhead is dribbling excessive precum. <</if>> <<set $seed to 0>> <<elseif ($activeSlave.dick > 6)>> $possessiveCap cock is flirting with the limit of what the human cardiovascular system can bring erect: the best $pronoun can manage is a half-hardness that's too soft to meaningfully fuck anything. If $pronoun could somehow get fully erect, there are few holes $pronoun could safely penetrate, anyway. <<elseif ($activeSlave.dick > 1)>> <<if ($activeSlave.aphrodisiacs > 0)>> The aphrodisiacs have $possessive <<if ($activeSlave.aphrodisiacs > 1)>>painfully <</if>>hard. <<elseif ($activeSlave.energy > 95)>> As a nympho, $pronoun's almost constantly hard. <<elseif ($activeSlave.fetish is "buttslut") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about being buttfucked. <<elseif ($activeSlave.fetish is "cumslut") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about being facefucked. <<elseif ($activeSlave.fetish is "humiliation") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about being humiliated. <<elseif ($activeSlave.fetish is "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about submission. <<elseif ($activeSlave.fetish is "dom") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about dominating someone. <<elseif ($activeSlave.fetish is "masochist") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about pain. <<elseif ($activeSlave.fetish is "sadist") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about hurting someone. <<elseif ($activeSlave.fetish is "pregnancy") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about getting someone pregnant. <<elseif ($activeSlave.fetish is "boobs") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> Judging by how hard $pronoun is, $pronoun's probably fantasizing about boobs. <<elseif ($activeSlave.devotion > 50)>> As a devoted sex slave, $pronoun has no trouble keeping herself hard for $object <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>. <<elseif ($activeSlave.devotion > 20)>> As an obedient sex slave, $pronoun does $possessive best to keep <<print $possessive>>self hard for $object <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>. <<elseif ($activeSlave.dick > 1)>> Judging by the softness of $possessive dick, $pronoun doesn't find $possessive situation arousing. <</if>> <</if>> <<if $activeSlave.balls >= 50>> $possessiveCap testicles are so big and sensitive that $pronoun can barely move without stopping to let shivers run down $possessive body. It takes a great deal of control to not release their contents in huge spurts in every direction. <<elseif $activeSlave.balls >= 37>> $possessiveCap perpetual stream of semen-laced precum leaves a mess on the floor wherever $pronoun goes<<if canAchieveErection($activeSlave)>>, along with her shaft and legs whenever $pronoun is erect<</if>>. <<elseif $activeSlave.balls >= 25>> Parts of the constant dribble coming out of the tip of $possessive dick are now white, a testament to just how much cum $possessive massive balls produce and how desperate they are for release. <<elseif $activeSlave.balls >= 10>> $pronounCap produces so much cum that $possessive dick uncontrollably dribbles precum wherever $pronoun goes, leaving a trail of drops behind $object. <</if>> <<if $activeSlave.prostateImplant == 1>> $possessiveCap ejaculate has a distinct clearness to it from the excess prostate fluid produced by $possessive altered prostate. <</if>> <<if ($activeSlave.foreskin > 0)>> <<if ($activeSlave.foreskin - $activeSlave.dick < -1)>> $possessiveCap cockhead is much too large for $possessive foreskin, probably as a result of recent penis growth it hasn't had time to stretch to accommodate yet. <<if canAchieveErection($activeSlave) && (($activeSlave.devotion > 20) || ($activeSlave.aphrodisiacs > 0) || ($gingering is "vasodiolator"))>> The bit of erect dickhead visible at the tip of the uncomfortably stretched skin is an angry color from being squeezed so hard. <<elseif canAchieveErection($activeSlave)>> $pronounCap isn't erect right now, but getting a hardon will probably be very uncomfortable for $object. <<else>> Fortunately for $object, $pronoun can't get hard, making this merely uncomfortable for $object. <</if>> <<elseif ($activeSlave.foreskin - $activeSlave.dick < 0)>> $possessiveCap foreskin is stretched by $possessive dickhead, probably as a result of recent penis growth it hasn't had time to get used to yet. <<if canAchieveErection($activeSlave) && (($activeSlave.devotion > 20) || ($activeSlave.aphrodisiacs > 0) || ($gingering is "vasodiolator"))>> $possessiveCap erection has stretched the skin there taut. <<elseif canAchieveErection($activeSlave)>> $pronounCap isn't erect right now, but getting a hardon will probably be a bit uncomfortable for $object. <<else>> Fortunately for $object, $pronoun can't get hard, making this state merely odd-looking. <</if>> <<elseif ($activeSlave.foreskin - $activeSlave.dick > 0)>> $possessiveCap foreskin seems too large for $possessive dick, probably as a result of recent penis shrinkage. <<if canAchieveErection($activeSlave) && (($activeSlave.devotion > 20) || ($activeSlave.aphrodisiacs > 0) || ($gingering is "vasodiolator"))>> $possessiveCap erection cannot fully retract it, though it's loose enough that this doesn't look uncomfortable. <<elseif canAchieveErection($activeSlave)>> $pronounCap isn't erect right now, making the tip of $possessive dick look shriveled. <<else>> $pronounCap can't get hard, making the tip of $possessive dick look shriveled. <</if>> <<elseif ($activeSlave.foreskin - $activeSlave.dick > 1)>> $possessiveCap foreskin is far too large for $possessive dick, probably as a result of recent penis shrinkage. <<if canAchieveErection($activeSlave) && (($activeSlave.devotion > 20) || ($activeSlave.aphrodisiacs > 0) || ($gingering is "vasodiolator"))>> $possessiveCap erection cannot retract it at all, though it's loose enough that this doesn't look uncomfortable. Orgasming, though, will likely produce a dribbling mess. <<elseif canAchieveErection($activeSlave)>> $pronounCap isn't erect right now, so the excess skin droops lamely off $possessive cockhead. <<else>> $pronounCap can't get hard, so the excess skin droops lamely off $possessive cockhead. <</if>> <</if>> <</if>> <<if ($activeSlave.dick < 3)>> <<if ($activeSlave.balls > 5)>> $possessiveCap cock is small enough that it does not hang past the bottom of $possessive gigantic ballsack when soft. <</if>> <<elseif ($activeSlave.dick < 2)>> <<if ($activeSlave.balls > 4)>> $possessiveCap cock is so small that it does not hang past the bottom of $possessive huge ballsack when soft. <</if>> <<elseif ($activeSlave.dick < 1)>> <<if ($activeSlave.balls > 3)>> $possessiveCap cock is so small that it barely protrudes from $possessive ample ballsack. <</if>> <</if>> <</if>> <</if>> /* CLOSES DETAILED DICK DESCRIPTION */ <<if $activeSlave.fuckdoll == 0>> <<if $showBodyMods == 1>> <<if ($activeSlave.dick != 0)>> <<if ($activeSlave.dickTat != 0)>> <<switch $activeSlave.dickTat>> <<case "tribal patterns">> $possessiveCap cock is tattooed with tribal patterns. <<case "flowers">> $possessiveCap cock is tattooed with a vine that wraps around its shaft. <<case "advertisements">> $possessiveCap cock reads 'Sissy Slut.' <<case "rude words">> $possessiveCap cock reads 'Bitchstick.' <<case "degradation">> <<if $activeSlave.anus == 0>> $possessiveCap cock reads '100% Virgin Anus.' <<else>> $possessiveCap cock reads 'Comes When Assraped.' <</if>> <<case "counting">> <<if $activeSlave.penetrativeCount == 0>> There is a horizontal line tattooed around the base of $possessive dick for symbols counting $possessive penetrative exploits to be inscribed under, once $pronoun has some. <<elseif $activeSlave.penetrativeCount < 500>> Tiny anus, pussy and mouth symbols are tattooed all over $possessive dick, recounting $possessive penetrative exploits. <<else>> Tiny anus, pussy and mouth symbols are tattooed all over $possessive dick, recounting $possessive penetrative exploits. $pronounCap has so many that they radiate out across $possessive crotch, too. <</if>> <<case "bovine patterns">> $possessiveCap cock is tattooed to make it look a little like a bulls'. <</switch>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.dick > 0>> <<if $activeSlave.vagina > -1>> $possessiveCap <<if $activeSlave.ovaries == 1>> beautifully natural <<else>> artificial <</if>> vagina is located beneath the base of $possessive penis, <<if $activeSlave.fuckdoll > 0>> just after the suit's material stops to bare her front hole. <<elseif ($activeSlave.scrotum > 3) && ($activeSlave.balls <= $activeSlave.scrotum)>> though it is almost completely hidden by $possessive hanging ballsack. <<elseif ($activeSlave.scrotum > 1) && ($activeSlave.balls > 0)>> its upper part concealed by $possessive balls. <<elseif canAchieveErection($activeSlave)>> and merges seamlessly into $possessive shaft. <<else>> <<if ($activeSlave.dick > 3)>> though it is almost completely hidden by $possessive soft cockmeat. <<else>> which acts as a soft little dickclit for it. <</if>> <</if>> <<if $activeSlave.clit == 0>> The base of $possessive cock is located where the clitoris would be on a normal woman. <</if>> <</if>> <</if>> <<if ($activeSlave.vagina > -1)>> <<if $activeSlave.vagina == 0>> $pronounCap is a @@color:lime;virgin.@@ $possessiveCap pussy is fresh, <<elseif $activeSlave.vagina == 1>> $possessiveCap pussy is tight and appealing, <<elseif $activeSlave.vagina is 2>> $possessiveCap pussy is reasonably tight, <<elseif $activeSlave.vagina is 3>> $possessiveCap pussy is loose, <<elseif $activeSlave.vagina == 10>> $possessiveCap pussy is completely ruined from hundreds of births. One could fit their arm into it with minimal effort and $pronoun can barely get off from vaginal sex now. $possessiveCap pussy is abyssal, <<elseif $activeSlave.vagina > 3>> $possessiveCap pussy is utterly cavernous, <</if>> <<if $activeSlave.labia == 0>> with minimal <<elseif $activeSlave.labia == 1>> with big puffy <<elseif $activeSlave.labia is 2>> with huge <<else>> with huge dangling <</if>> <<if ($seeRace == 1)>> <<if $activeSlave.race is "white">> pink pussylips. <<elseif $activeSlave.race is "asian">> dark $activeSlave.race pussylips. <<elseif $activeSlave.race is "middle eastern">> dark $activeSlave.race pussylips. <<elseif $activeSlave.race is "latina">> dark $activeSlave.race pussylips. <<elseif $activeSlave.race is "black">> dark $activeSlave.race pussylips. <<else>> $activeSlave.skin pussylips. <</if>> <<else>> $activeSlave.skin pussylips. <</if>> <<if ($activeSlave.vagina > -1)>> <<if ($activeSlave.vaginaLube == 0)>> <<if ($activeSlave.vagina > 0) && ($activeSlave.vaginalAccessory != "chastity belt")>> $pronounCap produces very little natural wetness, so $pronoun is <<if $activeSlave.fuckdoll == 0>>required to keep <<print $object>>self<<else>>is kept<</if>> artificially lubricated for anyone who wishes to use $possessive cunt. <<else>> $pronounCap produces very little natural wetness. <</if>> <<elseif ($activeSlave.vaginaLube < 2)>> <<if ($activeSlave.assignment is "work in the dairy") && ($dairyPregSetting > 1)>> The dildo's ejaculate includes a drug that causes copious, constant vaginal lubrication, allowing it to fuck $possessive despite its giant size. The excess female fluid drips off $possessive and into a catchbasin. <<elseif ($activeSlave.aphrodisiacs > 0)>> The aphrodisiacs have them <<if ($activeSlave.aphrodisiacs > 0)>>sopping <</if>>wet. <<elseif ($activeSlave.energy > 95)>> As a nympho, $pronoun's almost constantly wet. <<elseif ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> <<if ($activeSlave.fetish is "buttslut")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about being buttfucked. <<elseif ($activeSlave.fetish is "cumslut")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about being facefucked. <<elseif ($activeSlave.fetish is "humiliation")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about being humiliated. <<elseif ($activeSlave.fetish is "submissive")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about submission. <<elseif ($activeSlave.fetish is "dom")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about dominating someone. <<elseif ($activeSlave.fetish is "sadist")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about hurting someone. <<elseif ($activeSlave.fetish is "masochist")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about pain. <<elseif ($activeSlave.fetish is "pregnancy")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about getting pregnant. <<elseif ($activeSlave.fetish is "boobs")>> Judging by how wet $pronoun is, $pronoun's probably fantasizing about boobs. <</if>> <<elseif ($activeSlave.devotion > 50)>> As a devoted sex slave, $pronoun has no trouble keeping herself wet for $possessive <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>. <<elseif ($activeSlave.devotion > 20)>> As an obedient sex slave, $pronoun does $possessive best to keep herself wet for $possessive <<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>. <</if>> <<else>> <<if ($activeSlave.assignment is "work in the dairy") && ($dairyPregSetting > 1)>> The dildo's ejaculate includes a drug that encourages vaginal lubrication, which is having a drastic effect on $possessive, since $pronoun's already very gifted in that regard. The dildo makes a wet noise every time it thrusts into $possessive, and femcum streams into a catchbasin beneath $object. The smell of pussy is overwhelming. <<elseif ($activeSlave.aphrodisiacs > 0) || ($gingering is "vasodiolator")>> The combination of the aphrodisiacs and $possessive natural tendency to produce a lot of female lubricant is having a drastic effect. $possessiveCap cunt is absolutely beribboned with femcum, and $pronoun smells strongly of wet, clean pussy. <<elseif ($activeSlave.energy > 95)>> $pronounCap has a naturally wet cunt, and in combination with $possessive nymphomania, it's soaking. $pronounCap smells of good clean female arousal. <<elseif ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> <<if ($activeSlave.fetish is "buttslut")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about being buttfucked. <<elseif ($activeSlave.fetish is "cumslut")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about being facefucked. <<elseif ($activeSlave.fetish is "humiliation")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about being humiliated. <<elseif ($activeSlave.fetish is "submissive")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about submission. <<elseif ($activeSlave.fetish is "dom")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about dominating someone. <<elseif ($activeSlave.fetish is "sadist")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about hurting someone. <<elseif ($activeSlave.fetish is "masochist")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about pain. <<elseif ($activeSlave.fetish is "pregnancy")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about getting pregnant. <<elseif ($activeSlave.fetish is "boobs")>> $possessiveCap naturally wet cunt is almost dripping female lubricant, and $pronoun smells of good clean female arousal. $pronounCap's probably fantasizing about boobs. <</if>> <<elseif ($activeSlave.devotion > 50)>> $possessiveCap cunt is almost always soaking wet, but being near you has $possessive almost dripping. <<elseif ($activeSlave.devotion > 20)>> $possessiveCap cunt is almost always soaking wet, and being near you isn't affecting that. <<else>> $possessiveCap cunt is almost always soaking wet, regardless of $possessive feelings. <</if>> <</if>> <</if>> <<if (($activeSlave.vaginalAccessory is "chastity belt") || ($activeSlave.vaginalAccessory is "combined chastity")) && ($activeSlave.clothes is "no clothing")>> $possessiveCap pussy is protected by a chastity belt. <<if $arcologies[0].FSRestart != "unset">> An action that pleases the Societal Elite. <</if>> <<elseif ($activeSlave.vaginalAccessory is "chastity belt") || ($activeSlave.vaginalAccessory is "combined chastity")>> $possessiveCap pussy is protected by a chastity belt worn under $possessive clothing. <<if $arcologies[0].FSRestart != "unset">> An action that pleases the Societal Elite. <</if>> <<elseif ($activeSlave.vaginalAccessory is "dildo")>> $possessiveCap pussy is filled by a dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. <<elseif ($activeSlave.vaginalAccessory is "long dildo")>> $possessiveCap pussy is filled by a very long dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. It noticeably bulges $possessive stomach. <<elseif ($activeSlave.vaginalAccessory is "large dildo") && ($activeSlave.vagina < 2)>> $possessiveCap pussy is painfully stretched by a large dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. <<elseif ($activeSlave.vaginalAccessory is "long, large dildo") && ($activeSlave.vagina < 2)>> $possessiveCap pussy is painfully stretched by a very long and large dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. It noticeably bulges $possessive stomach. <<elseif ($activeSlave.vaginalAccessory is "large dildo") && ($activeSlave.vagina < 3)>> $possessiveCap pussy is uncomfortably filled by a large dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. <<elseif ($activeSlave.vaginalAccessory is "long, large dildo") && ($activeSlave.vagina < 3)>> $possessiveCap pussy is uncomfortably filled by a very long and large dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. It noticeably bulges $possessive stomach. <<elseif ($activeSlave.vaginalAccessory is "large dildo")>> $possessiveCap pussy is comfortably filled by a large dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. <<elseif ($activeSlave.vaginalAccessory is "long, large dildo")>> $possessiveCap pussy is comfortably filled by a very long and large dildo held in place by a strap, which $pronoun can remove for vaginal intercourse. It noticeably bulges $possessive stomach. <<elseif ($activeSlave.vaginalAccessory is "huge dildo") && ($activeSlave.vagina < 4)>> $possessiveCap pussy is filled to the breaking point by an enormous dildo. <<if ($activeSlave.fetish is "masochist") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>> $pronounCap can barely move with the discomfort, but $pronoun frequently climaxes with agony. <<else>> $pronounCap can barely move with the discomfort, and $pronoun sometimes breaks down in tears at having $possessive cunt permanently stretched. <</if>> <<elseif ($activeSlave.vaginalAccessory is "long, huge dildo") && ($activeSlave.vagina < 4)>> $possessiveCap pussy is filled to the breaking point by an enormously wide and long dildo. It noticeably bulges $possessive stomach. <<if ($activeSlave.fetish is "masochist") && ($activeSlave.fetishKnown == 1) && ($activeSlave.fetishStrength > 60)>> $pronounCap can barely move with the discomfort, but $pronoun frequently climaxes with agony. <<else>> $pronounCap can barely move with the discomfort, and $pronoun sometimes breaks down in tears at having $possessive cunt permanently stretched. <</if>> <<elseif ($activeSlave.vaginalAccessory is "huge dildo")>> $possessiveCap cavernous pussy is comfortably filled by a huge dildo. <<elseif ($activeSlave.vaginalAccessory is "long, huge dildo")>> $possessiveCap cavernous pussy is comfortably filled by an enormously wide and long dildo. It noticeably bulges $possessive stomach. <</if>> <</if>> <<if $activeSlave.dick == 0 && $activeSlave.balls == 0 && $activeSlave.vagina < 0>> $pronounCap lacks primary sex organs. <<if $arcologies[0].FSRestart > 60>> However, the lowest class have no need for reproductive organs. <</if>> <</if>> <<if ($activeSlave.physicalAge < 11)>> $pronounCap is too young to have pubic hair. <<elseif ($activeSlave.pubicHStyle is "hairless")>> $pronounCap's naturally smooth and hairless. <<elseif ($activeSlave.pubicHStyle is "waxed")>> <<if $activeSlave.fuckdoll > 0>> $possessiveCap pubic hair has been removed to prevent chafing. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> $possessiveCap pubic hair has been removed to prevent chafing. <<else>> $pronounCap's waxed and smooth. <</if>> <<elseif ($activeSlave.physicalAge < 12)>> $pronounCap has a few wisps of pubic hair. <<elseif ($activeSlave.physicalAge < 13)>> Because of $possessive young age $pronoun has barely any pubic hair. <<elseif ($activeSlave.pubicHStyle is "in a strip")>> $possessiveCap $activeSlave.pubicHColor pubic hair is waxed into a narrow strip above $possessive <<if ($activeSlave.dick > 0)>>cock<<else>>pussy<</if>>. <<elseif ($activeSlave.pubicHStyle is "neat")>> $possessiveCap $activeSlave.pubicHColor pubic hair is waxed into a neat patch above $possessive <<if ($activeSlave.dick > 0)>>cock<<else>>pussy<</if>>. <<elseif ($activeSlave.pubicHStyle is "bushy in the front and neat in the rear")>> $possessiveCap $activeSlave.pubicHColor pubic hair forms a natural bush above $possessive <<if ($activeSlave.dick > 0)>>cock<<else>>pussy<</if>>. <<elseif ($activeSlave.pubicHStyle is "bushy")>> $possessiveCap $activeSlave.pubicHColor pubic hair forms a natural bush above $possessive <<if ($activeSlave.dick > 0)>>cock<<else>>pussy<</if>>. <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $showBodyMods == 1>> <<if ($activeSlave.brand != 0)>> <<if ($activeSlave.brandLocation is "pubic mound")>> $pronounCap has $activeSlave.brand branded into the flesh of $possessive $activeSlave.brandLocation. <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll > 0>> <<if $activeSlave.vagina > 0>> $possessiveCap front hole <<if $activeSlave.fuckdoll <= 45>> is mostly useful when it's restrained for rape. <<else>> will massage <<if $PC.dick == 1>>cocks<<else>>anything<</if>> placed inside it on command. <<if $activeSlave.fuckdoll <= 85>> $pronounCap is even capable of riding <<if $PC.dick == 1>>dick<<else>>a strap-on<</if>>. <</if>> <</if>> <</if>> <<else>> <<if $activeSlave.vagina is -1>> <<if $seeDicks >= 100>><<elseif $activeSlave.anus == 0>><<else>>Since $pronoun lacks a vagina, $pronoun takes it up <<if $seeRace == 1>>$possessive $activeSlave.race<<else>>the<</if>> ass instead.<</if>> <<elseif $activeSlave.vaginalSkill >= 100>>$pronounCap is a @@color:aquamarine;vanilla sex master@@. <<elseif $activeSlave.vaginalSkill > 60>>$pronounCap is a @@color:aquamarine;vanilla sex expert@@. <<elseif $activeSlave.vaginalSkill > 30>>$pronounCap is @@color:aquamarine;skilled at vanilla sex@@. <<elseif $activeSlave.vaginalSkill > 10>>$pronounCap has @@color:aquamarine;basic knowledge about vanilla sex@@. <<else>>$pronounCap is unskilled at vaginal sex. <</if>> <</if>> <<if ($activeSlave.dick == 0)>> <<if ($activeSlave.clit > 0)>> <<if ($activeSlave.clit == 1)>> <<if ($activeSlave.devotion > 50)>> $possessiveCap clit is quite large and visibly hard. <<else>> $possessiveCap clit is quite large. <</if>> <<elseif ($activeSlave.clit == 2)>> <<if ($activeSlave.devotion > 50)>> $possessiveCap clit is huge and visibly erect. <<else>> $possessiveCap clit is huge. <</if>> <<else>> <<if ($activeSlave.devotion > 50)>> $possessiveCap clit is enormous, and since it's erect with arousal, it juts out proudly. <<else>> $possessiveCap clit is enormous, almost a pseudophallus. <</if>> <</if>> <</if>> <</if>> <<if $showBodyMods == 1>> <<if ($activeSlave.vagina != -1)>> <<if $activeSlave.vaginaPiercing > 0>> $pronounCap has a <<if ($activeSlave.vaginaPiercing == 1)>> simple row of studs <<else>> row of big rings <</if>> down $possessive labia<<if $activeSlave.fuckdoll > 0>>, which are looped into the edge of the suit's material as it stops around her vulva<</if>>. <</if>> <</if>> <<if ($activeSlave.clitPiercing == 1) && ($activeSlave.vagina != -1)>> $pronounCap has a simple clitoral stud. <<elseif ($activeSlave.clitPiercing is 2) && ($activeSlave.vagina != -1)>> $pronounCap has a big ring in $possessive clit. <<if ($activeSlave.clothes is "slutty jewelry")>> Since $pronoun's wearing slutty bangles $pronoun has a short length of light chain dangling from $possessive clit ring; it constantly stimulates $possessive pussylips. <</if>> <<elseif ($activeSlave.clitPiercing > 2) && ($activeSlave.vagina != -1)>> $pronounCap has a smart piercing in $possessive clit. <<elseif ($activeSlave.clitPiercing == 1)>> $pronounCap has a simple dickhead stud. <<elseif ($activeSlave.clitPiercing is 2)>> $pronounCap has a big ring in $possessive dickhead. <<if ($activeSlave.clothes is "slutty jewelry")>> Since $pronoun's wearing slutty bangles $pronoun has a short length of light chain dangling from $possessive dickhead piercing; as $pronoun moves it tugs lightly at $possessive cock. <</if>> <<elseif ($activeSlave.clitPiercing > 2)>> $pronounCap has a smart frenulum piercing. <</if>> <<if $activeSlave.fuckdoll > 0>>It anchors the suit's material.<</if>> <<if $activeSlave.fuckdoll == 0>> <<if ($activeSlave.vaginaTat != 0)>> <<switch $activeSlave.vaginaTat>> <<case "tribal patterns">> $possessiveCap abdomen is tattooed with tribal patterns that draw the eye down toward $possessive <<if $activeSlave.dick != 0>>cock<<else>>vagina<</if>>. <<case "flowers") && ($activeSlave.dick != 0)>> $possessiveCap abdomen bears a tasteful tattoo of a <<if $activeSlave.dick != 0>>lily with a large stamen<<else>>blooming flower<</if>>. <<case "advertisements") && ($activeSlave.dick != 0)>> $possessiveCap abdomen reads <<if $activeSlave.vagina < 0>>'Rear Entrance Other Side.'<<else>>'Insert Cock' with an arrow pointing downward.<</if>> <<case "rude words") && ($activeSlave.dick != 0)>> $possessiveCap abdomen reads 'Useless, Rape Ass Instead' with an arrow pointing downward. <<case "degradation") && ($activeSlave.dick != 0)>> $possessiveCap abdomen is tattooed with a downward-pointing arrow which reads 'Bounces When Buttfucked.' <<case "rude words")>> $possessiveCap abdomen reads 'Fucktoy.' <<case "scenes">> $possessiveCap abdomen is tattooed with a lewd scenes. It entices with a depiction of <<if $activeSlave.dick != 0>><<if $activeSlave.balls != 0>>sodomy of a shemale<<else>>sodomy of a gelding<</if>><<else>>loving intercourse<</if>>. <<case "degradation">> $possessiveCap abdomen is tattooed with gothic script that reads '<<if $PC.dick == 1>><<if $PC.vagina == 1>>Futa<<else>>Cock<</if>><<else>>Cunt<</if>> Pleaser.' <<case "counting">> <<if $activeSlave.vaginalCount == 0>> $possessiveCap abdomen reads 'count begins other side, sorry.' <<elseif $activeSlave.vaginalCount < 500>> Tiny dick symbols are tattooed all over $possessive abdomen, one for every time $pronoun's been fucked. <<else>> Tiny dick symbols are tattooed all over $possessive abdomen, one for every time $pronoun's been fucked. There are so many that they spread up to $possessive breasts and around $possessive sides. <</if>> <<case "bovine patterns">> $possessiveCap abdomen is tattooed in a Holstein cow pattern. <<case "Asian art">> $pronounCap has formal Asian characters tattooed across $possessive abdomen. To those who do not know the language, they look elegant, but roughly translated, they read <<if ($activeSlave.dick > 0) && canAchieveErection($activeSlave)>> 'dick girl slut.' <<elseif $activeSlave.dick > 0>> 'limp dick slut.' <<elseif $activeSlave.preg > 5>> 'pregnant cow.' <<elseif $activeSlave.physicalAge > 35>> 'horny old bitch.' <<else>> 'sex slave.' <</if>> <</switch>> <</if>> <</if>> <<if ($activeSlave.dick != 0)>> <<if ($activeSlave.dickPiercing == 1)>> $pronounCap has a row of studs down $possessive shaft. <<elseif ($activeSlave.dickPiercing is 2)>> $pronounCap has a row of heavy rings down $possessive shaft. <</if>> <<if ($activeSlave.scrotum != 0)>> <<if ($activeSlave.dickPiercing == 1)>> $pronounCap has a couple of studs in $possessive ballsack. <<elseif ($activeSlave.dickPiercing is 2)>> $pronounCap has a row of rings down the center of $possessive ballsack, all the way from the base of $possessive shaft to $possessive perineum. <</if>> <<else>> <<if ($activeSlave.dickPiercing == 1)>> $pronounCap has a couple of studs beneath the base of $possessive dick. <<elseif ($activeSlave.dickPiercing is 2)>> $pronounCap has a row of rings all the way from the base of $possessive shaft to $possessive perineum. <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll > 0>><<if $activeSlave.dickPiercing > 0>>Every one of them runs through the suit's material, securing it to the Fuckdoll's member.<</if>><</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if ($activeSlave.releaseRules is "permissive")>> <<if ($activeSlave.aphrodisiacs > 0)>> <<if ($activeSlave.aphrodisiacs > 1)>> <<if ($activeSlave.dick != 0) && ($activeSlave.hormones > 0) && ($activeSlave.amp == 1)>> The extreme dose of aphrodisiacs combined with the hormones that keep $possessive flaccid have $possessive in a state of extreme sexual frustration; $pronoun's <<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>>unconsciously humping $possessive ass against whatever's next to $possessive for anal stimulation and<</if>>humping $possessive dick against whatever $pronoun can manage to mount without limbs. <<elseif ($activeSlave.dick != 0) && ($activeSlave.balls == 0) && ($activeSlave.amp == 1)>> The extreme dose of aphrodisiacs combined with the lack of balls that keeps $possessive flaccid have $possessive in a state of extreme sexual frustration; $pronoun's <<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>>unconsciously humping $possessive ass against whatever's next to $possessive for anal stimulation and <</if>>humping $possessive limp dick against whatever $pronoun can manage to mount without limbs. <<elseif ($activeSlave.dick != 0) && ($activeSlave.hormones > 0)>> The extreme dose of aphrodisiacs combined with the hormones that keep $possessive flaccid have $possessive in a state of extreme sexual frustration; $pronoun's rubbing $possessive limp dick distractedly<<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>> and unconsciously humping $possessive ass against whatever's next to $possessive for anal stimulation<</if>>. <<elseif ($activeSlave.dick != 0) && ($activeSlave.balls == 0)>> The extreme dose of aphrodisiacs combined with the lack of balls that keeps $possessive flaccid have $possessive in a state of extreme sexual frustration; $pronoun's rubbing $possessive limp dick distractedly<<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>> and unconsciously humping $possessive ass against whatever's next to $possessive for anal stimulation<</if>>. <<elseif ($activeSlave.dick != 0) && !canAchieveErection($activeSlave)>> The extreme dose of aphrodisiacs combined with $possessive inability to become erect have $possessive in a state of extreme sexual frustration; $pronoun's rubbing $possessive limp dick distractedly<<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>> and unconsciously humping $possessive ass against whatever's next to $possessive for anal stimulation<</if>>. <<elseif ($activeSlave.dick != 0)>> The extreme dose of aphrodisiacs has $possessive cock painfully erect and precum drips from its head. <</if>> <<else>> <<if ($activeSlave.dick != 0) && ($activeSlave.hormones > 0) && ($activeSlave.amp == 1)>> The aphrodisiacs combined with the hormones that keep $possessive flaccid have $possessive sexually frustrated; $pronoun's <<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>>unconsciously rubbing $possessive ass against whatever's next to $possessive, and <</if>>humping $possessive dick against whatever $pronoun can manage to mount without limbs. <<elseif ($activeSlave.dick != 0) and ($activeSlave.balls == 0) && ($activeSlave.amp == 1)>> The aphrodisiacs combined with the lack of balls that keeps $possessive flaccid have $possessive sexually frustrated; $pronoun's <<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") and ($activeSlave.analCount > 9)))>>unconsciously rubbing $possessive ass against whatever's next to $possessive, and <</if>>humping $possessive dick against whatever $pronoun can manage to mount without limbs. <<elseif ($activeSlave.dick != 0) && ($activeSlave.hormones > 0)>> The aphrodisiacs combined with the hormones that keep $possessive flaccid have $possessive sexually frustrated; $pronoun's touching $possessive limp dick distractedly<<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>> and unconsciously rubbing $possessive ass against whatever's next to $possessive<</if>>. <<elseif ($activeSlave.dick != 0) && ($activeSlave.balls == 0)>> The aphrodisiacs combined with the lack of balls that keeps $possessive flaccid have $possessive sexually frustrated; $pronoun's touching $possessive limp dick distractedly<<if (($activeSlave.fetish is "buttslut") || (($activeSlave.sexualFlaw != "hates anal") && ($activeSlave.analCount > 9)))>> and unconsciously rubbing $possessive ass against whatever's next to $possessive<</if>>. <</if>> <</if>> <</if>> <</if>> <</if>> <</widget>> <<widget "ClothingDescription">> <<if ($showClothing == 1) && ($saleDescription == 0)>> $activeSlave.slaveName is <<if ($activeSlave.clothes is "choosing $possessive own clothes")>> allowed to choose $possessive own clothes, but hasn't made a selection yet, <<else>> wearing $activeSlave.clothes, <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> an advanced slave garment designed for permanent wear. The suit's inhabitant is protected, cooled, dosed, and subject to total control. It also eliminates all sensory stimulation other than orders passed by the suit's systems and objects inserted into the Fuckdoll's <<if $activeSlave.vagina > -1>>face, front, and rear holes<<else>>face and lower holes<</if>>. <<case "conservative clothing">> including <<if ($activeSlave.amp == 1)>> a pretty silk blouse. <<else>> nice slacks, a pretty silk blouse, and <<if ($activeSlave.shoes is "flats")>> a pair of comfortable sandals. <<elseif ($activeSlave.shoes is "boots")>> a pair of nice leather boots. <<elseif ($activeSlave.shoes is "heels")>> a pair of comfortable heels. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of daringly high heels. <<else>> nothing on $possessive bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap sturdy corset is hidden by $possessive blouse. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corsetage is hidden by $possessive blouse. <</if>> <<case "chains">> looped tightly around $possessive body wherever they can make $possessive most uncomfortable. <<if $activeSlave.bellyAccessory is "a corset">> Leather cased lengths of chain form a corset around $possessive waist. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $pronounCap's encased in a very tight corset made of leather cased iron straps, with eyelets to attach to the chains. <</if>> <<if ($activeSlave.amp != 1)>> <<if ($activeSlave.shoes is "flats")>> On $possessive feet, $pronoun's wearing buckled sandals that incorporate shackles at each ankle. <<elseif ($activeSlave.shoes is "boots")>> On $possessive feet, $pronoun's wearing utility boots with a shackle at each ankle. <<elseif ($activeSlave.shoes is "heels")>> On $possessive feet, $pronoun's wearing sturdy heels, secured by metal buckles, with shackles at each ankle. <<elseif ($activeSlave.shoes is "extreme heels")>> On $possessive feet, $pronoun's wearing painfully high metal heels, secured by buckles, with shackles at each ankle. <<else>> $possessiveCap feet are bare. <</if>> <</if>> <<case "Western clothing">> including a flannel <<if ($activeSlave.amp == 1)>> shirt and a cowboy hat. <<else>> shirt, chaps, a cowboy hat, and <<if ($activeSlave.shoes is "flats")>> soft leather moccasins. <<elseif ($activeSlave.shoes is "boots")>> tooled leather cowboy boots. <<elseif ($activeSlave.shoes is "heels")>> high-heeled cowboy boots. <<elseif ($activeSlave.shoes is "extreme heels")>> thigh-high tooled leather cowboy boots with dangerously high heels. <<else>> bare cowpoke feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap sturdy corset is hidden by $possessive flannel. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corsetage is hidden by $possessive flannel. <</if>> <<case "body oil">> rubbed into every inch of exposed skin to show off $possessive body. <<if ($activeSlave.amp != 1)>> $pronounCap's wearing <<if ($activeSlave.shoes is "flats")>> a pair of trainers to be ready for a workout. <<elseif ($activeSlave.shoes is "boots")>> thigh-high stripper boots, since they're $possessive only way to dress up. <<elseif ($activeSlave.shoes is "heels")>> heeled trainers, to look athletic and sexy at the same time. <<elseif ($activeSlave.shoes is "extreme heels")>> ankle-supporting high heels to force $possessive as high as possible without damage. <<else>> nothing but a fine layer of oil on the tops of $possessive bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap sturdy corset is $possessive only real item of clothing. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corsetage is $possessive only real item of clothing. <</if>> <<case "a toga">> made of sturdy white linen, appropriate for a female sex <<if ($activeSlave.amp != 1)>> worker, and <<if ($activeSlave.shoes is "flats")>> a pair of leather sandals with a mirror image of the words "FUCK ME" embossed into the soles, so that if $pronoun walks on sand the message will be visible in $possessive footprints. <<elseif ($activeSlave.shoes is "boots")>> high leather boot sandals that remain comfortable after walking 25 miles in one day. <<elseif ($activeSlave.shoes is "heels")>> heeled sandals with a mirror image of the words "FUCK ME" embossed into the soles, so that if $pronoun walks on sand the message will be visible in $possessive footprints. <<elseif ($activeSlave.shoes is "extreme heels")>> platform heels with a mirror image of the words "FUCK ME" embossed into the soles, so that if $pronoun walks on sand the message will be visible in $possessive footprints. <<else>> bare feet. <</if>> <<else>> worker. <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap sturdy corset is hidden by the toga. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corsetage is hidden by the toga. <</if>> <<case "a slutty qipao">> made of beautiful <<if ($activeSlave.amp == 1)>> silk. <<else>> silk, and <<if ($activeSlave.shoes is "flats")>> little silk slippers. <<elseif ($activeSlave.shoes is "boots")>> elegant leather boots. <<elseif ($activeSlave.shoes is "heels")>> bright red heels. <<elseif ($activeSlave.shoes is "extreme heels")>> small platform heels that mimic bound feet. <<else>> bare stockinged feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap sturdy corset is hidden by the silk. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corsetage is hidden by the silk. <</if>> <<case "uncomfortable straps">> which are in the shape of sturdy lingerie, except that wherever the straps cross a nipple or a hole, there is a steel ring to permit access. <<if ($activeSlave.amp != 1)>> The straps <<if ($activeSlave.shoes is "flats")>> run down $possessive legs to end in sandals that incorporate shackles at each ankle. <<elseif ($activeSlave.shoes is "boots")>> run down $possessive legs to end in utility boots that incorporate shackles at each ankle. <<elseif ($activeSlave.shoes is "heels")>> run down $possessive legs to end high leather heels that incorporate shackles at each ankle. <<elseif ($activeSlave.shoes is "extreme heels")>> end in high leather heels that force $object to stand almost on tiptoe. <<else>> end in shackles at each heel, leaving $possessive feet bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> Additionally, $pronoun's wearing a leather corset, hooked into the straps. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> Additionally, $pronoun's wearing an extreme leather corset, hooked into the straps. <</if>> <<case "shibari ropes">> bound tightly around $possessive body. <<if ($activeSlave.amp != 1)>> These <<if ($activeSlave.shoes is "flats")>> include a pair of rope sandals. <<elseif ($activeSlave.shoes is "boots")>> attach to a pair of canvas boots. <<elseif ($activeSlave.shoes is "heels")>> attach to a pair of rope sandal heels. <<elseif ($activeSlave.shoes is "extreme heels")>> attach to a pair of rope sandal heels that force $object to stand almost on tiptoe. <<else>> end at each ankle, leaving $possessive feet bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> A dense web of thick ropes around $possessive waist form an effective corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The ropes bind into an extreme corset woven from hemp. <</if>> <<case "restrictive latex">> which covers everything except $possessive mouth, breasts, and genitals. <<if ($activeSlave.amp != 1)>> The latex <<if ($activeSlave.shoes is "flats")>> covers $possessive feet as well. <<elseif ($activeSlave.shoes is "boots")>> ends in a pair of boots made from the same material. <<elseif ($activeSlave.shoes is "heels")>> ends in a pair of high heels made from the same material. <<elseif ($activeSlave.shoes is "extreme heels")>> ends in a pair of painfully high heels made from the same material, so tall $pronoun must walk nearly on tiptoe, and shaped so that $pronoun must stick $possessive ass out to stand. <<else>> ends at the ankles, leaving $possessive feet bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> It features an integral corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> It features a punishingly extreme integral corset. <</if>> <<case "a latex catsuit">> shiny and supple latex hugging every inch of $possessive body below the neck. <<if ($activeSlave.amp != 1)>> $possessiveCap latex enclosed feet <<if ($activeSlave.shoes is "flats")>> fit snugly into patent leather flats. <<elseif ($activeSlave.shoes is "boots")>> fit snugly into laced thigh-high boots. <<elseif ($activeSlave.shoes is "heels")>> fit snugly into patent leather pumps. <<elseif ($activeSlave.shoes is "extreme heels")>> fit snugly into laced ballet boots that limit $object to small, dainty steps. <<else>> show off $possessive smooth legs. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> An underbust corset cinches $possessive waist and ensures proper posture. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> An underbust corset in punishing tightlace cinches $possessive waist and ensures proper posture. <</if>> <<case "attractive lingerie">> including a lovely bra with holes to let $possessive nipples poke through, a pretty g-string, <<if ($activeSlave.amp == 1)>> and a garter belt. <<if ($activeSlave.vagina == 0)>> $possessiveCap lingerie is virgin white. <<elseif ($activeSlave.vagina is -1) && ($activeSlave.anus == 0)>> $possessiveCap lingerie is white, since $pronoun has a virgin asspussy. <<elseif ($activeSlave.fetish is "dom") || ($activeSlave.fetish is "sadist")>> $pronounCap's gone with black lingerie to look a bit more intimidating. <<elseif ($activeSlave.hormones < 0)>> $pronounCap's gone with blue lingerie for some reason. <<elseif ($activeSlave.dick > 0) && ($activeSlave.balls == 0)>> The lingerie is girly pink. <<else>> The lingerie is $activeSlave.hColor to match $possessive hair. <</if>> <<else>> long sheer stockings, and a garter belt. <<if ($activeSlave.vagina == 0)>> $possessiveCap lingerie is virgin white, <<elseif ($activeSlave.vagina is -1) && ($activeSlave.anus == 0)>> $possessiveCap lingerie is white, since $pronoun has a virgin asspussy, <<elseif ($activeSlave.fetish is "dom") || ($activeSlave.fetish is "sadist")>> $pronounCap's gone with black lingerie to look a bit more intimidating, <<elseif ($activeSlave.hormones < 0)>> $pronounCap's gone with blue lingerie for some reason, <<elseif ($activeSlave.dick > 0) && ($activeSlave.balls == 0)>> The lingerie is girly pink, <<else>> The lingerie is $activeSlave.hColor to match $possessive hair, <</if>> and <<if ($activeSlave.shoes is "flats")>> $pronoun's wearing a pair of cute flats. <<elseif ($activeSlave.shoes is "boots")>> $pronoun's wearing a pair of cute little ankle boots. <<elseif ($activeSlave.shoes is "heels")>> $pronoun's wearing a pair of sexy heels in the same color. <<elseif ($activeSlave.shoes is "extreme heels")>> $pronoun's wearing a pair of high stripper heels in the same color. <<else>> $possessive stockinged feet are bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $pronounCap's wearing a pretty lace corset to match. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $pronounCap's wearing a strict whalebone corset to match. <</if>> <<case "attractive lingerie for a pregnant woman">> including a lovely bra that becomes transparent when wet, a pretty pair of panties designed to easily break if their wearer decides to give birth in them, and a light silken vest that exposes $possessive stomach. <<if ($activeSlave.amp != 1)>> <<if ($activeSlave.vagina == 0)>> $possessiveCap lingerie is the purest white, since $pronoun is a pregnant virgin, <<elseif ($activeSlave.vagina == -1) && ($activeSlave.anus == 0)>> $possessiveCap lingerie is white, since $pronoun has a virgin asspussy, <<elseif ($activeSlave.fetish == "dom") || ($activeSlave.fetish == "sadist")>> $pronounCap's gone with black lingerie to look a bit more intimidating, <<elseif ($activeSlave.hormones < 0)>> $pronounCap's gone with blue lingerie for some reason, <<elseif ($activeSlave.dick > 0) && ($activeSlave.balls is 0)>> The lingerie is girly pink, <<else>> The lingerie is $activeSlave.hColor to match $possessive hair, <</if>> and <<if ($activeSlave.shoes == "flats")>> $pronoun's wearing a pair of cute slippers. <<elseif ($activeSlave.shoes == "boots")>> $pronoun's wearing a pair of cute little ankle boots. <<elseif ($activeSlave.shoes == "heels")>> $pronoun's wearing a pair of sexy heels in the same color. <<elseif ($activeSlave.shoes == "extreme heels")>> $pronoun's wearing a pair of high stripper heels in the same color. <<else>> $possessive feet are bare. <</if>> <<else>> <<if ($activeSlave.vagina == 0)>> $possessiveCap lingerie is the purest white, since $pronoun is a pregnant virgin. <<elseif ($activeSlave.vagina == -1) && ($activeSlave.anus == 0)>> $possessiveCap lingerie is white, since $pronoun has a virgin asspussy. <<elseif ($activeSlave.fetish == "dom") || ($activeSlave.fetish == "sadist")>> $pronounCap's gone with black lingerie to look a bit more intimidating. <<elseif ($activeSlave.hormones < 0)>> $pronounCap's gone with blue lingerie for some reason. <<elseif ($activeSlave.dick > 0) && ($activeSlave.balls is 0)>> The lingerie is girly pink. <<else>> The lingerie is $activeSlave.hColor to match $possessive hair. <</if>> <</if>> <<if $activeSlave.bellyAccessory == "a corset">> $pronounCap's wearing a pretty lace corset to match. <<elseif $activeSlave.bellyAccessory == "an extreme corset">> $pronounCap's wearing a strict whalebone corset to match. <</if>> <<case "a maternity dress">> including a long loose dress made to stretch with a low cut neck designed for easy breast <<if ($activeSlave.amp == 1)>> exposure. <<else>> exposure, and <<if ($activeSlave.shoes == "flats")>> a pair of comfortable sandals. <<elseif ($activeSlave.shoes == "boots")>> a pair of nice leather boots. <<elseif ($activeSlave.shoes == "heels")>> a pair of comfortable heels. <<elseif ($activeSlave.shoes == "extreme heels")>> a pair of daringly high heels. <<else>> nothing on $possessive bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory == "a corset">> $possessiveCap sturdy corset is hidden by $possessive blouse. <<elseif $activeSlave.bellyAccessory == "an extreme corset">> $possessiveCap extreme corsetage is hidden by $possessive blouse. <</if>> <<case "a succubus outfit">> <<if ($activeSlave.amp == 1)>> including a lovely bra with holes to let $possessive nipples poke through, a pretty g-string, and a garter belt. <<else>> consisting of a short red leather corset, an even shorter skirt of the same material, and <<if ($activeSlave.shoes is "flats")>> grecian sandals. <<elseif ($activeSlave.shoes is "boots")>> red leather boots that come most of the way up $possessive thighs. <<elseif ($activeSlave.shoes is "heels")>> red stiletto heels. <<elseif ($activeSlave.shoes is "extreme heels")>> tall boots that make $possessive feet look like hooves. <<else>> bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> The corset includes steel stays to give it real effect. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The corset includes punishingly tight steel stays to give it real effect. <</if>> <<case "a fallen nuns habit">> a kinky latex affair that manages to look enough like traditional religious garb to be thoroughly sacrilegious. <<if $activeSlave.bellyAccessory is "a corset">> It features an integral corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> It features a punishingly extreme integral corset. <</if>> <<if ($activeSlave.amp != 1)>> The latex <<if ($activeSlave.shoes is "flats")>> covers $possessive feet as well. <<elseif ($activeSlave.shoes is "boots")>> ends in a pair of boots made from the same material. <<elseif ($activeSlave.shoes is "heels")>> ends in a pair of high heels made from the same material. <<elseif ($activeSlave.shoes is "extreme heels")>> ends in a pair of painfully high heels made from the same material, so tall $pronoun must walk nearly on tiptoe, and shaped so that $pronoun must stick $possessive ass out to stand. <<else>> ends at the ankles, leaving $possessive feet bare. <</if>> <</if>> <<case "a chattel habit">> the revealing white and gold vestments of an ordained sex slave. <<if ($activeSlave.amp != 1)>> They <<if ($activeSlave.shoes is "flats")>> include a pair of gold sandals with thin straps that run up $possessive calves. <<elseif ($activeSlave.shoes is "boots")>> include white leather boots that run most of the way up $possessive thighs. <<elseif ($activeSlave.shoes is "heels")>> include a pair of gold heels secured by thin straps that run up $possessive calves. <<elseif ($activeSlave.shoes is "extreme heels")>> include a pair of white leather stripper heels secured by thin golden straps that run up $possessive calves. <<else>> leave $possessive legs and feet bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> The habit includes a prominent white corset with gold stays. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The habit includes an extremely tight white corset with gold stays. <</if>> <<case "a penitent nuns habit">> made of roughspun sackcloth designed to chafe the <<if ($activeSlave.amp == 1)>> wearer. <<else>> wearer, and <<if ($activeSlave.shoes is "flats")>> a pair of scratchy rope sandals. <<elseif ($activeSlave.shoes is "boots")>> a pair of ill-fitting old boots. <<elseif ($activeSlave.shoes is "heels")>> a pair of utilitarian heels. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of heels designed as religious torment. <<else>> feet left bare on the cold ground. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset is hidden, but very uncomfortable. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap corset is hidden, but crushingly uncomfortable. <</if>> <<case "a string bikini">> which passes around $possessive nipples and <<if $activeSlave.dick == 1>>dick<<else>>pussy<</if>> rather than covering <<if ($activeSlave.amp == 1)>> them. <<else>> them, and <<if ($activeSlave.shoes is "flats")>> a pair of thong sandals. <<elseif ($activeSlave.shoes is "boots")>> a pair of stripper boots with turned-down tops. <<elseif ($activeSlave.shoes is "heels")>> a pair of cheap stripper heels. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of stripper heels so tall $pronoun has to walk with $possessive ass sticking out. <<else>> $possessive feet are bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset is a fun color, but still clashes with $possessive bikini pretty badly. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap absurd corset is a fun color, but still clashes with $possessive bikini pretty badly. <</if>> <<case "a cheerleader outfit">> <<if $activeSlave.bellyAccessory is "a corset">> which incorporates a subtle corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> which incorporates severe corsetage, <</if>> <<if ($activeSlave.amp == 1)>> its top without arm holes. <<else>> and <<if ($activeSlave.shoes is "flats")>> a pair of flat trainers. <<elseif ($activeSlave.shoes is "boots")>> a pair of high-top trainers. <<elseif ($activeSlave.shoes is "heels")>> a pair of heeled trainers. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of heeled trainers so tall $pronoun has to walk rather bouncily. <<else>> $possessive feet are bare. <</if>> <</if>> <<case "clubslut netting">> <<if ($activeSlave.amp == 1)>> without arm or leg holes, so $possessive limbless torso is in a net. <<else>> <<if (($activeSlave.nails == 2) || ($activeSlave.nails == 12)) && (($activeSlave.makeup == 3) || ($activeSlave.makeup == 12))>> $activeSlave.hColor to match $possessive monocolor style, <<elseif ($activeSlave.skin is "dark") || ($activeSlave.skin is "black")>> in white to create a striking contrast with $possessive $activeSlave.skin skin, <<elseif ($activeSlave.addict > 5)>> in the electric blue color of aphrodisiacs to signal $pronoun's down to fuck high, <<elseif ($activeSlave.dick > 0) and canAchieveErection($activeSlave)>> in blue to signal that $pronoun can get hard, <<else>> in classic bubblegum pink, <</if>> and <<if ($activeSlave.shoes is "flats")>> a pair of surprisingly sturdy flats for dancing in a crowd. <<elseif ($activeSlave.shoes is "boots")>> a pair of tall, comfortable leather boots to dance in. <<elseif ($activeSlave.shoes is "heels")>> a pair of comfortable heels to dance in. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of stripper heels so tall $pronoun has to walk rather bouncily. <<else>> $possessive feet are bare. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset is a fun color, but still clashes with $possessive netting pretty badly. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap absurd corset is a fun color, but still clashes with $possessive netting pretty badly. <</if>> <<case "cutoffs and a t-shirt">> which has <<if ($activeSlave.energy > 95)>> "Fuck me!" across the front in huge letters. <<elseif ($activeSlave.fetish is "buttslut") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "BUTTSLUT" across the front in capital letters. <<elseif ($activeSlave.fetish is "cumslut") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "CUMSLUT" across the front in capital letters. <<elseif ($activeSlave.fetish is "submissive") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "SUB" on the front in capital letters. <<elseif ($activeSlave.fetish is "sadist") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "AWFUL BITCH" on the front in capital letters. <<elseif ($activeSlave.fetish is "masochist") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "PAINSLUT" on the front in capital letters. <<elseif ($activeSlave.fetish is "dom") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "TOP" on the front in capital letters. <<elseif ($activeSlave.fetish is "humiliation") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "SEX SLAVE" on the front in capital letters. <<elseif ($activeSlave.fetish is "pregnancy") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "BREEDER" on the front in capital letters. <<elseif ($activeSlave.fetish is "boobs") && ($activeSlave.fetishStrength > 60) && ($activeSlave.fetishKnown == 1)>> "I <3 BOOBS" on the front in capital letters. <<elseif ($activeSlave.dick > 0) && ($activeSlave.vagina > -1)>> "HERMAPHRODITE" on the front in capital letters. <<elseif ($activeSlave.dick > 0) && ($activeSlave.balls > 0)>> "Sissy Slave" across the front in large letters. <<elseif ($activeSlave.dick > 0)>> "Orchi Bitch" across the front in large letters. <<elseif ($activeSlave.vagina == 0)>> "Virgin!" across the front in large letters. <<elseif ($activeSlave.anus == 0)>> "Anal Virgin!" across the front in large letters. <<elseif ($activeSlave.preg > 0)>> "I'm Pregnant!" across the front in large letters. <<else>> "Property Of $PCName" across the front. <</if>> <<if $activeSlave.bellyAccessory is "a corset">> It conceals $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> It conceals $possessive severe corset. <</if>> <<if ($activeSlave.amp != 1)>> <<if ($activeSlave.shoes is "flats")>> Girly sneakers complete the look. <<elseif ($activeSlave.shoes is "boots")>> Girly tasseled boots complete the look. <<elseif ($activeSlave.shoes is "heels")>> High heeled sneakers complete the look. <<elseif ($activeSlave.shoes is "extreme heels")>> The ensemble is completed by high heeled sneakers so high $possessive butthole is at perfect dick height. <<else>> $possessiveCap feet are bare. <</if>> <</if>> <<case "a slave gown">> <<if $activeSlave.bellyAccessory is "a corset">> with an elegant integral corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> with extreme corsetage built into it, <</if>> a gorgeous affair <<if ($activeSlave.amp == 1)>> tailored to favor $possessive lack of arms and legs. <<else>> with cuts that offer tantalizing glimpses of delicate flesh. <<if ($activeSlave.shoes is "flats")>> It's accessorized by a pair of fashionable slingback sandals. <<elseif ($activeSlave.shoes is "boots")>> Elegant worked leather boots complete the look. <<elseif ($activeSlave.shoes is "heels")>> Kitten heels complete the look. <<elseif ($activeSlave.shoes is "extreme heels")>> Daring spike heels so high $possessive butt is at dick height complete the look. <<else>> $possessiveCap feet are bare. <</if>> <</if>> <<case "slutty business attire">> a suit jacket cut to show a great deal of <<if ($activeSlave.amp == 1)>> cleavage and a short skirt. <<else>> cleavage, a short skirt, and <<if ($activeSlave.shoes is "flats")>> a pair of kitten heeled flats. <<elseif ($activeSlave.shoes is "boots")>> a pair of shiny leather heeled boots. <<elseif ($activeSlave.shoes is "heels")>> a pair of slim fuck-me heels. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of spike slingback heels so extreme $pronoun has to walk with extreme care. <<else>> comically bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap jacket totally conceals $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap jacket totally conceals $possessive absurd corsetage. <</if>> <<case "nice business attire">> a suit <<if ($activeSlave.amp == 1)>> jacket and a nice skirt. <<else>> jacket, a nice skirt, proper stockings, and <<if ($activeSlave.shoes is "flats")>> a pair of kitten heeled flats. <<elseif ($activeSlave.shoes is "boots")>> a pair of heeled boots, polished to a mirror shine. <<elseif ($activeSlave.shoes is "heels")>> a pair of spike boardroom heels. <<elseif ($activeSlave.shoes is "extreme heels")>> a pair of spike boardroom heels so extreme $pronoun has to concentrate just to stand. <<else>> ridiculously bare stockinged feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap jacket totally conceals $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap jacket totally conceals $possessive absurd corsetage. <</if>> <<case "a ball gown">> <<if $activeSlave.bellyAccessory is "a corset">> with an elegant integral corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> with extreme corsetage built into it, <</if>> a majestically grand silken dress for formal <<if ($activeSlave.amp == 1)>> occasions. <<else>> occasions, stockings, and <<if ($activeSlave.shoes is "flats")>> a delicate pair of dancing slippers. <<elseif ($activeSlave.shoes is "boots")>> a dainty pair of heeled booties. <<elseif ($activeSlave.shoes is "heels")>> an ornate pair of stiletto heels. <<elseif ($activeSlave.shoes is "extreme heels")>> an ornate pair of stiletto heels so extreme $pronoun has to concentrate just to stand. <<else>> ridiculously bare stockinged feet. <</if>> <</if>> <<case "a halter top dress">> <<if $activeSlave.bellyAccessory is "a corset">> with an elegant integral corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> with extreme corsetage built into it, <</if>> an extravagant garment showing off $possessive bare <<if ($activeSlave.amp == 1)>> back. <<else>> back, <<if ($activeSlave.shoes is "flats")>> tights and a pair of flat shoes with decorative bows. <<elseif ($activeSlave.shoes is "boots")>> tights and a flashy pair of evening boots. <<elseif ($activeSlave.shoes is "heels")>> tights and an elegant pair of stiletto heels. <<elseif ($activeSlave.shoes is "extreme heels")>> tights and a pair of stiletto heels so extreme $pronoun has to concentrate just to stand. <<else>> with $possessive ridiculously bare feet in tights. <</if>> <</if>> <<case "a mini dress">> a body hugging strapless number that shows as much skin as it <<if ($activeSlave.amp == 1)>> covers. <<else>> covers, <<if ($activeSlave.shoes is "flats")>> paired with suede flats. <<elseif ($activeSlave.shoes is "boots")>> paired with suede thigh-high boots. <<elseif ($activeSlave.shoes is "heels")>> paired with suede ankle strap heels. <<elseif ($activeSlave.shoes is "extreme heels")>> paired with suede ankle strap heels so tall, $pronoun has to walk with $possessive ass sticking out. <<else>> and bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> The dress also cleverly doubles as an overbust corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The dress also cleverly doubles as an extreme overbust corset. <</if>> <<case "a comfortable bodysuit">> a snug bodysuit that covers $object to the neck while displaying the shape of <<if ($activeSlave.amp == 1)>> everything. <<else>> everything, <<if ($activeSlave.shoes is "flats")>> which seamlessly transitions into a pair of comfortable shoes. <<elseif ($activeSlave.shoes is "boots")>> which seamlessly transitions into a pair of heeled boots. <<elseif ($activeSlave.shoes is "heels")>> which seamlessly transitions into a pair of heels. <<elseif ($activeSlave.shoes is "extreme heels")>> which seamlessly transitions into a pair of heels so extreme $pronoun's practically on tiptoe. <<else>> fitting $possessive perfectly down to each individual toe. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> Its middle is reinforced to act as a corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> Its middle is strongly reinforced to act as a merciless corset. <</if>> <<case "a leotard">> a sporty garment that hugs $possessive <<if ($activeSlave.amp == 1)>> limbless body closely and comfortably. <<else>> body closely and <<if ($activeSlave.shoes is "flats")>> comfortably, and a pair of athletic shoes. <<elseif ($activeSlave.shoes is "boots")>> comfortably, and a pair high-topped athletic boots. <<elseif ($activeSlave.shoes is "heels")>> comfortably, and a pair of high-heeled athletic shoes. <<elseif ($activeSlave.shoes is "extreme heels")>> comfortably, and ballet shoes made to force $object to walk en pointe. <<else>> comfortably. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> The leotard's middle is reinforced to act as a corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The leotard's middle is strongly reinforced to act as a merciless corset. <</if>> <<case "a bunny outfit">> <<if $activeSlave.bellyAccessory is "a corset">> with an integral corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> with extreme corsetage built into it, <</if>> a strapless satin teddy with a beribboned rosette over $possessive left hip, printed with $possessive name. <<if ($activeSlave.amp != 1)>> The ensemble includes sheer black hose <<if ($activeSlave.shoes is "flats")>> and kitten-heeled strap sandals. <<elseif ($activeSlave.shoes is "boots")>> and high-heeled boots that match $possessive teddy. <<elseif ($activeSlave.shoes is "heels")>> and high heels that match $possessive teddy. <<elseif ($activeSlave.shoes is "extreme heels")>> and painfully high heels that match $possessive teddy. <<else>> over bare feet. <</if>> <</if>> <<case "a slutty maid outfit">> <<if $activeSlave.bellyAccessory is "a corset">> with an integral corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> with extreme corsetage built into it, <</if>> which includes a very short, dark dress, a white blouse, <<if ($activeSlave.amp == 1)>> and an apron. <<else>> an apron, and <<if ($activeSlave.shoes is "flats")>> little black shoes. <<elseif ($activeSlave.shoes is "boots")>> rubber work boots for mopping the floor. <<elseif ($activeSlave.shoes is "heels")>> little black pumps. <<elseif ($activeSlave.shoes is "extreme heels")>> black pump heels that raise $possessive practically bare butt to dick height. <<else>> bare feet. <</if>> <</if>> <<case "a nice maid outfit">> <<if $activeSlave.bellyAccessory is "a corset">> with an integral corset, <<elseif $activeSlave.bellyAccessory is "an extreme corset">> with extreme corsetage built into it, <</if>> which includes a dark dress, a white blouse, <<if ($activeSlave.amp == 1)>> and an apron. <<else>> an apron, and <<if ($activeSlave.shoes is "flats")>> little black shoes. <<elseif ($activeSlave.shoes is "boots")>> rubber work boots for mopping the floor. <<elseif ($activeSlave.shoes is "heels")>> little black pumps. <<elseif ($activeSlave.shoes is "extreme heels")>> black pump heels of inconvenient height. <<else>> bare feet. <</if>> <</if>> <<case "a slutty nurse outfit">> which includes an immodest low cut white <<if ($activeSlave.amp == 1)>> jacket and a tight white miniskirt. <<else>> jacket, a tight white miniskirt, and <<if ($activeSlave.shoes is "flats")>> white low heeled pumps. <<elseif ($activeSlave.shoes is "boots")>> white leather boots that come up $possessive thighs to an inch below the hem of $possessive skirt. <<elseif ($activeSlave.shoes is "heels")>> white fuck-me pumps. <<elseif ($activeSlave.shoes is "extreme heels")>> white pump heels so tall $pronoun can barely totter along. <<else>> bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap jacket totally conceals $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap jacket totally conceals $possessive absurd corsetage. <</if>> <<case "a nice nurse outfit">> which includes a plain white scrub <<if ($activeSlave.amp == 1)>> top and trousers. <<else>> top, trousers, a stethoscope, and <<if ($activeSlave.shoes is "flats")>> practical white nursing clogs. <<elseif ($activeSlave.shoes is "boots")>> white leather boots underneath $possessive pant legs. <<elseif ($activeSlave.shoes is "heels")>> modest white pumps. <<elseif ($activeSlave.shoes is "extreme heels")>> impractically high heeled white pumps. <<else>> disposable foot covers over socks. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap scrubs totally conceal $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap scrubs totally conceal $possessive absurd corsetage. <</if>> <<case "a schoolgirl outfit">> which includes a tight white <<if ($activeSlave.amp == 1)>> blouse and a short plaid skirt. <<else>> blouse, a short plaid skirt, and <<if ($activeSlave.shoes is "flats")>> girly tennis shoes with bright white laces. <<elseif ($activeSlave.shoes is "boots")>> brown leather riding boots with buckled tops. <<elseif ($activeSlave.shoes is "heels")>> black pumps with little plaid bows. <<elseif ($activeSlave.shoes is "extreme heels")>> tall black pump heels with little plaid bows. <<else>> bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> The outline of $possessive corset can be seen through $possessive blouse. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The outline of $possessive absurd corsetage can be seen through $possessive blouse. <</if>> <<case "a kimono">> of the furisode <<if ($activeSlave.amp == 1)>> pattern. <<else>> pattern, and <<if ($activeSlave.shoes is "flats")>> getae over tabi socks. <<elseif ($activeSlave.shoes is "boots")>> black kevlar combat boots. <<elseif ($activeSlave.shoes is "heels")>> tall getae over tabi socks. <<elseif ($activeSlave.shoes is "extreme heels")>> extremely tall platform heels carved from hardwood. <<else>> bare feet. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> The handsome silk completely conceals $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> The handsome silk completely conceals $possessive absurd corsetage. <</if>> <<case "a hijab and abaya">> which modestly covers $possessive entire <<if ($activeSlave.amp == 1)>> body. <<else>> body, down to $possessive feet. <</if>> <<if $activeSlave.bellyAccessory is "a corset">> It hides $possessive corset along with everything else. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> It hides $possessive absurd corsetage along with everything else. <</if>> <<case "a military uniform">> consisting of a shirt and tie, military <<if ($activeSlave.amp == 1)>> tunic, and matching skirt. <<else>> tunic, matching skirt, and <<if ($activeSlave.shoes is "flats")>> polished Oxford shoes. <<elseif ($activeSlave.shoes is "boots")>> tall black leather boots. <<elseif ($activeSlave.shoes is "heels")>> modest black service pumps. <<elseif ($activeSlave.shoes is "extreme heels")>> extremely high heeled ceremonial dress boots that force $object to constantly stand at attention. <<else>> a complete lack of regulation footwear. <</if>> <</if>> $possessiveCap uniform is pinned with the <<if ($activeSlave.ID is $Bodyguard.ID) or ($activeSlave.ID is $HeadGirl.ID) or ($activeSlave.ID is $Recruiter.ID) or ($activeSlave.ID is $Concubine.ID)>> golden whip and manacles insignia of a senior slave officer, <<elseif ($activeSlave.ID is $Madam.ID) or ($activeSlave.ID is $Nurse.ID) or ($activeSlave.ID is $Attendant.ID) or ($activeSlave.ID is $DJ.ID) or ($activeSlave.ID is $Milkmaid.ID) or ($activeSlave.ID is $Stewardess.ID) or ($activeSlave.ID is $Schoolteacher.ID) or ($activeSlave.ID is $Wardeness.ID) or ($activeSlave.ID is $Collectrix.ID)>> golden manacles insignia of a junior slave officer, <<elseif ($activeSlave.combatSkill > 0) and ($activeSlave.amp == -4)>> silver spear and manacles insignia of an augmented slave soldier, <<elseif ($activeSlave.combatSkill > 0) and ($activeSlave.amp != 1)>> silver manacles insignia of a slave soldier, <<else>> black iron manacles insignia of a slave, <</if>> along with various ribbons denoting sexual aptitude and prized traits. <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap tunic conceals $possessive corset. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap tunic conceals $possessive extreme corsetage. <</if>> <<case "battledress">> including comfortable fatigue <<if ($activeSlave.amp == 1)>> pants (pinned over $possessive stumps) and a sturdy tank top. <<else>> pants, a sturdy tank top and <<if ($activeSlave.shoes is "flats")>> low topped patrol shoes. <<elseif ($activeSlave.shoes is "boots")>> practical combat boots. <<elseif ($activeSlave.shoes is "heels")>> high-heeled combat boots. <<elseif ($activeSlave.shoes is "extreme heels")>> combat boots with heels so tall as to almost immobilize $object. <<else>> bare feet, VC style. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset is strapped on top of $possessive shirt. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap ridiculous corset is strapped on top of $possessive shirt. <</if>> <<case "harem gauze">> $pronounCap's covered and even veiled, but you can see everything straight through the filmy cloth. <<if ($activeSlave.amp != 1)>> <<if ($activeSlave.shoes is "flats")>> For shoes $pronoun's wearing jeweled thong sandals. <<elseif ($activeSlave.shoes is "boots")>> $pronounCap's wearing long leather boots worked with beautiful golden filigree. <<elseif ($activeSlave.shoes is "heels")>> For shoes $pronoun's wearing high heels decorated with golden filigree. <<elseif ($activeSlave.shoes is "extreme heels")>> $pronounCap's wearing platform heels with beautiful eastern patterns worked into the sides in lapis lazuli. <<else>> $pronounCap's barefoot. <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset, though functional, is covered with little bells and charms that glint through the gauze. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap absurd corset, though cruelly functional, is covered with little bells and charms that glint through the gauze. <</if>> <<case "slutty jewelry">> <<if ($activeSlave.amp == 1)>> including a belt of thin chain with a lewd ornament (a little <<if ($activeSlave.dick > 0) && ($activeSlave.balls == 0)>> curved golden cock without balls) <<elseif ($activeSlave.dick > 0)>> golden cock and balls) <<elseif ($activeSlave.fetish is "cumslut") && ($activeSlave.fetishStrength > 95)>> pair of golden lips) <<elseif ($activeSlave.boobs > 1000)>> pair of golden breasts) <<else>> golden pussy) <</if>> over $possessive stomach. <<else>> including bracelets, anklets and a belt of thin chain with a lewd ornament (a little <<if ($activeSlave.dick > 0) && ($activeSlave.balls == 0)>> curved golden cock without balls) <<elseif ($activeSlave.dick > 0)>> golden cock and balls) <<elseif ($activeSlave.fetish is "cumslut") && ($activeSlave.fetishStrength > 95)>> pair of golden lips) <<elseif ($activeSlave.boobs > 1000)>> pair of golden breasts) <<else>> golden pussy) <</if>> over $possessive stomach. The bangles <<if ($activeSlave.shoes is "flats")>> connect to the thin straps of a pair of sandals of the same golden chain. <<elseif ($activeSlave.shoes is "boots")>> crisscross $possessive thighs and calves down to a pair of soles to form boots of golden chains. <<elseif ($activeSlave.shoes is "heels")>> crisscross $possessive thighs and calves down to a pair of golden heels. <<elseif ($activeSlave.shoes is "extreme heels")>> crisscross $possessive thighs and calves down to a pair of excruciatingly high golden heels. <<else>> end at mid-calf, leaving $possessive feet bare except for a set of jeweled toe-rings. <</if>> <</if>> <<if ($activeSlave.clitPiercing > 0)>> <<if ($activeSlave.nipplesPiercing > 0)>> <<if ($activeSlave.dickAccessory != "chastity") && ($activeSlave.dickAccessory != "combined chastity")>> <<if ($activeSlave.dick > 4)>> <<if ($activeSlave.boobs > 1000)>> <<if ($activeSlave.balls > 0)>> <<if ($activeSlave.hormones <= 0)>> <<if ($activeSlave.devotion > 20)>> <<if ($activeSlave.energy > 90)>> $possessiveCap very special body allows $object to wear an incredibly lewd piece of jewelry: a thin golden chain that runs from nipple to nipple, through $possessive pierced cockhead. The chain is short, and any motion at all tugs at $possessive nipples and penis. <<if $activeSlave.amp != 1>> The stimulation is almost unbearable, and the mere act of walking sometimes causes $object to cum. <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset is $possessive only real piece of clothing. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corset is $possessive only real piece of clothing. <</if>> <<default>> so $possessive nude body is on display. <<if $activeSlave.bellyAccessory is "a corset">> $possessiveCap corset is $possessive only real piece of clothing. <<elseif $activeSlave.bellyAccessory is "an extreme corset">> $possessiveCap extreme corset is $possessive only real piece of clothing. <</if>> <</switch>> $pronounCap <<else>> $activeSlave.slaveName <</if>> <</widget>> <<widget "CorsetPiercingDescription">> <<if $activeSlave.fuckdoll == 0>> $pronounCap has a corset piercing, a ladder of steel rings running up each side of $possessive back: <<if ($activeSlave.bellyAccessory is "a corset") || ($activeSlave.bellyAccessory is "an extreme corset")>> these are looped through special lugs in the back of $possessive actual corset, making it almost a part of $possessive body. <<if $activeSlave.devotion > 50>> $pronounCap couldn't remove it, even if $pronoun wanted to. <<elseif $activeSlave.devotion >= -20>> $pronounCap couldn't remove it, even if $pronoun were inclined to try. <<else>> Any attempt to remove it will cause intense pain. <</if>> <<else>> <<switch $activeSlave.clothes>> <<case "conservative clothing" "slutty business attire" "nice business attire" "a schoolgirl outfit">> $possessive blouse hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "chains">> they're laced together with steel cable, tightly enough that they're tugging at $possessive skin. <<case "Western clothing">> $possessive shirt hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a toga">> $possessive toga hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a slutty qipao">> $possessive qipao hides them completely, but they're laced tightly with silk cord, so $pronoun's aware they're there. <<case "uncomfortable straps">> they're laced together with a leather cord, tightly enough that they're tugging at $possessive skin. <<case "shibari ropes">> they're laced together as part of $possessive bindings. <<case "restrictive latex" "a latex catsuit">> these are clipped into the latex covering them, making it almost a part of $possessive body. <<if $activeSlave.devotion > 50>> $pronounCap couldn't remove it, even if $pronoun wanted to. <<elseif $activeSlave.devotion >= -20>> $pronounCap couldn't remove it, even if $pronoun were inclined to try. <<else>> Any attempt to remove it will cause intense pain. <</if>> <<case "a military uniform">> $possessive tunic hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a nice nurse outfit">> $possessive scrubs hide them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a mini dress">> these are clipped into the mini dress covering them, making it almost a part of $possessive body. <<if $activeSlave.devotion > 50>> $pronounCap couldn't remove it, even if $pronoun wanted to. <<elseif $activeSlave.devotion >= -20>> $pronounCap couldn't remove it, even if $pronoun were inclined to try. <<else>> Any attempt to remove it will cause intense pain. <</if>> <<case "attractive lingerie" "attractive lingerie for a pregnant woman">> they're laced together with a lacy ribbon finished off with a bow. <<case "a succubus outfit">> they're laced into $possessive succubus corset, making it a part of $object. <<case "a fallen nuns habit">> they're laced together with cord, tightly enough that $pronoun is forced to arch $possessive back or suffer. $pronounCap spends most of $possessive time involuntarily presenting $possessive bottom to relieve the tugging. <<case "a chattel habit">> $possessive white habit hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a penitent nuns habit">> $possessive habit hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a string bikini">> the back of $possessive string top loops into them and runs down through them to become $possessive bottom, such as it is. <<case "a cheerleader outfit">> they're laced together with a simple ribbon, but the effect makes it clear that this is one kinky cheerleader. <<case "clubslut netting">> these are clipped into the netting covering them, making it almost a part of $possessive body. <<if $activeSlave.devotion > 50>> $pronounCap couldn't remove it, even if $pronoun wanted to. <<elseif $activeSlave.devotion >= -20>> $pronounCap couldn't remove it, even if $pronoun were inclined to try. <<else>> Any attempt to remove it will cause intense pain. <</if>> <<case "cutoffs and a t-shirt">> they're laced together with a simple ribbon, but the effect makes it clear that this is one kinky girl. <<case "a slutty outfit">> they're laced together with a simple ribbon, tightly enough that $pronoun's aware they're there. <<case "a slave gown">> they're revealed by the swooping back of $possessive gown and laced up with matching silk ribbon. <<case "a comfortable bodysuit">> these are clipped into the bodysuit covering them, making it almost a part of $possessive body. <<if $activeSlave.devotion > 50>> $pronounCap couldn't remove it, even if $pronoun wanted to. <<elseif $activeSlave.devotion >= -20>> $pronounCap couldn't remove it, even if $pronoun were inclined to try. <<else>> Any attempt to remove it will cause intense pain. <</if>> <<case "a leotard">> these are clipped into the leotard covering them, making it almost a part of $possessive body. <<if $activeSlave.devotion > 50>> $pronounCap couldn't remove it, even if $pronoun wanted to. <<elseif $activeSlave.devotion >= -20>> $pronounCap couldn't remove it, even if $pronoun were inclined to try. <<else>> Any attempt to remove it will cause intense pain. <</if>> <<case "a bunny outfit">> $possessive teddy hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a slutty maid outfit">> $possessive dress has an open back to reveal them and the black ribbon that laces them tightly together. <<case "a nice maid outfit">> $possessive dress hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a slutty nurse outfit">> $possessive jacket hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a kimono">> $possessive kimono hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "a hijab and abaya">> $possessive abaya hides them completely, but they're laced tightly, so $pronoun's aware they're there. <<case "battledress">> they're laced together with paracord. <<case "harem gauze">> they're laced up with a light golden chain that glints through $possessive filmy clothing. <<case "slutty jewelry">> they're laced up with a light golden chain that begins and ends in other parts of $possessive glinting bonds. <<default>> they're laced up with a ribbon, tightly enough to keep $possessive aware they're there. <</switch>> <</if>> <</if>> <</widget>> <<widget "HairDescription">> <<SlavePronouns $activeSlave>> $possessiveCap <<if $activeSlave.fuckdoll == 0>> <<switch $activeSlave.hStyle>> <<case "shaved bald">> hair has been shaved. If $possessive hair were visible, it would be $activeSlave.hColor. <<case "buzzcut">> $activeSlave.hColor hair is a short buzzcut. <<case "trimmed">> $activeSlave.hColor hair is trimmed short. <<case "afro">> $activeSlave.hColor hair is in a <<if $activeSlave.hLength > 100>> gigantic puffed-up afro and looks ridiculous. <<elseif $activeSlave.hLength > 30>> puffy afro. <<else>> short afro. <</if>> <<case "cornrows">> $activeSlave.hColor hair is formed tightly into cornrows in a decorative pattern on $possessive head, dangling <<if $activeSlave.hLength >= 150>> down calf-length, <<elseif $activeSlave.hLength >= 100>> down ass-length, <<elseif $activeSlave.hLength >= 30>> down long, <<elseif $activeSlave.hLength >= 10>> down shoulder-length, <<else>> down, <</if>> with colorful beads interspersed in them. <<case "bun">> $activeSlave.hColor hair is <<if $activeSlave.hLength >= 100>> packed tightly into a huge puffy <<elseif $activeSlave.hLength >= 30>> packed into a large <<elseif $activeSlave.hLength >= 10>> tied into a small <<else>> tied into a <</if>> bun. <<case "neat" "strip" "tails" "up" "ponytail" "braided" "dreadlocks" "permed" "curls" "luxurious">> <<set $seed to $activeSlave.hLength/$activeSlave.height>> <<if $seed > 0.9>> floor-length, <<elseif $seed > 0.8>> calf-length, <<elseif $seed > 0.7>> knee-length, <<elseif $seed >= 0.6>> thigh-length, <<elseif $seed >= 0.4>> ass-length, <<elseif $seed >= 0.2>> long, <<elseif $seed >= 15>> shoulder-length, <<else>> short, <</if>> $activeSlave.hColor hair <<HairClothingDescription>> <<default>> $activeSlave.hColor hair is $activeSlave.hStyle. <</switch>> <<else>> <<if $activeSlave.hLength > 20>> hair sticks out of the suit in two <<if $activeSlave.hLength > 100>>extremely long<<elseif $activeSlave.hLength > 40>>long<<else>>short<</if>> tails, which can be used as handles when using the Fuckdoll's <<if $activeSlave.vagina > -1>>lower holes<<else>>rear hole<</if>>. <<elseif $activeSlave.hLength > 5>> short hair is tightly covered by the suit. <<else>> scalp is tightly covered by the suit. <</if>> <</if>> <</widget>> <<widget "HairClothingDescription">> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.hStyle == "neat">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "chains">> is caught painfully in $possessive chains here and there. <<case "body oil">> rampages down $possessive back in the glorious feathering of an 80's perm. <<case "a slutty qipao">> cascades down $possessive back, ornamented with little silver talismans here and there. <<case "restrictive latex" "a latex catsuit">> is allowed a gap at the back of $possessive head so it can escape to cascade down $possessive back. <<case "harem gauze">> cascades down $possessive back, covered by a flimsy hairnet. <<case "a halter top dress" "a ball gown" "a slave gown">> cascades gorgeously down $possessive bare back. <<case "a kimono">> cascades elegantly down $possessive back, kept sensibly in place by a set of ivory hairpins. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is long and loose, but is decorated with little black bows here and there. <<case "conservative clothing" "nice business attire">> is kept out of $possessive face by a couple of simple barrettes. <<case "slutty business attire">> is kept out of $possessive face by a couple of gaudy golden barrettes. <<case "battledress" "a military uniform">> is kept out of $possessive face by a couple of sturdy hairpins. <<case "a schoolgirl outfit">> is kept out of $possessive face by a pastel-colored headband. <<case "a slutty nurse outfit" "a nice nurse outfit">> is topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> cascades out from under a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> flows back in a mane, with a flower tucked behind one ear: <<FlowerDesc>> <<default>> cascades almost to the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "body oil">> is in a big, classic 80's perm. <<case "a slutty qipao">> is brushed back over $possessive shoulders, ornamented with little silver talismans here and there. <<case "restrictive latex" "a latex catsuit">> is allowed a gap at the back of $possessive head so it can escape down $possessive back. <<case "harem gauze">> flows down $possessive back, covered by a flimsy hairnet. <<case "a slave gown" "a ball gown" "a halter top dress">> flows fashionably down $possessive bare back. <<case "a kimono">> flows elegantly down $possessive back, kept sensibly in place by a set of ivory hairpins. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is decorated with a little black bow in back. <<case "conservative clothing" "nice business attire">> is kept out of $possessive face by a couple of simple barrettes. <<case "slutty business attire">> is kept out of $possessive face by a couple of gaudy golden barrettes. <<case "battledress" "a military uniform">> is kept out of $possessive face by a couple of sturdy hairpins. <<case "a schoolgirl outfit">> is kept out of $possessive face by a pastel-colored headband. <<case "a slutty nurse outfit" "a nice nurse outfit">> is topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> flows out from under a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> is tucked back by a flower, tucked behind one ear: <<FlowerDesc>> <<default>> is brushed back over $possessive shoulders. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "body oil">> is in a classic 80's perm. <<case "a slutty qipao">> is brushed back and ornamented with a little jade talisman. <<case "restrictive latex" "a latex catsuit">> is crammed under $possessive latex hood. <<case "harem gauze">> is covered by a flimsy hairnet. <<case "a slave gown" "a halter top dress" "a ball gown">> follows the latest fashion. <<case "a kimono">> is kept sensibly in place by a set of ivory hairpins. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is decorated with a little black bow in back. <<case "conservative clothing" "nice business attire">> is kept out of $possessive face by simple barrette. <<case "slutty business attire">> is kept out of $possessive face by a gaudy golden barrette. <<case "battledress" "a military uniform">> is kept out of $possessive face by a sturdy hairpin. <<case "a schoolgirl outfit">> is kept out of $possessive face by a pastel-colored headband. <<case "a slutty nurse outfit" "a nice nurse outfit">> is topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is topped by a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> bears a flower tucked behind one ear: <<FlowerDesc>> <<default>> is brushed back. <</switch>> <<else>> <<switch $activeSlave.clothes>> <<case "body oil">> is in a classic 80's perm. <<case "restrictive latex" "a latex catsuit">> fits under $possessive latex hood. <<case "harem gauze">> is covered by a flimsy hairnet. <<case "a slave gown">> is gelled into a fashionable wave. <<case "a halter top dress">> is gelled into a fashionable wave. <<case "a ball gown">> is gelled into a fashionable wave. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering. <<case "conservative clothing" "nice business attire">> is parted on the side. <<case "slutty business attire">> is parted in the middle. <<case "battledress" "a military uniform">> is in a utilitarian cut. <<case "a slutty nurse outfit" "a nice nurse outfit">> is hidden by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is hidden by a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> is short, and $pronoun has a flower tucked behind one ear: <<FlowerDesc>> <<default>> is neatly brushed. <</switch>> <</if>> <<elseif $activeSlave.hStyle == "up">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "chains">> is pulled painfully back into a long tail, which is secured to $possessive chains at $possessive torso and $possessive ass. <<case "body oil">> is in an 80's perm and back in a scrunchy, from which it explodes backwards with 80's violence. <<case "a slutty qipao">> is in a perfect bun, secured with a jade comb; $possessive bun is so large it forms an artful arrangement down to the nape of $possessive neck. <<case "a kimono">> is in a perfect bun, secured with an ivory comb; $possessive bun is so large it forms an artful arrangement down to the nape of $possessive neck. <<case "restrictive latex" "a latex catsuit">> sticks out of the latex hood in a huge bun. <<case "harem gauze">> is piled up on $possessive head in a huge beehive, itself veiled. <<case "a slave gown" "a halter top dress" "a ball gown">> is piled up on $possessive head in a perfect 60's beehive. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering, though it's obvious $pronoun has a huge mass of hair restrained under there. <<case "a slutty maid outfit" "a nice maid outfit">> is back in a huge bun, and topped with a little maid's cap. <<case "conservative clothing" "nice business attire">> is back in a huge bun, so severe it pulls at $possessive temples a little. <<case "slutty business attire">> is pinned back in a hasty bun. <<case "battledress" "a military uniform">> is pulled hard back into a big bun held in place with paracord. <<case "a schoolgirl outfit">> is in a huge bun secured by a pastel scrunchy. <<case "a slutty nurse outfit" "a nice nurse outfit">> is back in a huge bun and topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is back in a bun so huge it pushes $possessive cowboy hat forward at a rakish angle. <<default>> is back in an enormous bun. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "chains">> is pulled painfully back into a long tail, which is secured to $possessive chains at $possessive torso. <<case "body oil">> is in an 80's perm and back in a scrunchy, from which it bursts backwards with 80's violence. <<case "a slutty qipao">> is in a perfect bun, secured with a jade comb. <<case "a kimono">> is in a perfect bun, secured with an ivory comb. <<case "restrictive latex" "a latex catsuit">> sticks out of the latex hood in a big bun. <<case "harem gauze">> is piled up on $possessive head in a beehive, pulling $possessive veil up a little. <<case "a slave gown" "a ball gown" "a halter top dress">> is piled up on $possessive head in a perfect 60's beehive. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is back in a severe bun, and topped with a little maid's cap. <<case "conservative clothing" "nice business attire">> is back in a bun, so severe it pulls at $possessive temples a little. <<case "slutty business attire">> is pinned back in a hasty bun. <<case "battledress" "a military uniform">> is pulled hard back into a bun held in place with paracord. <<case "a schoolgirl outfit">> is in a bun secured by a pastel scrunchy. <<case "a slutty nurse outfit" "a nice nurse outfit">> is back in a bun and topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is back in a high bun that pushes $possessive cowboy hat forward at a rakish angle. <<default>> is back in a big bun. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "chains">> is pulled painfully back into a bun, which is secured to $possessive collar. <<case "body oil">> is in an 80's perm and back in a scrunchy, from which it shoots backwards with 80's violence. <<case "a slutty qipao">> is in a tight little bun, secured with a jade comb. <<case "a kimono">> is in a tight little bun, secured with an ivory comb. <<case "restrictive latex" "a latex catsuit">> fits back under $possessive latex hood. <<case "harem gauze">> is piled on $possessive head, pulling $possessive veil up a little. <<case "a slave gown" "a ball gown" "a halter top dress">> is piled up on $possessive head in a perfect 60's 'do. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is back in a little bun, and topped with a little maid's cap. <<case "conservative clothing" "nice business attire">> is back in a tight little bun, so severe it pulls at $possessive temples a little. <<case "slutty business attire">> is pinned back in a hasty bun. <<case "battledress" "a military uniform">> is pulled hard back into a bun held in place with paracord. <<case "a schoolgirl outfit">> is in a tight little bun secured by a pastel scrunchy. <<case "a slutty nurse outfit" "a nice nurse outfit">> is back in a tight little bun and topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is back in a tight little bun that pushes $possessive cowboy hat forward at a rakish angle. <<default>> is back in a tight little bun. <</switch>> <<else>> <<switch $activeSlave.clothes>> <<case "restrictive latex" "a latex catsuit">> fits back under $possessive latex hood. <<default>> is combed back. <</switch>> <</if>> <<elseif $activeSlave.hStyle == "tails">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a pair of simple hairties into tails. <<case "chains">> is back in tails secured by steel rings. <<case "a latex catsuit">> is bound by latex hair cuffs into long matching pigtails. <<case "Western clothing">> is back in huge tails that emerge from under $possessive cowboy hat. <<case "body oil">> is permed, and back in big poofy tails secured by scrunchies in noxious 80's pastel colors. <<case "a slutty qipao">> is back in huge tails secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in huge tails secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in huge tails secured by leather ties. <<case "shibari rope">> is back in huge tails tied back with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of two holes in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in huge tails secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is back in floor-length tails secured by paracord. <<case "harem gauze">> is gathered into two tight tails wrapped in golden thread that almost reach the ground. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in tails that nearly reach the ground. <<case "a chattel habit">> is in a couple of tails that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in long tails, but they're hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into beautiful long tails, one of which comes around to run down $possessive chest. <<case "slutty business attire">> is gathered into floor-length tails by gaudy gold clasps. <<case "nice business attire">> is gathered into secure tails and doubled up so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into floor-length tails by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in long tails, but they're hidden by $possessive modest garb. <<default>> is in twin tails that almost reach the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a pair of simple hairties into tails. <<case "chains">> is back in tails secured by steel rings. <<case "a latex catsuit">> is bound by latex hair cuffs into matching pigtails. <<case "Western clothing">> is back in long tails that emerge from under $possessive cowboy hat. <<case "body oil">> is permed, and back in big poofy tails secured by scrunchies in noxious 80's pastel colors. <<case "a slutty qipao">> is back in big tails secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in big tails secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in big tails secured by leather ties. <<case "shibari rope">> is back in big tails tied back with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of two holes in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in big tails secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is back in long braids secured by paracord. <<case "harem gauze">> is gathered into two long tails wrapped in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in long loose tails. <<case "a chattel habit">> is in a couple of long tails that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in long tails, but they're hidden by $possessive surplice. <<case "a slave gown" "a halter top dress" "a ball gown">> is combed into beautiful tails, one of which comes around to fall between $possessive breasts. <<case "slutty business attire">> is gathered into long tails by gaudy gold clasps. <<case "nice business attire">> is gathered into secure tails so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into long tails by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in tails, but they're hidden by $possessive modest garb. <<default>> is in long twin braids. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a pair of simple hairties into short tails. <<case "chains">> is back in short tails secured by steel rings. <<case "a latex catsuit">> is bound by latex hair cuffs into short matching pigtails. <<case "Western clothing">> is back in short braids that emerge from under $possessive cowboy hat. <<case "body oil">> is permed, and back in poofy tails secured by scrunchies in noxious 80's pastel colors. <<case "a slutty qipao">> is back in short tails secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in short tails secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in short tails secured by leather ties. <<case "shibari rope">> is back in short tails secured with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of two holes in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in short tails secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is in short braids secured by paracord. <<case "harem gauze">> is gathered into two short tails wrapped in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice short, slutty tails. <<case "a chattel habit">> is in a couple of short tails that are hidden by $possessive cowl. <<case "a penitent nuns habit">> is in short tails hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into short tails set low at the nape of $possessive neck. <<case "slutty business attire">> is gathered into short tails by gaudy gold clasps. <<case "nice business attire">> is gathered into short tails so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into short tails by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in tails, but they're hidden by $possessive modest garb. <<default>> is in short braids. <</switch>> <<else>> is too short to be kept in proper tails, so it's simply combed back. <</if>> <<elseif $activeSlave.hStyle == "ponytail">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is tied back with a simple hairtie into a long ponytail. <<case "chains">> is tied back into a ponytail secured by steel rings. <<case "a latex catsuit">> is threaded through a thick latex sleeve into a peaked ponytail resembling a long flogger. <<case "Western clothing">> is back in a huge ponytail emerging from the back of $possessive cowboy hat. <<case "body oil">> is back in a big, long ponytail, tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is tied back in a huge ponytail secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in a huge ponytail secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in a huge ponytail secured by leather ties. <<case "shibari rope">> is back in a huge ponytail tied back with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of a hole in the back of in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in a huge ponytail secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is back in a floor-length ponytail secured by paracord. <<case "harem gauze">> is gathered into a tight ponytail wrapped in golden thread that almost reaches the ground. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in a ponytail that nearly reaches the ground. <<case "a chattel habit">> is in a long ponytail that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in a long ponytail, but it's hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into a beautiful long ponytail, which swooshes as $pronoun moves. <<case "slutty business attire">> is gathered into a floor-length ponytail by a gaudy gold clasp. <<case "nice business attire">> is gathered into a ponytail and doubled up so $pronoun can do business without it getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into a floor-length ponytail by a white cloth tie emblazoned with little red crosses. <<case "a hijab and abaya">> is in a long ponytail, but it's hidden by $possessive modest garb. <<default>> is in a ponytail that almost reaches the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a simple hairtie into a ponytail. <<case "chains">> is tied back in a ponytail secured by steel rings. <<case "a latex catsuit">> is threaded through a thick latex sleeve into a peaked ponytail resembling a flogger. <<case "Western clothing">> is tied back in a long ponytail that emerges from the back of $possessive cowboy hat. <<case "body oil">> is permed, and back in a big, long ponytail tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is back in a big ponytail secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in a big ponytail secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in a big ponytail secured by leather ties. <<case "shibari rope">> is back in a big ponytail tied back with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of a hole in the back of $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in a big ponytail secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is back in a long braid secured by paracord. <<case "harem gauze">> is gathered into a long ponytail wrapped in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in a long loose ponytail. <<case "a chattel habit">> is in a long ponytail that flows out from under $possessive cowl. <<case "a penitent nuns habit">> is in a long ponytail, but it's hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into a beautiful ponytail, which swooshes as $pronoun moves. <<case "slutty business attire">> is gathered into a long ponytail by gaudy gold clasps. <<case "nice business attire">> is gathered into a secure ponytail so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into a long ponytail by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in ponytail, but it's hidden by $possessive modest garb. <<default>> is in a long braid. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a simple hairtie into short ponytail. <<case "chains">> is back in a short ponytail secured by steel rings. <<case "a latex catsuit">> is bound by a latex hair cuff into a short and severe ponytail. <<case "Western clothing">> is back in a short braid that emerges from under $possessive cowboy hat. <<case "body oil">> is permed, and back in a big, long ponytail tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is back in short ponytail secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in short ponytail secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in short ponytail secured by leather ties. <<case "shibari rope">> is back in short ponytail secured with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of a hole in the back of $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in a short ponytail secured by a hair tie with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is in a short braid secured by paracord. <<case "harem gauze">> is gathered into a short ponytail wrapped in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in a short, slutty ponytail. <<case "a chattel habit">> is in a short ponytail that is hidden by $possessive cowl. <<case "a penitent nuns habit">> is in a short ponytail hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into a short ponytail set low at the nape of $possessive neck. <<case "slutty business attire">> is gathered into a short ponytail by gaudy gold clasps. <<case "nice business attire">> is gathered into a short ponytail so $pronoun can do business without it getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into a short ponytail by a white cloth tie emblazoned with little red crosses. <<case "a hijab and abaya">> is in a ponytail, but it's hidden by $possessive modest garb. <<default>> is in a short ponytail. <</switch>> <<else>> is too short to be kept in a proper ponytail, so it's simply combed back. <</if>> <<elseif $activeSlave.hStyle == "braided">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a pair of simple hairties into braids. <<case "chains">> is back in braids secured by steel rings. <<case "Western clothing">> is back in huge braids that emerge from under $possessive cowboy hat. <<case "body oil">> is permed, and back in big poofy braids secured by scrunchies in noxious 80's pastel colors. <<case "a slutty qipao">> is back in huge braids secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in huge braids secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in huge braids secured by leather ties. <<case "shibari rope">> is back in huge braids tied back with rope. <<case "restrictive latex" "a latex catsuit">> sticks out of two holes in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in huge braids secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is back in floor-length braids secured by paracord. <<case "harem gauze">> is gathered into two tight braids wrapped in golden thread that almost reach the ground. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in braids that nearly reach the ground. <<case "a chattel habit">> is in a couple of braids that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in long braids, but they're hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into beautiful long braids, one of which comes around to run down $possessive chest. <<case "slutty business attire">> is gathered into floor-length braids by gaudy gold clasps. <<case "nice business attire">> is gathered into secure braids and doubled up so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into floor-length braids by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in long braids, but they're hidden by $possessive modest garb. <<default>> is in braids that almost reach the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with simple hairties into braids. <<case "chains">> is back in braids secured by steel rings. <<case "Western clothing">> is back in long braids that emerge from under $possessive cowboy hat. <<case "body oil">> is permed, and back in big, long braids secured by scrunchies in noxious 80's pastel colors. <<case "a slutty qipao">> is back in big braids secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in long braids secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in long braids secured by leather ties. <<case "shibari rope">> is back in long braids tied back with rope. <<case "restrictive latex">> is braided and sticks out of holes in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in long braids secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is back in long braids secured by paracord. <<case "harem gauze">> is tied into long braids wrapped in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in long braids. <<case "a chattel habit">> is in long braids that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in long braids, but they're hidden by $possessive surplice. <<case "a halter top dress" "a ball gown" "a slave gown">> is in beautiful braids, one of which comes around to fall between $possessive breasts. <<case "slutty business attire">> is tied into long braids and secured by gaudy gold clasps. <<case "nice business attire">> is tied into into long braids and secured so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit">> is tied into into long braids and secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in braids, but they're hidden by $possessive modest garb. <<default>> is in long braids. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is pulled back with a pair of simple hairties into short braids. <<case "chains">> is back in short braids secured by steel rings. <<case "Western clothing">> is back in short braids that emerge from under $possessive cowboy hat. <<case "body oil">> is permed, and back in short braids secured by scrunchies in noxious 80's pastel colors. <<case "a slutty qipao">> is back in short braids secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in short braids secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is back in short braids secured by leather ties. <<case "shibari rope">> is back in short braids secured with rope. <<case "restrictive latex" "a latex catsuit">> is braided and sticks out of holes in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is back in short braids secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is in short braids secured by paracord. <<case "harem gauze">> is gathered into short braids wrapped in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice short, slutty tails. <<case "a chattel habit">> is in short braids that are hidden by $possessive cowl. <<case "a penitent nuns habit">> is in short braids hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is combed into short braids set low at the nape of $possessive neck. <<case "slutty business attire">> is gathered into short braids by gaudy gold clasps. <<case "nice business attire">> is gathered into short braids so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is gathered into short braids by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in short braids, but they're hidden by $possessive modest garb. <<default>> is in short braids. <</switch>> <<else>> is too short to be kept in proper braids, so it's simply combed back. <</if>> <<elseif $activeSlave.hStyle == "dreadlocks">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is in dreadlocks, reaching down almost to the ground. <<case "chains">> is in long dreadlocks, connected to $possessive chains at the ends by steel rings. <<case "Western clothing">> is long dreadlocks that emerge from under $possessive cowboy hat. <<case "body oil">> is in dreadlocks, some tied with bands of colored string. <<case "a slutty qipao">> is in long dreadlocks, some with jade ornaments etched with images of <<ImageDesc>> <<case "a kimono">> is in long dreadlocks, some in ivory rings carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is in long dreadlocks some in simple leather ties. <<case "shibari rope">> is in long dreadlocks, some simply tied with string. <<case "restrictive latex" "a latex catsuit">> is in dreadlocks, poking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is in dreadlocks, some in ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is in floor-length dreadlocks, some secured by paracord. <<case "harem gauze">> is in dreadlocks wrapped in golden thread that almost reach the ground. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in dreadlocks that nearly reach the ground. <<case "a chattel habit">> is in long dreadlocks that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in long dreadlocks, barely hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is in dreadlocks, spreading out in many directions and almost reaching the ground. <<case "slutty business attire">> is in floor-length dreadlocks, some in gaudy gold clasps. <<case "nice business attire">> is in dreadlocks and tied up so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in floor-length dreadlocks, some in white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in long dreadlocks, barely hidden by $possessive modest garb. <<default>> is in dreadlocks that almost reach the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is in dreadlocks, reaching past $possessive shoulders. <<case "chains">> is in dreadlocks, attached to $possessive chains at the ends by steel rings. <<case "Western clothing">> is back in dreadlocks that emerge from under $possessive cowboy hat. <<case "body oil">> is in dreadlocks, some tied with bands of colored string. <<case "a slutty qipao">> is in dreadlocks, some with jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in dreadlocks, some in ivory rings carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is in dreadlocks, some tied with simple leather ties. <<case "shibari rope">> is in dreadlocks, some simply tied with string. <<case "restrictive latex" "a latex catsuit">> is in dreadlocks, sticking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is in dreadlocks, some in hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is in dreadlocks, some tied with paracord. <<case "harem gauze">> is in dreadlocks, some tied with golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in dreadlocks. <<case "a chattel habit">> is in dreadlocks that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is in dreadlocks, but they're hidden by $possessive surplice. <<case "a slave gown">> is in dreadlocks, spreading out in many directions. <<case "a halter top dress">> is in dreadlocks, spreading out in many directions. <<case "a ball gown">> is in dreadlocks, spreading out in many directions. <<case "slutty business attire">> is in dreadlocks, some in gaudy gold clasps. <<case "nice business attire">> is in dreadlocks and tied so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in dreadlocks, some with white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in dreadlocks, but they're hidden by $possessive modest garb. <<default>> is in dreadlocks. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is in short dreadlocks, some in simple hairties. <<case "chains">> is in short dreadlocks, some with steel rings. <<case "Western clothing">> is in short dreadlocks that emerge from under $possessive cowboy hat. <<case "body oil">> is in short dreadlocks, some tied with colored string. <<case "a slutty qipao">> is in short dreadlocks, some in jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is in short dreadlocks, some with ivory rings carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is in short dreadlocks, some with simple leather ties. <<case "shibari rope">> is in dreadlocks, some simply tied with string. <<case "restrictive latex" "a latex catsuit">> is in short dreadlocks, sticking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is in short dreadlocks, some in hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is in short dreadlocks, some tied with paracord. <<case "harem gauze">> is in short dreadlocks, some in golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in short, dreadlocks. <<case "a chattel habit">> is in short dreadlocks that are hidden by $possessive cowl. <<case "a penitent nuns habit">> is in short dreadlocks hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is in short dreadlocks, spreading around $possessive head. <<case "slutty business attire">> is in short dreadlocks, some with gaudy gold clasps. <<case "nice business attire">> is in short dreadlocks and tied so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in short dreadlocks, some in white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is in short dreadlocks, but they're hidden by $possessive modest garb. <<default>> is in short dreadlocks. <</switch>> <<else>> is too short to be kept in proper dreadlocks, so it's simply combed back. <</if>> <<elseif $activeSlave.hStyle == "curls">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is curled into long flowing locks, reaching down almost to the ground. <<case "chains">> is curled into long flowing locks secured by steel rings. <<case "Western clothing">> is curled into long flowing locks that emerge from under $possessive cowboy hat. <<case "body oil">> is curled into long flowing locks, tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is curled into long flowing locks secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is curled into long flowing locks secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is curled into long flowing locks secured by leather ties. <<case "shibari rope">> is in long dreadlocks, some simply tied with string. <<case "restrictive latex" "a latex catsuit">> is curled into long flowing locks poking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is curled into long flowing locks secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is curled into floor-length locks secured by paracord. <<case "harem gauze">> is curled into long flowing locks wrapped in golden thread that almost reach the ground. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in long curly locks that nearly reach the ground. <<case "a chattel habit">> is curled into long flowing locks that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is curled into long flowing locks barely hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is curled into long flowing locks, almost reaching the ground. <<case "slutty business attire">> is curled into long flowing locks, secured by gaudy gold clasps. <<case "nice business attire">> is curled into long flowing locks and tied up so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is curled into long flowing locks, secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is curled into long flowing locks, barely hidden by $possessive modest garb. <<default>> is curled into long flowing locks that almost reach the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is curled into long locks, reaching past $possessive shoulders. <<case "chains">> is curled into long locks, secured by steel rings. <<case "Western clothing">> is curled into long locks that emerge from under $possessive cowboy hat. <<case "body oil">> is curled into long locks, tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is curled into long locks, secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is curled into long locks, secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is curled into long locks, secured by leather ties. <<case "shibari rope">> is curled into long locks, tied back with rope. <<case "restrictive latex" "a latex catsuit">> is curled into long locks, sticking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is curled into long locks secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is curled into long locks, secured by paracord. <<case "harem gauze">> is curled into long locks, secured by golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in long curled locks. <<case "a chattel habit">> is curled into long locks that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is curled into long locks, but they're hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is curled into long locks, reaching past $possessive shoulders. <<case "slutty business attire">> is curled into long locks secured by gaudy gold clasps. <<case "nice business attire">> is curled into long locks and tied so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is curled into long locks, secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is curled into long locks, but they're hidden by $possessive modest garb. <<default>> is curled into long locks. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is curled into short locks secured by simple hairties. <<case "chains">> is curled into short locks secured by steel rings. <<case "Western clothing">> is curled into short locks that emerge from under $possessive cowboy hat. <<case "body oil">> is curled into short locks tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is curled into short locks secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is curled into short locks secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is curled into short locks secured by leather ties. <<case "shibari rope">> is curled into short locks tied with rope. <<case "restrictive latex" "a latex catsuit">> is curled into short locks, but they are covered by $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is curled into short locks secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is curled into short locks secured by paracord. <<case "harem gauze">> is curled into short locks secured by golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in short, curled locks. <<case "a chattel habit">> is curled into short locks that are hidden by $possessive cowl. <<case "a penitent nuns habit">> is curled into short locks hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is curled into short locks. <<case "slutty business attire">> is curled into short locks secured by gaudy gold clasps. <<case "nice business attire">> is curled into short locks and tied so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is curled into short locks secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is curled into short locks, but they're hidden by $possessive modest garb. <<default>> is curled into short locks. <</switch>> <<else>> is in short curls. <</if>> <<elseif $activeSlave.hStyle == "permed">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is permed into long flowing curls, reaching down almost to the ground. <<case "chains">> is permed into long flowing curls secured by steel rings. <<case "Western clothing">> is permed into long flowing curls that emerge from under $possessive cowboy hat. <<case "body oil">> is permed into long flowing curls, tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is permed into long flowing curls secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is permed into long flowing curls secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is permed into long flowing curls secured by leather ties. <<case "shibari rope">> is in long dreadcurls, some simply tied with string. <<case "restrictive latex" "a latex catsuit">> is permed into long flowing curls poking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is permed into long flowing curls secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is permed into floor-length curls secured by paracord. <<case "harem gauze">> is permed into long flowing curls wrapped in golden thread that almost reach the ground. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in long curly curls that nearly reach the ground. <<case "a chattel habit">> is permed into long flowing curls that flow out from under $possessive cowl. <<case "a penitent nuns habit">> is permed into long flowing curls barely hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is permed into long flowing curls, almost reaching the ground. <<case "slutty business attire">> is permed into long flowing curls, secured by gaudy gold clasps. <<case "nice business attire">> is permed into long flowing curls and tied up so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is permed into long flowing curls, secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is permed, barely hidden by $possessive modest garb. <<default>> is permed, $possessive curls almost reach the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is permed, $possessive curls reaching past $possessive shoulders. <<case "chains">> is permed into long locks, secured by steel rings. <<case "Western clothing">> is permed into long locks that emerge from under $possessive cowboy hat. <<case "body oil">> is permed and tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is permed into long locks, secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is permed and secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is permed and secured by leather ties. <<case "shibari rope">> is permed and tied back with rope. <<case "restrictive latex" "a latex catsuit">> is permed, sticking out of a hole in $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is permed and secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is permed and secured by paracord. <<case "harem gauze">> is permed and secured by golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in long permed curls. <<case "a chattel habit">> is permed, $possessive curls flow out from under $possessive cowl. <<case "a penitent nuns habit">> is permed, but they're hidden by $possessive surplice. <<case "a slave gown" "a halter top dress" "a ball gown">> is permed, reaching past $possessive shoulders. <<case "slutty business attire">> is permed and secured by gaudy gold clasps. <<case "nice business attire">> is permed and tied so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is permed, secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is permed, $possessive long curls are hidden by $possessive modest garb. <<default>> is permed. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> is permed into short waves secured by simple hairties. <<case "chains">> is permed into short waves secured by steel rings. <<case "Western clothing">> is permed into short waves that emerge from under $possessive cowboy hat. <<case "body oil">> is permed into short waves tied with a scrunchy in noxious 80's pastel colors. <<case "a slutty qipao">> is permed into short waves secured by jade rings etched with images of <<ImageDesc>> <<case "a kimono">> is permed into short waves secured by ivory combs carved with images of <<ImageDesc>> <<case "uncomfortable straps">> is permed into short waves secured by leather ties. <<case "shibari rope">> is permed into short waves tied with rope. <<case "restrictive latex" "a latex catsuit">> is permed into short waves, but they are covered by $possessive latex hood. <<case "a string bikini" "cutoffs and a t-shirt" "a schoolgirl outfit" "a slutty maid outfit">> is permed into short waves secured by hair ties with plastic buttons, bearing the garish inscription <<InscripDesc>> <<case "battledress">> is permed into short waves secured by paracord. <<case "harem gauze">> is permed into short waves secured by golden thread. <<case "a fallen nuns habit">> sticks sacrilegiously out of $possessive surplice in short, permed waves. <<case "a chattel habit">> is permed into short waves that are hidden by $possessive cowl. <<case "a penitent nuns habit">> is permed into short waves hidden by $possessive surplice. <<case "a slave gown" "a ball gown" "a halter top dress">> is permed into short waves. <<case "slutty business attire">> is permed into short waves secured by gaudy gold clasps. <<case "nice business attire">> is permed into short waves and tied so $pronoun can do business without them getting in the way. <<case "a slutty nurse outfit" "a nice nurse outfit">> is permed into short waves secured by white cloth ties emblazoned with little red crosses. <<case "a hijab and abaya">> is permed into short waves, but they're hidden by $possessive modest garb. <<default>> is permed into short waves. <</switch>> <<else>> is permed into short curls. <</if>> <<elseif $activeSlave.hStyle == "luxurious">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "chains">> is in luxurious layered locks, caught painfully in $possessive chains here and there. <<case "body oil">> is in luxurious layered locks flowing gorgeously down $possessive back. <<case "a slutty qipao">> is in luxurious layered locks flowing gorgeously down $possessive back, ornamented with little silver talismans here and there. <<case "restrictive latex" "a latex catsuit">> is allowed a gap at the back of $possessive head so $possessive luxurious layered locks can escape to cascade down $possessive back. <<case "harem gauze">> is in luxurious layered locks flowing gorgeously down $possessive back, covered by a flimsy hairnet. <<case "a slave gown" "a ball gown" "a halter top dress">> is in luxurious layered locks flowing gorgeously down $possessive bare back. <<case "a kimono">> is in luxurious layered locks flowing elegantly down $possessive back, kept sensibly in place by a set of ivory hairpins. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is in luxurious layered locks but not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is in luxurious layered locks flowing gorgeously down $possessive back, decorated with little black bows here and there. <<case "conservative clothing" "nice business attire">> is in luxurious layered locks kept out of $possessive face by a couple of simple barrettes. <<case "slutty business attire">> is in luxurious layered locks kept out of $possessive face by a couple of gaudy golden barrettes. <<case "battledress" "a military uniform">> is in luxurious layered locks kept out of $possessive face by a couple of sturdy hairpins. <<case "a schoolgirl outfit">> is in luxurious layered locks kept out of $possessive face by a pastel-colored headband. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in luxurious layered locks topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> in luxurious layered locks cascading out from under a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> in luxurious layered locks, with a flower tucked behind one ear: <<FlowerDesc>> <<default>> in luxurious layered locks, cascading almost to the ground. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "body oil">> in luxurious layered locks. <<case "a slutty qipao">> is in luxurious layered locks flowing over $possessive shoulders, ornamented with little silver talismans here and there. <<case "restrictive latex" "a latex catsuit">> is allowed a gap at the back of $possessive head so $possessive luxurious layered locks can escape down $possessive back. <<case "harem gauze">> is in luxurious layered locks flowing down $possessive back, covered by a flimsy hairnet. <<case "a slave gown" "a ball gown" "a halter top dress">> in luxurious layered locks flowing gorgeously down $possessive bare back. <<case "a kimono">> in luxurious layered locks flowing elegantly down $possessive back, kept sensibly in place by a set of ivory hairpins. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> in luxurious layered locks flowing gorgeously but not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> in luxurious layered locks, decorated with a little black bow in back. <<case "conservative clothing" "nice business attire">> is in luxurious layered locks kept out of $possessive face by a couple of simple barrettes. <<case "slutty business attire">> is in luxurious layered locks kept out of $possessive face by a couple of gaudy golden barrettes. <<case "battledress" "a military uniform">> is in luxurious layered locks kept out of $possessive face by a couple of sturdy hairpins. <<case "a schoolgirl outfit">> is in luxurious layered locks kept out of $possessive face by a pastel-colored headband. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in luxurious layered locks topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> in luxurious layered locks flowing out from under a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> in luxurious layered locks tucked back by a flower, tucked behind one ear: <<FlowerDesc>> <<default>> is brushed back over $possessive shoulders. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "body oil">> is in luxuriously styled short locks. <<case "a slutty qipao">> is in luxuriously styled short locks, brushed back and ornamented with a little jade talisman. <<case "restrictive latex" "a latex catsuit">> is in luxuriously styled short locks, crammed under $possessive latex hood. <<case "harem gauze">> is in luxuriously styled short locks, covered by a flimsy hairnet. <<case "a slave gown" "a ball gown" "a halter top dress">> is in luxuriously styled short locks. <<case "a kimono">> is in luxuriously styled short locks kept sensibly in place by a set of ivory hairpins. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is in luxuriously styled short locks but not visible under $possessive modest head covering. <<case "a slutty maid outfit" "a nice maid outfit">> is in luxuriously styled short locks decorated with a little black bow in back. <<case "conservative clothing" "nice business attire">> is in luxuriously styled short locks kept out of $possessive face by simple barrette. <<case "slutty business attire">> is in luxuriously styled short locks kept out of $possessive face by a gaudy golden barrette. <<case "battledress" "a military uniform">> is in luxuriously styled short locks kept out of $possessive face by a sturdy hairpin. <<case "a schoolgirl outfit">> is in luxuriously styled short locks kept out of $possessive face by a pastel-colored headband. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in luxuriously styled short locks topped by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is in luxuriously styled short locks topped by a cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> in luxuriously styled short locks, bearing a flower tucked behind one ear: <<FlowerDesc>> <<default>> is brushed back. <</switch>> <<else>> <<switch $activeSlave.clothes>> <<case "body oil" "a military uniform" "a slave gown" "a halter top dress" "a ball gown" "conservative clothing" "nice business attire" "slutty business attire" "battledress">> is in luxuriously styled short locks. <<case "restrictive latex" "a latex catsuit">> fits under $possessive latex hood. <<case "harem gauze">> is in luxuriously styled short locks covered by a flimsy hairnet. <<case "a hijab and abaya" "a penitent nuns habit" "a fallen nuns habit" "a chattel habit">> is in luxuriously styled short locks but not visible under $possessive modest head covering. <<case "a slutty nurse outfit" "a nice nurse outfit">> is in luxuriously styled short locks secured by a traditional white nurse's headband, complete with red cross. <<case "Western clothing">> is in luxuriously styled short locks under $possessive cowboy hat. <<case "a string bikini" "attractive lingerie" "attractive lingerie for a pregnant woman">> is in luxuriously styled short locks, and $pronoun has a flower tucked behind one ear: <<FlowerDesc>> <<default>> is luxuriously styled and layered. <</switch>> <</if>> <<elseif $activeSlave.hStyle == "strip">> <<if $activeSlave.hLength > 100>> <<switch $activeSlave.clothes>> <<case "chains" "uncomfortable straps" "restrictive latex" "shibari ropes" "a latex catsuit">> is shaved into a strip that runs down $possessive back and ends attached to a steel ring. <<case "Western clothing">> is shaved into a strip under $possessive cowboy hat, and cascades magnificently down $possessive back. <<case "body oil">> is shaved into a permed strip which cascades magnificently down $possessive back. <<case "a kimono">> is shaved into a strip that cascades magnificently down $possessive back, with scores of little ivory talismans woven into it. <<case "a slutty qipao">> is shaved into a strip that cascades magnificently down $possessive back, with scores of traditional Chinese coins woven into it. <<case "battledress">> is shaved into a strip that cascades down $possessive back, and has been stiffened so it won't get in $possessive way. <<case "harem gauze">> is shaved into a strip that cascades magnificently down $possessive back, with scores of little golden bells woven into it. <<case "a fallen nuns habit">> is shaved into a strip that cascades magnificently down $possessive back, with scores of little silver crosses hanging from it. <<case "a chattel habit">> is shaved into a strip that cascades out from under $possessive cowl, and has scores of little golden ornaments in lewd shapes woven into it. <<case "a penitent nuns habit">> is shaved into a strip that falls down $possessive back, decently covered by an extra-long surplice. <<case "a schoolgirl outfit">> is shaved into a strip that cascades magnificently down $possessive back, with scores of tiny pastel bows woven into it. <<case "a slutty maid outfit" "a nice maid outfit">> is shaved into a strip that cascades magnificently down $possessive back, with scores of tiny black bows woven into it. <<case "a hijab and abaya">> is shaved into a strip that's hidden by $possessive head covering. <<default>> is shaved into a strip atop $possessive head that cascades magnificently down $possessive back. <</switch>> <<elseif $activeSlave.hLength > 30>> <<switch $activeSlave.clothes>> <<case "chains" "uncomfortable straps" "restrictive latex" "shibari ropes" "a latex catsuit">> is shaved into a long braided strip that ends attached to a steel ring. <<case "Western clothing">> is shaved into a strip under $possessive cowboy hat, but is visible as a party in the back. <<case "body oil">> is shaved into a permed strip which falls down $possessive back. <<case "a kimono">> is shaved into a long braided strip with little ivory talismans woven into it. <<case "a slutty qipao">> is shaved into a long braided strip with traditional Chinese coins woven into it. <<case "battledress" "a military uniform">> is shaved into a long braided strip. <<case "harem gauze">> is shaved into a long braided strip with little golden bells woven into it. <<case "a fallen nuns habit">> is shaved into a long braided strip with little silver crosses hanging from it. <<case "a chattel habit">> is shaved into a long strip that sticks out from under $possessive cowl, and has little golden ornaments in lewd shapes woven into it. <<case "a penitent nuns habit">> is shaved into a long braided strip, decently covered by a roomy surplice. <<case "a schoolgirl outfit">> is shaved into a long braided strip with tiny pastel bows woven into it. <<case "a slutty maid outfit" "a nice maid outfit">> is shaved into a long braided strip with tiny black bows woven into it. <<case "a hijab and abaya">> is shaved into a long braided strip, hidden by $possessive head covering. <<default>> is shaved into a long braided strip. <</switch>> <<elseif $activeSlave.hLength > 10>> <<switch $activeSlave.clothes>> <<case "chains" "uncomfortable straps" "restrictive latex" "shibari ropes" "a latex catsuit">> is shaved into a strip down the middle of $possessive head that ends attached to a steel ring. <<case "Western clothing">> is shaved into a strip under $possessive cowboy hat, with nothing but a little rat tail visible in back. <<case "body oil">> is shaved into a permed strip. <<case "a kimono">> is shaved into a strip down the middle of $possessive head with little ivory talismans woven into it. <<case "a slutty qipao">> is shaved into a strip down the middle of $possessive head with traditional Chinese coins woven into it. <<case "battledress" "a military uniform">> is shaved into a strip down the middle of $possessive head. <<case "harem gauze">> is shaved into a strip down the middle of $possessive head with little golden bells woven into it. <<case "a fallen nuns habit">> is shaved into a strip down the middle of $possessive head with little silver crosses hanging from it. <<case "a chattel habit">> is shaved into a strip with little golden ornaments in lewd shapes woven into it. <<case "a penitent nuns habit">> is shaved into a strip down the middle of $possessive head, decently covered by $possessive surplice. <<case "a schoolgirl outfit">> is shaved into a strip down the middle of $possessive head with tiny pastel bows woven into it. <<case "a slutty maid outfit" "a nice maid outfit">> is shaved into a strip down the middle of $possessive head with tiny black bows woven into it. <<case "a hijab and abaya">> is shaved into a strip down the middle of $possessive head, hidden by $possessive head covering. <<default>> is shaved into a strip. <</switch>> <<else>> is shaved into a mohawk. <</if>> <</if>> <</if>> <</widget>> <<widget "FlowerDesc">> <<if $activeSlave.dick > 0 && $activeSlave.balls == 0>> a white orchid, its black stamen stiffly erect. <<elseif $activeSlave.dick > 0>> a morning glory, light around its edges with a puckered pink center. <<elseif $activeSlave.addict > 5>> a large poppy, its pod glistening with black opiate juice. <<elseif $activeSlave.vagina == 0>> a white lily, pure and unspoiled. <<elseif $activeSlave.energy > 95>> a flamboyant tiger lily. <<elseif $activeSlave.actualAge > 40>> an elegant, mature orchid. <<elseif $activeSlave.actualAge < 20>> an innocent little peony. <<elseif $activeSlave.boobs > 2000>> a huge round sunflower. <<else>> a nice red rose. <</if>> <</widget>> <<widget "ImageDesc">> <<if $activeSlave.dick > 0 && $activeSlave.balls == 0>> sodomy <<elseif $activeSlave.dick > 0>> stiff pricks <<elseif $activeSlave.oralSkill >= 100>> oral sex <<elseif $activeSlave.boobs > 1000>> boobs <<else>> pussies <</if>>. <</widget>> <<widget "InscripDesc">> "I <3 <<if ($activeSlave.fetishKnown == 1)>> <<switch $activeSlave.fetish>> <<case "buttslut">> Buttsex <<case "cumslut">> Cum <<case "masochist" "sadist">> Rape <<case "dom">> Topping <<case "sub">> Subbing <<case "boobs">> Tits <<case "pregnancy">> Sperm <<default>> <<if ($activeSlave.energy > 95)>> Cock <<elseif ($PC.title == 0)>> Mistress <<else>> Master <</if>> <</switch>> <<elseif ($PC.title == 0)>> Mistress <<else>> Master <</if>>!" <</widget>> <<widget "LipsDescription">> <<SlavePronouns $activeSlave>> $possessiveCap @@color:pink;face is <<switch $activeSlave.faceShape>> <<case "masculine">> <<if $activeSlave.face < -2>> so ugly and masculine that $possessive designation as a slave girl is a mockery. <<elseif $activeSlave.face is -2>> ugly and masculine, making $possessive a poor slave girl by appearance. <<elseif $activeSlave.face is -1>> unattractively masculine. <<elseif ($activeSlave.face == 0)>> masculine, but not entirely unappealing. <<elseif ($activeSlave.face == 1)>> attractively masculine. <<elseif ($activeSlave.face is 2)>> quite handsome in a masculine way. <<else>> the height of masculine handsomeness. <</if>> <<case "androgynous">> <<if $activeSlave.face < -2>> disturbingly androgynous and terribly ugly. <<elseif $activeSlave.face is -2>> ugly and androgynous; $pronoun has neither masculine or feminine appeal. <<elseif $activeSlave.face is -1>> strangely androgynous, and rather unattractive. <<elseif ($activeSlave.face == 0)>> strangely androgynous. <<elseif ($activeSlave.face == 1)>> androgynous, and attractive enough that this ambiguity is interesting. <<elseif ($activeSlave.face is 2)>> gorgeously androgynous in a complex way that captures the eye. <<else>> so gorgeously androgynous that $pronoun tends to induce sexual confusion. <</if>> <<case "cute">> <<if $activeSlave.face < -2>> very ugly, yet somehow cute; $pronoun's so unattractive that $pronoun inspires pity. <<elseif $activeSlave.face is -2>> ugly, but cute, with a pitiable appeal. <<elseif $activeSlave.face is -1>> not attractive, but is appealingly cute. <<elseif ($activeSlave.face == 0)>> merely average, but is appealingly cute. <<elseif ($activeSlave.face == 1)>> both attractive and appealingly cute. <<elseif ($activeSlave.face is 2)>> beautiful, yet somehow also approachably cute. <<else>> an impossibly perfect combination of beauty and girl-next-door cuteness. <</if>> <<case "sensual">> <<if $activeSlave.face < -2>> very ugly, yet naturally slutty, promising a decent fuck despite its appearance. <<elseif $activeSlave.face is -2>> ugly, but also slutty, promising a good fuck despite its appearance. <<elseif $activeSlave.face is -1>> not attractive, but it has a certain sensual appeal. <<elseif ($activeSlave.face == 0)>> merely average, but undeniably sensual. <<elseif ($activeSlave.face == 1)>> both attractive and naturally sultry. <<elseif ($activeSlave.face is 2)>> both beautiful and sultry, bringing sex to mind naturally. <<else>> very beautiful in a consummately sexual way. <</if>> <<case "exotic">> <<if $activeSlave.face < -2>> very ugly and unusual, a real tragedy in flesh. <<elseif $activeSlave.face is -2>> ugly and unusual, a real misfortune. <<elseif $activeSlave.face is -1>> unattractive, and distinctive in its unattractiveness. <<elseif ($activeSlave.face == 0)>> quite average, but not uninteresting. <<elseif ($activeSlave.face == 1)>> attractive in an exotic and interesting way. <<elseif ($activeSlave.face is 2)>> exotic and beautiful, capable of catching the eye and keeping its gaze. <<else>> very beautiful and exotic, almost to the point of alien fascination. <</if>> <<default>> <<if $activeSlave.face < -2>> very ugly. <<elseif $activeSlave.face is -2>> quite ugly. <<elseif $activeSlave.face is -1>> unattractive. <<elseif ($activeSlave.face == 0)>> average and conventionally feminine. <<elseif ($activeSlave.face == 1)>> conventionally attractive. <<elseif ($activeSlave.face is 2)>> conventionally beautiful. <<else>> the height of conventional feminine beauty. <</if>> <</switch>>@@ <<if $activeSlave.fuckdoll > 0>> However, <<if $activeSlave.face < -1>> it's hard to see this past the suit, since its face is padded to make $object seem less ugly. <<elseif $activeSlave.face < 1>> it's hard to see this past the suit, since its face is shaped to make $object seem prettier. <<else>> the suit obscures all but the shape of $object pretty face. <</if>> <<else>> <<if $activeSlave.markings is "beauty mark">> <<if $activeSlave.face < -2>> It bears a severely disfiguring, discolored mark. <<elseif $activeSlave.face is -2>> It bears a couple of unsightly moles. <<elseif $activeSlave.face is -1>> It bears an ugly mole. <<elseif ($activeSlave.face == 0)>> $pronounCap has a distinctive beauty mark. <<elseif ($activeSlave.face == 1)>> $pronounCap has a nice beauty mark. <<elseif ($activeSlave.face is 2)>> $pronounCap has a beauty mark that adds to $possessive distinctiveness. <<else>> $pronounCap has a beauty mark that makes $possessive really memorable. <</if>> <</if>> <</if>> $pronounCap has <<if $activeSlave.lips <= 10>> thin, unattractive lips. <<elseif $activeSlave.lips <= 20>> normal lips. <<elseif $activeSlave.lips <= 40>> full, attractive lips. <<elseif $activeSlave.lips <= 70>> plump, beestung lips. <<elseif $activeSlave.lips <= 95>> huge, obviously augmented lips. <<else>> a facepussy: $possessive lips are so huge that they're always a bit parted in the middle, forming a moist, inviting hole<<if $PC.dick ==1>> for cock<</if>>. <</if>> <<if $activeSlave.fuckdoll > 0>> $possessiveCap mouth is held open by the suit's oral insert. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting > 1)>> <<if ($dairyFeedersSetting > 1)>> $possessiveCap milking machine has a phallus a long way down $possessive throat to rehydrate $object. <<else>> $pronounCap's got $possessive mouth wrapped around a phallus provided by $possessive milking machine, and is sucking it off for hydration. <</if>> <<else>> <<if canTalk($activeSlave)>> <<if $activeSlave.lips > 70>> $pronounCap can barely enunciate past $possessive dick-sucking lips; '<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>' comes out as '<<if def $PC.customTitleLisp>>$PC.customTitleLisp<<elseif $PC.title != 0>>Mathter<<else>>Mithtreth<</if>>.' <</if>> <</if>> <<if $activeSlave.teeth != "normal">> <<if $activeSlave.teeth is "crooked">> $possessiveCap teeth are crooked, detracting from $possessive beauty whenever $pronoun opens $possessive mouth. <<elseif $activeSlave.teeth is "straightening braces">> $pronounCap has braces, <<if $activeSlave.visualAge > 35>> an amusing sight on such a mature woman. <<elseif $activeSlave.visualAge > 14>> a cute look on such a young girl. <<else>> and occasionally looks preoccupied with discomfort as they straighten $possessive teeth. <</if>> <<elseif $activeSlave.teeth is "cosmetic braces">> $pronounCap's wearing braces despite $possessive straight teeth, <<if $activeSlave.visualAge > 35>> an amusing sight on such a mature woman. <<elseif $activeSlave.visualAge > 14>> a cute look on such a young girl. <<else>> just for appearances. <</if>> <<elseif $activeSlave.teeth is "removable">> $possessiveCap teeth have been removed and replaced with high-quality dentures. It's difficult to tell anything's unusual until you take them out for gummy oral sex. <<elseif $activeSlave.teeth is "pointy">> $possessiveCap teeth have been replaced with realistic implants that mimic the dentition of a carnivore. $possessiveCap smiles are frightening, and $pronoun can bare them to become truly terrifying. <</if>> <</if>> <</if>> <<if $activeSlave.fuckdoll > 0>> <<if $PC.dick == 1>>Sticking a dick<<else>>Sliding a dildo<</if>> into $possessive <<if $activeSlave.lips > 95>>facepussy<<else>>mouth insert<</if>> <<if $activeSlave.fuckdoll <= 45>> mostly results in gagging. <<else>> offers its user a selection of delightful face hole massage options. <</if>> <<else>> $pronounCap is <<if $activeSlave.oralSkill >= 100>>an @@color:aquamarine;oral sex master.@@ <<elseif $activeSlave.oralSkill > 60>>an @@color:aquamarine;expert at oral.@@ <<elseif $activeSlave.oralSkill > 30>>@@color:aquamarine;orally skilled.@@ <<elseif $activeSlave.oralSkill > 10>>@@color:aquamarine;capable of basic oral sex.@@ <<else>>unskilled at oral sex. <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $showBodyMods == 1>> <<if $activeSlave.makeup == 1>> $pronounCap's wearing minimal makeup. <<elseif $activeSlave.makeup is 2>> $pronounCap's wearing expensive, luxurious makeup. <<elseif $activeSlave.makeup is 3>> $possessiveCap makeup is color-coordinated with $possessive $activeSlave.hColor hair. <<elseif $activeSlave.makeup == 11>> $pronounCap's wearing expensive, metallic makeup. <<elseif $activeSlave.makeup == 12>> $possessiveCap metallic makeup is color-coordinated with $possessive $activeSlave.hColor hair. <<elseif $activeSlave.makeup is 4>> $pronounCap's wearing stereotypical, garish streetwalker makeup. <</if>> <<if $activeSlave.lipsPiercing == 1>> $pronounCap has a simple lip piercing. <<elseif $activeSlave.lipsPiercing is 2>> $possessiveCap lips are heavily pierced. <</if>> <<if $activeSlave.lipsTat != 0>> <<switch $activeSlave.lipsTat>> <<case "tribal patterns">> $possessiveCap face is tattooed with tribal patterns that make $possessive seem mysterious and exotic. <<case "flowers">> $possessiveCap minimal facial tattoos are limited to a cute flower on each cheek. <<case "Asian art">> $pronounCap has a blossoming cherry tree tattooed on one temple; its pink petals are dappled across $possessive cheeks. <<case "advertisements">> $possessiveCap facial tattoos include 'Facefuck Me' across $possessive forehead, 'Cock' to the left of $possessive mouth, and 'Sucker' to the right of it. <<case "rude words">> $possessiveCap facial tattoos include 'Sex Slave' across $possessive forehead, 'Face' to the left of $possessive mouth, and 'Pussy' to the right of it. <<case "permanent makeup">> <<if $activeSlave.makeup == 0>> $possessiveCap face appears to bear very heavy, slutty makeup, but on closer inspection, the makeup is actually tattooed on. <</if>> <<case "degradation">> '$desc Slave' is tattooed across $possessive forehead. <<case "counting">> <<if $activeSlave.oralCount == 0>> There is a horizontal line tattooed across the $possessive cheeks for symbols counting $possessive oral totals to be inscribed under, once $pronoun has some. <<elseif $activeSlave.oralCount < 500>> Tiny dick, pussy, and anus symbols are tattooed all over $possessive cheeks, one for every thing $pronoun's sucked. <<else>> Tiny dick, pussy, and anus symbols are tattooed all over $possessive face, forehead, and neck, one for every thing $pronoun's sucked. <</if>> <<case "bovine patterns">> $possessiveCap face is subtly tattooed to give $possessive a somewhat bovine appearance. <</switch>> <</if>> <<if $activeSlave.tonguePiercing == 1>> $possessiveCap tongue bears a single stud, so oral sex with $possessive is a bit more fun. <<elseif $activeSlave.tonguePiercing is 2>> $possessiveCap tongue bears a row of studs, offering thorough stimulation to anyone $pronoun blows. <</if>> <</if>> <<if canTalk($activeSlave)>> <<if $activeSlave.lips <= 70>> <<if $activeSlave.lipsPiercing is 2>> $pronounCap can barely enunciate past $possessive piercings; '<<if def $PC.customTitle>>$PC.customTitle<<elseif $PC.title != 0>>Master<<else>>Mistress<</if>>' comes out as '<<if def $PC.customTitleLisp>>$PC.customTitleLisp<<elseif $PC.title != 0>>Mathter<<else>>Mithtreth<</if>>.' <</if>> <</if>> <</if>> <</if>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $activeSlave.fuckdoll == 0>> <<switch $activeSlave.collar>> <<case "uncomfortable leather">> $pronounCap is wearing an uncomfortable leather collar with a useful steel ring in front. <<case "dildo gag">> $pronounCap is wearing a sturdy leather collar that continues up to restrict $possessive jaw as well. It holds a ring gag in $possessive mouth, into which slots a formidable inward-facing dildo that reaches down $possessive throat. It can be removed to facefuck $object. <<case "massive dildo gag">> $pronounCap is wearing a sturdy leather collar that continues up to restrict $possessive jaw as well. It acts as an anchor for a enormous inward-facing dildo that reaches deep down $possessive throat. The sheer size of the phallus forces $possessive mouth as wide as it will go and considerably bulges $possessive throat. Fortunatly for $object, it is designed to allow $object to be able to breath through $possessive nose; though when removed, the poor girl finds <<print $object>>self incapable of closing $possessive mouth for some time. <<case "tight steel">> $pronounCap is wearing a tight steel collar whose restricting metal touch $pronoun cannot escape. <<case "preg biometrics">> <<if $activeSlave.pregSource > 0>> <<for $j to 0; $j < $slaves.length; $j++>> <<if $activeSlave.pregSource is $slaves[$j].ID>> <<set $daddy to $slaves[$j].slaveName>> <</if>> <</for>> <</if>> <<set $pregCollar to either(1, 2, 3)>> $pronounCap is wearing a heavy metal collar with a digital display; it currently reads: "<<if $pregCollar == 1>><<if $activeSlave.pregType >= 50>>ERROR? random(322,344) bab<<if $activeSlave.pregType > 1>>ies<<else>>y<</if>> on board!<<elseif $activeSlave.preg == 0>>Knock me up!<<elseif $activeSlave.preg > 0>><<if $activeSlave.pregType == 0>>1<<else>>$activeSlave.pregType<</if>> bab<<if $activeSlave.pregType > 1>>ies<<else>>y<</if>> on board!<<else>>I'm infertile!<</if>><<elseif $pregCollar == 2>><<if $activeSlave.pregType >= 50>><<print 31-$activeSlave.preg>><<else>><<print 35-$activeSlave.preg>><</if>> weeks till I pop!<<else>><<if $activeSlave.pregSource == -1>>Womb claimed by my master!<<elseif $activeSlave.preg == 0>>Womb available!<<elseif ($activeSlave.pregSource == 2 || $activeSlave.pregSource == 0) and $activeSlave.preg > 0>>Baby made by slutting around!<<elseif $activeSlave.pregSource > 0>>Womb claimed by $daddy!<<else>>Put a baby in me today!<</if>><</if>>" <<case "shock punishment">> $pronounCap is wearing a utilitarian collar with a punishment device at $possessive throat to administer agonizing shocks. <<case "neck corset">> $pronounCap is wearing a fitted leather neck corset that constricts $possessive breathing and holds $possessive head rigidly upright. <<case "stylish leather">> $pronounCap is wearing a stylish leather collar buckled in the front, a classic accessory for the well behaved slave. <<case "satin choker">> $pronounCap is wearing a steel reinforced black satin choker that is at once elegant and functional. <<case "silk ribbon">> $pronounCap is wearing a tight silk ribbon fitted to $possessive neck, it is oddly elegant. <<case "heavy gold">> $pronounCap is wearing a heavy gold collar, an outstanding bit of ostentation. <<case "pretty jewelry">> $pronounCap is wearing a pretty slave collar that can almost be mistaken for jewelry. <<case "leather with cowbell">> $pronounCap is wearing a comfortable leather collar with a small steel cowbell at $possessive throat. <<case "bowtie">> $pronounCap is wearing the collar from a white formal shirt, and a black bowtie, though these conceal an actual collar that works perfectly well for restraint. <<case "ancient Egyptian">> $pronounCap is wearing a beautiful golden wesekh, a collar that spreads from $possessive neck out onto both shoulders and down $possessive front. <<case "cruel retirement counter" "nice retirement counter">> $pronounCap is wearing a <<if $activeSlave.collar is "cruel retirement counter">>heavy metal collar<<else>>nice collar, almost a necklace,<</if>> with a small numerical display reading <<if $activeSlave.indenture > -1>> $activeSlave.indenture, the number of weeks left in $possessive indenture. <<elseif $SexMilestoneRetirement == 1>> <<print $retirementSex - ($activeSlave.oralCount + $activeSlave.analCount + $activeSlave.vaginalCount + $activeSlave.penetrativeCount + $activeSlave.mammaryCount)>>, for the number of cocks between $possessive and $possessive freedom. <<elseif $MilkMilestoneRetirement == 1>> <<print $retirementMilk - $activeSlave.milk>>, for the amount of milk $pronoun has yet to give. <<elseif $BirthsMilestoneRetirement == 1>> <<print $retirementBirths - $activeSlave.births>>, for the number of pregnancies still between $possessive and freedom. <<elseif $KillsMilestoneRetirement == 1>> <<print $retirementKills - $activeSlave.pitKills>>, for the number of lives still between $possessive and freedom. <<elseif $PhysicalRetirementAgePolicy != 1>> <<print (365*($retirementAge-$activeSlave.actualAge))+(7*(52-$activeSlave.birthWeek))>>, the number of days of sexual slavery ahead of $possessive. <<else>> <<print (365*($retirementAge-$activeSlave.physicalAge))+(7*(52-$activeSlave.birthWeek))>>, the number of days of sexual slavery ahead of $possessive. <</if>> <</switch>> <<if ($activeSlave.relationship > 4)>> <<if ($activeSlave.amp != 1)>> $pronounCap has a simple gold band on the little finger of $possessive left hand. <<else>> $pronounCap has a simple gold band on a length of chain around $possessive neck. <</if>> <<elseif ($activeSlave.relationship is -3)>> <<if ($activeSlave.amp != 1)>> $pronounCap has a simple steel band on the little finger of $possessive left hand. <<else>> $pronounCap has a simple steel band on a length of cord around $possessive neck. <</if>> <</if>> <</if>> <</if>> <</widget>> <<widget "BellyDescription">> <<SlavePronouns $activeSlave>> <<set $bellyAccessory to $activeSlave.bellyAccessory>> <<if $activeSlave.preg > 30>> <<if $activeSlave.pregType == 100>> The only thing keeping $possessive from bursting are $possessive belly restraints, <<elseif $activeSlave.pregType >= 20>> $pronounCap is close to bursting, <<elseif $activeSlave.pregType >= 10>> $pronounCap is dangerously pregnant, <<else>> $pronounCap is enormously pregnant, <</if>> <<if $activeSlave.pregType == 100>> <<if $activeSlave.amp == 1>> with no arms and legs $pronoun is effectively a giant womb. <<else>> and $possessive thinning arms and legs rest helpless atop $possessive supermassive belly. <</if>> <<elseif $activeSlave.physicalAge <= 3>> <<if $activeSlave.pregType >= 20>> and $pronoun is nearly spherical. $possessiveCap toddlerish form is utterly dwarfed by her pregnancy, all $pronoun can do is lay on top of it. Despite being taut, her belly visibly bulges and squirms from all the babies writhing within her. $possessiveCap womb is so full you can see the babies forced up against her uterus, even the slightest provocation could cause her to burst. $pronounCap requires multiple slaves to move her bulk when $pronoun must go somewhere. <<elseif $activeSlave.pregType >= 10>> and $possessive belly pins $possessive to the ground. $possessiveCap toddlerish form is dwarfed by $possessive pregnancy, and try as $pronoun might $pronoun can not even drag the massive thing. $pronounCap is so pregnant you can barely see the babies within $possessive bulging $possessive stomach.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<else>> and $possessive toddlerish body is absolutely filled by $possessive womb. $pronounCap can barely move herself and resembles an over inflated blow-up doll. <</if>> <<elseif $activeSlave.physicalAge <= 12>> <<if $activeSlave.pregType >= 20>> and $pronoun is more belly than girl. $possessiveCap absolutely gigantic, overfilled womb keeps $possessive pinned to the ground. $possessiveCap belly visibly bulges and squirms from all the babies within $possessive. $pronounCap is so full you can see the babies forced up against the walls of $possessive uterus. $possessiveCap skin is so taut that even the slightest provocation could cause $possessive to burst.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<elseif $activeSlave.pregType >= 10>> and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can barely see the babies bulging out of $possessive stomach. <<else>> and $possessive massive, drum-taut belly dominates $possessive poor little frame. <</if>> <<elseif $activeSlave.height >= 185>> <<if $activeSlave.pregType >= 20>> but $possessive tall frame barely keeps $possessive grotesque, splitting belly off the ground. Despite being taut, $possessive belly visibly bulges and squirms from all the babies writhing within $possessive. $possessiveCap womb is so full you can see the babies forced up against $possessive uterus, even the slightest provocation could cause $possessive to burst. <<elseif $activeSlave.pregType >= 10>> but $possessive tall frame barely bears $possessive obscene, drum-taut belly. $pronounCap is so pregnant you can barely see the babies within $possessive bulging $possessive stomach. <<else>> but $possessive tall frame bears $possessive massive, drum-taut belly well. <</if>> <<elseif $activeSlave.height < 150>> <<if $activeSlave.pregType >= 20>> and $pronoun is more belly than girl. $possessiveCap absolutely gigantic, overfilled womb keeps $possessive pinned to the ground. $possessiveCap belly visibly bulges and squirms from all the babies within $possessive. $pronounCap is so full you can see the babies forced up against the walls of $possessive uterus. $possessiveCap skin is so taut that even the slightest provocation could cause $possessive to burst.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<elseif $activeSlave.pregType >= 10>> and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can barely see the babies bulging out of $possessive stomach. <<else>> and $possessive massive, drum-taut belly dominates $possessive poor little frame. <</if>> <<elseif $activeSlave.muscles > 30>> <<if $activeSlave.pregType >= 20>> and $pronoun can barely hold $possessive overfilled belly upright. $possessiveCap enormous brood greatly protrudes $possessive belly covering it in writhing bulges where they are forced up against her uterus. While her strong body spares her from the fear of bursting, it does nothing to stop everyone from seeing how many children $pronoun's having. <<elseif $activeSlave.pregType >= 10>> and $possessive fit body allows $possessive to carry $possessive obscene belly without too much trouble. $possessiveCap large brood gently bulges $possessive belly. <<else>> and $possessive fit body bears $possessive massive, drum-taut belly well. <</if>> <<else>> <<if $activeSlave.pregType >= 20>> and $pronoun is more belly than girl. $possessiveCap gigantic, overfilled womb keeps $possessive pinned to the ground. $possessiveCap belly visibly bulges and squirms from all the babies within $possessive. $pronounCap is so full you can see the babies forced up against the walls of $possessive womb through $possessive taut skin. $possessiveCap bulgy belly is at risk of rupturing.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<elseif $activeSlave.pregType >= 10>> and $pronoun can barely function with $possessive enormous belly. $possessiveCap womb is so full you can see the babies gently bulging the walls of $possessive uterus. <<else>> and $possessive massive, drum-taut belly dominates $possessive frame. <</if>> <</if>> <<elseif $activeSlave.preg > 20>> <<if $activeSlave.pregType >= 20>> $pronounCap is dangerously pregnant, <<elseif $activeSlave.pregType >= 10>> $pronounCap is obscenely pregnant, <<else>> $pronounCap is heavily pregnant, <</if>> <<if $activeSlave.physicalAge <= 3>> <<if $activeSlave.pregType >= 20>> and $possessive hugely distended belly is bigger than $pronoun is.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<elseif $activeSlave.pregType >= 10>> and $possessive bulging belly is as big as $pronoun is.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<else>> and $possessive swollen belly is nearly as big as $possessive toddlerish body. <</if>> <<elseif $activeSlave.physicalAge <= 12>> <<if $activeSlave.pregType >= 20>> and $possessive hugely distended belly is nearly as big as $pronoun is.<<if $activeSlave.amp == 0>> $pronounCap requires assistance to get to $possessive feet, and uses a wheeled stand to support $possessive pregnancy when $pronoun must walk anywhere.<</if>> <<elseif $activeSlave.pregType >= 10>> and $possessive bulging belly looks absolutely huge on $possessive poor little frame. <<else>> and $possessive swollen belly dominates $possessive poor little frame. <</if>> <<elseif $activeSlave.height >= 185>> <<if $activeSlave.pregType >= 20>> but $possessive tall frame keeps $possessive huge belly off the ground. <<elseif $activeSlave.pregType >= 10>> but $possessive tall frame lets $possessive keep $possessive posture despite $possessive large belly. <<else>> but $possessive tall frame bears $possessive swollen belly well. <</if>> <<elseif $activeSlave.height < 150>> <<if $activeSlave.pregType >= 20>> and $possessive hugely distended belly is nearly as big as $pronoun is. <<elseif $activeSlave.pregType >= 10>> and $possessive bulging belly looks absolutely huge on $possessive poor little frame. <<else>> and $possessive swollen belly dominates $possessive poor little frame. <</if>> <<elseif $activeSlave.muscles > 30>> <<if $activeSlave.pregType >= 20>> and $possessive fit body allows $possessive to carry $possessive huge belly with only the occasional accident. <<elseif $activeSlave.pregType >= 10>> and $possessive fit body carries $possessive bulging belly without much trouble. <<else>> and $possessive fit body bears $possessive swollen belly well. <</if>> <<else>> <<if $activeSlave.pregType >= 20>> and $possessive hugely distended belly juts far out from $possessive front and widely from $possessive sides. <<elseif $activeSlave.pregType >= 10>> and $possessive large bulging belly draws all attention away from the rest of $possessive. <<else>> and $possessive swollen belly dominates $possessive frame. <</if>> <</if>> <<elseif $activeSlave.preg > 9>> $pronounCap is visibly pregnant, <<if $activeSlave.physicalAge <= 3>> <<if $activeSlave.pregType >= 20>> $possessiveCap huge belly resembles an over-inflated beach ball compared to $possessive toddlerish frame. It bulges out from $possessive sides considerably. <<elseif $activeSlave.pregType >= 10>> and it looks like $pronoun is ready to birth triplets due to $possessive toddlerish body. <<else>> and $possessive swelling belly looks obscene on $possessive toddlerish body. <</if>> <<elseif $activeSlave.physicalAge <= 10>> <<if $activeSlave.pregType >= 20>> $possessiveCap huge belly resembles an over-inflated beach ball compared to $possessive tiny frame. <<elseif $activeSlave.pregType >= 10>> and $possessive swelling belly appears full term on $possessive tiny frame. <<else>> and $possessive swelling belly already looks huge on $possessive tiny frame. <</if>> <<elseif $activeSlave.weight > 95>> <<if $activeSlave.pregType >= 20>> $possessive fat belly considerably juts out with $possessive rapid growth. <<elseif $activeSlave.pregType >= 10>> but $pronoun's sufficiently overweight that $pronoun appears to merely be carrying a large gut. <<else>> but $pronoun's sufficiently overweight that it's not obvious. <</if>> <<elseif $activeSlave.height < 150>> <<if $activeSlave.pregType >= 20>> $possessiveCap huge belly resembles an over-inflated beach ball compared to $possessive tiny frame. <<elseif $activeSlave.pregType >= 10>> and $possessive swelling belly appears full term on $possessive tiny frame. <<else>> and $possessive swelling belly already looks huge on $possessive tiny frame. <</if>> <<elseif $activeSlave.weight < -10>> <<if $activeSlave.pregType >= 20>> $possessive enormous stomach juts far forward and lewdly extends far past $possessive sides. <<elseif $activeSlave.pregType >= 10>> $possessive bulging stomach fills $possessive thin frame obscenely. <<else>> $possessive thin form making $possessive swelling belly very obvious. <</if>> <<else>> <<if $activeSlave.pregType >= 20>> and $possessive obvious pregnancy appears full-term. <<elseif $activeSlave.pregType >= 10>> $possessive distended stomach makes $possessive look to be in $possessive last trimester. <<else>> the life growing within $possessive beginning to swell $possessive belly. <<if $activeSlave.bellySag > 0>> $possessiveCap new pregnancy reduces the amount of sag to $possessive overstretched middle. <</if>> <</if>> <</if>> <<elseif $activeSlave.bellySag == -1>> $possessiveCap stretchmark streaked stomach sags massively after being distended for so long. <<elseif ($activeSlave.assignment is "work in the dairy") && ($dairyFeedersSetting + $dairyStimulatorsSetting > 2)>> $possessiveCap stomach is painfully distended from the nutrition and hydration being pumped down $possessive throat and up $possessive butt. <<elseif $activeSlave.weight > 95>> <<if $activeSlave.muscles > 95>> $possessiveCap massive abs are shrouded by a thick layer of fat. <<elseif $activeSlave.muscles > 30>> $possessiveCap abs are hidden behind a big soft belly. <<else>> $pronounCap carries a lot of $possessive weight on $possessive stomach; $pronoun's so fat that $possessive navel is buried in a fold of $possessive belly. <</if>> <<if $activeSlave.bellySag > 1>> $possessiveCap fat belly sags considerably from being stretched so long and so full by $possessive many children. <<elseif $activeSlave.physicalAge > 35>> $possessiveCap fat belly is starting to show its age, and sags a little. <</if>> <<elseif $activeSlave.weight > 30>> <<if $activeSlave.muscles > 95>> $possessiveCap abs are big enough that they're visible behind $possessive well-padded belly. <<elseif $activeSlave.muscles > 5>> $pronounCap's fit enough to carry $possessive extra weight well, leaving $possessive chubby belly appealingly soft. <<else>> $possessiveCap chubby belly is nice and soft, hiding the curve of $possessive waist a little. <</if>> <<if $activeSlave.bellySag > 1>> However, it sags considerably from being stretched so long and so full by $possessive many children. <</if>> <<elseif $activeSlave.weight > 10>> <<if $activeSlave.muscles > 30>> $possessiveCap ripped abs are only slightly blurred by feminine belly fat. <<elseif $activeSlave.muscles > 5>> $pronounCap's fit yet soft, with $possessive toned abs complementing $possessive feminine belly. <<else>> $possessiveCap belly is pleasantly soft. <</if>> <<if $activeSlave.bellySag > 1>> However, it sags considerably from being stretched so long and so full by $possessive many children. <</if>> <<elseif $activeSlave.weight >= -10>> <<if $activeSlave.muscles > 30>> $possessiveCap abs ripple as $pronoun moves, each one well-defined under the skin of $possessive midsection. <<elseif $activeSlave.muscles > 5>> $pronounCap has a nicely toned midsection, promising good stamina. <<else>> $pronounCap has a feminine belly with just a hint of softness. <</if>> <<if $activeSlave.bellySag > 1>> However, it sags considerably from being stretched so long and so full by $possessive many children. <</if>> <<elseif $activeSlave.weight >= -30>> <<if $activeSlave.muscles > 30>> <<if $activeSlave.bellySag > 1>> $possessiveCap once ridiculous abs sag considerably from being stretched so long and so full by $possessive many children. <<else>> $possessiveCap ridiculous abs ripple as $pronoun moves, every single striation and vein clearly visible under the skin of $possessive midsection. <</if>> <<elseif $activeSlave.muscles > 5>> <<if $activeSlave.bellySag > 1>> $possessiveCap once toned belly sags considerably from being stretched so long and so full by $possessive many children. <<else>> $possessiveCap thin midsection highlights $possessive abs, showing off a hint of a six-pack. <</if>> <<else>> <<if $activeSlave.bellySag > 1>> $pronounCap once had a model's midsection, however, it now sags considerably from being stretched out for so long and so largely by $possessive many children. <<else>> $pronounCap has a model's midsection, without any hint of belly or musculature. <</if>> <</if>> <<else>> <<if $activeSlave.muscles > 5>> <<if $activeSlave.bellySag > 1>> $pronounCap has abs, but they sag considerably from being stretched so long and so full by $possessive many children. <<else>> $possessiveCap abs are clearly visible, stretched over $possessive emaciated frame as they are. <</if>> <<else>> <<if $activeSlave.bellySag > 1>> $possessiveCap emaciated belly is extremely stretched; the product of being too pregnant for too long. <<else>> $possessiveCap emaciated belly is perfectly flat. <</if>> <</if>> <</if>> <<if $activeSlave.inflation == 0 && $activeSlave.preg < 10 && $activeSlave.bellyImplant < 2000>> <<if $activeSlave.bellySag > 1 || $activeSlave.bellySag == -1>> <<if $arcologies[0].FSRepopulationFocus != "unset">> While most societies would find $possessive sagging, pregnancy ruined stomach unattractive, your repopulation focused one merely sees $possessive as a breeder between pregnancies. <<else>> Society finds $possessive pregnancy ruined stomach very unattractive. <</if>> <</if>> <</if>> <<if $activeSlave.mpreg == 1 && $activeSlave.preg lt 10>> $pronounCap has a slight curve to $possessive abdomen, unusual for a male slave. <</if>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $surgeryDescription == 0>> <<if (($activeSlave.preg > 30) and ($activeSlave.pregType >= 20))>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's titanic pregnant belly makes a mockery of $possessive corset; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's titanic pregnant belly makes a mockery of $possessive corset; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's titanic bulging pregnant belly is allowed to bulge out of a huge hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater far from $possessive titanic bulging pregnant belly. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's titanic bulging pregnant belly adds even more strain to $possessive struggling oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive titanic bulging pregnant belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater rests atop $possessive titanic bulging pregnant belly. <<else>> $activeSlave.slaveName's blouse rests atop $possessive titanic bulging pregnant belly. <</if>> <<case "chains">> $activeSlave.slaveName's titanic bulging pregnant belly is tightly wrapped with chains causing its occupants to shift angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive titanic bulging pregnant belly so $pronoun has left the bottom buttons open leaving $possessive squirming belly hanging out. <<case "body oil">> $activeSlave.slaveName's titanic bulging belly is covered in a sheen of stretch-mark defeating oil. <<case "a succubus outfit">> $activeSlave.slaveName's titanic pregnant belly sticks out of $possessive corset, which is laced above it as best $pronoun can manage. <<case "a toga">> $activeSlave.slaveName's titanic bulging pregnant belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive titanic bulging pregnant belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive titanic bulging pregnant belly causing its occupants to shift angrily. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's titanic bulging pregnant belly is tightly bound with rope, its occupants shift angrily under them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's titanic bulging pregnant belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's titanic bulging pregnant belly hangs out $possessive open tunic and shirt <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt lies half open, since $possessive titanic bulging pregnant belly has triumphed over $possessive buttons. <<else>> $activeSlave.slaveName's tunic and shirt lie half open, since $possessive titanic bulging pregnant belly has triumphed over $possessive buttons. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's titanic bulging pregnant belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's oversized breasts keep $possessive scrub top far from $possessive titanic bulging pregnant belly. <<else>> $activeSlave.slaveName's scrub top rests meekly atop $possessive titanic bulging pregnant belly. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress has burst trying to contain $possessive titanic bulging pregnant belly leaving it hanging out the hole it made. <<case "attractive lingerie">> $activeSlave.slaveName's titanic bulging pregnant belly completely hides $possessive lacy g-string. <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's titanic bulging pregnant belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive overfilled squirming belly. <<case "a maternity dress">> $activeSlave.slaveName's titanic bulging pregnant belly strains $possessive dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive abnormal pregnancy. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive titanic bulging pregnant belly, but the outfit includes a thin white blouse that rests meekly atop $possessive squirming stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress was almost conservative, but it has burst open trying to contain $possessive titanic bulging pregnant belly. $possessiveCap squirming belly hangs out the hole it made, its sides peeking out from behind $possessive apron. <<case "a fallen nun's habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive titanic bulging pregnant belly. <<case "a penitent nun's habit">> $activeSlave.slaveName's titanic bulging pregnant belly stretches $possessive habit. The coarse cloth aggravates $possessive sensitive stretched skin, doubly so, as $possessive distress causes $possessive babies to begin squirming. <<case "a string bikini">> $activeSlave.slaveName's titanic bulging pregnant belly hides most of $possessive string bikini. <<case "clubslut netting">> $activeSlave.slaveName's titanic bulging pregnant belly has burst through $possessive clubslut netting. <<ecase "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rests atop $possessive titanic bulging pregnant belly displaying that this cheerleader has fucked the entire school. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's titanic bulging pregnant belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive titanic bulging pregnant belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive titanic bulging pregnant belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's titanic bulging pregnant belly really shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses $possessive titanic bulging pregnant belly. <<case "slutty business attire">> $activeSlave.slaveName's titanic bulging pregnant stomach hangs out the front of $possessive suit jacket and blouse as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's titanic bulging pregnant belly hangs out the front of $possessive specially tailored blouse and jacket as there is no way for her to close them. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive titanic bulging pregnancy. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive titanic bulging pregnant belly, displaying $possessive popped navel and all the movement $possessive squirming babies make. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive titanic bulging pregnant belly leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rests atop $possessive titanic bulging pregnant belly, showing off the result of $possessive promiscuity. <<case "a kimono">> $activeSlave.slaveName's titanic bulging pregnant belly parts the front of $possessive kimono leaving it gracefully hanging to its' sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya has split down the sides trying to contain $possessive titanic bulging pregnant belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive titanic bulging pregnant belly leaving $object looking like someone who fucked half the country. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress has been torn open by $possessive titanic bulging pregnant belly. $possessiveCap squirming belly hangs out the hole it made. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown has been retailored to expose $possessive titanic bulging pregnant belly while still maintaining its' beauty. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that constantly gets shifted around by $possessive squirming babies. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive titanic bulging pregnant belly. $possessiveCap squirming belly protrudes from the various rips and tears that have begun appearing in the fabric. <<case "a chattel habit">> The strip of cloth running down $possessive front is forced to one side by $possessive titanic bulging pregnant belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy has burst trying to contain $possessive titanic bulging pregnant belly leaving it hanging out the hole it made. <<default>> <</switch>> <<if $arcologies[0].FSRepopulationFocus != "unset">> Your breeding focused society finds $possessive titanic bulging pregnant belly the epitome of fashion. <<elseif $arcologies[0].FSRestart != "unset">> Your eugenics obsessed society sees $possessive titanic bulging pregnant belly as the epitome of degeneracy. <</if>> <<elseif ((($activeSlave.preg > 20) and ($activeSlave.pregType >= 20)) or (($activeSlave.preg > 30) and ($activeSlave.pregType >= 10)))>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's gigantic pregnant belly is strains $possessive corset, threatening to burst it; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's gigantic pregnant belly is strains $possessive corset, threatening to burst it; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's gigantic pregnant belly is allowed to bulge out of a huge hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater far from $possessive gigantic pregnant belly. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's gigantic pregnant belly adds even more strain to $possessive struggling oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's gigantic pregnant belly parts $possessive poorly covered breasts. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive gigantic pregnant belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater rests atop $possessive gigantic pregnant belly. <<else>> $activeSlave.slaveName's blouse rests atop $possessive gigantic pregnant belly. <</if>> <<case "chains">> $activeSlave.slaveName's gigantic pregnant belly is tightly wrapped with chains causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive gigantic pregnant belly so $pronoun has left the bottom buttons open leaving $possessive belly hanging out. <<case "a succubus outfit">> $activeSlave.slaveName's gigantic pregnant belly sticks out of $possessive corset, which is laced above and below it as best $pronoun can manage. The laces are straining to hold together. <<case "body oil")>> $activeSlave.slaveName's gigantic belly is covered in a sheen of stretch-mark defeating oil. <<case "a toga")>> $activeSlave.slaveName's gigantic pregnant belly parts $possessive toga. <<case "a slutty qipao")>> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive gigantic pregnant belly. <<case "uncomfortable straps")>> $activeSlave.slaveName's slave outfit's straining straps press into $possessive gigantic pregnant belly causing flesh to spill out the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes")>> $activeSlave.slaveName's gigantic pregnant belly is tightly bound with rope, flesh angrily bulges from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's gigantic pregnant belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform")>> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's gigantic pregnant belly hangs out $possessive open tunic and shirt <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt lies half open, since $possessive gigantic pregnant belly has triumphed over $possessive buttons. <<else>> $activeSlave.slaveName's tunic and shirt lie half open, since $possessive gigantic pregnant belly has triumphed over $possessive buttons. <</if>> <<case "a nice nurse outfit")>> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's gigantic pregnant belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's oversized breasts keep $possessive scrub top far from $possessive gigantic pregnant belly. <<else>> $activeSlave.slaveName's scrub top rests meekly atop $possessive gigantic pregnant belly. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress has burst trying to contain $possessive gigantic pregnant belly leaving it hanging out the hole it made. <<case "attractive lingerie">> $activeSlave.slaveName's gigantic pregnant belly completely hides $possessive lacy g-string. <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's gigantic pregnant belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive overfilled belly. <<case "a maternity dress">> $activeSlave.slaveName's gigantic pregnant belly fills $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive full pregnancy. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive gigantic pregnant belly, but the outfit includes a thin white blouse that rests meekly atop $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it barely contains $possessive gigantic pregnant belly. Its seams strain to hold back $possessive overfilled womb. <<case "a fallen nun's habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive gigantic pregnant belly. <<case "a penitent nun's habit">> $activeSlave.slaveName's gigantic pregnant belly completely fills $possessive habit. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's gigantic pregnant belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's gigantic pregnant belly has burst through $possessive clubslut netting. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rests atop $possessive gigantic pregnant belly displaying that this cheerleader is a massive slut. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's gigantic pregnant belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive gigantic pregnant belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive gigantic pregnant belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's gigantic pregnant belly really shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses $possessive gigantic pregnant belly. <<case "slutty business attire">> $activeSlave.slaveName's gigantic pregnant stomach hangs out the front of $possessive suit jacket and blouse as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's gigantic pregnant belly hangs out the front of $possessive specially tailored blouse and jacket as there is no way for her to close them. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive gigantic pregnancy. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive gigantic pregnant belly, displaying $possessive popped navel and any movement $possessive babies make. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive gigantic pregnant belly leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rests atop $possessive gigantic pregnant belly, leaving $possessive looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's gigantic pregnant belly parts the front of $possessive kimono leaving it gracefully covering it's sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is straining to contain $possessive gigantic pregnant belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive gigantic pregnant belly leaving $possessive looking like someone who fucked all the locals. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is strained by $possessive gigantic pregnant belly. $possessiveCap popped navel prominently pokes through the front of $possessive dress as its' seams strain to hold together. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown, while tailored, strains to contain $possessive gigantic pregnant belly. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive gigantic pregnant belly. The material tightly clings to $possessive popped navel and strains to hold together. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive gigantic pregnant belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy has burst trying to contain $possessive gigantic pregnant belly leaving it hanging out the hole it made. <<default>> <</switch>> <<if $arcologies[0].FSRepopulationFocus != "unset">> Your breeding focused society finds $possessive gigantic pregnant belly extremely fashionable. <<elseif $arcologies[0].FSRestart != "unset">> Your eugenics obsessed society views $possessive gigantic bulging pregnant belly as complete degeneracy. <</if>> <<elseif ((($activeSlave.preg > 10) and ($activeSlave.pregType >= 20)) or (($activeSlave.preg > 20) and ($activeSlave.pregType >= 10)) or ($activeSlave.preg > 30) or ($activeSlave.bellyAccessory is "a huge empathy belly") or ($activeSlave.bellyAccessory is "a large empathy belly"))>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's huge pregnant belly is tightly compressed by $possessive corset; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's huge pregnant belly is compressed by $possessive corset; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's huge pregnant belly is allowed to bulge out of a huge hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive huge pregnant belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's huge pregnant belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive huge pregnant belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled taut by $possessive huge pregnant belly, the bottom of which can be seen peeking out from underneath. $possessiveCap popped navel forms a small tent in the material. <<else>> $activeSlave.slaveName's blouse is pulled taut by $possessive huge pregnant belly, the bottom of which can be seen peeking out from underneath. $possessiveCap popped navel forms a small tent in $possessive shirt. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's huge pregnant belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive heavy belly. <<case "a maternity dress">> $activeSlave.slaveName's huge pregnant belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive full pregnancy. <<case "chains">> $activeSlave.slaveName's huge pregnant belly is tightly wrapped with chains, causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive huge pregnant belly so $pronoun has left the bottom buttons open, leaving $possessive belly hanging out. <<case "body oil">> $activeSlave.slaveName's huge belly is covered in a sheen of special oil meant to prevent stretch marks. <<case "a toga">> $activeSlave.slaveName's huge pregnant belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive huge pregnant belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive huge pregnant belly, causing flesh to spill out of the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's huge pregnant belly is tightly bound with ropes; flesh bulges angrily from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's huge pregnant belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's huge pregnant belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt strains to contain $possessive huge pregnant belly. <<else>> $activeSlave.slaveName's huge pregnant belly greatly stretches $possessive uniform's jacket. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's huge pregnant belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive huge pregnant belly hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive huge pregnant belly hangs out from under $possessive top, obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress barely clings to $possessive huge pregnant belly. <<case "attractive lingerie">> $activeSlave.slaveName's huge pregnant belly completely hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's huge pregnant belly sticks out of $possessive corset, which is laced above and below it as best $pronoun can manage. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive huge pregnant belly, but the outfit includes a thin white blouse that conceals only the upper part of $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative. It covers $possessive huge pregnant belly completely, though it can not hide $possessive popped navel, poking through the front. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive huge pregnant belly. <<case "a penitent nuns habit">> $pronounCap looks absolutely blasphemous in a habit with such a huge pregnant belly. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's huge pregnant belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched to the breaking point by $possessive huge pregnant belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rides up $possessive huge pregnant belly, covering only the top of it while leaving the rest on display to show how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's huge pregnant belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive huge pregnant belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive huge pregnant belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's huge pregnant belly really shows what a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses $possessive huge pregnant belly. <<case "slutty business attire">> $activeSlave.slaveName's huge pregnant stomach hangs out the front of $possessive suit jacket and blouse, as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's huge pregnant belly strains $possessive specially tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive huge pregnancy. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive huge pregnant belly, displaying $possessive popped navel and any movement $possessive babies make. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive huge pregnant belly, leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive huge pregnant belly, leaving $possessive looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's huge pregnant belly parts the front of $possessive kimono, leaving it gracefully covering its sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled by $possessive huge pregnant belly. <<case "battledress">> $activeSlave.slaveName's tank top barely even covers the top of $possessive huge pregnant belly, leaving $possessive looking like someone who had too much fun on shore leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive huge pregnant belly. $possessiveCap popped navel prominently pokes through its front. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive huge pregnant belly, but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive huge pregnant belly. The material tightly clings to $possessive popped navel. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive huge pregnant belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched to tearing by $possessive huge pregnant belly. $possessiveCap popped navel prominently pokes through the material. <<default>> <</switch>> <<if $arcologies[0].FSRepopulationFocus != "unset">> Your breeding focused society finds $possessive huge pregnant belly very fashionable. <<elseif $activeSlave.breedingMark == 1 && $activeSlave.pregSource == -1>> Your eugenics obsessed society is pleased that $pronoun is ripe with your child. <<elseif $arcologies[0].FSRestart != "unset">> Your eugenics obsessed society finds $possessive huge pregnant belly absolutely disgusting. <</if>> <<elseif ((($activeSlave.preg > 0) and ($activeSlave.pregType >= 20)) or (($activeSlave.preg > 10) and ($activeSlave.pregType >= 10)) or ($activeSlave.preg > 20) or ($activeSlave.bellyAccessory is "a medium empathy belly"))>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's pregnant belly is tightly compressed by $possessive corset; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's pregnant belly is compressed by $possessive corset; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's pregnant belly is allowed to bulge out of a hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive pregnant belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's pregnant belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive pregnant belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled taut by $possessive pregnant belly. $possessiveCap popped navel forms a small tent in material. <<else>> $activeSlave.slaveName's blouse is pulled taut by $possessive pregnant belly. $possessiveCap popped navel forms a small tent in $possessive shirt. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's pregnant belly hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive heavy belly. <<case "a maternity dress">> $activeSlave.slaveName's pregnant belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive growing pregnancy. <<case "chains">> $activeSlave.slaveName's pregnant belly is tightly wrapped with chains, causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive pregnant belly, so $pronoun has left the bottom buttons open leaving $possessive belly hanging out. <<case "body oil">> $activeSlave.slaveName's belly is covered in a sheen of special oil meant to prevent stretch marks. <<case "a toga">> $activeSlave.slaveName's pregnant belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it only covers the top of $possessive pregnant belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive pregnant belly, causing flesh to spill out of the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's pregnant belly is tightly bound with rope; flesh bulges angrily from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's pregnant belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's pregnant belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt strains to contain $possessive pregnant belly. <<else>> $activeSlave.slaveName's pregnant belly notably distends $possessive uniform's jacket. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's pregnant belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive pregnant belly hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive pregnancy hangs out from under $possessive top, slightly obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive pregnant belly. <<case "attractive lingerie">> $activeSlave.slaveName's pregnant belly hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's pregnant belly sticks out of $possessive corset, which is laced above and below it. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive pregnant belly, but the outfit includes a thin white blouse that conceals only the top half of $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive pregnant belly completely. Though it can not hide $possessive popped navel poking through the front. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive pregnant belly. <<case "a penitent nuns habit">> $pronounCap looks absolutely blasphemous in a habit with a pregnant belly. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's pregnant belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched out by $possessive pregnant belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top covers most of $possessive pregnant belly, the bottom of which peeks out showing how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's pregnant belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive pregnant belly. <<else>> $activeSlave.slaveName's t-shirt covers only the top of $possessive pregnant belly. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's pregnant belly really shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $possessive a sensual motherly look as it carefully caresses $possessive pregnant belly. <<case "slutty business attire">> $activeSlave.slaveName's pregnant stomach strains the buttons of $possessive suit jacket and blouse. <<case "nice business attire">> $activeSlave.slaveName's pregnant belly looks good in $possessive specially tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive pregnancy. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive pregnant belly, displaying $possessive popped navel and any movement $possessive babies make. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket barely closes over $possessive pregnant belly leaving leaving its' buttons threatening to pop. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive pregnant belly, leaving $possessive looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's pregnant belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled out by $possessive pregnant belly. <<case "battledress">> $activeSlave.slaveName's tank top rides up $possessive pregnant belly leaving $possessive looking like someone who had too much fun on shore-leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive pregnant belly. $possessiveCap popped navel prominently pokes through the front of $possessive dress. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive pregnant belly but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive pregnant belly. The material tightly clings to $possessive popped navel. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive pregnant belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched out by $possessive pregnant belly. $possessiveCap popped navel prominently pokes through the material. <<default>> <</switch>> <<if $arcologies[0].FSRepopulationFocus != "unset">> Your breeding focused society finds $possessive pregnant belly fashionable. <<elseif $activeSlave.breedingMark == 1 && $activeSlave.pregSource == -1>> Your eugenics obsessed society is pleased that $pronoun is swollen with your child. <<elseif $arcologies[0].FSRestart != "unset">> Your eugenics obsessed society finds $possessive pregnant belly disgusting. <</if>> <<elseif $activeSlave.weight >= 95>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's huge gut is tightly compressed by $possessive corset, $possessive fat billows out of any gap it can find. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's huge gut is compressed by $possessive corset, $possessive fat bulges out above and below it. <<elseif ($activeSlave.bellyAccessory is "a small empathy belly")>> $activeSlave.slaveName's small empathy belly is barely noticeable over $possessive huge gut. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's fat belly is cruelly squeezed by the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive fat belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's fat belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts let $possessive fat belly hang free. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled tight over $possessive fat belly. The bottom of which peeks out from under it. <<else>> $activeSlave.slaveName's blouse is pulled tight over $possessive fat belly. The bottom of which peeks out from under it. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's fat belly is large enough to hide $possessive panties. $possessiveCap silken vest sensually frames $possessive heavy, jiggly gut. <<case "a maternity dress">> $activeSlave.slaveName's fat belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to a growing pregnancy, though it works on big, jiggly guts all the same. <<case "chains">> $activeSlave.slaveName's chains sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. <<case "western clothing">> $activeSlave.slaveName's flannel shirt strains to stay shut over $possessive fat belly, fat bulges between $possessive buttons and quite a bit of $possessive lower belly hangs out beneath $possessive shirt. <<case "body oil">> $activeSlave.slaveName's fat belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's toga can barely be pulled shut over $possessive fat belly. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it only covers the top of $possessive fat belly, allowing it to hang free. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straps sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. The straps connect to a steel ring that parts the fold concealing $possessive navel, allowing it to be seen once again. <<case "shibari ropes">> $activeSlave.slaveName's binding ropes sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's fat belly is compressed by $possessive latex suit, leaving it looking round and smooth. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's fat belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt struggles to cover $possessive fat belly. The bottom of which peeks out from under it. <<else>> $activeSlave.slaveName's fat belly is covered by $possessive uniform's jacket. The bottom of which just barely peeks out from under it. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's fat belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive fat belly freely hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive fat belly freely hangs from under $possessive top, obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive fat belly, clearly showing every fold and roll. <<case "attractive lingerie">> $activeSlave.slaveName's fat belly hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's fat belly sticks out of $possessive corset, which is laced above and below it allowing it to hang free. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive fat belly, but the outfit includes a thin white blouse that, when stretched, only manages to wrangle the top of $possessive gut. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive fat belly completely, but does nothing to hide how big it is. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is barely holding together over $possessive fat belly, causing flab to spill out from every opening. <<case "a penitent nuns habit">> $possessiveCap fat belly fills out $possessive habit. The coarse cloth has plenty of extra skin to aggravate. <<case "a string bikini">> $activeSlave.slaveName's fat belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched out by $possessive fat belly, forcing flab to poke through the mesh. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top covers most of $possessive fat belly. However, the bottom of it peeks out, obscuring $possessive skirt and a letting everyone know how badly this cheerleader needs to diet. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's fat belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt busy, allowing $possessive fat belly to hang free. <<else>> $activeSlave.slaveName's t-shirt covers only the top of $possessive fat belly, allowing it to hang mostly free and cover $possessive jeans. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName lets $possessive fat belly hang free, leaving $possessive looking particularly slutty. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, accentuating and hugging every curve of $possessive fat belly. <<case "slutty business attire">> $activeSlave.slaveName's fat belly strains the buttons of $possessive suit jacket and blouse. The bottom of which just barely peeks out from under them. <<case "nice business attire">> $activeSlave.slaveName's tailored blouse and jacket fit $possessive fat belly well, though they do nothing to hide how big $possessive gut is. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive fat belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive fat belly, displaying every fold and roll in it. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket barely closes over $possessive fat belly forcing plenty of flab out from under its bottom and between the straining buttons. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive fat belly, leaving it hanging loose and covering $possessive skirt. <<case "a kimono">> $activeSlave.slaveName's fat belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled out by $possessive fat belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive fat belly, leaving everyone wondering how this recruit passed basic. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive fat belly. Every crease, fold and roll is clearly visible within it. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive fat belly but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include long, thin chains running along $possessive fat folds. <<case "a leotard">> $activeSlave.slaveName's tight leotard tightly clings to $possessive fat belly, clearly displaying every fold and roll. <<case "a chattel habit">> The strip of cloth running down $possessive front is gently sinks into $possessive fat belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched out by $possessive fat belly. $possessiveCap flab juts out around its edges and it does nothing to hide $possessive folds and rolls. <<default>> <</switch>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> Your sleek, slim society finds $possessive bloated body unsightly. <</if>> <<elseif ((($activeSlave.preg > 0) and ($activeSlave.pregType >= 10)) or ($activeSlave.preg > 10) or ($activeSlave.bellyAccessory is "a small empathy belly"))>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's growing belly is tightly compressed by $possessive corset causing $object distress. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's growing belly is compressed by $possessive corset making $possessive uncomfortable. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's growing pregnancy will soon require $object to be switched into a suit with a hole to let her belly out. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive growing belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's growing belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive growing belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater bulges with $possessive growing belly. <<else>> $activeSlave.slaveName's blouse bulges with $possessive growing belly. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's growing belly rests above $possessive silken panties. $possessiveCap silken vest sensually frames $possessive swelling belly. <<case "a maternity dress">> $activeSlave.slaveName's growing belly is noticeable under $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive growing pregnancy. <<case "chains">> $activeSlave.slaveName's growing belly is tightly wrapped with chains. <<case "western clothing">> $activeSlave.slaveName's flannel shirt bulges with $possessive growing belly. <<case "body oil">> $activeSlave.slaveName's growing belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's growing belly gently bulges under $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. The front is pushed out by $possessive growing belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive growing belly. <<case "shibari ropes">> $activeSlave.slaveName's growing belly is tightly bound with rope, flesh bulges from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's growing belly greatly bulges under $possessive latex suit. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's growing belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's undershirt covers $possessive growing belly. <<else>> $activeSlave.slaveName's uniform covers $possessive growing belly. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's growing belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive growing belly is completely exposed. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, it covers $possessive growing belly completely. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive growing belly. <<case "attractive lingerie">> $activeSlave.slaveName's growing belly rests above $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's pregnant belly peeks out of $possessive corset, which is laced above and below it. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress is slightly distended by $possessive growing belly. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive growing belly completely. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset struggles to hold $possessive growing belly. <<case "a penitent nuns habit">> $activeSlave.slaveName's habit gently bulges from $possessive growing belly. The coarse cloth aggravates $possessive sensitive skin. <<case "a string bikini">> $activeSlave.slaveName's growing belly juts out between the strings of $possessive bikini. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting clings to $possessive growing belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top gently bulges from $possessive growing belly displaying how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's growing belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive growing belly. <<else>> $activeSlave.slaveName's t-shirt bulges with $possessive growing belly. The bottom of which is beginning to peek from under $possessive T-shirt. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's growing belly shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual look as it carefully caresses $possessive growing belly. <<case "slutty business attire">> $activeSlave.slaveName's growing belly bulges $possessive suit jacket and blouse. It peeks out from under their bottom slightly. <<case "nice business attire">> $activeSlave.slaveName's growing belly bulges under $possessive tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive growing pregnancy. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive growing belly, displaying $possessive ripening body. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket bulges with $possessive growing belly, which can be seen peeking out from underneath. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse bulges with $possessive growing belly. It peeks out from the bottom leaving $possessive looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's growing belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya bulges with $possessive growing belly. <<case "battledress">> $activeSlave.slaveName's tank top covers the top of $possessive growing belly leaving $possessive looking like someone who had too much fun on shore-leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress bulges with $possessive growing belly. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to draw attention to $possessive growing pregnancy. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests across $possessive growing belly. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off $possessive growing belly. <<case "a chattel habit">> The strip of cloth running down $possessive front is pushed out by $possessive growing belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy bulges with $possessive growing belly. <<default>> <</switch>> <<if $arcologies[0].FSRepopulationFocus != "unset">> Your breeding focused society finds a developing pregnancy very fashionable. <<elseif $activeSlave.breedingMark == 1 && $activeSlave.pregSource == -1>> Your eugenics obsessed society is pleased that $pronoun is swelling with your child. <<elseif $arcologies[0].FSRestart != "unset">> Your eugenics obsessed society finds $possessive developing pregnancy insulting. <</if>> <<elseif $activeSlave.weight >= 30>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's chubby stomach is tightly compressed by $possessive corset, $possessive pudge bulges out of any gap it can find. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's chubby stomach is compressed by $possessive corset, $possessive pudge bulges out above and below it. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's chubby belly is tightly squeezed by the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive chubby belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's chubby belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive chubby belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater bulges with $possessive chubby belly. <<else>> $activeSlave.slaveName's blouse bulges with $possessive chubby belly. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's chubby belly rests above $possessive silken panties, barely hanging over the top of them. $possessiveCap silken vest sensually frames $possessive soft stomach. <<case "a maternity dress">> $activeSlave.slaveName's chubby belly is noticeable under $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive pudgy belly. <<case "chains">> $activeSlave.slaveName's chains sink into $possessive chubby belly, making noticeable folds in $possessive sides. <<case "western clothing">> $activeSlave.slaveName's flannel shirt bulges with $possessive chubby belly. <<case "body oil">> $activeSlave.slaveName's chubby belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's toga conceals $possessive chubby belly. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. The front is pushed out by $possessive chubby belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straps sink into $possessive chubby belly, making noticeable folds in $possessive sides. The straps connect to a steel ring pulled into the flesh around $possessive navel. <<case "shibari ropes">> $activeSlave.slaveName's binding ropes sink into $possessive chubby belly, making noticeable folds in $possessive sides. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's chubby belly in quite noticeable under $possessive latex suit, though any folds $pronoun might have are smoothed out by it. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's chubby belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's undershirt covers $possessive chubby belly. The bottom of which just barely peeks out from under it. <<else>> $activeSlave.slaveName's uniform covers $possessive chubby belly. The bottom of which just barely peeks out from under it. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's chubby belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive chubby belly is completely exposed and allowed to hang over the waist of $possessive pants. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, it covers $possessive chubby belly completely; though it does hide the top of $possessive pants. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive chubby belly, clearly showing every fold and roll. <<case "attractive lingerie">> $activeSlave.slaveName's chubby belly rests above $possessive lacy g-string, concealing the top of it. <<case "a succubus outfit">> $activeSlave.slaveName's chubby belly peeks out of $possessive corset, which is laced above and below it to allow it to hang free. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress is slightly distended by $possessive chubby belly. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive chubby belly completely. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset compresses $possessive chubby belly forcing pudge to spill out from under it. <<case "a penitent nuns habit">> $activeSlave.slaveName's habit gently bulges from $possessive chubby belly. The coarse cloth takes advantage of the extra surface area. <<case "a string bikini">> $activeSlave.slaveName's chubby belly hangs between the strings of $possessive bikini. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting clings to $possessive chubby belly, gently forcing pudge through the mesh. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top frequently rides up $possessive chubby belly, letting it hang loose and hide the waist of $possessive skirt. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's chubby belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt busy, allowing $possessive chubby belly to openly jiggle. <<else>> $activeSlave.slaveName's t-shirt covers most of $possessive chubby belly. The bottom of which peeks out from under $possessive shirt as it hangs over the waist of $possessive jeans. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's chubby belly is allowed to openly jiggle, making $object look particularly slutty. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, accentuating and hugging every curve of $possessive chubby belly. <<case "slutty business attire">> $activeSlave.slaveName's chubby belly fills out $possessive suit jacket and blouse. It peeks out from under their bottom slightly. <<case "nice business attire">> $activeSlave.slaveName's chubby belly fills out $possessive tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive chubby belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive chubby belly, displaying every fold and roll in it. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket bulges with $possessive chubby belly, which can be seen peeking out from underneath as it hangs over $possessive waist of $possessive pants. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse bulges with $possessive chubby belly. It peeks out from the bottom as it hangs over the waist of $possessive skirt. <<case "a kimono">> $activeSlave.slaveName's chubby belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya bulges from $possessive chubby belly. <<case "battledress">> $activeSlave.slaveName's tank top covers the top of $possessive chubby belly leaving $possessive looking like someone who had has been lazy lately. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive chubby belly. Every crease, fold and roll is clearly visible within it. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to draw attention to $possessive chubby belly. <<case "slutty jewelry")>> $activeSlave.slaveName's bangles include a long thin chain that rests across $possessive chubby belly, just over $possessive forming rolls. <<case "a leotard">> $activeSlave.slaveName's tight leotard clings to $possessive chubby belly, clearly displaying every fold and roll. <<case "a chattel habit">> The strip of cloth running down $possessive front is pushed out by $possessive chubby belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched by $possessive chubby belly. It does nothing to hide $possessive folds and rolls. <<default>> <</switch>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> Your sleek, slim society finds $possessive flabby body unsightly. <</if>> <</if>> <<else>> $activeSlave.slaveName's belly is bare and ready for surgery. <</if>> <</if>> <<if $activeSlave.cSec == 1>> $pronounCap has an unsightly c-section scar under $possessive navel. <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $fakeBellies.contains($bellyAccessory)>> <<switch $activeSlave.bellyAccessory>> <<case "a huge empathy belly">> $pronounCap is wearing a carefully sculpted silicone belly modeled after a full-term pregnant woman carrying twins. <<case "a large empathy belly">> $pronounCap is wearing a carefully sculpted silicone belly modeled after a full-term pregnant woman. <<case "a medium empathy belly">> $pronounCap is wearing a carefully sculpted silicone belly modeled after a pregnant woman in $possessive second trimester. <<case "a small empathy belly">> $pronounCap is wearing a carefully sculpted silicone belly modeled after a pregnant woman in $possessive first trimester. <</switch>> <<if $activeSlave.navelPiercing == 1>> $possessiveCap fake navel bears a simple stud. <<elseif $activeSlave.navelPiercing == 2>> $possessiveCap fake navel is pierced with a big ring. <<if ($activeSlave.clothes is "slutty jewelry")>> It has a length of gilded chain dangling from it. <<else>> It has a short length of chain dangling from it. <</if>> <</if>> <<if ($activeSlave.brand != 0) && ($activeSlave.brandLocation is "belly")>> $possessiveCap fake belly has $activeSlave.brand branded on it. <</if>> <<else>> <<if $activeSlave.navelPiercing == 1>> $possessiveCap navel bears a simple stud. <<elseif $activeSlave.navelPiercing == 2>> $possessiveCap navel is pierced with a big ring. <<if ($activeSlave.preg > 20) && ($activeSlave.pregType >= 10)>> It has a heavy bell dangling from it. It sounds whenever $possessive babies kick, which is often. <<elseif ($activeSlave.clothes is "slutty jewelry")>> It has a length of gilded chain dangling from it. <<else>> It has a short length of chain dangling from it. <</if>> <</if>> <<if $activeSlave.cSec == 1>> $pronounCap has an unsightly c-section scar under $possessive navel. <</if>> <<if $activeSlave.bellyTat != 0>> <<if (($activeSlave.preg > 30) and ($activeSlave.pregType >= 20))>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic pregnancy. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic pregnancy. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic pregnancy. <</if>> <<elseif ((($activeSlave.preg > 20) and ($activeSlave.pregType >= 20)) or (($activeSlave.preg > 30) and ($activeSlave.pregType >= 10)))>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, though it is rather stretched by $possessive enormous pregnancy. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, though it is rather stretched by $possessive enormous pregnancy. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, though it is rather stretched by $possessive enormous pregnancy. <</if>> <<elseif (($activeSlave.preg > 10) and ($activeSlave.pregType >= 20)) or (($activeSlave.preg > 20) and ($activeSlave.pregType >= 10)) or ($activeSlave.preg > 30)>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, only to be truly seen when $pronoun is full-term. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, only to be truly seen when $pronoun is full-term. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, only to be truly seen when $pronoun is full-term. <</if>> <<elseif (($activeSlave.preg > 0) and ($activeSlave.pregType >= 20)) or (($activeSlave.preg > 10) and ($activeSlave.pregType >= 10)) or ($activeSlave.preg > 20)>> $pronounCap has an barely recognizable tattoo around $possessive navel, it should reveal itself fully once $pronoun is a little bigger. <<elseif (($activeSlave.preg > 0) and ($activeSlave.pregType >= 10)) or ($activeSlave.preg > 10)>> $pronounCap has an unrecognizable tattoo around $possessive navel, it has stretched slightly along with $possessive rounded middle. <<else>> $pronounCap has an unrecognizable tattoo scrunched around $possessive navel. <</if>> <</if>> <<if ($activeSlave.brand != 0) and ($activeSlave.brandLocation is "belly")>> $pronounCap has $activeSlave.brand branded into the flesh of $possessive $activeSlave.brandLocation. <</if>> <<if ($activeSlave.breedingMark == 1)>> The Societal Elites' mark designating $possessive as a breeder is prominently displayed across $possessive lower belly, beneath $possessive navel. <</if>> <</if>> <<if $activeSlave.physicalAge >= 13>> <<if ($activeSlave.preg > 20 and $activeSlave.pregType >= 10)>> <<if canWalk($activeSlave)>> $possessiveCap pregnancy is so massive that it is difficult for $possessive to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support it. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms under $possessive belly to help take its' weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tends to lean on things to help relieve the weight. <<else>> $pronounCap cannot get to $possessive feet unaided, and tries to stay seated as much as $pronoun can. <</if>> <<else>> It is easily as large as $possessive torso, making $possessive at least half belly. <</if>> <<if ($activeSlave.assignment != "labor in the production line")>> <<if $pregAccessibility == 1>> Fortunately for $possessive, the penthouse is adapted for daily life with a pregnant belly <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with pregnancies <</if>> wider than a standard doorway. <</if>> <</if>> <<elseif $activeSlave.physicalAge >= 4>> <<if ($activeSlave.preg > 20 and $activeSlave.pregType >= 10) or $activeSlave.preg > 30>> <<if canWalk($activeSlave)>> $possessiveCap pregnancy is so massive that it is difficult for $possessive to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support it. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms under $possessive belly to help take its' weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tends to lean on things to help relieve the weight. <<else>> $pronounCap cannot get to $possessive feet unaided, and tries to stay seated as much as $pronoun can. <</if>> <<else>> It is easily as large as $possessive torso, making $possessive at least half belly. <</if>> <<if ($activeSlave.assignment != "labor in the production line") && ($activeSlave.preg > 20 and $activeSlave.pregType >= 10)>> <<if $pregAccessibility == 1>> Fortunately for $possessive, the penthouse is adapted for daily life with a pregnant belly <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with pregnancies <</if>> wider than a standard doorway. <</if>> <</if>> <<elseif $activeSlave.physicalAge < 4>> <<if ($activeSlave.preg > 10 and $activeSlave.pregType >= 10) or $activeSlave.preg > 20>> <<if canWalk($activeSlave)>> $possessiveCap pregnancy is so massive that it is difficult for $possessive to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support it. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms under $possessive belly to help take its' weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tends to lean on things to help relieve the weight. <<else>> $pronounCap cannot get to $possessive feet unaided, and tries to stay seated as much as $pronoun can. <</if>> <<else>> It is easily as large as $possessive torso, making $possessive at least half belly. <</if>> <<if ($activeSlave.assignment != "labor in the production line") && ($activeSlave.preg > 20 and $activeSlave.pregType >= 10)>> <<if $pregAccessibility == 1>> Fortunately for $possessive, the penthouse is adapted for daily life with a pregnant belly <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with pregnancies <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<else>> <<if $activeSlave.navelPiercing > 0>> <<if $activeSlave.preg > 20>> <<if $activeSlave.navelPiercing == 1>> $possessiveCap popped navel bears a simple stud. <<elseif $activeSlave.navelPiercing == 2>> $possessiveCap popped navel is pierced with a big ring. <</if>> It's eyecatching, since most of her piercings are hidden by the suit. <<else>> $possessiveCap navel piercing runs through the suit's material. <</if>> <</if>> <<if $activeSlave.physicalAge >= 13>> <<if ($activeSlave.preg > 20 and $activeSlave.pregType >= 10)>> The difficulties of being enormously pregnant are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <</if>> <<elseif $activeSlave.physicalAge >= 4>> <<if ($activeSlave.preg > 20 and $activeSlave.pregType >= 10) or $activeSlave.preg > 30>> The difficulties of being enormously pregnant are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <</if>> <<elseif $activeSlave.physicalAge < 4>> <<if ($activeSlave.preg > 10 and $activeSlave.pregType >= 10) or $activeSlave.preg > 20>> The difficulties of being enormously pregnant are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <</if>> <</if>> <</if>> <</widget>> <<widget "SlavePronouns">> <<if $args[0].fuckdoll > 0>> <<set $pronoun = "it", $pronounCap = "It", $possessive = "its", $possessiveCap = "Its", $object = "it">> <<elseif $activeSlave.dick < 0 && $activeSlave.vagina == -1>> /*impossible condition to keep it from running but saving it for future use*/ <<set $pronoun = "he", $pronounCap = "He", $possessive = "his", $possessiveCap = "His", $object = "his">> <<else>> <<set $pronoun = "she", $pronounCap = "She", $possessive = "her", $possessiveCap = "Her", $object = "her">> <</if>> <</widget>> <<widget "BellyImplantDescription">> <<if $activeSlave.bellyImplant >= 32000>> $pronounCap looks inhumanly pregnant, <<if $activeSlave.physicalAge <= 3>> and $pronoun is nearly spherical. $possessiveCap toddlerish form is utterly dwarfed by her implant, all $pronoun can do is lay on top of it. $pronounCap is so overfilled you can clearly make out the implant within her body through her skin. It is so taut, not one motion can be seen in its contents. <<elseif $activeSlave.physicalAge <= 12>> and $pronoun is more belly than girl. $possessiveCap absolutely gigantic, overfilled implant keeps $possessive pinned to the ground. $pronounCap is so overfilled you can clearly make out the implant within $possessive body through $possessive skin. It is so taut, not one motion can be seen in its contents. <<elseif $activeSlave.height >= 185>> but $possessive tall frame barely keeps $possessive grotesque belly off the ground. $pronounCap is so overfilled you can clearly make out the implant within $possessive body through $possessive skin. It is so taut, not one motion can be seen in its contents. <<elseif $activeSlave.height < 150>> and $pronoun is more belly than girl. $possessiveCap absolutely gigantic, overfilled implant keeps $possessive pinned to the ground. $pronounCap is so overfilled you can clearly make out the implant within $possessive body through $possessive skin. It is so taut, not one motion can be seen in its contents. <<elseif $activeSlave.muscles > 1>> and $pronoun can barely hold $possessive overfilled belly upright. $pronounCap is so overfilled you can clearly make out the implant within $possessive body through $possessive skin. It is so taut, not one motion can be seen in its contents. <<else>> and $pronoun is more belly than girl. $possessiveCap gigantic, overfilled implant keeps $possessive pinned to the ground. $pronounCap is so overfilled you can clearly make out the implant within $possessive body through $possessive skin. It is so taut, not one motion can be seen in its contents. <</if>> <<elseif $activeSlave.bellyImplant >= 16000>> $pronounCap looks unbelievably pregnant, <<if $activeSlave.physicalAge <= 3>> and $possessive belly pins $possessive to the ground. $possessiveCap toddlerish form is dwarfed by $possessive implant; try as $pronoun might, $pronoun can not even drag the massive thing. $pronounCap is so full you can nearly make out the implant within $possessive body through $possessive skin. <<elseif $activeSlave.physicalAge <= 12>> and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can nearly make out the implant within $possessive body through $possessive skin. <<elseif $activeSlave.height >= 185>> but $possessive tall frame barely bears $possessive obscene, drum-taut belly. $pronounCap is so full you can nearly make out the implant within $possessive body through $possessive skin. <<elseif $activeSlave.height < 150>> and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can nearly make out the implant within $possessive body through $possessive skin. <<elseif $activeSlave.muscles > 30>> and $possessive fit body allows $possessive to carry $possessive obscene belly without too much trouble. $pronounCap is so full you can nearly make out the implant within $possessive body through $possessive skin. <<else>> and $pronoun can barely function with $possessive enormous belly. $pronounCap is so full you can nearly make out the implant within $possessive body through $possessive skin. <</if>> <<elseif $activeSlave.bellyImplant >= 8000>> $pronounCap looks hugely pregnant, <<if $activeSlave.physicalAge <= 3>> and $possessive toddlerish body is absolutely filled by $possessive implant. $pronounCap can barely move herself and resembles an over inflated blow-up doll. <<elseif $activeSlave.physicalAge <= 12>> and $possessive massive, drum-taut belly dominates $possessive poor little frame. <<elseif $activeSlave.height >= 185>> but $possessive tall frame bears $possessive massive, drum-taut belly well. <<elseif $activeSlave.height < 150>> and $possessive massive, drum-taut belly dominates $possessive poor little frame. <<elseif $activeSlave.muscles > 30>> and $possessive fit body bears $possessive massive, drum-taut belly well. <<else>> and $possessive massive, drum-taut belly dominates $possessive frame. <</if>> <<elseif $activeSlave.bellyImplant >= 4000>> $pronounCap looks pregnant, <<if $activeSlave.physicalAge <= 3>> and $possessive swollen belly is nearly as big as $possessive toddlerish body. <<elseif $activeSlave.physicalAge <= 12>> and $possessive swollen belly dominates $possessive poor little frame. <<elseif $activeSlave.height >= 185>> but $possessive tall frame bears $possessive swollen belly well. <<elseif $activeSlave.height < 150>> and $possessive swollen belly dominates $possessive poor little frame. <<elseif $activeSlave.muscles > 30>> and $possessive fit body bears $possessive swollen belly well. <<else>> and $possessive swollen belly dominates $possessive frame. <</if>> <<elseif $activeSlave.bellyImplant >= 2000>> $pronounCap looks bloated, <<if $activeSlave.physicalAge <= 3>> and $possessive swollen belly looks obscene on $possessive toddlerish body. <<elseif $activeSlave.physicalAge <= 12>> and $possessive swollen belly already looks huge on $possessive tiny frame. <<elseif $activeSlave.weight > 95>> but $pronoun's sufficiently overweight that it's not obvious. <<elseif $activeSlave.height < 150>> and $possessive swollen belly already looks huge on $possessive tiny frame. <<elseif $activeSlave.weight < -10>> $possessive thin form making $possessive swollen belly very obvious. <<else>> the implant just beginning to visibly bulge $possessive belly. <</if>> <</if>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $surgeryDescription == 0>> <<if $activeSlave.bellyImplant >= 32000>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's titanic implant-filled belly makes a mockery of $possessive corset; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's titanic implant-filled belly makes a mockery of $possessive corset; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's titanic implant-filled belly is allowed to bulge out of a huge hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater far from $possessive titanic implant-filled belly. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's titanic implant-filled belly adds even more strain to $possessive struggling oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive titanic implant-filled belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater rests atop $possessive titanic implant-filled belly. <<else>> $activeSlave.slaveName's blouse rests atop $possessive titanic implant-filled belly. <</if>> <<case "chains">> $activeSlave.slaveName's titanic implant-filled belly is tightly wrapped with chains; they can barely sink into the overfilled implant. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive titanic implant-filled belly so $pronoun has left the bottom buttons open leaving $possessive stomach hanging out. <<case "body oil">> $activeSlave.slaveName's titanic implant-filled is covered in a sheen of stretch-mark defeating oil. <<case "a succubus outfit">> $activeSlave.slaveName's titanic implant-filled sticks out of $possessive corset, which is laced above it as best $pronoun can manage. <<case "a toga">> $activeSlave.slaveName's titanic implant-filled belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive titanic implant-filled belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps barely press into $possessive titanic implant-filled belly. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's titanic bulging implant-filled is tightly bound with rope; they can barely sink into the overfilled implant <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's titanic bulging implant-filled greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's titanic implant-filled belly hangs out $possessive open tunic and shirt <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt lies half open, since $possessive titanic implant-filled belly has triumphed over $possessive buttons. <<else>> $activeSlave.slaveName's tunic and shirt lie half open, since $possessive titanic implant-filled belly has triumphed over $possessive buttons. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's titanic implant-filled belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's oversized breasts keep $possessive scrub top far from $possessive titanic implant-filled belly. <<else>> $activeSlave.slaveName's scrub top rests meekly atop $possessive titanic implant-filled belly. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress has burst trying to contain $possessive titanic implant-filled belly leaving it hanging out the hole it made. <<case "attractive lingerie">> $activeSlave.slaveName's titanic implant-filled belly completely hides $possessive lacy g-string. <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's titanic implant-filled belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive overfilled middle. <<case "a maternity dress">> $activeSlave.slaveName's titanic implant-filled belly strains $possessive dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive abnormal midriff. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive titanic implant-filled belly, but the outfit includes a thin white blouse that rests meekly atop $possessive immense stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress was almost conservative, but it has burst open trying to contain $possessive titanic implant-filled belly. $possessiveCap immense stomach hangs out the hole it made, its sides peeking out from behind $possessive apron. <<case "a fallen nun's habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive titanic implant-filled belly. <<case "a penitent nun's habit">> $activeSlave.slaveName's titanic implant-filled belly stretches $possessive habit. The coarse cloth aggravates $possessive sensitive stretched skin, even more so, given the amount of skin it has to torment. <<case "a string bikini">> $activeSlave.slaveName's titanic implant-filled belly hides most of $possessive string bikini. <<case "clubslut netting">> $activeSlave.slaveName's titanic implant-filled belly has burst through $possessive clubslut netting. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rests atop $possessive implant-filled pregnant belly making it look like that this cheerleader has fucked the entire school. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's titanic implant-filled belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive titanic implant-filled belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive titanic implant-filled belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's titanic implant-filled belly is allowed ot hang free, demonstrating just how slutty $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses $possessive titanic implant-filled belly. <<case "slutty business attire">> $activeSlave.slaveName's titanic implant-filled stomach hangs out the front of $possessive suit jacket and blouse as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's titanic implant-filled belly hangs out the front of $possessive specially tailored blouse and jacket as there is no way for her to close them. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive titanic implant-filled belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive titanic implant-filled belly and prominently displaying $possessive popped navel. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive titanic implant-filled belly leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rests atop $possessive titanic implant-filled belly, making $object look like the super promiscuous school slut. <<case "a kimono">> $activeSlave.slaveName's titanic implant-filled belly parts the front of $possessive kimono leaving it gracefully hanging to its' sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya has split down the sides trying to contain $possessive titanic implant-filled belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive titanic implant-filled belly leaving $object looking like someone who fucked half the country. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress has been torn open by $possessive titanic implant-filled belly. $possessiveCap immense stomach hangs out the whole it made. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown has been retailored to expose $possessive titanic implant-filled belly while still maintaining its' beauty. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that looks ready to snap as in encircles $possessive titanic implant-filled belly. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every inch of $possessive titanic implant-filled belly. $possessiveCap immense stomach slightly protrudes from the various rips and tears that have begun appearing in the fabric. <<case "a chattel habit">> The strip of cloth running down $possessive front is forced to one side by $possessive titanic implant-filled belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy has burst trying to contain $possessive titanic implant-filled belly leaving it hanging out the hole it made. <<default>> <</switch>> <<if $arcologies[0].FSTransformationFetishist != "unset">> Your transformation fetishizing society is fascinated by $possessive unusual implant. <</if>> <<elseif $activeSlave.bellyImplant >= 16000>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's gigantic implant-filled belly is strains $possessive corset, threatening to burst it; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's gigantic implant-filled belly is strains $possessive corset, threatening to burst it; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's gigantic implant-filled belly is allowed to bulge out of a huge hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater far from $possessive gigantic implant-filled belly. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's gigantic implant-filled belly adds even more strain to $possessive struggling oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's gigantic implant-filled belly parts $possessive poorly covered breasts. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive gigantic implant-filled belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater rests atop $possessive gigantic implant-filled belly. <<else>> $activeSlave.slaveName's blouse rests atop $possessive gigantic implant-filled belly. <</if>> <<case "chains">> $activeSlave.slaveName's gigantic implant-filled belly is tightly wrapped with chains causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive gigantic implant-filled belly so $pronoun has left the bottom buttons open leaving $possessive stomach hanging out. <<case "a succubus outfit">> $activeSlave.slaveName's gigantic implant-filled belly sticks out of $possessive corset, which is laced above and below it as best $pronoun can manage. The laces are straining to hold together. <<case "body oil">> $activeSlave.slaveName's gigantic implant-filled belly is covered in a sheen of stretch-mark defeating oil. <<case "a toga">> $activeSlave.slaveName's gigantic implant-filled belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive gigantic implant-filled belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive gigantic implant-filled belly causing flesh to spill out the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's gigantic implant-filled belly is tightly bound with rope, flesh angrily bulges from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's gigantic implant-filled belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's gigantic implant-filled belly hangs out $possessive open tunic and shirt <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt lies half open, since $possessive gigantic implant-filled belly has triumphed over $possessive buttons. <<else>> $activeSlave.slaveName's tunic and shirt lie half open, since $possessive gigantic implant-filled belly has triumphed over $possessive buttons. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's gigantic implant-filled belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's oversized breasts keep $possessive scrub top far from $possessive gigantic implant-filled belly. <<else>> $activeSlave.slaveName's scrub top rests meekly atop $possessive gigantic implant-filled belly. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress has burst trying to contain $possessive gigantic implant-filled belly leaving it hanging out the hole it made. <<case "attractive lingerie">> $activeSlave.slaveName's gigantic implant-filled belly completely hides $possessive lacy g-string. <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's gigantic implant-filled belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive overfilled belly. <<case "a maternity dress">> $activeSlave.slaveName's gigantic implant-filled belly fills $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive giant middle. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive gigantic implant-filled belly, but the outfit includes a thin white blouse that rests meekly atop $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it barely contains $possessive gigantic implant-filled belly. Its seams strain to hold back $possessive overfilled middle. <<case "a fallen nun's habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive gigantic implant-filled belly. <<case "a penitent nun's habit">> $activeSlave.slaveName's gigantic implant-filled belly completely fills $possessive habit. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's gigantic implant-filled belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's gigantic implant-filled belly has burst through $possessive clubslut netting. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rests atop $possessive gigantic implant-filled belly displaying that this cheerleader is a massive slut. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's gigantic implant-filled belly parts $possessive uncovered breasts. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive gigantic implant-filled belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive gigantic implant-filled belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's gigantic implant-filled belly really shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses $possessive gigantic implant-filled belly. <<case "slutty business attire">> $activeSlave.slaveName's gigantic implant-filled stomach hangs out the front of $possessive suit jacket and blouse as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's gigantic implant-filled belly hangs out the front of $possessive specially tailored blouse and jacket as there is no way for her to close them. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive gigantic implant-filled belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive gigantic implant-filled belly, prominently displaying $possessive popped navel. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive gigantic implant-filled belly leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rests atop $possessive gigantic implant-filled belly, leaving $object looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's gigantic implant-filled belly parts the front of $possessive kimono leaving it gracefully covering it's sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is straining to contain $possessive gigantic implant-filled belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive gigantic implant-filled belly leaving $object looking like someone who fucked all the locals. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is strained by $possessive gigantic implant-filled belly. $possessiveCap popped navel prominently pokes through the front of $possessive dress as its' seams strain to hold together. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown, while tailored, strains to contain $possessive gigantic implant-filled belly. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive gigantic implant-filled belly. The material tightly clings to $possessive popped navel and strains to hold together. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive gigantic implant-filled belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy has burst trying to contain $possessive gigantic implant-filled belly leaving it hanging out the hole it made. <<default>> <</switch>> <<if $arcologies[0].FSTransformationFetishist != "unset">> Your transformation fetishizing society is fascinated by $possessive unusual implant. <</if>> <<elseif $activeSlave.bellyImplant >= 8000>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's huge implant-filled belly is tightly compressed by $possessive corset; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's huge implant-filled belly is compressed by $possessive corset; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's huge implant-filled belly is allowed to bulge out of a huge hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive huge implant-filled belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's huge implant-filled belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive huge implant-filled belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled taut by $possessive huge implant-filled belly, the bottom of which can be seen peeking out from underneath. $possessiveCap popped navel forms a small tent in the material. <<else>> $activeSlave.slaveName's blouse is pulled taut by $possessive huge implant-filled belly, the bottom of which can be seen peeking out from underneath. $possessiveCap popped navel forms a small tent in $possessive shirt. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's huge implant-filled belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive heavy stomach. <<case "a maternity dress">> $activeSlave.slaveName's huge implant-filled belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive expanded middle. <<case "chains">> $activeSlave.slaveName's huge implant-filled belly is tightly wrapped with chains, causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive huge implant-filled belly so $pronoun has left the bottom buttons open, leaving $possessive stomach hanging out. <<case "body oil">> $activeSlave.slaveName's huge implant-filled belly is covered in a sheen of special oil meant to prevent stretch marks. <<case "a toga">> $activeSlave.slaveName's huge implant-filled belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive huge implant-filled belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive huge implant-filled belly, causing flesh to spill out of the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's huge implant-filled belly is tightly bound with ropes; flesh bulges angrily from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's huge implant-filled belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's huge implant-filled belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt strains to contain $possessive huge implant-filled belly. <<else>> $activeSlave.slaveName's huge implant-filled belly greatly stretches $possessive uniform's jacket. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's huge implant-filled belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive huge implant-filled belly hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive huge implant-filled belly hangs out from under $possessive top, obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress barely clings to $possessive huge implant-filled belly. <<case "attractive lingerie">> $activeSlave.slaveName's huge implant-filled belly completely hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's huge implant-filled belly sticks out of $possessive corset, which is laced above and below it as best $pronoun can manage. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive huge implant-filled belly, but the outfit includes a thin white blouse that conceals only the upper part of $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative. It covers $possessive huge implant-filled belly completely, though it can not hide $possessive popped navel, poking through the front. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive huge implant-filled belly. <<case "a penitent nuns habit">> $pronounCap looks absolutely blasphemous in a habit with such a huge implant-filled belly. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's huge implant-filled belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched to the breaking point by $possessive huge implant-filled belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rides up $possessive huge implant-filled belly, covering only the top of it while leaving the rest on display to show how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's huge implant-filled belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive huge implant-filled belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive huge implant-filled belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's huge implant-filled belly really shows what a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses $possessive huge implant-filled belly. <<case "slutty business attire">> $activeSlave.slaveName's huge implant-filled belly hangs out the front of $possessive suit jacket and blouse, as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's huge implant-filled belly strains $possessive specially tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive huge implant-filled belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive huge implant-filled belly, prominently displaying $possessive popped navel. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive huge implant-filled belly, leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive huge implant-filled belly, leaving $object looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's huge implant-filled belly parts the front of $possessive kimono, leaving it gracefully covering its sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled by $possessive huge implant-filled belly. <<case "battledress">> $activeSlave.slaveName's tank top barely even covers the top of $possessive huge implant-filled belly, leaving $object looking like someone who had too much fun on shore leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive huge implant-filled belly. $possessiveCap popped navel prominently pokes through its front. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive huge implant-filled belly, but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive huge implant-filled belly. The material tightly clings to $possessive popped navel. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive huge implant-filled belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched to tearing by $possessive huge implant-filled belly. $possessiveCap popped navel prominently pokes through the material. <<default>> <</switch>> <<if $arcologies[0].FSTransformationFetishist != "unset">> Your transformation fetishizing society is fascinated by $possessive unusual implant. <</if>> <<elseif $activeSlave.bellyImplant >= 4000>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's implant-filled belly is tightly compressed by $possessive corset; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's implant-filled belly is compressed by $possessive corset; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's implant-filled belly is allowed to bulge out of a hole in the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive implant-filled belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's implant-filled belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive implant-filled belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled taut by $possessive implant-filled belly. $possessiveCap popped navel forms a small tent in material. <<else>> $activeSlave.slaveName's blouse is pulled taut by $possessive implant-filled belly. $possessiveCap popped navel forms a small tent in $possessive shirt. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's implant-filled belly hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive heavy stomach. <<case "a maternity dress">> $activeSlave.slaveName's implant-filled belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive rounded middle. <<case "chains">> $activeSlave.slaveName's implant-filled belly is tightly wrapped with chains, causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive implant-filled belly, so $pronoun has left the bottom buttons open leaving $possessive belly hanging out. <<case "body oil">> $activeSlave.slaveName's implant-filled belly is covered in a sheen of special oil meant to prevent stretch marks. <<case "a toga">> $activeSlave.slaveName's implant-filled belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it only covers the top of $possessive implant-filled belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive implant-filled belly, causing flesh to spill out of the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's implant-filled belly is tightly bound with rope; flesh bulges angrily from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's implant-filled belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's implant-filled belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt strains to contain $possessive implant-filled belly. <<else>> $activeSlave.slaveName's implant-filled belly notably distends $possessive uniform's jacket. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's implant-filled belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive implant-filled belly hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive implant-filled hangs out from under $possessive top, slightly obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive implant-filled belly. <<case "attractive lingerie">> $activeSlave.slaveName's implant-filled belly hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's implant-filled belly sticks out of $possessive corset, which is laced above and below it. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive implant-filled belly, but the outfit includes a thin white blouse that conceals only the top half of $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive implant-filled belly completely. Though it can not hide $possessive popped navel poking through the front. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive implant-filled belly. <<case "a penitent nuns habit">> $pronounCap looks absolutely blasphemous in a habit with a implant-filled belly. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's implant-filled belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched out by $possessive implant-filled belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top covers most of $possessive implant-filled belly, the bottom of which peeks out showing how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's implant-filled belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive implant-filled belly. <<else>> $activeSlave.slaveName's t-shirt covers only the top of $possessive implant-filled belly. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's implant-filled belly really shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses her implant-filled belly. <<case "slutty business attire">> $activeSlave.slaveName's implant-filled belly strains the buttons of $possessive suit jacket and blouse. <<case "nice business attire">> $activeSlave.slaveName's implant-filled belly looks good in $possessive specially tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive implant-filled belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive implant-filled belly, prominently displaying $possessive popped navel. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket barely closes over $possessive implant-filled belly leaving leaving its' buttons threatening to pop. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive implant-filled belly, leaving $possessive looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's implant-filled belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled out by $possessive implant-filled belly. <<case "battledress">> $activeSlave.slaveName's tank top rides up $possessive implant-filled belly leaving $object looking like someone who had too much fun on shore-leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive implant-filled belly. $possessiveCap popped navel prominently pokes through the front of $possessive dress. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive implant-filled belly but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every kick and movement within $possessive implant-filled belly. The material tightly clings to $possessive popped navel. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive implant-filled belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched out by $possessive implant-filled belly. $possessiveCap popped navel prominently pokes through the material. <<default>> <</switch>> <<if $arcologies[0].FSTransformationFetishist != "unset">> Your transformation fetishizing society is fascinated by $possessive unusual implant. <</if>> <<elseif $activeSlave.weight >= 95>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's huge gut is tightly compressed by $possessive corset, $possessive fat billows out of any gap it can find. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's huge gut is compressed by $possessive corset, $possessive fat bulges out above and below it. <<elseif ($activeSlave.bellyAccessory is "a small empathy belly")>> $activeSlave.slaveName's small empathy belly is barely noticeable over $possessive huge gut. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's fat belly is cruelly squeezed by the suit. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive fat belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's fat belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts let $possessive fat belly hang free. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled tight over $possessive fat belly. The bottom of which peeks out from under it. <<else>> $activeSlave.slaveName's blouse is pulled tight over $possessive fat belly. The bottom of which peeks out from under it. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's fat belly is large enough to hide $possessive panties. $possessiveCap silken vest sensually frames $possessive heavy, jiggly gut. <<case "a maternity dress">> $activeSlave.slaveName's fat belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to a growing pregnancy, though it works on big, jiggly guts all the same. <<case "chains">> $activeSlave.slaveName's chains sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. <<case "western clothing">> $activeSlave.slaveName's flannel shirt strains to stay shut over $possessive fat belly, fat bulges between $possessive buttons and quite a bit of $possessive lower belly hangs out beneath $possessive shirt. <<case "body oil">> $activeSlave.slaveName's fat belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's toga can barely be pulled shut over $possessive fat belly. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it only covers the top of $possessive fat belly, allowing it to hang free. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straps sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. The straps connect to a steel ring that parts the fold concealing $possessive navel, allowing it to be seen once again. <<case "shibari ropes">> $activeSlave.slaveName's binding ropes sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's fat belly is compressed by $possessive latex suit, leaving it looking round and smooth. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's fat belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt struggles to cover $possessive fat belly. The bottom of which peeks out from under it. <<else>> $activeSlave.slaveName's fat belly is covered by $possessive uniform's jacket. The bottom of which just barely peeks out from under it. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's fat belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive fat belly freely hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive fat belly freely hangs from under $possessive top, obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive fat belly, clearly showing every fold and roll. <<case "attractive lingerie">> $activeSlave.slaveName's fat belly hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's fat belly sticks out of $possessive corset, which is laced above and below it allowing it to hang free. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive fat belly, but the outfit includes a thin white blouse that, when stretched, only manages to wrangle the top of $possessive gut. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive fat belly completely, but does nothing to hide how big it is. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is barely holding together over her fat belly, causing flab to spill out from every opening. <<case "a penitent nuns habit">> $possessiveCap fat belly fills out $possessive habit. The coarse cloth has plenty of extra skin to aggravate. <<case "a string bikini">> $activeSlave.slaveName's fat belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched out by $possessive fat belly, forcing flab to poke through the mesh. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top covers most of $possessive fat belly. However, the bottom of it peeks out, obscuring $possessive skirt and a letting everyone know how badly this cheerleader needs to diet. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's fat belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt busy, allowing $possessive fat belly to hang free. <<else>> $activeSlave.slaveName's t-shirt covers only the top of $possessive fat belly, allowing it to hang mostly free and cover $possessive jeans. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName lets $possessive fat belly hang free, leaving $object looking particularly slutty. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, accentuating and hugging every curve of $possessive fat belly. <<case "slutty business attire">> $activeSlave.slaveName's fat belly strains the buttons of $possessive suit jacket and blouse. The bottom of which just barely peeks out from under them. <<case "nice business attire">> $activeSlave.slaveName's tailored blouse and jacket fit $possessive fat belly well, though they do nothing to hide how big $possessive gut is. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive fat belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive fat belly, displaying every fold and roll in it. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket barely closes over $possessive fat belly forcing plenty of flab out from under its bottom and between the straining buttons. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive fat belly, leaving it hanging loose and covering $possessive skirt. <<case "a kimono">> $activeSlave.slaveName's fat belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled out by $possessive fat belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive fat belly, leaving everyone wondering how this recruit passed basic. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive fat belly. Every crease, fold and roll is clearly visible within it. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive fat belly but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include long, thin chains running along $possessive fat folds. <<case "a leotard">> $activeSlave.slaveName's tight leotard tightly clings to $possessive fat belly, clearly displaying every fold and roll. <<case "a chattel habit">> The strip of cloth running down $possessive front is gently sinks into $possessive fat belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched out by $possessive fat belly. $possessiveCap flab juts out around its edges and it does nothing to hide $possessive folds and rolls. <<default>> <</switch>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> Your sleek, slim society finds $possessive bloated body unsightly. <</if>> <<elseif $activeSlave.bellyImplant >= 2000>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's implant-rounded belly is tightly compressed by $possessive corset causing $possessive distress. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's implant-rounded belly is compressed by $possessive corset making $possessive uncomfortable. <</if>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $activeSlave.slaveName's implant-rounded belly nearly requires $object to be switched into a suit with a hole for it to hang out from. <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive implant-rounded belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's implant-rounded belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive implant-rounded belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater bulges with $possessive implant-rounded belly. <<else>> $activeSlave.slaveName's blouse bulges with $possessive implant-rounded belly. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's implant-rounded belly rests above $possessive silken panties. $possessiveCap silken vest sensually frames $possessive swollen belly. <<case "a maternity dress">> $activeSlave.slaveName's implant-rounded belly is noticeable under $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive swollen middle. <<case "chains">> $activeSlave.slaveName's implant-rounded belly is tightly wrapped with chains. <<case "western clothing">> $activeSlave.slaveName's flannel shirt bulges with $possessive implant-rounded belly. <<case "body oil">> $activeSlave.slaveName's implant-rounded belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's implant-rounded belly gently bulges under $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. The front is pushed out by $possessive implant-rounded belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive implant-rounded belly. <<case "shibari ropes">> $activeSlave.slaveName's implant-rounded belly is tightly bound with rope, flesh bulges from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's implant-rounded belly greatly bulges under $possessive latex suit. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's implant-rounded belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's undershirt covers $possessive implant-rounded belly. <<else>> $activeSlave.slaveName's uniform covers $possessive implant-rounded belly. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's implant-rounded belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive implant-rounded belly is completely exposed. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, it covers $possessive implant-rounded belly completely. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive implant-rounded belly. <<case "attractive lingerie">> $activeSlave.slaveName's implant-rounded belly rests above $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's implant-rounded belly peeks out of $possessive corset, which is laced above and below it. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress is slightly distended by $possessive implant-rounded belly. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive implant-rounded belly completely. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset struggles to hold $possessive implant-rounded belly. <<case "a penitent nuns habit">> $activeSlave.slaveName's habit gently bulges from $possessive implant-rounded belly. The coarse cloth aggravates $possessive sensitive skin. <<case "a string bikini">> $activeSlave.slaveName's implant-rounded belly juts out between the strings of $possessive bikini. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting clings to $possessive implant-rounded belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top gently bulges from $possessive implant-rounded belly displaying how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's implant-rounded belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive implant-rounded belly. <<else>> $activeSlave.slaveName's t-shirt bulges with $possessive implant-rounded belly. The bottom of which is beginning to peek from under $possessive T-shirt. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's implant-rounded belly shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual look as it carefully caresses $possessive implant-rounded belly. <<case "slutty business attire">> $activeSlave.slaveName's implant-rounded belly bulges $possessive suit jacket and blouse. It peeks out from under their bottom slightly. <<case "nice business attire">> $activeSlave.slaveName's implant-rounded belly bulges under $possessive tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive implant-rounded middle. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive implant-rounded belly, displaying $possessive swollen body. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket bulges with $possessive implant-rounded belly, which can be seen peeking out from underneath. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse bulges with $possessive implant-rounded belly. It peeks out from the bottom leaving $object looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's implant-rounded belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya bulges with $possessive implant-rounded belly. <<case "battledress">> $activeSlave.slaveName's tank top covers the top of $possessive implant-rounded belly leaving $object looking like someone who had too much fun on shore-leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress bulges with $possessive implant-rounded belly. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to draw attention to $possessive rounded middle. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests across $possessive implant-rounded belly. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off $possessive implant-rounded belly. <<case "a chattel habit">> The strip of cloth running down $possessive front is pushed out by $possessive implant-rounded belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy bulges with $possessive implant-rounded belly. <<default>> <</switch>> <<if $arcologies[0].FSTransformationFetishist != "unset">> Your transformation fetishizing society is fascinated by $possessive unusual implant. <</if>> <</if>> <<else>> $activeSlave.slaveName's belly is bare and ready for surgery. <</if>> <</if>> <<if $activeSlave.fuckdoll == 0>> <<if $activeSlave.navelPiercing == 1>> $possessiveCap navel bears a simple stud. <<elseif $activeSlave.navelPiercing == 2>> $possessiveCap navel is pierced with a big ring. <<if $activeSlave.bellyImplant >= 16000>> It has a heavy bell dangling from it. <<elseif ($activeSlave.clothes is "slutty jewelry")>> It has a length of gilded chain dangling from it. <<else>> It has a short length of chain dangling from it. <</if>> <</if>> <<if $activeSlave.cSec == 1>> $pronounCap has an unsightly c-section scar under $possessive navel. <</if>> <<if $activeSlave.bellyTat != 0>> <<if $activeSlave.bellyImplant >= 32000>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic implant-filled middle. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic implant-filled pregnancy middle. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, though it is barely recognizable so stretched by $possessive titanic implant-filled pregnancy middle. <</if>> <<elseif $activeSlave.bellyImplant >= 16000>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, though it is rather stretched by her enormous implant-filled middle. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, though it is rather stretched by her enormous implant-filled middle. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, though it is rather stretched by her enormous implant-filled middle. <</if>> <<elseif $activeSlave.bellyImplant >= 8000>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, only to be truly seen when $pronoun appears full-term. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, only to be truly seen when $pronoun appears full-term. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, only to be truly seen when $pronoun appears full-term. <</if>> <<elseif $activeSlave.bellyImplant >= 4000>> $pronounCap has an barely recognizable tattoo around $possessive navel, it should reveal itself fully once $pronoun is a little bigger. <<elseif $activeSlave.bellyImplant >= 2000>> $pronounCap has an unrecognizable tattoo around $possessive navel, it has stretched slightly along with $possessive rounded middle. <<else>> $pronounCap has an unrecognizable tattoo scrunched around $possessive navel. <</if>> <</if>> <<if ($activeSlave.brand != 0) and ($activeSlave.brandLocation is "belly")>> $pronounCap has $activeSlave.brand branded into the flesh of $possessive $activeSlave.brandLocation. <</if>> <<if ($activeSlave.breedingMark == 1)>> The Societal Elites' mark designating $possessive as a breeder is prominently displayed across $possessive lower belly, beneath $possessive navel. <</if>> <<if $activeSlave.physicalAge >= 13>> <<if $activeSlave.bellyImplant >= 31000>> <<if canWalk($activeSlave)>> $possessiveCap middle is so massive that it is difficult for $possessive to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support it. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms under $possessive belly to help take its' weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tends to lean on things to help relieve the weight. <<else>> $pronounCap cannot get to $possessive feet unaided, and tries to stay seated as much as $pronoun can. <</if>> <<else>> It is easily as large as $possessive torso, making $possessive at least half belly. <</if>> <<if $activeSlave.bellyImplant >= 16000>> <<if $pregAccessibility == 1>> Fortunately for $possessive, the penthouse is adapted for daily life with a belly <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with bellies <</if>> wider than a standard doorway. <</if>> <</if>> <<elseif $activeSlave.physicalAge >= 4>> <<if $activeSlave.bellyImplant >= 14000>> <<if canWalk($activeSlave)>> $possessiveCap middle is so massive that it is difficult for $possessive to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support it. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms under $possessive belly to help take its' weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tends to lean on things to help relieve the weight. <<else>> $pronounCap cannot get to $possessive feet unaided, and tries to stay seated as much as $pronoun can. <</if>> <<else>> It is easily as large as $possessive torso, making $possessive at least half belly. <</if>> <<if $activeSlave.bellyImplant >= 16000>> <<if $pregAccessibility == 1>> Fortunately for $possessive, the penthouse is adapted for daily life with a belly <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with bellies <</if>> wider than a standard doorway. <</if>> <</if>> <<elseif $activeSlave.physicalAge < 4>> <<if $activeSlave.bellyImplant >= 10000>> <<if canWalk($activeSlave)>> $possessiveCap middle is so massive that it is difficult for $possessive to move. <<if $activeSlave.muscles > 95>> However, $pronoun is so powerfully built that $pronoun can manage it with effort, using $possessive arms to support it. <<elseif $activeSlave.muscles > 30>> $pronounCap can barely manage to get to $possessive feet unaided, and usually walks with $possessive arms under $possessive belly to help take its' weight. <<elseif $activeSlave.muscles > 5>> $pronounCap requires assistance to get to $possessive feet, and tends to lean on things to help relieve the weight. <<else>> $pronounCap cannot get to $possessive feet unaided, and tries to stay seated as much as $pronoun can. <</if>> <<else>> It is easily as large as $possessive torso, making $possessive at least half belly. <</if>> <<if $activeSlave.bellyImplant >= 16000>> <<if $pregAccessibility == 1>> Fortunately for $possessive, the penthouse is adapted for daily life with a belly <<else>> $pronounCap has trouble living in your penthouse, which is not designed for girls with bellies <</if>> wider than a standard doorway. <</if>> <</if>> <</if>> <<else>> <<if $activeSlave.navelPiercing > 0>> <<if $activeSlave.preg > 20>> <<if $activeSlave.navelPiercing == 1>> $possessiveCap popped navel bears a simple stud. <<elseif $activeSlave.navelPiercing == 2>> $possessiveCap popped navel is pierced with a big ring. <</if>> It's eyecatching, since most of her piercings are hidden by the suit. <</if>> <<else>> $possessiveCap navel piercing runs through the suit's material. <</if>> <<if $activeSlave.physicalAge >= 13>> <<if ($activeSlave.preg > 20 and $activeSlave.pregType >= 10)>> The difficulties of being enormously pregnant are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <</if>> <<elseif $activeSlave.physicalAge >= 4>> <<if ($activeSlave.preg > 20 and $activeSlave.pregType >= 10) or $activeSlave.preg > 30>> The difficulties of being enormously pregnant are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <</if>> <<elseif $activeSlave.physicalAge < 4>> <<if ($activeSlave.preg > 10 and $activeSlave.pregType >= 10) or $activeSlave.preg > 20>> The difficulties of being enormously pregnant are greatly reduced for a Fuckdoll, since it's almost always restrained, stationary, or both. <</if>> <</if>> <</if>> <</widget>> <<widget "BellyInflationDescription">> <<if $activeSlave.inflation == 3>> $possessiveCap middle is enormously distended with <<print $activeSlave.inflationType>>, <<if $activeSlave.physicalAge <= 3>> and $possessive toddlerish body is absolutely filled by $possessive bloated innards. $pronounCap can barely move herself and resembles an over inflated blow-up doll. <<elseif $activeSlave.physicalAge <= 12>> and $possessive massive, drum-taut belly dominates $possessive poor little frame. <<elseif $activeSlave.height >= 185>> but $possessive tall frame bears $possessive massive, drum-taut belly well. <<elseif $activeSlave.height < 150>> and $possessive massive, drum-taut belly dominates $possessive poor little frame. <<elseif $activeSlave.muscles > 30>> and $possessive fit body bears $possessive massive, drum-taut belly well. <<else>> and $possessive massive, drum-taut belly dominates $possessive frame. <</if>> <<elseif $activeSlave.inflation == 2>> $pronounCap is greatly distended with <<print $activeSlave.inflationType>>, <<if $activeSlave.physicalAge <= 3>> and $possessive swollen belly is nearly as big as $possessive toddlerish body. <<elseif $activeSlave.physicalAge <= 12>> and $possessive swollen belly dominates $possessive poor little frame. <<elseif $activeSlave.height >= 185>> but $possessive tall frame bears $possessive swollen belly well. <<elseif $activeSlave.height < 150>> and $possessive swollen belly dominates $possessive poor little frame. <<elseif $activeSlave.muscles > 30>> and $possessive fit body bears $possessive swollen belly well. <<else>> and $possessive swollen belly dominates $possessive frame. <</if>> <<elseif $activeSlave.inflation == 1>> $pronounCap is visibly swollen with <<print $activeSlave.inflationType>>, <<if $activeSlave.physicalAge <= 3>> and $possessive sloshing belly looks obscene on $possessive toddlerish body. <<elseif $activeSlave.physicalAge <= 10>> and $possessive sloshing belly looks huge on $possessive tiny frame. <<elseif $activeSlave.weight > 10>> but $pronoun's sufficiently overweight that it's not obvious. <<elseif $activeSlave.height < 150>> and $possessive sloshing belly looks huge on $possessive tiny frame. <<elseif $activeSlave.weight <= -10>> $possessive thin form making $possessive sloshing belly very obvious. <<else>> giving $possessive stomach a distinct curvature. <</if>> <</if>> <<if ($showClothing == 1) && ($saleDescription == 0)>> <<if $surgeryDescription == 0>> <<if $activeSlave.inflation == 3>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's hugely swollen belly is tightly compressed by $possessive corset causing it to bulge above and below; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's hugely swollen belly is compressed by $possessive corset causing it to bulge above and below; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive hugely swollen belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's hugely swollen belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive hugely swollen belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled taut by $possessive hugely swollen belly, the bottom of which can be seen peeking out from underneath. $possessiveCap popped navel forms a small tent in the material. <<else>> $activeSlave.slaveName's blouse is pulled taut by $possessive hugely swollen belly, the bottom of which can be seen peeking out from underneath. $possessiveCap popped navel forms a small tent in $possessive shirt. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's hugely swollen belly completely hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive heavy belly. <<case "a maternity dress">> $activeSlave.slaveName's hugely swollen belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive rounded stomach. <<case "chains">> $activeSlave.slaveName's hugely swollen belly is tightly wrapped with chains, causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive hugely swollen belly so $pronoun has left the bottom buttons open, leaving $possessive belly hanging out. <<case "body oil">> $activeSlave.slaveName's hugely swollen is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's hugely swollen belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it merely rests atop $possessive hugely swollen belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive hugely swollen belly, causing flesh to spill out of the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's hugely swollen belly is tightly bound with ropes; flesh bulges angrily from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's hugely swollen belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon ready to pop. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's hugely swollen belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt strains to contain $possessive hugely swollen belly. <<else>> $activeSlave.slaveName's hugely swollen belly greatly stretches $possessive uniform's jacket. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's hugely swollen belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive hugely swollen belly hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive hugely swollen belly hangs out from under $possessive top, obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress barely clings to $possessive hugely swollen belly. <<case "attractive lingerie">> $activeSlave.slaveName's hugely swollen belly completely hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's hugely swollen belly sticks out of $possessive corset, which is laced above and below it as best $pronoun can manage. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive hugely swollen belly, but the outfit includes a thin white blouse that conceals only the upper part of $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative. It covers $possessive hugely swollen belly completely, though it can not hide $possessive popped navel, poking through the front. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive hugely swollen belly. <<case "a penitent nuns habit">> $pronounCap looks absolutely blasphemous in a habit with such a hugely swollen belly. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's hugely swollen belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched to the breaking point by $possessive hugely swollen belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top rides up $possessive hugely swollen belly, covering only the top of it while leaving the rest on display to bring wonder to how many loads $pronoun took last night. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's hugely swollen belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive hugely swollen belly. <<else>> $activeSlave.slaveName's t-shirt fails to cover $possessive hugely swollen belly at all. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's hugely swollen belly really shows what a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses her hugely swollen belly. <<case "slutty business attire">> $activeSlave.slaveName's hugely swollen stomach hangs out the front of $possessive suit jacket and blouse, as there is no way $pronoun could close them. <<case "nice business attire">> $activeSlave.slaveName's hugely swollen belly strains $possessive specially tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive hugely swollen stomach. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive hugely swollen belly, displaying $possessive popped navel and every jiggle of $possessive bloated stomach. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket fails to even come close to closing over $possessive hugely swollen belly, leaving $object with only the button below $possessive breasts done. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive hugely swollen belly, leaving $object looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's hugely swollen belly parts the front of $possessive kimono, leaving it gracefully covering its sides. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled by $possessive hugely swollen belly. <<case "battledress">> $activeSlave.slaveName's tank top barely even covers the top of $possessive hugely swollen belly, leaving $object looking like someone who had too much fun on shore leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive hugely swollen belly. $possessiveCap popped navel prominently pokes through its front. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive hugely swollen belly, but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every slosh and jiggle within $possessive hugely swollen belly. The material tightly clings to $possessive popped navel. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive hugely swollen belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched to tearing by $possessive hugely swollen belly. $possessiveCap popped navel prominently pokes through the material. <<default>> <</switch>> <<elseif $activeSlave.inflation == 2>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is tightly compressed by $possessive corset causing it to bulge out above and below; one or the other will eventually win out. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is compressed by $possessive corset causing it to bulge out above and below; one or the other will eventually win out. <</if>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled taut by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. $possessiveCap popped navel forms a small tent in material. <<else>> $activeSlave.slaveName's blouse is pulled taut by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. $possessiveCap popped navel forms a small tent in $possessive shirt. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly hides $possessive silken panties. $possessiveCap silken vest sensually frames $possessive heavy belly. <<case "a maternity dress">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive swollen middle. <<case "chains">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is tightly wrapped with chains, causing it to bulge angrily. <<case "western clothing">> $activeSlave.slaveName's flannel shirt can't close over $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, so $pronoun has left the bottom buttons open leaving $possessive belly hanging out. <<case "body oil">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly parts $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it only covers the top of $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, causing flesh to spill out of the gaps. The straps connect to a steel ring encircling $possessive popped navel. <<case "shibari ropes">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is tightly bound with rope; flesh bulges angrily from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly greatly distends $possessive latex suit. $pronounCap looks like an over inflated balloon. Only $possessive popped navel sticking out the front of $possessive belly disrupts the smoothness. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt strains to contain $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<else>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly notably distends $possessive uniform's jacket. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive jiggling <<print $activeSlave.inflationType>>-filled belly hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive jiggling <<print $activeSlave.inflationType>>-filled hangs out from under $possessive top, slightly obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "attractive lingerie">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly sticks out of $possessive corset, which is laced above and below it. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, but the outfit includes a thin white blouse that conceals only the top half of $possessive stomach. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive jiggling <<print $activeSlave.inflationType>>-filled belly completely. Though it can not hide $possessive popped navel poking through the front. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is left hanging open fully revealing $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "a penitent nuns habit">> $pronounCap looks absolutely blasphemous in a habit with a jiggling <<print $activeSlave.inflationType>>-filled belly. The coarse cloth aggravates $possessive sensitive stretched skin. <<case "a string bikini">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched out by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top covers most of $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, the bottom of which peeks out showing how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<else>> $activeSlave.slaveName's t-shirt covers only the top of $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly really shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual motherly look as it carefully caresses her jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "slutty business attire">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled stomach strains the buttons of $possessive suit jacket and blouse. <<case "nice business attire">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly looks good in $possessive specially tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive jiggling <<print $activeSlave.inflationType>>-filled. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, displaying $possessive popped navel and every motion $possessive contents make. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket barely closes over $possessive jiggling <<print $activeSlave.inflationType>>-filled belly leaving leaving its' buttons threatening to pop. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive jiggling <<print $activeSlave.inflationType>>-filled belly, leaving $object looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's jiggling <<print $activeSlave.inflationType>>-filled belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled out by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "battledress">> $activeSlave.slaveName's tank top rides up $possessive jiggling <<print $activeSlave.inflationType>>-filled belly leaving $object looking like someone who had too much fun on shore-leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. $possessiveCap popped navel prominently pokes through the front of $possessive dress. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive jiggling <<print $activeSlave.inflationType>>-filled belly but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests above $possessive popped navel. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off every movement within $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. The material tightly clings to $possessive popped navel. <<case "a chattel habit">> The strip of cloth running down $possessive front is parted to one side by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched out by $possessive jiggling <<print $activeSlave.inflationType>>-filled belly. $possessiveCap popped navel prominently pokes through the material. <<default>> <</switch>> <<elseif $activeSlave.weight >= 95>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's huge gut is tightly compressed by $possessive corset, $possessive fat billows out of any gap it can find. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's huge gut is compressed by $possessive corset, $possessive fat bulges out above and below it. <<elseif ($activeSlave.bellyAccessory is "a small empathy belly")>> $activeSlave.slaveName's small empathy belly is barely noticeable over $possessive huge gut. <</if>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive fat belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's fat belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts let $possessive fat belly hang free. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater is pulled tight over $possessive fat belly. The bottom of which peeks out from under it. <<else>> $activeSlave.slaveName's blouse is pulled tight over $possessive fat belly. The bottom of which peeks out from under it. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's fat belly is large enough to hide $possessive panties. $possessiveCap silken vest sensually frames $possessive heavy, jiggly gut. <<case "a maternity dress">> $activeSlave.slaveName's fat belly fills out $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to a growing pregnancy, though it works on big, jiggly guts all the same. <<case "chains">> $activeSlave.slaveName's chains sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. <<case "western clothing">> $activeSlave.slaveName's flannel shirt strains to stay shut over $possessive fat belly, fat bulges between $possessive buttons and quite a bit of $possessive lower belly hangs out beneath $possessive shirt. <<case "body oil">> $activeSlave.slaveName's fat belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's toga can barely be pulled shut over $possessive fat belly. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. However, it only covers the top of $possessive fat belly, allowing it to hang free. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straps sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. The straps connect to a steel ring that parts the fold concealing $possessive navel, allowing it to be seen once again. <<case "shibari ropes">> $activeSlave.slaveName's binding ropes sink deep into $possessive fat belly, several even disappearing beneath $possessive folds. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's fat belly is compressed by $possessive latex suit, leaving it looking round and smooth. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's fat belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's shirt struggles to cover $possessive fat belly. The bottom of which peeks out from under it. <<else>> $activeSlave.slaveName's fat belly is covered by $possessive uniform's jacket. The bottom of which just barely peeks out from under it. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's fat belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive fat belly freely hangs out from under them, obscuring $possessive trousers. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, though $possessive fat belly freely hangs from under $possessive top, obscuring $possessive trousers. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive fat belly, clearly showing every fold and roll. <<case "attractive lingerie">> $activeSlave.slaveName's fat belly hides $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's fat belly sticks out of $possessive corset, which is laced above and below it allowing it to hang free. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress fails to cover $possessive fat belly, but the outfit includes a thin white blouse that, when stretched, only manages to wrangle the top of $possessive gut. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive fat belly completely, but does nothing to hide how big it is. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset is barely holding together over her fat belly, causing flab to spill out from every opening. <<case "a penitent nuns habit">> $possessiveCap fat belly fills out $possessive habit. The coarse cloth has plenty of extra skin to aggravate. <<case "a string bikini">> $activeSlave.slaveName's fat belly parts $possessive string bikini to either side. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting is stretched out by $possessive fat belly, forcing flab to poke through the mesh. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top covers most of $possessive fat belly. However, the bottom of it peeks out, obscuring $possessive skirt and a letting everyone know how badly this cheerleader needs to diet. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's fat belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt busy, allowing $possessive fat belly to hang free. <<else>> $activeSlave.slaveName's t-shirt covers only the top of $possessive fat belly, allowing it to hang mostly free and cover $possessive jeans. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName lets $possessive fat belly hang free, leaving $possessive looking particularly slutty. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, accentuating and hugging every curve of $possessive fat belly. <<case "slutty business attire">> $activeSlave.slaveName's fat belly strains the buttons of $possessive suit jacket and blouse. The bottom of which just barely peeks out from under them. <<case "nice business attire">> $activeSlave.slaveName's tailored blouse and jacket fit $possessive fat belly well, though they do nothing to hide how big $possessive gut is. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive fat belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive fat belly, displaying every fold and roll in it. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket barely closes over $possessive fat belly forcing plenty of flab out from under its bottom and between the straining buttons. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse rides up $possessive fat belly, leaving it hanging loose and covering $possessive skirt. <<case "a kimono">> $activeSlave.slaveName's fat belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is filled out by $possessive fat belly. <<case "battledress">> $activeSlave.slaveName's tank top rests atop $possessive fat belly, leaving everyone wondering how this recruit passed basic. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress is filled by $possessive fat belly. Every crease, fold and roll is clearly visible within it. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to not only fit $possessive fat belly but draw attention to it. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include long, thin chains running along $possessive fat folds. <<case "a leotard">> $activeSlave.slaveName's tight leotard tightly clings to $possessive fat belly, clearly displaying every fold and roll. <<case "a chattel habit">> The strip of cloth running down $possessive front is gently sinks into $possessive fat belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy is stretched out by $possessive fat belly. $possessiveCap flab juts out around its edges and it does nothing to hide $possessive folds and rolls. <<default>> <</switch>> <<if $arcologies[0].FSSlimnessEnthusiast != "unset">> Your sleek, slim society finds $possessive bloated body unsightly. <</if>> <<elseif $activeSlave.inflation == 1>> <<if ($activeSlave.bellyAccessory is "an extreme corset")>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is tightly compressed by $possessive corset causing $possessive distress. <<elseif ($activeSlave.bellyAccessory is "a corset")>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is compressed by $possessive corset making $possessive uncomfortable. <</if>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> <<if ($activeSlave.boobs > 20000)>> $activeSlave.slaveName's immense breasts keep $possessive oversized sweater from covering $possessive <<print $activeSlave.inflationType>>-swollen belly, though they do a fine job of hiding it themselves. <<elseif ($activeSlave.boobs > 10000)>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is hidden by $possessive massive tits and oversized sweater. <<elseif ($activeSlave.boobs > 8000)>> $activeSlave.slaveName's oversized breasts keep $possessive sweater far from $possessive <<print $activeSlave.inflationType>>-swollen belly. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's sweater bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. <<else>> $activeSlave.slaveName's blouse bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. <</if>> <<case "attractive lingerie for a pregnant woman">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly rests above $possessive silken panties. $possessiveCap silken vest sensually frames $possessive swelling belly. <<case "a maternity dress">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is noticeable under $possessive loose dress. $possessiveCap dress is specially tailored to be modest yet draw attention to $possessive distended stomach. <<case "chains">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is tightly wrapped with chains. <<case "western clothing">> $activeSlave.slaveName's flannel shirt bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "body oil">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is covered in a sheen of oil. <<case "a toga">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly gently bulges under $possessive toga. <<case "a slutty qipao">> $possessiveCap qipao is slit up the side. The front is pushed out by $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "uncomfortable straps">> $activeSlave.slaveName's slave outfit's straining straps press into $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "shibari ropes">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is tightly bound with rope, flesh bulges from between them. <<case "restrictive latex" "a latex catsuit">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly greatly bulges under $possessive latex suit. <<case "a military uniform">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's undershirt covers $possessive <<print $activeSlave.inflationType>>-swollen belly. <<else>> $activeSlave.slaveName's uniform covers $possessive <<print $activeSlave.inflationType>>-swollen belly. <</if>> <<case "a nice nurse outfit">> <<if ($activeSlave.boobs > 6000)>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is obscured by $possessive massive tits. <<elseif ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's nurse outfit could be called conservative, if it could cover more than half of $possessive breasts; $possessive <<print $activeSlave.inflationType>>-swollen belly is completely exposed. <<else>> $activeSlave.slaveName's nurse outfit is almost conservative, it covers $possessive <<print $activeSlave.inflationType>>-swollen belly completely. <</if>> <<case "a mini dress">> $activeSlave.slaveName's mini dress tightly clings to $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "attractive lingerie">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly rests above $possessive lacy g-string. <<case "a succubus outfit">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly peeks out of $possessive corset, which is laced above and below it. <<case "a slutty maid outfit">> $activeSlave.slaveName's maid dress is slightly distended by $possessive growing belly. <<case "a nice maid outfit">> $activeSlave.slaveName's maid dress is almost conservative, it covers $possessive <<print $activeSlave.inflationType>>-swollen belly completely. <<case "a fallen nuns habit">> $activeSlave.slaveName's latex habit's corset struggles to hold $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a penitent nuns habit">> $activeSlave.slaveName's habit gently bulges from $possessive <<print $activeSlave.inflationType>>-swollen belly. The coarse cloth aggravates $possessive sensitive skin. <<case "a string bikini">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly juts out between the strings of $possessive bikini. <<case "clubslut netting">> $activeSlave.slaveName's clubslut netting clings to $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a cheerleader outfit">> $activeSlave.slaveName's cheerleader top gently bulges from $possessive <<print $activeSlave.inflationType>>-swollen belly displaying how slutty this cheerleader is. <<case "cutoffs and a t-shirt">> <<if ($activeSlave.boobs > 4000)>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is obscured by $possessive huge tits. <<elseif ($activeSlave.boobs > 2000)>> $activeSlave.slaveName's tits keep $possessive t-shirt far from $possessive <<print $activeSlave.inflationType>>-swollen belly. <<else>> $activeSlave.slaveName's t-shirt bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. The bottom of which is beginning to peek from under $possessive T-shirt. <</if>> <<case "a slutty outfit">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly shows how big of a slut $pronoun is. <<case "a slave gown">> $activeSlave.slaveName's slave gown is carefully tailored, giving $object a sensual look as it carefully caresses $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "slutty business attire">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly bulges $possessive suit jacket and blouse. It peeks out from under their bottom slightly. <<case "nice business attire">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly bulges under $possessive tailored blouse and jacket. <<case "harem gauze">> $activeSlave.slaveName's harem girl outfit sensually accentuates $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a comfortable bodysuit">> $activeSlave.slaveName's bodysuit tightly clings to $possessive <<print $activeSlave.inflationType>>-swollen belly, displaying $possessive bloated body. <<case "a slutty nurse outfit">> $activeSlave.slaveName's jacket bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly, which can be seen peeking out from underneath. <<case "a schoolgirl outfit">> $activeSlave.slaveName's blouse bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. It peeks out from the bottom leaving $object looking particularly slutty. <<case "a kimono">> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is demurely covered by $possessive kimono. <<case "a hijab and abaya">> $activeSlave.slaveName's abaya is bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "battledress">> $activeSlave.slaveName's tank top covers the top of $possessive <<print $activeSlave.inflationType>>-swollen belly leaving $object looking like someone who had too much fun on shore-leave. <<case "a halter top dress">> $activeSlave.slaveName's beautiful halter top dress bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a ball gown">> $activeSlave.slaveName's fabulous silken ball gown is tailored to draw attention to $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "slutty jewelry">> $activeSlave.slaveName's bangles include a long thin chain that rests across $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a leotard">> $activeSlave.slaveName's tight leotard shows off $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a chattel habit">> The strip of cloth running down $possessive front is pushed out by $possessive <<print $activeSlave.inflationType>>-swollen belly. <<case "a bunny outfit">> $activeSlave.slaveName's teddy bulges with $possessive <<print $activeSlave.inflationType>>-swollen belly. <<default>> <</switch>> <</if>> <<else>> $activeSlave.slaveName's <<print $activeSlave.inflationType>>-swollen belly is bare and ready for surgery. <</if>> <</if>> <<if $activeSlave.cSec == 1>> $pronounCap has an unsightly c-section scar under $possessive navel. <</if>> <<if $activeSlave.navelPiercing == 1>> $possessiveCap navel bears a simple stud. <<elseif $activeSlave.navelPiercing == 2>> $possessiveCap navel is pierced with a big ring. <<if ($activeSlave.clothes is "slutty jewelry")>> It has a length of gilded chain dangling from it. <<else>> It has a short length of chain dangling from it. <</if>> <</if>> <<if $activeSlave.bellyTat != 0>> <<if $activeSlave.inflation == 3>> <<if $activeSlave.bellyTat is "a heart">> A heart is tattooed around $possessive popped navel, only to be truly seen when $pronoun is full-term or absolutely filled with <<print $activeSlave.inflationType>>. <<elseif $activeSlave.bellyTat is "a star">> A star is tattooed around $possessive popped navel, only to be truly seen when $pronoun is full-term or absolutely filled with <<print $activeSlave.inflationType>>. <<elseif $activeSlave.bellyTat is "a butterfly">> A butterfly is tattooed around $possessive popped navel, only to be truly seen when $pronoun is full-term or absolutely filled with <<print $activeSlave.inflationType>>. <</if>> <<elseif $activeSlave.inflation == 2>> $pronounCap has an barely recognizable tattoo around $possessive navel, it should reveal itself fully once $pronoun is bloated a little more. <<elseif $activeSlave.inflation == 1>> $pronounCap has an unrecognizable tattoo around $possessive navel, it has stretched slightly along with $possessive distended middle. <<else>> $pronounCap has an unrecognizable tattoo scrunched around $possessive navel. <</if>> <</if>> <<if ($activeSlave.brand != 0) and ($activeSlave.brandLocation is "belly")>> $pronounCap has $activeSlave.brand branded into the flesh of $possessive $activeSlave.brandLocation. <</if>> <<if ($activeSlave.breedingMark == 1)>> The Societal Elites' mark designating $possessive as a breeder is prominently displayed across $possessive lower belly, beneath $possessive navel. <</if>> <</widget>>
r3d/fc
src/utility/descriptionWidgets.tw
tw
bsd-3-clause
562,962
:: misc widgets [nobr widget] /* TODO: Modularize. */ /% Call as <<AssayedSlaveAvailable>> Checks $assayedSlave for availability, e.g. not strapped to a machine or distant. %/ <<widget "AssayedSlaveAvailable">> <<if $assayedSlave.assignment is "be your agent">> <<set $assayedSlaveAvailable = 0>> <<elseif $assayedSlave.assignment is "live with your agent">> <<set $assayedSlaveAvailable = 0>> <<elseif ($assayedSlave.assignment is "work in the dairy") && ($dairyRestraintsSetting >= 2)>> <<set $assayedSlaveAvailable = 0>> <<else>> <<set $assayedSlaveAvailable = 1>> <</if>> <</widget>> /% Call as <<AnalVCheck 10>> or <<AnalVCheck>> $arg[0] is how many times to increment the Anal counts. if $arg[0] is left undefined it will assume it to be 1. %/ <<widget "AnalVCheck">> <<if canDoAnal($activeSlave) && ($activeSlave.anus eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin ass.@@ <<if ($activeSlave.devotion > 50) || $activeSlave.career == "a slave since birth">> Since it's her first time, you gently ease yourself into her butthole and gradually increase the intensity of your thrusts. Before long she's moaning loudly as you continue working away at her butthole. She thinks of losing her anal virginity to you as a @@color:hotpink;connection@@ with her beloved master. She looks forward to having her asshole fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion > 20)>> Since it's her first time, you gently ease yourself into her butthole and gradually increase the intensity of your thrusts. Her moans become louder and louder as you continue working away at her butthole. She accepts the pain and humiliation of anal sex as part of her sexual servitude, though she hopes that her next time will be less painful. <<elseif ($activeSlave.devotion >= -20)>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:gold;fears@@ her next anal sex, remembering the pain of losing her anal virginity. She dreads having her ass violated by you again. <<set $activeSlave.trust -= 5>> <<else>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for violating her virgin butt. She dreads having her ass fucked by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <</if>> <<set $activeSlave.anus to 1>> <</if>> <<if $args[0]>> <<set $analTotal += $args[0], $activeSlave.analCount += $args[0]>> <<else>> <<set $analTotal++, $activeSlave.analCount++>> <</if>> <</widget>> /% Call as <<VaginalVCheck 10>> or <<VaginalVCheck>> $arg[0] is how many times to increment the Vaginal counts. if $arg[0] is left undefined it will assume it to be 1. This also checks for a valid Vagina/Accessory, though most code I've seen does this already, you never know when someone might use the routine and forget to do such. %/ <<widget "VaginalVCheck">> <<if canDoVaginal($activeSlave)>> <<if ($activeSlave.vagina eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin pussy.@@ <<if ($activeSlave.devotion > 20) || $activeSlave.career == "a slave since birth">> You ease yourself into her pussy, since it's her first time, then gradually speed up your thrusts while she slowly learns to move her hips along with you. She moans loudly. @@color:hotpink;She enjoys losing her cherry to you.@@ She looks forward to having her pussy fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion < -20)>> You force yourself into her pussy. She sobs and cries with disgust while you continue working her fuck hole. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for taking her virginity. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <<else>> You ease yourself into her pussy, since it's her first time, then gradually speed up your thrusts while she slowly learns to move her hips along with you. She accepts losing her virginity to her owner. She looks forward to having her pussy fucked by you again. <</if>> <<set $activeSlave.vagina to 1>> <</if>> <<if $args[0]>> <<set $vaginalTotal += $args[0], $activeSlave.vaginalCount += $args[0]>> <<else>> <<set $vaginalTotal++, $activeSlave.vaginalCount++>> <</if>> <</if>> <</widget>> /% Call as <<BothVCheck 10 5>> or <<BothVCheck>> $arg[0] is how many times to increment the Anal counts, if there is no Vagina available. $arg[1] is how many times to increment both holes counts (usually it is half of Anal). In both cases if left undefined it will assume it to be 1. This also checks for a valid Vagina/Accessory, though most code I've seen does this already, you never know when someone might use the routine and forget to do such. %/ <<widget "BothVCheck">> <<if canDoVaginal($activeSlave)>> <<if ($activeSlave.vagina eq 0)>> <<if canDoAnal($activeSlave) && ($activeSlave.anus eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin holes.@@ <<if ($activeSlave.devotion > 50) || $activeSlave.career == "a slave since birth">> As it's her first time, you ease yourself into her pussy before gradually working your way into her ass and alternate between the two holes while she moans. @@color:hotpink;She's so devoted she enjoys being fucked in both holes for the first time.@@ She looks forward to having her holes fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion <= 20)>> You force yourself into her pussy before working your way into her ass. She sobs and cries with disgust while you alternate between the two holes. She @@color:mediumorchid;hates@@ losing her virginity and anal virginity in one @@color:gold;brutal@@ incident. She dreads having her holes violated by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <<else>> As it's her first time, you ease yourself into her pussy before gradually working your way into her ass and alternate between the two holes while she moans. She accepts being fucked in both holes for the first time. She looks forward to having her holes fucked by you again. <</if>> <<set $activeSlave.anus to 1>> <<elseif canDoAnal($activeSlave)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin pussy.@@ <<set $activeSlave.vagina++>> <<if ($activeSlave.devotion > 20) || $activeSlave.career == "a slave since birth">> As it's her first time, you ease yourself into her pussy and gradually speed up your thrusts while she slowly learns to move her hips along with you. She moans loudly. @@color:hotpink;She enjoys losing her cherry to you.@@ She looks forward to having her pussy fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion < -20)>> You force yourself into her pussy. She sobs and cries with disgust while you continue working her fuck hole. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for taking her virginity. She dreads having her pussy violated by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <<else>> As it's her first time, you ease yourself into her pussy before gradually increasing the intensity of your thrusts while she softly moans. She accepts losing her virginity to her owner. She looks forward to having her pussy fucked by you again. <</if>> <</if>> <<set $activeSlave.vagina to 1>> <<elseif ($activeSlave.anus eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin ass.@@ <<if ($activeSlave.devotion > 50) || $activeSlave.career == "a slave since birth">> As it's her first time, you ease yourself into her butthole and gradually speed up your thrusts while she slowly learns to move her hips along with you. She moans loudly. She thinks of losing her anal virginity to you as a @@color:hotpink;connection@@ with her beloved master. She looks forward to having her asshole fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion > 20)>> As it's her first time, you ease yourself into her butthole and gradually increase the intensity of your thrusts. She accepts the pain and humiliation of anal sex as part of her sexual servitude, though she hopes that her next time will be less painful. <<elseif ($activeSlave.devotion >= -20)>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:gold;fears@@ her next anal sex, remembering the pain of losing her anal virginity. She dreads having her ass violated by you again. <<set $activeSlave.trust -= 5>> <<else>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for violating her virgin butt. She dreads having her ass fucked by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <</if>> <<set $activeSlave.anus to 1>> <</if>> <<if $args[1]>> <<set $vaginalTotal += $args[1], $analTotal += $args[1], $activeSlave.vaginalCount += $args[1], $activeSlave.analCount += $args[1]>> <<else>> <<set $vaginalTotal++, $analTotal++, $activeSlave.vaginalCount++, $activeSlave.analCount++>> <</if>> <<elseif canDoAnal($activeSlave)>> <<if ($activeSlave.anus eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin ass.@@ <<if ($activeSlave.devotion > 50) || $activeSlave.career == "a slave since birth">> As it's her first time, you ease yourself into her butthole and gradually speed up your thrusts while she slowly learns to move her hips along with you. She moans loudly. She thinks of losing her anal virginity to you as a @@color:hotpink;connection@@ with her beloved master. She looks forward to having her asshole fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion > 20)>> As it's her first time, you ease yourself into her butthole and gradually increase the intensity of your thrusts. She accepts the pain and humiliation of anal sex as part of her sexual servitude, though she hopes that her next time will be less painful. <<elseif ($activeSlave.devotion >= -20)>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:gold;fears@@ her next anal sex, remembering the pain of losing her anal virginity. She dreads having her ass violated by you again. <<set $activeSlave.trust -= 5>> <<else>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for violating her virgin butt. She dreads having her ass fucked by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <</if>> <<set $activeSlave.anus to 1>> <</if>> <<if $args[0]>> <<set $analTotal += $args[0], $activeSlave.analCount += $args[0]>> <<else>> <<set $analTotal++, $activeSlave.analCount++>> <</if>> <</if>> <</widget>> /% Call as <<SimpleVCheck 5>> or <<SimpleVCheck>> $arg[0] is how many times to increment either the Vaginal or the Anal counts, if there is no Vagina available. If left undefined it will assume it to be 1. %/ <<widget "SimpleVCheck">> <<if canDoVaginal($activeSlave)>> <<if ($activeSlave.vagina eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin pussy.@@ <<if ($activeSlave.devotion > 20) || $activeSlave.career == "a slave since birth">> As it's her first time, you ease yourself into her pussy and gradually speed up your thrusts while she slowly learns to move her hips along with you. Her moans become louder and louder. @@color:hotpink;She enjoys losing her cherry to you.@@ She looks forward to having her pussy fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion < -20)>> You force yourself into her pussy. She sobs and cries with disgust while you continue working her fuck hole. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for taking her virginity.She dreads having her pussy fucked by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <<else>> As it's her first time, you ease yourself into her pussy and gradually speed up your thrusts while she slowly learns to move her hips along with you. She accepts losing her virginity to her owner. She looks forward to having her pussy fucked by you again. <</if>> <<set $activeSlave.vagina to 1>> <</if>> <<if $args[0]>> <<set $vaginalTotal += $args[0], $activeSlave.vaginalCount += $args[0]>> <<else>> <<set $vaginalTotal++, $activeSlave.vaginalCount++>> <</if>> <<elseif canDoAnal($activeSlave)>> <<if ($activeSlave.anus eq 0)>> @@color:lime;This breaks in $activeSlave.slaveName's virgin ass.@@ <<if ($activeSlave.devotion > 50) || $activeSlave.career == "a slave since birth">> As it's her first time, you gently ease yourself into her butthole and gradually increase the intensity of your thrusts. Before long she's moaning loudly as you continue working away at her butthole. She thinks of losing her anal virginity to you as a @@color:hotpink;connection@@ with her beloved master. She looks forward to having her asshole fucked by you again. <<set $activeSlave.devotion += 4>> <<elseif ($activeSlave.devotion > 20)>> As it's her first time, you gently ease yourself into her butthole and gradually increase the intensity of your thrusts. Before long she's moaning loudly as you continue working away at her butthole. She accepts the pain and humiliation of anal sex as part of her sexual servitude. She looks forward to having her asshole fucked by you again. <<elseif ($activeSlave.devotion >= -20)>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:gold;fears@@ her next anal sex, remembering the pain of losing her anal virginity. She dreads having her ass fucked by you again. <<set $activeSlave.trust -= 5>> <<else>> You force yourself into her butthole. She sobs and cries with disgust while you continue thrusting into her ass. She @@color:mediumorchid;hates@@ and @@color:gold;fears@@ you for violating her virgin butt. She dreads having her ass fucked by you again. <<set $activeSlave.trust -= 5, $activeSlave.devotion -= 5>> <</if>> <<set $activeSlave.anus to 1>> <</if>> <<if $args[0]>> <<set $analTotal += $args[0], $activeSlave.analCount += $args[0]>> <<else>> <<set $analTotal++, $activeSlave.analCount++>> <</if>> <</if>> <</widget>> /% Call as <<PartnerVCheck 10 5>> or <<PartnerVCheck>> $arg[0] is how many times to increment the Anal counts, if there is no Vagina available. $arg[1] is how many times to increment both holes counts (usually it is half of Anal). In both cases if left undefined it will assume it to be 1. This also checks for a valid Vagina/Accessory, though most code I've seen does this already, you never know when someone might use the routine and forget to do such. %/ <<widget "PartnerVCheck">> <<if canDoVaginal($partner)>> <<if ($partner.vagina == 0)>> <<if canDoAnal($partner) && ($partner.anus eq 0)>> Since it's $partner.slaveName's first time, you take your time and gently ease yourself into her pussy before gradually working your way into her butthole, alternating between her holes. @@color:lime;This breaks in $partner.slaveName's virgin holes. <<set $partner.vagina++, $partner.anus++>> <<else>> Since it's $partner.slaveName's first time, you take your time and gently ease yourself into her pussy before gradually increasing the intensity of your thrusts. @@color:lime;This breaks in $partner.slaveName's virgin pussy. <<set $partner.vagina++>> <</if>> <<elseif canDoAnal($partner) && ($partner.anus eq 0)>> Since it's $partner.slaveName's first time, you take your time and gently ease yourself into her butthole before gradually increasing the intensity of your thrusts into her ass. @@color:lime;This breaks in $partner.slaveName's virgin ass. <<set $partner.anus++>> <</if>> <<if $args[1]>> <<set $vaginalTotal += $args[1], $analTotal += $args[1], $partner.vaginalCount += $args[1], $partner.analCount += $args[1]>> <<else>> <<set $vaginalTotal++, $analTotal++, $partner.vaginalCount++, $partner.analCount++>> <</if>> <<elseif canDoAnal($partner)>> <<if ($partner.anus eq 0)>> Since it's $partner.slaveName's first time, you take your time and gently ease yourself into her butthole before gradually increasing the intensity of your thrusts into her ass. This breaks in $partner.slaveName's virgin ass. <<set $partner.anus++>> <</if>> <<if $args[0]>> <<set $analTotal += $args[0], $partner.analCount += $args[0]>> <<else>> <<set $analTotal++, $partner.analCount++>> <</if>> <</if>> @@ <</widget>> /% Call as <<SlaveInteractImpreg>> %/ <<widget "SlaveInteractImpreg">> <<replace #impreg>> <<if ((canGetPregnant($activeSlave)) && ($activeSlave.clothes != "a Fuckdoll suit"))>> <<if ($PC.dick != 0 && $activeSlave.eggType == "human")>> | <<link "Impregnate her yourself">><<replace "#miniscene">><<include "FPCImpreg">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> | [[Use another slave to impregnate her|FSlaveImpreg]] <</if>> <<if $activeSlave.preg <= 0 && $activeSlave.bellyImplant == 0>> <<if $activeSlave.assignment != "work in the dairy" && $activeSlave.assignment != "be confined in the arcade">> <<if $enema == 1>> <<if $activeSlave.inflation < 3>> <<if $activeSlave.inflationType == "water" || $activeSlave.inflationType == "none">> | <<link "Fill her ass with water">><<set $activeSlave.inflationType to "water">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> <</if>> <</if>> <<if $dairyPiping == 1>> <<if ($milkWeek > 88 && $milkWeek != 0) || $arcologies[0].FSPastoralistLaw == 1>> <<if $activeSlave.inflation < 3>> <<if $activeSlave.inflationType == "milk" || $activeSlave.inflationType == "none">> | <<link "Fill her ass with milk">><<set $activeSlave.inflationType to "milk">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> | <<link "Force feed her milk">><<set $activeSlave.inflationType to "milk">><<set $activeSlave.inflationMethod to 1>><<replace "#miniscene">><<include "FillUpFace">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> <</if>> <<else>> | //$dairyNameCaps is not producing enough milk to pump through the pipes// <</if>> <<if ($cumWeek > 88 && $cumWeek != 0) || $arcologies[0].FSPastoralistLaw == 1>> <<if $activeSlave.inflation < 3>> <<if $activeSlave.inflationType == "cum" || $activeSlave.inflationType == "none">> | <<link "Fill her ass with cum">><<set $activeSlave.inflationType to "cum">><<set $activeSlave.inflationMethod to 2>><<replace "#miniscene">><<include "FillUpButt">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> | <<link "Force feed her cum">><<set $activeSlave.inflationType to "cum">><<set $activeSlave.inflationMethod to 1>><<replace "#miniscene">><<include "FillUpFace">><br><</replace>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <</if>> <</if>> <<else>> | //$dairyNameCaps is not producing enough cum to pump through the pipes// <</if>> <</if>> <</if>> <</if>> <<if ($activeSlave.preg <= 0) && ($activeSlave.inflation == 0) && ($activeSlave.bellyImplant == 0)>> <<if $activeSlave.assignment != "work in the dairy" || $activeSlave.assignment != "be confined in the arcade">> | [[Use another slave to forcefeed her|SlaveOnSlaveFeedingWorkAround]] <</if>> <</if>> <</replace>> <</widget>> /% Call as <<SlaveInteractFertility>> %/ <<widget "SlaveInteractFertility">> <<replace #fertilityblock>> <<if $activeSlave.fuckdoll == 0 && ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> <<if ($activeSlave.preg < -1)>> //She is sterile// <<elseif ($activeSlave.pubertyXX == 0)>> //She is not yet fertile// <<elseif $activeSlave.physicalAge >= 47>> //She is too old to become pregnant// <<elseif ($activeSlave.preg >= -1)>> __Contraception__: <span id="fertility"><strong><<if $activeSlave.preg is -1>><<print "using contraceptives">><<elseif $activeSlave.preg == 0>><<print "fertile">><<elseif $activeSlave.preg < 4>><<print "may be pregnant">><<else>><<print $activeSlave.preg>><<print " weeks pregnant">><</if>></strong></span>. <<if ($activeSlave.preg == 0)>> <<link "Use contraceptives">><<set $activeSlave.preg to -1>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <<elseif ($activeSlave.preg is -1)>> <<link "Let her get pregnant">><<set $activeSlave.preg to 0>><<SlaveInteractImpreg>><<SlaveInteractFertility>><</link>> <<elseif $activeSlave.induce == 1>> //Hormones are being slipped into her food, she will give birth suddenly and rapidly this week// <<elseif ($activeSlave.preg > 30) && ($activeSlave.pregType < 50) && ($activeSlave.labor == 0)>> [[Induce labor|Slave Interact][$activeSlave.labor to 1,$activeSlave.induce to 1,$birthee to 1]] <<elseif ($activeSlave.pregType is 50) && ($activeSlave.preg > 30)>> [[Induce mass childbirth|BirthStorm]] <<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50) && $activeSlave.breedingMark == 1 && $activeSlave.pregSource == -1>> //You are forbidden from aborting an elite child// <<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50)>> [[Abort her pregnancy|Abort]] <</if>> <</if>> <<elseif ($activeSlave.ovaries == 1 || $activeSlave.mpreg == 1)>> <<if ($activeSlave.preg < -1)>> //It is sterile// <<elseif ($activeSlave.pubertyXX == 0)>> //It is not yet fertile// <<elseif $activeSlave.physicalAge >= 47>> //It is too old to become pregnant// <<elseif ($activeSlave.preg >= -1)>> __Contraception__: <span id="fertility"><strong><<if $activeSlave.preg is -1>><<print "using contraceptives">><<elseif $activeSlave.preg == 0>><<print "fertile">><<elseif $activeSlave.preg < 4>><<print "may be pregnant">><<else>><<print $activeSlave.preg>><<print " weeks pregnant">><</if>></strong></span>. <<if ($activeSlave.preg == 0)>> <<link "Use contraceptives">><<set $activeSlave.preg to -1>><<SlaveInteractFertility>><</link>> <<elseif ($activeSlave.preg is -1)>> <<link "Let her get pregnant">><<set $activeSlave.preg to 0>><<SlaveInteractFertility>><</link>> <<elseif ($activeSlave.pregType is 50) && ($activeSlave.preg > 30)>> [[Induce mass childbirth|BirthStorm]] <<elseif ($activeSlave.preg > 0) && ($activeSlave.pregType < 50)>> [[Abort her pregnancy|Abort]] <</if>> <</if>> <</if>> <<if ($activeSlave.preg > 1) && ($pregSpeedControl == 1) && ($activeSlave.breedingMark != 1) && ($activeSlave.indentureRestrictions < 1) && ($activeSlave.pregType < 50)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; __Pregnancy control__: <span id="pregControl"><<if $activeSlave.pregControl == "labor supressors">>Labor is supressed<<elseif $activeSlave.pregControl == "slow gestation">>Slowed gestation<<elseif $activeSlave.pregControl == "speed up">>Faster gestation<<else>>Normal gestation<</if>></span> <<if ($activeSlave.preg >= 30)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.pregControl == "labor supressors">> <<link "Normal Birth">><<set $activeSlave.pregControl = "none">><<replace "#pregControl">>natural birth<</replace>><</link>> <<else>> <<link "Supress Labor">><<set $activeSlave.pregControl = "labor supressors">><<replace "#pregControl">>labor will be supressed<</replace>><</link>> <</if>> <<elseif ($activeSlave.preg < 30)>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if $activeSlave.pregControl != "none">> <<link "Normal Gestation">><<set $activeSlave.pregControl = "none">><<replace "#pregControl">>normal gestation speed<</replace>><</link>> | <</if>> <<if $activeSlave.pregControl != "slow Gestation">> <<link "Slow Gestation">><<set $activeSlave.pregControl = "slow gestation">><<replace "#pregControl">>slowed gestation speed<</replace>><</link>> | <</if>> <<if $activeSlave.pregControl != "speed up">> <<link "Fast Gestation">><<set $activeSlave.pregControl = "speed up">><<replace "#pregControl">>fast gestation speed, staffed clinic recommended<</replace>><</link>> <</if>> <</if>> <</if>> <</replace>> <</widget>> /% Call as <<SlaveInteractSexOption>> %/ <<widget "SlaveInteractSexOption">> <<replace #sexoption>> <<if ($activeSlave.vagina > -1)>> <<if canDoVaginal($activeSlave)>> <<link "Fuck her">><<replace "#miniscene">><<include "FVagina">><br><</replace>><</link>> <<if canDoAnal($activeSlave)>> | <<link "Use her holes">><<replace "#miniscene">><<include "FButt">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> | <</if>> <<else>> //Remove her chastity belt if you wish to fuck her// | <</if>> <</if>> <</replace>> <</widget>> /% Call as <<SlaveInteractAnalSexOption>> %/ <<widget "SlaveInteractAnalSexOption">> <<replace #analsexoption>> <<if canDoAnal($activeSlave)>> <<link "Fuck her ass">><<replace "#miniscene">><<include "FAnus">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> //Remove her chastity belt if you wish to fuck her ass// | <</if>> <</replace>> <</widget>> /% Call as <<SlaveInteractAnalGropeOption>> %/ <<widget "SlaveInteractAnalGropeOption">> <<replace #analgropeoption>> <<if canDoAnal($activeSlave)>> | <<link "Grope her butt">><<replace "#miniscene">><<include "FondleButt">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</replace>> <</widget>> /% Call as <<SlaveInteractGropeOption>> %/ <<widget "SlaveInteractGropeOption">> <<replace #gropeoption>> <<if ($activeSlave.vagina > -1)>> <<if canDoVaginal($activeSlave)>> | <<link "Grope her pussy">><<replace "#miniscene">><<include "FondleVagina">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <</if>> <</if>> <</replace>> <</widget>> /% Call as <<SlaveInteractDickGropeOption>> %/ <<widget "SlaveInteractDickGropeOption">> <<replace #dickgropeoption>> <<if ($activeSlave.dick >0)>> <<if ($activeSlave.dickAccessory != "chastity") && ($activeSlave.dickAccessory != "combined chastity")>> | <<link "Grope her dick">><<replace "#miniscene">><<include "FondleDick">><br>&nbsp;&nbsp;&nbsp;&nbsp;<</replace>><</link>> <<else>> | //Remove her dick chastity belt if you wish to play with her cock// <</if>> <</if>> <</replace>> <</widget>> /% Call as <<agentLeadership>> Must be within $arcologies[$i] <<for>> loop %/ <<widget "agentLeadership">> <<set $agentBonus = 0>> <<for _j to 1; _j < $leaders.length; _j++>> <<if $arcologies[$i].leaderID == $leaders[_j].ID>> <<set $agentBonus == $leaders[_j].intelligence>> <<set $agentBonus += $leaders[_j].intelligenceImplant>> <<if $leaders[_j].actualAge > 35>> <<set $agentBonus += 1>> <</if>> <<if $leaders[_j].career is "an arcology owner">> <<set $agentBonus += 1>> <<elseif $HGCareers.contains($leaders[_j].career)>> <<set $agentBonus += 1>> <</if>> <<if $leaders[_j].fetishStrength > 95>> <<if ($leaders[_j].fetish is "dom") || ($leaders[_j].fetish is "sadist")>> <<set $agentBonus += 1>> <<elseif ($leaders[_j].fetish is "dom") || ($leaders[_j].fetish is "sadist")>> <<set $agentBonus -= 1>> <</if>> <</if>> <<if $leaders[_j].energy > 95>> <<set $agentBonus += 1>> <</if>> <<break>> <</if>> <</for>> <<if $agentBonus > random(0,5)>> <<set $agentBonus = 1>> <<else>> <<set $agentBonus = 0>> <</if>> <</widget>> /% Call as <<PCTitle>> %/ <<widget "PCTitle">> <<set $PCTitle to $PCName>> <<set $titles = []>> <<if $cheater == 1>> <<set $PCTitle to ($PCTitle + " the Cheater")>> <<elseif $arcologies[0].FSRestart > 10>> <<set $PCTitle to ($PCTitle + " of the Societal Elite")>> <<elseif $rep > 18000>> <<set $PCTitle to ($PCTitle + " the Great")>> <<elseif $rep > 17000>> <<set $PCTitle to ("the exalted " + $PCTitle)>> <<elseif $rep > 16000>> <<set $PCTitle to ("the illustrious " + $PCTitle)>> <<elseif $rep > 15000>> <<set $PCTitle to ("the prestigious " + $PCTitle)>> <<elseif $rep > 14000>> <<set $PCTitle to ("the renowned " + $PCTitle)>> <<elseif $rep > 13000>> <<set $PCTitle to ("the famed " + $PCTitle)>> <<elseif $rep > 12000>> <<set $PCTitle to ("the celebrated " + $PCTitle)>> <<elseif $rep > 11000>> <<set $PCTitle to ("the honored " + $PCTitle)>> <<elseif $rep > 10000>> <<set $PCTitle to ("the acclaimed " + $PCTitle)>> <<elseif $rep > 9000>> <<set $PCTitle to ("the eminent " + $PCTitle)>> <<elseif $rep > 8250>> <<set $PCTitle to ("the prominent " + $PCTitle)>> <<elseif $rep > 7500>> <<set $PCTitle to ("the distinguished " + $PCTitle)>> <<elseif $rep > 6750>> <<set $PCTitle to ("the admired " + $PCTitle)>> <<elseif $rep > 6000>> <<set $PCTitle to ("the esteemed " + $PCTitle)>> <<elseif $rep > 5250>> <<set $PCTitle to ("the respected " + $PCTitle)>> <<elseif $rep > 4500>> <<set $PCTitle to ("the known " + $PCTitle)>> <<elseif $rep > 3750>> <<set $PCTitle to ("the recognized " + $PCTitle)>> <<elseif $rep > 3000>> <<set $PCTitle to ("the rumored " + $PCTitle)>> <</if>> <<set $PCTitle to ($PCTitle + ", ")>> <<if $PCName is "FC Dev">> <<set $titles.push("the Creator")>> <</if>> <<if $plot == 1>> <<if $invasionVictory is 3>> <<if $PC.title == 1>> <<set $titles.push("Hero of the City")>> <<else>> <<set $titles.push("Heroine of the City")>> <</if>> <<elseif $invasionVictory is 2>> <<set $titles.push("Defender of the City")>> <</if>> <<if $daughtersVictory is 3>> <<set $titles.push("Destroyer of the Daughters")>> <<elseif $daughtersVictory is 2>> <<if $PC.title == 1>> <<set $titles.push("Victor over the Daughters")>> <<else>> <<set $titles.push("Victrix over the Daughters")>> <</if>> <</if>> <</if>> <<if $mercenaries >= 5>> <<if $mercenariesTitle is "Evocati">> <<set $seed to $mercenariesTitle>> <<set $seed to ("Princeps of the " + $seed)>> <<set $titles.push($seed)>> <<elseif $mercenariesTitle is "Knights">> <<set $seed to $mercenariesTitle>> <<if $PC.title == 1>> <<set $seed to ("Lord Commander of the " + $seed)>> <<else>> <<set $seed to ("Lady Commander of the " + $seed)>> <</if>> <<set $titles.push($seed)>> <<elseif $mercenariesTitle is "Immortals">> <<set $seed to $mercenariesTitle>> <<set $seed to ("Tyrant of the " + $seed)>> <<set $titles.push($seed)>> <<else>> <<set $seed to $mercenariesTitle>> <<set $seed to ("Commander of the " + $seed)>> <<set $titles.push($seed)>> <</if>> <<elseif $mercenaries >= 1>> <<set $titles.push("Commander of the Mercenaries")>> <</if>> <<if $dispensary == 1>> <<if $PC.title == 1>> <<set $titles.push("Pharmacologos")>> <<else>> <<set $titles.push("Pharmacologes")>> <</if>> <</if>> <<if $arcologies[0].FSSupremacist >= $FSLockinLevel*0.9>> <<set $titles.push("Grand Champion of the Blood")>> <<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.6>> <<set $titles.push("Champion of the Blood")>> <<elseif $arcologies[0].FSSupremacist >= $FSLockinLevel*0.3>> <<set $titles.push("Defender of the Blood")>> <</if>> <<if $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.9>> <<set $titles.push("Grand Overseer of the Inferior Race")>> <<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.6>> <<set $titles.push("Overseer of the Inferior Race")>> <<elseif $arcologies[0].FSSubjugationist >= $FSLockinLevel*0.3>> <<set $titles.push("Subduer of the Inferior Race")>> <</if>> <<if $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.9>> <<set $titles.push("Buttfucker of All Slaves")>> <<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.6>> <<set $titles.push("Sodomizer of the Traps")>> <<elseif $arcologies[0].FSGenderRadicalist >= $FSLockinLevel*0.3>> <<if $PC.title == 1>> <<set $titles.push("Penetrator of the Sissies")>> <<else>> <<set $titles.push("Penetratrix of the Sissies")>> <</if>> <</if>> <<if $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("Father to the City")>> <<else>> <<set $titles.push("Mother to the City")>> <</if>> <<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.6>> <<set $titles.push("Defender of Women")>> <<elseif $arcologies[0].FSGenderFundamentalist >= $FSLockinLevel*0.3>> <<set $titles.push("Restorer of Morals")>> <</if>> <<if $arcologies[0].FSPaternalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("Protector to All Slaves")>> <<else>> <<set $titles.push("Protectrix to All Slaves")>> <</if>> <<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> <<set $titles.push("Benefactor of Slaves")>> <<else>> <<set $titles.push("Benefactrix of Slaves")>> <</if>> <<elseif $arcologies[0].FSPaternalist >= $FSLockinLevel*0.3>> <<set $titles.push("Pursuer of Justice")>> <</if>> <<if $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.9>> <<set $titles.push("the Savior of the Future")>> <<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.6>> <<set $titles.push("the Holder of the Future")>> <<elseif $arcologies[0].FSRepopulationFocus >= $FSLockinLevel*0.3>> <<set $titles.push("the Repopulist")>> <</if>> <<if $arcologies[0].FSDegradationist >= $FSLockinLevel*0.9>> <<set $titles.push("Holder of the Rod and the Lash")>> <<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.6>> <<set $titles.push("Subduer of Slaves")>> <<elseif $arcologies[0].FSDegradationist >= $FSLockinLevel*0.3>> <<set $titles.push("Pursuer of Justice")>> <</if>> <<if $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.9>> <<set $titles.push("the Purifier of the Breasts")>> <<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.6>> <<set $titles.push("the Discerning")>> <<elseif $arcologies[0].FSBodyPurist >= $FSLockinLevel*0.3>> <<set $titles.push("the Tasteful")>> <</if>> <<if $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.9>> <<set $titles.push("the Expander of the Breasts")>> <<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.6>> <<set $titles.push("the Expander")>> <<elseif $arcologies[0].FSAssetExpansionist >= $FSLockinLevel*0.3>> <<if $PC.title == 1>> <<set $titles.push("the Implantor")>> <<else>> <<set $titles.push("the Implantrix")>> <</if>> <</if>> <<if $arcologies[0].FSPastoralist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("the Master of Stock")>> <<else>> <<set $titles.push("the Mistress of Stock")>> <</if>> <<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.6>> <<set $titles.push("the Rancher")>> <<elseif $arcologies[0].FSPastoralist >= $FSLockinLevel*0.3>> <<set $titles.push("the Farmer")>> <</if>> <<if $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.9>> <<set $titles.push("beloved of Brodin")>> <<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> <<set $titles.push("he of the godlike Body")>> <<else>> <<set $titles.push("she of the godlike Body")>> <</if>> <<elseif $arcologies[0].FSPhysicalIdealist >= $FSLockinLevel*0.3>> <<set $titles.push("advancer of Gains")>> <</if>> <<if $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.9>> <<set $titles.push("Grand Preserver of MILFS")>> <<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.6>> <<set $titles.push("Fucker of MILFS")>> <<elseif $arcologies[0].FSMaturityPreferentialist >= $FSLockinLevel*0.3>> <<if $PC.title == 1>> <<set $titles.push("he of the notorious MILF preference")>> <<else>> <<set $titles.push("she of the notorious MILF preference")>> <</if>> <</if>> <<if $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.9>> <<set $titles.push("Keeper of the Magnificent Young Harem")>> <<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.6>> <<set $titles.push("Keeper of Virgins")>> <<elseif $arcologies[0].FSYouthPreferentialist >= $FSLockinLevel*0.3>> <<set $titles.push("the Virginbreaker")>> <</if>> <<if $arcologies[0].FSChattelReligionistLaw == 1>> <<set $titles.push("the Prophet")>> <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.9>> <<set $titles.push("Keeper of the Blade and Chalice")>> <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.6>> <<set $titles.push("Champion of the Faith")>> <<elseif $arcologies[0].FSChattelReligionist >= $FSLockinLevel*0.3>> <<set $titles.push("the Holy")>> <</if>> <<if $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.9>> <<set $titles.push("First Consul")>> <<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.6>> <<set $titles.push("Aedile")>> <<elseif $arcologies[0].FSRomanRevivalist >= $FSLockinLevel*0.3>> <<set $titles.push("Quaestor")>> <</if>> <<if $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("the Living God")>> <<else>> <<set $titles.push("the Living Goddess")>> <</if>> <<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.6>> <<set $titles.push("Pharaoh")>> <<elseif $arcologies[0].FSEgyptianRevivalist >= $FSLockinLevel*0.3>> <<if $PC.title == 1>> <<set $titles.push("Prince of the Nile")>> <<else>> <<set $titles.push("Princess of the Nile")>> <</if>> <</if>> <<if $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("Emperor and Descendant of Amaterasu")>> <<else>> <<set $titles.push("Amaterasu Reborn")>> <</if>> <<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.6>> <<set $titles.push("Shogun")>> <<elseif $arcologies[0].FSEdoRevivalist >= $FSLockinLevel*0.3>> <<set $titles.push("Daimyo")>> <</if>> <<if $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("Caliph")>> <<else>> <<set $titles.push("Handmaiden of Allah")>> <</if>> <<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> <<set $titles.push("Sultan")>> <<else>> <<set $titles.push("Sultana")>> <</if>> <<elseif $arcologies[0].FSArabianRevivalist >= $FSLockinLevel*0.3>> <<set $titles.push("Beloved of Allah")>> <</if>> <<if $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.9>> <<if $PC.title == 1>> <<set $titles.push("Emperor and Holder of the Mandate of Heaven")>> <<else>> <<set $titles.push("Empress and Holder of the Mandate of Heaven")>> <</if>> <<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.6>> <<if $PC.title == 1>> <<set $titles.push("Emperor")>> <<else>> <<set $titles.push("Empress")>> <</if>> <<elseif $arcologies[0].FSChineseRevivalist >= $FSLockinLevel*0.3>> <<if $PC.title == 1>> <<set $titles.push("Governor of the Province")>> <<else>> <<set $titles.push("Governess of the Province")>> <</if>> <</if>> <<if $brothelSlaves >= 15>> <<if $PC.title == 1>> <<set $titles.push("Procurator of the Brothel")>> <<else>> <<set $titles.push("Procuratrix of the Brothel")>> <</if>> <</if>> <<if $clubSlaves >= 15>> <<set $titles.push("First on the Club")>> <</if>> <<if $dairySlaves >= 15>> <<set $titles.push("Keeper of the Cattle")>> <</if>> <<if $cumSlaves >= 15>> <<if $PC.title == 1>> <<set $titles.push("Extractor of the Ejaculate")>> <<else>> <<set $titles.push("Extractrix of the Ejaculate")>> <</if>> <</if>> <<if $servantsQuartersSlaves >= 15>> <<if $PC.title == 1>> <<set $titles.push("Director of the Servants")>> <<else>> <<set $titles.push("Directrix of the Servants")>> <</if>> <</if>> <<if $schoolroomSlaves >= 10>> <<if $PC.title == 1>> <<set $titles.push("Educator of the Slaves")>> <<else>> <<set $titles.push("Educatrix of the Slaves")>> <</if>> <</if>> <<if $spaSlaves >= 10>> <<set $titles.push("Order of the Bath")>> <</if>> <<if $arcadeSlaves >= 15>> <<set $titles.push("Comptroller of the Arcade")>> <</if>> <<set $schoolsPresent to []>> <<set $schoolsPerfected to []>> <<if $TSS.schoolProsperity >= 10>> <<set $schoolsPerfected.push("The Slave School")>> <<elseif $TSS.schoolPresent == 1>> <<set $schoolsPresent.push("The Slave School")>> <</if>> <<if $GRI.schoolProsperity >= 10>> <<set $schoolsPerfected.push("The Growth Research Institute")>> <<elseif $GRI.schoolPresent == 1>> <<set $schoolsPresent.push("The Growth Research Institute")>> <</if>> <<if $SCP.schoolProsperity >= 10>> <<set $schoolsPerfected.push("St. Claver Preparatory")>> <<elseif $SCP.schoolPresent == 1>> <<set $schoolsPresent.push("St. Claver Preparatory")>> <</if>> <<if $LDE.schoolProsperity >= 10>> <<set $schoolsPerfected.push("L'Ecole des Enculees")>> <<elseif $LDE.schoolPresent == 1>> <<set $schoolsPresent.push("L'Ecole des Enculees")>> <</if>> <<if $TGA.schoolProsperity >= 10>> <<set $schoolsPerfected.push("The Gymnasium-Academy")>> <<elseif $TGA.schoolPresent == 1>> <<set $schoolsPresent.push("The Gymnasium-Academy")>> <</if>> <<if $schoolsPerfected.length > 0>> <<if $PC.title == 1>> <<set $schoolTitle = "Benefactor of ">> <<else>> <<set $schoolTitle = "Benefactrix of ">> <</if>> <<for $i to 0; $i < $schoolsPerfected.length; $i++>> <<set $seed to $schoolsPerfected[$i]>> <<set $schoolTitle to ($schoolTitle + $seed)>> <<if $i < $schoolsPerfected.length-2>> <<set $schoolTitle to ($schoolTitle + ", ")>> <<elseif $i is $schoolsPerfected.length-2>> <<if $schoolsPerfected.length > 2>> <<set $schoolTitle to ($schoolTitle + ", and ")>> <<else>> <<set $schoolTitle to ($schoolTitle + " and ")>> <</if>> <</if>> <</for>> <<set $titles.push($schoolTitle)>> <</if>> <<if $schoolsPresent.length > 0>> <<set $schoolTitle = "Supporter of ">> <<for $i to 0; $i < $schoolsPresent.length; $i++>> <<set $seed to $schoolsPresent[$i]>> <<set $schoolTitle to ($schoolTitle + $seed)>> <<if $i < $schoolsPresent.length-2>> <<set $schoolTitle to ($schoolTitle + ", ")>> <<elseif $i is $schoolsPresent.length-2>> <<if $schoolsPresent.length > 2>> <<set $schoolTitle to ($schoolTitle + ", and ")>> <<else>> <<set $schoolTitle to ($schoolTitle + " and ")>> <</if>> <</if>> <</for>> <<set $titles.push($schoolTitle)>> <</if>> <<if $TFS.schoolProsperity >= 10>> <<set $titles.push("Honorary Sibling of the Futanari Sisters")>> <<elseif $TFS.schoolPresent == 1>> <<if $PC.title == 1>> <<set $titles.push("Protector of the Futanari Sisters")>> <<else>> <<set $titles.push("Protectrix of the Futanari Sisters")>> <</if>> <</if>> <<if $slaves.length > 50>> <<if $PC.title == 1>> <<set $titles.push("Master of Slaves")>> <<else>> <<set $titles.push("Mistress of Slaves")>> <</if>> <<elseif $slaves.length > 40>> <<set $titles.push("Holder of Slaves")>> <<elseif $slaves.length > 30>> <<set $titles.push("Keeper of Slaves")>> <<elseif $slaves.length > 20>> <<set $titles.push("Manager of Slaves")>> <<elseif $slaves.length > 10>> <<set $titles.push("owner of slaves")>> <</if>> <<if $corpValue > 500000>> <<set $titles.push("Corporate Titan")>> <<elseif $corpValue > 250000>> <<set $titles.push("corporate innovator")>> <<elseif $corpValue > 100000>> <<set $titles.push("corporate founder")>> <<elseif $corpValue > 0>> <<if $PC.title == 1>> <<set $titles.push("noted corporate businessman")>> <<else>> <<set $titles.push("noted corporate businesswoman")>> <</if>> <</if>> <<if $titles.length > 0>> <<set $titles.push("and ")>> <</if>> <<if $rep > 18000>> <<if $PC.title == 1>> <<set $titles.push("unquestioned Master of the Arcology")>> <<else>> <<set $titles.push("unquestioned Mistress of the Arcology")>> <</if>> <<elseif $rep > 15000>> <<if $PC.title == 1>> <<set $titles.push("Lord of the Arcology")>> <<else>> <<set $titles.push("Lady of the Arcology")>> <</if>> <<elseif $rep > 12000>> <<set $titles.push("Ruler of the Arcology")>> <<elseif $rep > 9000>> <<set $titles.push("chief officer of the arcology")>> <<else>> <<set $titles.push("owner of the arcology")>> <</if>> <<for $i to 0; $i < $titles.length; $i++>> <<set $seed to $titles[$i]>> <<set $PCTitle to ($PCTitle + $seed)>> <<if $i < $titles.length-2>> <<set $PCTitle to ($PCTitle + ", ")>> <</if>> <</for>> <</widget>> /% Call as <<MenialPopCap>> Applies the menial popcap without asking. %/ <<widget "MenialPopCap">> <<set _PopCap = 100*Math.trunc(($arcologies[0].ownership*$AProsperityCap)/1000)>> <<set _OverMenialCap = ($helots+$fuckdolls+$menialBioreactors)-_PopCap>> <<if _OverMenialCap > 0>> <<set _Price = Math.trunc(($slaveCostFactor*1000)/100)*100>> <<set _Price to Math.clamp(_Price, 500, 1500)>> <<if $helots > 0>> <<if $helots > _OverMenialCap>> <<set $cash += _OverMenialCap*_Price, $menialDemandFactor -= _OverMenialCap, $helots -= _OverMenialCap, _OverMenialCap = 0>> You don't have enough room for all your menials and are obliged to sell some. <<else>> <<set $cash += $helots*_Price, $menialDemandFactor -= $helots, _OverMenialCap -= $helots, $helots = 0>> You don't have enough room for your menials and are obliged to sell them. <</if>> <</if>> <<if (_OverMenialCap > 0) && ($fuckdolls > 0)>> <<if $fuckdolls > _OverMenialCap>> <<set $cash += _OverMenialCap*(_Price*2), $menialDemandFactor -= _OverMenialCap, $fuckdolls -= _OverMenialCap, _OverMenialCap = 0>> You don't have enough room for all your fuckdolls and are obliged to sell some. <<else>> <<set $cash += $fuckdolls*(_Price*2), $menialDemandFactor -= $fuckdolls, _OverMenialCap -= $fuckdolls, $fuckdolls = 0>> You don't have enough room for your fuckdolls and are obliged to sell them. <</if>> <</if>> <<if (_OverMenialCap > 0) && ($menialBioreactors > 0)>> <<set $cash += _OverMenialCap*(_Price-100), $menialDemandFactor -= _OverMenialCap, $menialBioreactors -= _OverMenialCap>> You don't have enough room for all your menial bioreactors and are obliged to sell some. <</if>> <</if>> <</widget>> /% Call as <<OralSkillIncrease>> $args[0]: Slave. $skillIncrease: Amount of increase. %/ <<widget "OralSkillIncrease">> <<if $args[0].oralSkill <= 10>> <<if $args[0].oralSkill+$skillIncrease > 10>> @@color:green;She now has basic knowledge about oral sex,@@ and can at least suck a dick without constant gagging. <</if>> <<elseif $args[0].oralSkill <= 30>> <<if $args[0].oralSkill+$skillIncrease > 30>> @@color:green;She now has some oral skills,@@ and can reliably bring dicks and pussies to climax with her mouth. <</if>> <<elseif $args[0].oralSkill <= 60>> <<if $args[0].oralSkill+$skillIncrease > 60>> @@color:green;She is now an oral expert,@@ and has a delightfully experienced tongue. <</if>> <<elseif $args[0].oralSkill < 100>> <<if $args[0].oralSkill+$skillIncrease >= 100>> @@color:green;She has mastered oral sex,@@ and can learn nothing more about sucking dick or eating pussy. <</if>> <</if>> <<set $args[0].oralSkill += $skillIncrease>> <</widget>> /% Call as <<VaginalSkillIncrease>> $args[0]: Slave. $skillIncrease: Amount of increase. %/ <<widget "VaginalSkillIncrease">> <<if $args[0].vaginalSkill <= 10>> <<if $args[0].vaginalSkill+$skillIncrease > 10>> @@color:green;She now has basic knowledge about vaginal sex,@@ and can avoid some of the common pitfalls and turnoffs. <</if>> <<elseif $args[0].vaginalSkill <= 30>> <<if $args[0].vaginalSkill+$skillIncrease > 30>> @@color:green;She now has some vaginal sex skills,@@ and can do more than just lie there and take it. <</if>> <<elseif $args[0].vaginalSkill <= 60>> <<if $args[0].vaginalSkill+$skillIncrease > 60>> @@color:green;She is now a vaginal sex expert,@@ and has the muscular control to massage anything that's inside her. <</if>> <<elseif $args[0].vaginalSkill < 100>> <<if $args[0].vaginalSkill+$skillIncrease >= 100>> @@color:green;She has mastered vaginal sex,@@ and can learn nothing more about tribbing or taking dick. <</if>> <</if>> <<set $args[0].vaginalSkill += $skillIncrease>> <</widget>> /% Call as <<AnalSkillIncrease>> $args[0]: Slave. $skillIncrease: Amount of increase. %/ <<widget "AnalSkillIncrease">> <<if $args[0].analSkill <= 10>> <<if $args[0].analSkill+$skillIncrease > 10>> @@color:green;She now has basic knowledge about anal sex,@@ and can accept penetration of her anus without danger. <</if>> <<elseif $args[0].analSkill <= 30>> <<if $args[0].analSkill+$skillIncrease > 30>> @@color:green;She now has some anal sex skills,@@ and needs less preparation before taking rough penetration. <</if>> <<elseif $args[0].analSkill <= 60>> <<if $args[0].analSkill+$skillIncrease > 60>> @@color:green;She is now a anal sex expert,@@ and knows how to use her sphincter to please. <</if>> <<elseif $args[0].analSkill < 100>> <<if $args[0].analSkill+$skillIncrease >= 100>> @@color:green;She has mastered anal sex,@@ and can learn nothing more about taking it up the ass. <</if>> <</if>> <<set $args[0].analSkill += $skillIncrease>> <</widget>> /% Call as <<WhoreSkillIncrease>> $args[0]: Slave. $skillIncrease: Amount of increase. %/ <<widget "WhoreSkillIncrease">> <<if $args[0].whoreSkill <= 10>> <<if $args[0].whoreSkill+$skillIncrease > 10>> @@color:green;She now has basic knowledge about how to whore,@@ and can avoid some potentially dangerous situations. <</if>> <<elseif $args[0].whoreSkill <= 30>> <<if $args[0].whoreSkill+$skillIncrease > 30>> @@color:green;She now has some skill as a whore,@@ and knows how to sell her body at a good price. <</if>> <<elseif $args[0].whoreSkill <= 60>> <<if $args[0].whoreSkill+$skillIncrease > 60>> @@color:green;She is now an expert whore,@@ and can often make clients forget that she's a prostitute they're paying for. <</if>> <<elseif $args[0].whoreSkill < 100>> <<if $args[0].whoreSkill+$skillIncrease >= 100>> @@color:green;She is now a masterful whore,@@ and can learn nothing more about prostitution. <</if>> <</if>> <<set $args[0].whoreSkill += $skillIncrease>> <</widget>> /% Call as <<EntertainSkillIncrease>> $args[0]: Slave. $skillIncrease: Amount of increase. %/ <<widget "EntertainSkillIncrease">> <<if $args[0].entertainSkill <= 10>> <<if $args[0].entertainSkill+$skillIncrease > 10>> @@color:green;She now has basic knowledge about how to be entertaining,@@ and can usually avoid serious faux pas. <</if>> <<elseif $args[0].entertainSkill <= 30>> <<if $args[0].entertainSkill+$skillIncrease > 30>> @@color:green;She now has some skill as a entertainer,@@ and can flirt, dance, and strip acceptably. <</if>> <<elseif $args[0].entertainSkill <= 60>> <<if $args[0].entertainSkill+$skillIncrease > 60>> @@color:green;She is now an expert entertainer,@@ and can flirt engagingly, dance alluringly, and strip arousingly. <</if>> <<elseif $args[0].entertainSkill < 100>> <<if $args[0].entertainSkill+$skillIncrease >= 100>> @@color:green;She is now a masterful entertainer,@@ and can learn nothing more about flirting, dancing, or stripping. <</if>> <</if>> <<set $args[0].entertainSkill += $skillIncrease>> <</widget>> /% Call as <<AddSlave>> $args[0]: Slave. %/ <<widget "AddSlave">> <<if $args[0].dick > 0>> <<if $args[0].balls > 0>> <<if $args[0].devotion <= 50>> <<if ($args[0].fetish != "buttslut") || ($args[0].fetishKnown != 1)>> <<if $args[0].sexualFlaw != "hates women">> <<set $REFeminizationCheckinIDs.push($args[0].ID)>> <</if>> <</if>> <</if>> <</if>> <</if>> <<if $args[0].actualAge > 35>> <<if $args[0].face < 2>> <<if $args[0].analSkill <= 30>> <<set $REMILFCheckinIDs.push($args[0].ID)>> <</if>> <</if>> <</if>> <<if $args[0].attrXY <= 60>> <<if $args[0].attrXX > 60>> <<set $REOrientationCheckinIDs.push($args[0].ID)>> <</if>> <</if>> <<if $args[0].face < 0>> <<set $REUglyCheckinIDs.push($args[0].ID)>> <</if>> <<if $args[0].anus < 2>> <<set $REButtholeCheckinIDs.push($args[0].ID)>> <</if>> <<if $args[0].boobs < 800>> <<set $REReductionCheckinIDs.push($args[0].ID)>> <</if>> <<if $ui != "start">> <<if $universalRulesNewSlavesRA == 1>> <<if $autoRulesAssistant != 0>> <<silently>> <<set $activeSlave = $args[0]>> <<include "Check Auto Rules Activate">> <<include "Default Rules">> <<set $args[0] = $activeSlave>> <</silently>> <</if>> <</if>> <</if>> <<set $slaves.push($args[0]), $slavesOriginal.push($args[0]), $genePool.push($args[0])>> <</widget>> /% Call as <<Enunciate>> $args[0]: Slave. %/ <<widget "Enunciate">> <<if SlaveStatsChecker.checkForLisp($args[0])>> <<if def $PC.customTitleLisp>><<set $titleEnunciate = $PC.customTitleLisp>><<elseif $PC.title != 0>><<set $titleEnunciate = "Mathter">><<else>><<set $titleEnunciate = "Mithtreth">><</if>> <<set $sayEnunciate = "lisp">> <<set $sEnunciate = "th">> <<set $SEnunciate = "Th">> <<set $ssEnunciate = "th">> <<set $cEnunciate = "th">> <<else>> <<if def $PC.customTitle>><<set $titleEnunciate = $PC.customTitle>><<elseif $PC.title != 0>><<set $titleEnunciate = "Master">><<else>><<set $titleEnunciate = "Mistress">><</if>> <<set $sayEnunciate = "say">> <<set $sEnunciate = "s">> <<set $SEnunciate = "S">> <<set $ssEnunciate = "ss">> <<set $cEnunciate = "c">> <</if>> <</widget>> <<widget "Master">>$titleEnunciate<</widget>> <<widget "say">>$sayEnunciate<</widget>> <<widget "s">>$sEnunciate<</widget>> <<widget "S">>$SEnunciate<</widget>> <<widget "ss">>$ssEnunciate<</widget>> <<widget "c">>$cEnunciate<</widget>> /% Call as <<SoftenBehavioralFlaw>> $args[0]: Slave. %/ <<widget "SoftenBehavioralFlaw">> <<switch $args[0].behavioralFlaw>> <<case "arrogant">> <<set $args[0].behavioralQuirk = "confident">> <<case "bitchy">> <<set $args[0].behavioralQuirk = "cutting">> <<case "odd">> <<set $args[0].behavioralQuirk = "funny">> <<case "hates men">> <<set $args[0].behavioralQuirk = "adores women">> <<case "hates women">> <<set $args[0].behavioralQuirk = "adores men">> <<case "gluttonous">> <<set $args[0].behavioralQuirk = "fitness">> <<case "anorexic">> <<set $args[0].behavioralQuirk = "insecure">> <<case "devout">> <<set $args[0].behavioralQuirk = "sinful">> <<case "liberated">> <<set $args[0].behavioralQuirk = "advocate">> <</switch>> <<set $activeSlave.behavioralFlaw = "none">> <</widget>> /% Call as <<SoftenSexualFlaw>> $args[0]: Slave. %/ <<widget "SoftenSexualFlaw">> <<switch $args[0].sexualFlaw>> <<case "hates oral">> <<set $args[0].sexualQuirk = "gagfuck queen">> <<case "hates anal">> <<set $args[0].sexualQuirk = "painal queen">> <<case "hates penetration">> <<set $args[0].sexualQuirk = "strugglefuck queen">> <<case "shamefast">> <<set $args[0].sexualQuirk = "tease">> <<case "idealistic">> <<set $args[0].sexualQuirk = "romantic">> <<case "repressed">> <<set $args[0].sexualQuirk = "perverted">> <<case "apathetic">> <<set $args[0].sexualQuirk = "caring">> <<case "crude">> <<set $args[0].sexualQuirk = "unflinching">> <<case "judgemental">> <<set $args[0].sexualQuirk = "size queen">> <</switch>> <<set $args[0].sexualFlaw = "none">> <</widget>> /% Call as <<EventFetish>> $args[0]: Slave. $args[1]: Fetish. %/ <<widget "EventFetish">> <<if $args[0].fetish == $args[1]>> This experience <<if $args[0].fetishKnown == 1>> <<if $args[0].fetishStrength > 95>> @@color:lightsalmon;<<switch $args[0].fetish>> <<case "submissive">>deepens her sexual need to submit. <<case "cumslut">>increases her appetite for oral sex. <<case "humiliation">>makes her even more eager to be humiliated. <<case "buttslut">>encourages her to focus on anal sex. <<case "boobs">>focuses her sexuality on her breasts and nipples. <<case "sadist">>titillates the sadistic part of her. <<case "masochist">>helps conflate pain and sexual pleasure for her. <<case "dom">>strengthens her desire to top other slaves. <<case "pregnancy">>further confuses lust and pregnancy in her mind. <<default>>ERROR: bad fetish <</switch>>@@ <<set $args[0].fetishStrength += 10>> <<else>> is @@color:hotpink;especially enjoyable for her,@@ since <<switch $args[0].fetish>> <<case "submissive">>she's an utterly submissive little slut. <<case "cumslut">>her <<if $args[0].vagina > -1>>clit<<else>>frenulum<</if>> might as well be located in her throat. <<case "humiliation">>she has a hopeless need to be humiliated and degraded. <<case "buttslut">>she's completely in love with having her ass fucked. <<case "boobs">>she loves breast play more than any other kind of sex. <<case "sadist">>nothing is as titillating to her as another slave's pain can be. <<case "masochist">>she loves pain more than she likes pleasure. <<case "dom">>she lives for the times she's allowed to fuck someone. <<case "pregnancy">>all her deepest sexual desires involve <<if $args[0].vagina > -1>>pregnancy<<else>>impregnation<</if>>. <<default>>ERROR: bad fetish <</switch>> <<set $args[0].devotion += 3>> <</if>> <<else>> was surprisingly appealing for her, revealing that she's a @@color:lightsalmon;<<switch $args[0].fetish>> <<case "submissive">>sexual submissive! <<case "humiliation">>humiliation slut! <<case "boobs">>slut for breast play! <<case "pregnancy">>pregslut! <<default>>$args[0]! <</switch>>@@ <<set $args[0].fetishKnown = 1>> <</if>> <</if>> <</widget>>
r3d/fc
src/utility/miscWidgets.tw
tw
bsd-3-clause
57,390
:: PT widgets [widget nobr] <<widget "InduceFlawAbuseEffects">> <<if $slaves[$i].devotion > 20>> She's @@color:mediumorchid;desperately confused@@ by this treatment, since the effect would be ruined if you explained it to her, and her @@color:gold;trust in you is reduced.@@ <<elseif $slaves[$i].devotion >= -20>> She's @@color:mediumorchid;confused, depressed@@ and @@color:gold;frightened@@ by this treatment, since the effect would be ruined if you explained it to her. <<else>> She's @@color:mediumorchid;angry@@ and @@color:gold;afraid@@ that you would treat her like this. <</if>> <<if $slaves[$i].energy > 10>> Her @@color:red;appetite for sex is also reduced.@@ <<set $slaves[$i].energy -= 2>> <</if>> <<set $slaves[$i].devotion -= 5>> <<set $slaves[$i].trust -= 5>> <</widget>> <<widget "InduceFlawLenityEffects">> <<if $slaves[$i].devotion <= 20>> She doesn't understand what you intend by this strange treatment, but it does make her @@color:mediumaquamarine;inappropriately trusting.@@ <<set $slaves[$i].trust += 5>> <</if>> <</widget>> <<widget "BasicTrainingDefaulter">> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<if ($activeSlave.devotion > 20) && ($activeSlave.behavioralFlaw != "none") && ($activeSlave.behavioralQuirk == "none") && ($activeSlave.behavioralQuirk != "cum addict") && ($activeSlave.behavioralQuirk != "anal addict") && ($activeSlave.behavioralQuirk != "attention whore") && ($activeSlave.behavioralQuirk != "breast growth") && ($activeSlave.behavioralQuirk != "abusive") && ($activeSlave.behavioralQuirk != "malicious") && ($activeSlave.behavioralQuirk != "self hating") && ($activeSlave.behavioralQuirk != "neglectful") && ($activeSlave.behavioralQuirk != "breeder")>> Since she's obedient, @@color:yellow;her training assignment has defaulted to softening her behavioral flaw.@@ <<set $trainingRegimen to "soften her behavioral flaw">> <<elseif ($activeSlave.devotion > 20) && ($activeSlave.sexualFlaw != "none") && ($activeSlave.sexualQuirk == "none")>> Since she's obedient, @@color:yellow;her training assignment has defaulted to softening her sexual flaw.@@ <<set $trainingRegimen to "soften her sexual flaw">> <<elseif ($activeSlave.devotion > 20) && ($activeSlave.behavioralFlaw != "none") && ($activeSlave.behavioralQuirk != "cum addict") && ($activeSlave.behavioralQuirk != "anal addict") && ($activeSlave.behavioralQuirk != "attention whore") && ($activeSlave.behavioralQuirk != "breast growth") && ($activeSlave.behavioralQuirk != "abusive") && ($activeSlave.behavioralQuirk != "malicious") && ($activeSlave.behavioralQuirk != "self hating") && ($activeSlave.behavioralQuirk != "neglectful") && ($activeSlave.behavioralQuirk != "breeder")>> Since she's obedient and already has a behavioral quirk, @@color:yellow;her training assignment has defaulted to removing her behavioral flaw.@@ <<set $trainingRegimen to "fix her behavioral flaw">> <<elseif ($activeSlave.devotion > 20) && ($activeSlave.sexualFlaw != "none")>> Since she's obedient and already has a sexual quirk, @@color:yellow;her training assignment has defaulted to removing her sexual flaw.@@ <<set $trainingRegimen to "fix her sexual flaw">> <<elseif ($slaves[$i].devotion <= 20) && ($slaves[$i].trust > -20)>> @@color:yellow;Her training assignment has defaulted to breaking her will.@@ <<set $trainingRegimen to "break her will">> <<else>> She is now fully broken; @@color:yellow;her training assignment has defaulted to fostering devotion.@@ <<set $trainingRegimen to "build her devotion">> <</if>> <</widget>>
r3d/fc
src/utility/ptWidgets.tw
tw
bsd-3-clause
3,553
:: RA widgets [widget nobr] /% Call as <<RAChangeActivation>> %/ <<widget "RAChangeActivation">> <<replace #activation>> __($currentRule.activation):__ <br> <<if ($currentRule.activation != "none") && ($currentRule.activation != "always")>> <span id="lower"> <<if ($currentRule.thresholdLower is "none")>> (no lower limit) <<else>> <<if $currentRule.eqLower>> When ''$currentRule.activation'' is <<textbox "$currentRule.thresholdLower" $currentRule.thresholdLower>> ''or more'' <<else>> When ''$currentRule.activation'' is ''more than'' <<textbox "$currentRule.thresholdLower" $currentRule.thresholdLower>> <</if>> <</if>> </span>       <<link ">">> <<set $currentRule.eqLower to false>> <<replace "#lower">> When ''$currentRule.activation'' is ''more than'' <<textbox "$currentRule.thresholdLower" $currentRule.thresholdLower>> <</replace>> <</link>> | <<link ">=">> <<set $currentRule.eqLower to true>> <<replace "#lower">> When ''$currentRule.activation'' is <<textbox "$currentRule.thresholdLower" $currentRule.thresholdLower>> ''or more'' <</replace>> <</link>> | <<link "No lower limit">> <<set $currentRule.thresholdLower to "none">> <<replace "#lower">> (no lower limit) <</replace>> <</link>> <br>and<br> <span id="upper"> <<if ($currentRule.thresholdUpper is "none")>> (no upper limit) <<else>> <<if $currentRule.eqUpper>> When ''$currentRule.activation'' is <<textbox "$currentRule.thresholdUpper" $currentRule.thresholdUpper>> ''or less'' <<else>> When ''$currentRule.activation'' is ''less than'' <<textbox "$currentRule.thresholdUpper" $currentRule.thresholdUpper>> <</if>> <</if>> </span>       <<link "<">> <<set $currentRule.eqUpper to false>> <<replace "#upper">> When ''$currentRule.activation'' is ''less than'' <<textbox "$currentRule.thresholdUpper" $currentRule.thresholdUpper>> <</replace>> <</link>> | <<link "<=">> <<set $currentRule.eqUpper to true>> <<replace "#upper">> When ''$currentRule.activation'' is <<textbox "$currentRule.thresholdUpper" $currentRule.thresholdUpper>> ''or less'' <</replace>> <</link>> | <<link "No upper limit">> <<set $currentRule.thresholdUpper to "none">> <<replace "#upper">> (no upper limit) <</replace>> <</link>> <<if ($currentRule.thresholdLower is "none") && ( $currentRule.thresholdUpper is "none")>> <<set $currentRule.activation to "always">> <<elseif ($currentRule.thresholdLower != "none") && ( $currentRule.thresholdUpper != "none")>> <<if (def $currentRule.thresholdLower and $currentRule.thresholdLower > $currentRule.thresholdUpper)>> <<set $currentRule.thresholdLower to $currentRule.thresholdUpper>> <</if>> <<if (def $currentRule.thresholdUpper and $currentRule.thresholdUpper < $currentRule.thresholdLower)>> <<set $currentRule.thresholdUpper to $currentRule.thresholdLower>> <</if>> <</if>> <</if>> <<switch $currentRule.activation>> <<case "none">> ''None.'' <<case "always">> ''Always.'' <<case "devotion">> <br>@@color:darkviolet;Very hateful@@: under -95, @@color:darkviolet;Hateful@@: -95 to under -50, @@color:mediumorchid;Resistant@@: -50 to under -20, <br>@@color:yellow;Ambivalent@@: -20 to 20, @@color:hotpink;Accepting@@: over 20 to 50, @@color:deeppink;Devoted@@: over 50 to 95, @@color:magenta;Worshipful@@: over 95 <<case "trust">> <br>@@color:goldenrod;Extremely terrified@@: under -95, @@color:goldenrod;Terrified@@: -95 to under -50, @@color:gold;Frightened@@: -50 to under -20, <br>@@color:yellow;Fearful@@: -20 to 20, @@color:mediumaquamarine;Careful@@: over 40 to 50, @@color:mediumseagreen;Trusting@@: 50 to 95, @@color:seagreen;Total trust@@: over 95 <<case "health">> <br>@@color:red;Death@@: under -100, @@color:red;Near death@@: -100 to less than -90, @@color:red;Extremely unhealthy@@: -90 to less than -50, @@color:red;Unhealthy@@: -50 to less than -20 @@color:green;Healthy@@: -20 to 20, @@color:green;Very healthy@@: 20 to 50, @@color:green;Extremely healthy@@: over 50 to 90, @@color:green;Unnaturally healthy@@: over 90 <<case "sex drive">> <br>@@color:red;Frigid@@: 20 or under, @@color:red;Poor@@: 21 to 40, @@color:yellow;Average@@: 41 to 60, @@color:green;Powerful@@: 61 to 80, @@color:green;Sex addict@@: 81 to 99, @@color:green;Nympho@@: 100 <<case "weight">> <br>@@color:red;Emaciated@@: under -95, @@color:red;Skinny@@: -95 to less than -30, Thin: -30 to less than -10 Average weight: -10 to 10, Plush: over 10 to 30, @@color:red;Fat@@: over 30 to 95, @@color:red;Overweight@@: over 95 <<case "lactation">> <br>// 0 - none, 1 - natural, 2 - lactation implant. // <<case "pregnancy week">> <br>// >1 - pregnancy week(s), 0 - not pregnant, -1 - on contraceptives, -2 - barren. // <<case "pregnancy foetuses">> <br>// Fetus count, rule can be applied only after week 10 of pregnancy. // <<case "belly implant volume">> <br>// Volume of belly implant in ccs. 0 - none. // <</switch>> <</replace>> <</widget>> /% Call as <<RAChangeApplyAssignment>> %/ <<widget "RAChangeApplyAssignment">> <<replace #applyassignment>> Apply to assignments: <br> <<if ndef $currentRule.assignment>> <<set $currentRule.assignment to []>> <</if>> <<set _rest to false>> <<set _fucktoy to false>> <<set _servant to false>> <<set _confined to false>> <<set _whore to false>> <<set _public to false>> <<set _milked to false>> <<set _subordinate to false>> <<set _gloryhole to false>> <<for _a to $currentRule.assignment.length; _a >= 0; _a-->> <<if $currentRule.assignment[_a] is "rest">> <<set _rest to true>> <</if>> <<if $currentRule.assignment[_a] is "please you">> <<set _fucktoy to true>> <</if>> <<if $currentRule.assignment[_a] is "be a servant">> <<set _servant to true>> <</if>> <<if $currentRule.assignment[_a] is "whore">> <<set _whore to true>> <</if>> <<if $currentRule.assignment[_a] is "work a glory hole">> <<set _gloryhole to true>> <</if>> <<if $currentRule.assignment[_a] is "get milked">> <<set _milked to true>> <</if>> <<if $currentRule.assignment[_a] is "serve the public">> <<set _public to true>> <</if>> <<if $currentRule.assignment[_a] is "be a subordinate slave">> <<set _subordinate to true>> <</if>> <<if $currentRule.assignment[_a] is "stay confined">> <<set _confined to true>> <</if>> <</for>> <<if _rest or _fucktoy or _servant or _confined or _whore or _public or _milked or _subordinate or _gloryhole>> <<link "None">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''None'' | <</if>> <<if !_rest>> <<link "Rest">> <<set $currentRule.assignment.push("rest")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Rest'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "rest")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_fucktoy>> <<link "Fucktoy">> <<set $currentRule.assignment.push("please you")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Fucktoy'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "please you")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_subordinate>> <<link "Subordinate Slave">> <<set $currentRule.assignment.push("be a subordinate slave")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Subordinate Slave'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "be a subordinate slave")>> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_servant>> <<link "House Servant">> <<set $currentRule.assignment.push("be a servant")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''House Servant'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "be a servant")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_confined>> <<link "Confined">> <<set $currentRule.assignment.push("stay confined")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Confined'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "stay confined")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_whore>> <<link "Whore">> <<set $currentRule.assignment.push("whore")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Whore'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "whore")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_public>> <<link "Public Servant">> <<set $currentRule.assignment.push("serve the public")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Public Servant'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "serve the public")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_milked>> <<link "Milking">> <<set $currentRule.assignment.push("get milked")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Milking'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "get milked")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_gloryhole>> <<link "Gloryhole">> <<set $currentRule.assignment.push("work a glory hole")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Gloryhole'' <<link Stop>> <<set removeFromArray($currentRule.assignment, "work a glory hole")>> <<RAChangeApplyAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeExcludeAssignment>> %/ <<widget "RAChangeExcludeAssignment">> <<replace #excludeassignment>> Exclude assignments: <br> <<if ndef $currentRule.excludeAssignment>> <<set $currentRule.excludeAssignment to []>> <</if>> <<set _rest to false>> <<set _fucktoy to false>> <<set _servant to false>> <<set _confined to false>> <<set _whore to false>> <<set _public to false>> <<set _milked to false>> <<set _subordinate to false>> <<set _gloryhole to false>> <<for _a to $currentRule.excludeAssignment.length; _a >= 0; _a-->> <<if $currentRule.excludeAssignment[_a] is "rest">> <<set _rest to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "please you">> <<set _fucktoy to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "be a servant">> <<set _servant to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "whore">> <<set _whore to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "work a glory hole">> <<set _gloryhole to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "get milked">> <<set _milked to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "serve the public">> <<set _public to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "be a subordinate slave">> <<set _subordinate to true>> <</if>> <<if $currentRule.excludeAssignment[_a] is "stay confined">> <<set _confined to true>> <</if>> <</for>> <<if _rest or _fucktoy or _servant or _confined or _whore or _public or _milked or _subordinate or _gloryhole>> <<link "None">> <<set $currentRule.excludeAssignment to []>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''None'' | <</if>> <<if !_rest>> <<link "Rest">> <<set $currentRule.excludeAssignment.push("rest")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Rest'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "rest")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_fucktoy>> <<link "Fucktoy">> <<set $currentRule.excludeAssignment.push("please you")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Fucktoy'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "please you")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_subordinate>> <<link "Subordinate Slave">> <<set $currentRule.excludeAssignment.push("be a subordinate slave")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Subordinate Slave'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "be a subordinate slave")>> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_servant>> <<link "House Servant">> <<set $currentRule.excludeAssignment.push("be a servant")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''House Servant'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "be a servant")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_confined>> <<link "Confined">> <<set $currentRule.excludeAssignment.push("stay confined")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Confined'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "stay confined")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_whore>> <<link "Whore">> <<set $currentRule.excludeAssignment.push("whore")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Whore'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "whore")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_public>> <<link "Public Servant">> <<set $currentRule.excludeAssignment.push("serve the public")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Public Servant'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "serve the public")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_milked>> <<link "Milking">> <<set $currentRule.excludeAssignment.push("get milked")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Milking'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "get milked")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> | <<if !_gloryhole>> <<link "Gloryhole">> <<set $currentRule.excludeAssignment.push("work a glory hole")>> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Gloryhole'' <<link Stop>> <<set removeFromArray($currentRule.excludeAssignment, "work a glory hole")>> <<RAChangeExcludeAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeApplyFacility>> %/ <<widget "RAChangeApplyFacility">> <<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> Apply to facilities: <br> <<if (_facility.length > 0)>> <<link "None">> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''None'' <</if>> <<if ($HGSuite > 0)>> | <<if !ruleFacility(_facility,"hgsuite")>> <<link $HGSuiteNameCaps>> <<set _facility.push("hgsuite")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$HGSuiteNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "hgsuite")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($brothel > 0)>> | <<if !ruleFacility(_facility,"brothel")>> <<link $brothelNameCaps>> <<set _facility.push("brothel")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$brothelNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "brothel")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($club > 0)>> | <<if !ruleFacility(_facility,"club")>> <<link $clubNameCaps>> <<set _facility.push("club")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$clubNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "club")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($arcade > 0)>> | <<if !ruleFacility(_facility,"arcade")>> <<link $arcadeNameCaps>> <<set _facility.push("arcade")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$arcadeNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "arcade")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($dairy > 0)>> | <<if !ruleFacility(_facility,"dairy")>> <<link $dairyNameCaps>> <<set _facility.push("dairy")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$dairyNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "dairy")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($servantsQuarters > 0)>> | <<if !ruleFacility(_facility,"servantsquarters")>> <<link $servantsQuartersNameCaps>> <<set _facility.push("servantsquarters")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$servantsQuartersNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "servantsquarters")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($masterSuite > 0)>> | <<if !ruleFacility(_facility,"mastersuite")>> <<link $masterSuiteNameCaps>> <<set _facility.push("mastersuite")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$masterSuiteNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "mastersuite")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($schoolroom > 0)>> | <<if !ruleFacility(_facility,"schoolroom")>> <<link $schoolroomNameCaps>> <<set _facility.push("schoolroom")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$schoolroomNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "schoolroom")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($spa > 0)>> | <<if !ruleFacility(_facility,"spa")>> <<link $spaNameCaps>> <<set _facility.push("spa")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$spaNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "spa")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($clinic > 0)>> | <<if !ruleFacility(_facility,"clinic")>> <<link $clinicNameCaps>> <<set _facility.push("clinic")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$clinicNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "clinic")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($cellblock > 0)>> | <<if !ruleFacility(_facility,"cellblock")>> <<link $cellblockNameCaps>> <<set _facility.push("cellblock")>> <<set $currentRule.assignFacility to "none">> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$cellblockNameCaps'' <<link Stop>> <<set removeFromArray(_facility, "cellblock")>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <</if>> <<if (def _facility) && (_facility.length > 0)>> <br>   Exclude special slaves: <<if $currentRule.excludeSpecialSlaves>> ''True'' | <<link False>> <<set $currentRule.excludeSpecialSlaves to false>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''False'' | <<link True>> <<set $currentRule.excludeSpecialSlaves to true>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeExcludeFacility>> %/ <<widget "RAChangeExcludeFacility">> <<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> Exclude facilities: <br> <<if (_excludeFacility.length > 0)>> <<link "None">> <<set _excludeFacility to []>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''None'' <</if>> <<if ($HGSuite > 0)>> | <<if !ruleFacility(_excludeFacility,"hgsuite")>> <<link $HGSuiteNameCaps>> <<set _excludeFacility.push("hgsuite")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$HGSuiteNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "hgsuite")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($brothel > 0)>> | <<if !ruleFacility(_excludeFacility,"brothel")>> <<link $brothelNameCaps>> <<set _excludeFacility.push("brothel")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$brothelNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "brothel")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($club > 0)>> | <<if !ruleFacility(_excludeFacility,"club")>> <<link $clubNameCaps>> <<set _excludeFacility.push("club")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$clubNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "club")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($arcade > 0)>> | <<if !ruleFacility(_excludeFacility,"arcade")>> <<link $arcadeNameCaps>> <<set _excludeFacility.push("arcade")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$arcadeNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "arcade")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($dairy > 0)>> | <<if !ruleFacility(_excludeFacility,"dairy")>> <<link $dairyNameCaps>> <<set _excludeFacility.push("dairy")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$dairyNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "dairy")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($servantsQuarters > 0)>> | <<if !ruleFacility(_excludeFacility,"servantsquarters")>> <<link $servantsQuartersNameCaps>> <<set _excludeFacility.push("servantsquarters")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$servantsQuartersNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "servantsquarters")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($masterSuite > 0)>> | <<if !ruleFacility(_excludeFacility,"mastersuite")>> <<link $masterSuiteNameCaps>> <<set _excludeFacility.push("mastersuite")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$masterSuiteNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "mastersuite")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($schoolroom > 0)>> | <<if !ruleFacility(_excludeFacility,"schoolroom")>> <<link $schoolroomNameCaps>> <<set _excludeFacility.push("schoolroom")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$schoolroomNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "schoolroom")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($spa > 0)>> | <<if !ruleFacility(_excludeFacility,"spa")>> <<link $spaNameCaps>> <<set _excludeFacility.push("spa")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$spaNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "spa")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($clinic > 0)>> | <<if !ruleFacility(_excludeFacility,"clinic")>> <<link $clinicNameCaps>> <<set _excludeFacility.push("clinic")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$clinicNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "clinic")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <<if ($cellblock > 0)>> | <<if !ruleFacility(_excludeFacility,"cellblock")>> <<link $cellblockNameCaps>> <<set _excludeFacility.push("cellblock")>> <<set $currentRule.assignFacility to "none">> <<RAChangeExcludeFacility>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$cellblockNameCaps'' <<link Stop>> <<set removeFromArray(_excludeFacility, "cellblock")>> <<RAChangeExcludeFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeSetAssignment>> %/ <<widget "RAChangeSetAssignment">> <<replace #setassignment>> <<if ($currentRule.setAssignment != "none")>> ''Automatically set assignment:'' <br> <<link "None">> <<set $currentRule.setAssignment to "none">> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> Automatically set assignment: <br> ''None'' <</if>> | <<if ($currentRule.setAssignment != "rest")>> <<link "Rest">> <<set $currentRule.setAssignment to "rest">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Rest'' <</if>> | <<if ($currentRule.setAssignment != "please you")>> <<link "Fucktoy">> <<set $currentRule.setAssignment to "please you">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Fucktoy'' <</if>> | <<if ($currentRule.setAssignment != "be a servant")>> <<link "House Servant">> <<set $currentRule.setAssignment to "be a servant">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''House Servant'' <</if>> | <<if ($currentRule.setAssignment != "stay confined")>> <<link "Confined">> <<set $currentRule.setAssignment to "stay confined">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Confined'' <</if>> | <<if ($currentRule.setAssignment != "whore")>> <<link "Whore">> <<set $currentRule.setAssignment to "whore">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Whore'' <</if>> | <<if ($currentRule.setAssignment != "serve the public")>> <<link "Public Servant">> <<set $currentRule.setAssignment to "serve the public">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Public Servant'' <</if>> | <<if ($currentRule.setAssignment != "get milked")>> <<link "Milking">> <<set $currentRule.setAssignment to "get milked">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Milking'' <</if>> | <<if ($currentRule.setAssignment != "work a glory hole")>> <<link "Gloryhole">> <<set $currentRule.setAssignment to "work a glory hole">> <<set $currentRule.assignFacility to "none">> <<set $currentRule.assignment to []>> <<RAChangeApplyAssignment>> <<RAChangeSetAssignment>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Gloryhole'' <</if>> <<if ($currentRule.setAssignment != "none")>> <br>   Exclude special slaves: <<if $currentRule.excludeSpecialSlaves>> ''True'' | <<link False>> <<set $currentRule.excludeSpecialSlaves to false>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''False'' | <<link True>> <<set $currentRule.excludeSpecialSlaves to true>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeAssignFacility>> %/ <<widget "RAChangeAssignFacility">> <<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><br> <<if ($currentRule.assignFacility != "none")>> ''Automatically assign slaves to facility:'' <br> <<link "None">> <<set $currentRule.assignFacility to "none">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> Automatically assign slaves to facility: <br> ''None'' <</if>> <<if ($HGSuite > 0)>> | <<if ($currentRule.assignFacility != "hgsuite")>> <<link $HGSuiteNameCaps>> <<set $currentRule.assignFacility to "hgsuite">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeApplyFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$HGSuiteNameCaps'' <</if>> <</if>> <<if ($brothel > 0)>> | <<if ($currentRule.assignFacility != "brothel")>> <<link $brothelNameCaps>> <<set $currentRule.assignFacility to "brothel">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$brothelNameCaps'' <</if>> <</if>> <<if ($club > 0)>> | <<if ($currentRule.assignFacility != "club")>> <<link $clubNameCaps>> <<set $currentRule.assignFacility to "club">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$clubNameCaps'' <</if>> <</if>> <<if ($arcade > 0)>> | <<if ($currentRule.assignFacility != "arcade")>> <<link $arcadeNameCaps>> <<set $currentRule.assignFacility to "arcade">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$arcadeNameCaps'' <</if>> <</if>> <<if ($dairy > 0)>> | <<if ($currentRule.assignFacility != "dairy")>> <<link $dairyNameCaps>> <<set $currentRule.assignFacility to "dairy">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$dairyNameCaps'' <</if>> <</if>> <<if ($servantsQuarters > 0)>> | <<if ($currentRule.assignFacility != "servantsquarters")>> <<link $servantsQuartersNameCaps>> <<set $currentRule.assignFacility to "servantsquarters">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$servantsQuartersNameCaps'' <</if>> <</if>> <<if ($masterSuite > 0)>> | <<if ($currentRule.assignFacility != "mastersuite")>> <<link $masterSuiteNameCaps>> <<set $currentRule.assignFacility to "mastersuite">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$masterSuiteNameCaps'' <</if>> <</if>> <<if ($schoolroom > 0)>> | <<if ($currentRule.assignFacility != "schoolroom")>> <<link $schoolroomNameCaps>> <<set $currentRule.assignFacility to "schoolroom">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$schoolroomNameCaps'' <</if>> <</if>> <<if ($spa > 0)>> | <<if ($currentRule.assignFacility != "spa")>> <<link $spaNameCaps>> <<set $currentRule.assignFacility to "spa">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$spaNameCaps'' <</if>> <</if>> <<if ($clinic > 0)>> | <<if ($currentRule.assignFacility != "clinic")>> <<link $clinicNameCaps>> <<set $currentRule.assignFacility to "clinic">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$clinicNameCaps'' <</if>> <</if>> <<if ($cellblock > 0)>> | <<if ($currentRule.assignFacility != "cellblock")>> <<link $cellblockNameCaps>> <<set $currentRule.assignFacility to "cellblock">> <<set $currentRule.setAssignment to "none">> <<set $currentRule.facility to []>> <<set _facility to []>> <<RAChangeApplyFacility>> <<RAChangeAssignFacility>> <<RAChangeSetAssignment>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''$cellblockNameCaps'' <</if>> <</if>> <<if ($currentRule.assignFacility != "none")>> <br>   Exclude special slaves: <<if $currentRule.excludeSpecialSlaves>> ''True'' | <<link False>> <<set $currentRule.excludeSpecialSlaves to false>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''False'' | <<link True>> <<set $currentRule.excludeSpecialSlaves to true>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <br>   Automatically remove from facility: <<if $currentRule.facilityRemove>> ''True'' | <<link False>> <<set $currentRule.facilityRemove to false>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''False'' | <<link True>> <<set $currentRule.facilityRemove to true>> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <</if>> <br>   Assignment on removal: $currentRule.removalAssignment | <<if ($currentRule.removalAssignment != "rest")>> <<link Rest>> <<set $currentRule.removalAssignment to "rest">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''Rest'' | <</if>> <<if ($currentRule.removalAssignment != "please you")>> <<link "Please you">> <<set $currentRule.removalAssignment to "please you">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''Please you'' | <</if>> <<if ($currentRule.removalAssignment != "whore")>> <<link Whore>> <<set $currentRule.removalAssignment to "whore">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''Whore'' | <</if>> <<if ($currentRule.removalAssignment != "serve the public")>> <<link "Public servant">> <<set $currentRule.removalAssignment to "serve the public">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''Public servant'' | <</if>> <<if ($currentRule.removalAssignment != "get milked")>> <<link "Get milked">> <<set $currentRule.removalAssignment to "get milked">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''Get milked'' | <</if>> <<if ($currentRule.removalAssignment != "stay confined")>> <<link "Stay confined">> <<set $currentRule.removalAssignment to "stay confined">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> | <<else>> ''Stay confined'' | <</if>> <<if ($currentRule.removalAssignment != "work a glory hole")>> <<link "Glory hole">> <<set $currentRule.removalAssignment to "work a glory hole">> <<RAChangeAssignFacility>> <<RAChangeSave>> <<RAChangeApply>> <</link>> <<else>> ''Glory hole'' <</if>> <</if>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeClothes>> %/ <<widget "RAChangeClothes">> <<replace #clothes>> <<if $currentRule.choosesOwnClothes == 1>> ''slave's choice.'' <<set $currentRule.clothes to "choosing her own clothes">> <<else>> ''$currentRule.clothes.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeCollar>> %/ <<widget "RAChangeCollar">> <<replace #collar>> Collar: ''$currentRule.collar.'' <</replace>> <</widget>> /% Call as <<RAChangeShoes>> %/ <<widget "RAChangeShoes">> <<replace #shoes>> Shoes: ''$currentRule.shoes.'' <</replace>> <</widget>> /% Call as <<RAChangeBelly>> %/ <<widget "RAChangeBelly">> <<replace #baccessory>> Corsetage: ''$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>> Vaginal accessories for virgins: ''$currentRule.virginAccessory.'' <</replace>> <<elseif $args[0] == 1>> <<replace #avaccessory>> Vaginal accessories for anal virgins: ''$currentRule.aVirginAccessory.'' <</replace>> <<else>> <<replace #voaccessory>> Vaginal accessories for other slaves: ''$currentRule.vaginalAccessory.'' <</replace>> <</if>> <</widget>> /% Call as <<RAChangeDAccessory>> $arg[0] - 0: anal virgin, else non-virgin. %/ <<widget "RAChangeDAccessory">> <<if $args[0] == 0>> <<replace #avdaccessory>> Dick accessories for anal virgins: ''$currentRule.aVirginDickAccessory.'' <</replace>> <<else>> <<replace #daccessory>> Dick accessories for other slaves: ''$currentRule.dickAccessory.'' <</replace>> <</if>> <</widget>> /% Call as <<RAChangeBAccessory>> $arg[0] - 0: anal virgin, else non-virgin. %/ <<widget "RAChangeBAccessory">> <<if $args[0] == 0>> <<replace #avbuaccessory>> Buttplugs for anal virgins: ''$currentRule.aVirginButtplug.'' <</replace>> <<else>> <<replace #buaccessory>> Buttplugs for other slaves: ''$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 <<RAChangeGrowth>> %/ <<widget "RAChangeGrowth">> <<replace #growth>> Growth hormones for healthy slaves: <<if $currentRule.growth is "girlish">> ''up to a girlish figure.'' <<elseif $currentRule.growth is "stacked">> ''up to a stacked figure.'' <<elseif $currentRule.growth is "functional">> ''as large as will allow a normal life.'' <<elseif $currentRule.growth is "unlimited">> ''no limits.'' <<else>> ''no default setting.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeAphrodisiacs>> %/ <<widget "RAChangeAphrodisiacs">> <<replace #aphrodisiacs>> Aphrodisiacs: <<if $currentRule.aphrodisiacs == "no default setting">> ''no default setting.'' <<elseif $currentRule.aphrodisiacs > 0>> <<if $currentRule.aphrodisiacs > 1>> ''extreme.'' <<else>> ''standard.'' <</if>> <<else>> ''none.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangePreg>> %/ <<widget "RAChangePreg">> <<replace #preg>> Contraceptives for fertile slaves: // Will override hormones and drugs if applicable.// <<if $currentRule.preg == 0>> ''fertile.'' <<elseif $currentRule.preg == 1>> ''very fertile.'' <<elseif $currentRule.preg is 2>> ''extremely fertile.'' <<elseif $currentRule.preg is 3>> ''hyper fertile.'' <<elseif $currentRule.preg is 4>> ''just knock my shit up.'' <<elseif $currentRule.preg is -1>> ''contraceptives.'' <<else>> ''no default setting.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeXXHormones>> %/ <<widget "RAChangeXXHormones">> <<replace #xxhormones>> Hormones for female slaves: <<if $currentRule.XX == 0>> ''no hormones.'' <<elseif $currentRule.XX == 1>> ''female.'' <<elseif $currentRule.XX is 2>> ''intensive female.'' <<elseif $currentRule.XX is -1>> ''male.'' <<elseif $currentRule.XX is -2>> ''intensive male.'' <<else>> ''no default setting.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeXYHormones>> %/ <<widget "RAChangeXYHormones">> <<replace #xyhormones>> Hormones for shemales: <<if $currentRule.XY == 0>> ''no hormones.'' <<elseif $currentRule.XY == 1>> ''female.'' <<elseif $currentRule.XY is 2>> ''intensive female.'' <<elseif $currentRule.XY is -1>> ''male.'' <<elseif $currentRule.XY is -2>> ''intensive male.'' <<else>> ''no default setting.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeGeldHormones>> %/ <<widget "RAChangeGeldHormones">> <<replace #geldhormones>> Hormones for geldings: <<if $currentRule.gelding == 0>> ''no hormones.'' <<elseif $currentRule.gelding == 1>> ''female.'' <<elseif $currentRule.gelding is 2>> ''intensive female.'' <<elseif $currentRule.gelding is -1>> ''male.'' <<elseif $currentRule.gelding is -2>> ''intensive male.'' <<else>> ''no default setting.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeDiet>> %/ <<widget "RAChangeDiet">> <<replace #diet>> Slave diets: <<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 is "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.'' <<else>> ''no default setting.'' <</if>> <</replace>> <<replace #dietsupport>> <<if $currentRule.diet isnot "no default setting">> <br>&nbsp;&nbsp;&nbsp;&nbsp;Diet support for growth drugs: <<if $currentRule.dietGrowthSupport == 1>> ''on.'' <<else>> ''off.'' <</if>> <<link "On">> <<set $currentRule.dietGrowthSupport to 1>> <<RAChangeDiet>> <</link>> | <<link "Off">> <<set $currentRule.dietGrowthSupport to 0>> <<RAChangeDiet>> <</link>> <</if>> <</replace>> <<replace #dietBase>> Diet Base: <<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.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeMuscles>> %/ <<widget "RAChangeMuscles">> <<replace #muscles>> 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>> Braces: <<if $currentRule.teeth is "straighten">> ''straighten'' teeth, then remove. <<elseif $currentRule.teeth is "universal">> ''universally'' applied. <<elseif $currentRule.teeth is "none">> ''none.'' <<else>> ''no default setting.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeAssistantImplants>> %/ <<widget "RAChangeAssistantImplants">> <<replace #assistantimplants>> Assistant-applied implants: <<if $currentRule.autoSurgery == 1>> ''ACTIVE, STAND CLEAR.'' <<link "Off">> <<set $currentRule.autoSurgery to 0>> <<RAChangeAssistantImplants>> <</link>> <<else>> ''off.'' <<link "Activate">> <<set $currentRule.autoSurgery to 1>> <<RAChangeAssistantImplants>> <</link>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeAssignment>> %/ <<widget "RAChangeAssignment">> <<replace #chooseassignment>> Assignments: <<if $currentRule.choosesOwnAssignment == 0>> ''selected by the player.'' <<link "Slave's choice">> <<set $currentRule.choosesOwnAssignment to 1>> <<RAChangeAssignment>> <</link>> <<else>> ''selected by the slave.'' <<link "Player control">> <<set $currentRule.choosesOwnAssignment to 0>> <<RAChangeAssignment>> <</link>> <</if>> <</replace>> <</widget>> /% Call as <<RAChangeLiving>> %/ <<widget "RAChangeLiving">> <<replace #living>> Living standard: ''$currentRule.livingRules.'' <</replace>> <</widget>> /% Call as <<RAChangePunish>> %/ <<widget "RAChangePunish">> <<replace #punish>> Typical punishment: ''$currentRule.standardPunishment.'' <</replace>> <</widget>> /% Call as <<RAChangeReward>> %/ <<widget "RAChangeReward">> <<replace #reward>> Typical reward: ''$currentRule.standardReward.'' <</replace>> <</widget>> /% Call as <<RAChangeMast>> %/ <<widget "RAChangeMast">> <<replace #mast>> Masturbation rules: ''$currentRule.releaseRules.'' <</replace>> <</widget>> /% Call as <<RAChangeSP>> %/ <<widget "RAChangeSP">> <<replace #sp>> Default setting for smart piercings: ''$currentRule.clitSetting.'' <</replace>> <</widget>> /% Call as <<RAChangeSpeech>> %/ <<widget "RAChangeSpeech">> <<replace #speech>> Speech rules: ''$currentRule.speechRules.'' <</replace>> <</widget>> /% Call as <<RAChangeRelationship>> %/ <<widget "RAChangeRelationship">> <<replace #relation>> Relationship rules: ''$currentRule.relationshipRules.'' <</replace>> <</widget>> /% Call as <<RAChangeFameSpending>> %/ <<widget "RAChangeFameSpending">> <<replace #pornfame>> <<if $currentRule.pornFameSpending is -1>> Release of feeds showing excellent slaves' sex lives: ''off.'' <<link "Enable">> <<set $currentRule.pornFameSpending to 0>> <<RAChangeFameSpending>> <</link>> <<else>> Weekly porn publicity subsidy for excellent slaves: ''¤$currentRule.pornFameSpending.'' <</if>> <</replace>> <</widget>> /% Call as <<RAChangeSave>> %/ <<widget "RAChangeSave">> <<replace #saveresult>> <<link _text>> <<replace "#saveresult">> //Rule saved.// <<for _t to 0; _t < $defaultRules.length; _t++>> <<if $currentRule.ID is $defaultRules[_t].ID>> <<if $currentRule.thresholdLower != "none">> <<set $currentRule.thresholdLower to Number($currentRule.thresholdLower)>> <</if>> <<if $currentRule.thresholdUpper != "none">> <<set $currentRule.thresholdUpper to Number($currentRule.thresholdUpper)>> <</if>> <<set $currentRule.facility to _facility>> <<set $currentRule.excludeFacility to _excludeFacility>> <<set $defaultRules[_t] to $currentRule>> <<break>> <</if>> <</for>> <</replace>> <</link>> <</replace>> <</widget>> /% Call as <<RAChangeApply>> <<RAChangeApply>> %/ <<widget "RAChangeApply">> <<replace #apply>> <span id="applyresult"> <<link "Apply rules">> <<replace "#applyresult">> //Rules applied.// <</replace>> <<replace "#applied">> <<for _t to 0; _t < $defaultRules.length; _t++>> <<if $currentRule.ID is $defaultRules[_t].ID>> <<set $currentRule.facility to _facility>> <<set $currentRule.excludeFacility to _excludeFacility>> <<if $currentRule.thresholdLower != "none">> <<set $currentRule.thresholdLower to Number($currentRule.thresholdLower)>> <</if>> <<if $currentRule.thresholdUpper != "none">> <<set $currentRule.thresholdUpper to Number($currentRule.thresholdUpper)>> <</if>> <<set $defaultRules[_t] to $currentRule>> <</if>> <</for>> <<for $i to 0; $i < $slaves.length; $i++>> <<if $slaves[$i].useRulesAssistant == 1>> <<set $activeSlave to $slaves[$i]>> <<include "Check Auto Rules Activate">> <<include "Default Rules">> /*<<set $slaves[$i] to $activeSlave>>*/ <</if>> <</for>> <<for _t to 0; _t < $defaultRules.length; _t++>> <<set _r to $r-1>> <<if $defaultRules[_t].ID is $defaultRules[_r].ID>> <<set $currentRule to $defaultRules[_t]>> <<set _facility to $currentRule.facility>> <<set _excludeFacility to $currentRule.excludeFacility>> <<break>> <</if>> <</for>> <</replace>> <</link>> </span> <</replace>> <</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 is 2>> luxurious, expensive makeup. <<elseif $currentRule.makeup is 3>> color-coordinated. <<elseif $currentRule.makeup is 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 is 2>> color-coordinated. <<elseif $currentRule.nails is 3>> sharp and claw-like. <<elseif $currentRule.nails is 4>> bright and glittery. <<elseif $currentRule.nails is 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 is "no default setting">>No default setting.<<elseif $currentRule.earPiercing == 0>>None.<<elseif $currentRule.earPiercing == 1>>Light. <<elseif $currentRule.earPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeNosePiercings>> %/ <<widget "RAChangeNosePiercings">> <<replace #nosepiercing>> <<if $currentRule.nosePiercing is "no default setting">>No default setting.<<elseif $currentRule.nosePiercing == 0>>None.<<elseif $currentRule.nosePiercing == 1>>Light. <<elseif $currentRule.nosePiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeEybrowPiercings>> %/ <<widget "RAChangeEyebrowPiercings">> <<replace #eyebrowpiercing>> <<if $currentRule.eyebrowPiercing is "no default setting">>No default setting.<<elseif $currentRule.eyebrowPiercing == 0>>None.<<elseif $currentRule.eyebrowPiercing == 1>>Light. <<elseif $currentRule.eyebrowPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeNavelPiercings>> %/ <<widget "RAChangeNavelPiercings">> <<replace #navelpiercing>> <<if $currentRule.navelPiercing is "no default setting">>No default setting.<<elseif $currentRule.navelPiercing == 0>>None.<<elseif $currentRule.navelPiercing == 1>>Light. <<elseif $currentRule.navelPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeNipplePiercings>> %/ <<widget "RAChangeNipplePiercings">> <<replace #nipplepiercing>> <<if $currentRule.nipplesPiercing is "no default setting">>No default setting.<<elseif $currentRule.nipplesPiercing == 0>>None.<<elseif $currentRule.nipplesPiercing == 1>>Light. <<elseif $currentRule.nipplesPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeAreolaPiercings>> %/ <<widget "RAChangeAreolaPiercings">> <<replace #areolapiercing>> <<if $currentRule.areolaePiercing is "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 is "no default setting">>No default setting.<<elseif $currentRule.lipsPiercing == 0>>None.<<elseif $currentRule.lipsPiercing == 1>>Light. <<elseif $currentRule.lipsPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeTonguePiercings>> %/ <<widget "RAChangeTonguePiercings">> <<replace #tonguepiercing>> <<if $currentRule.tonguePiercing is "no default setting">>No default setting.<<elseif $currentRule.tonguePiercing == 0>>None.<<elseif $currentRule.tonguePiercing == 1>>Light. <<elseif $currentRule.tonguePiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeClitPiercings>> %/ <<widget "RAChangeClitPiercings">> <<replace #clitpiercing>> <<if $currentRule.clitPiercing is "no default setting">>No default setting.<<elseif $currentRule.clitPiercing == 0>>None.<<elseif $currentRule.clitPiercing == 1>>Light. <<elseif $currentRule.clitPiercing is 2>>Heavy. <<elseif $currentRule.clitPiercing is 3>>Smart.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeVaginaPiercings>> %/ <<widget "RAChangeVaginaPiercings">> <<replace #vaginapiercing>> <<if $currentRule.vaginaPiercing is "no default setting">>No default setting.<<elseif $currentRule.vaginaPiercing == 0>>None.<<elseif $currentRule.vaginaPiercing == 1>>Light. <<elseif $currentRule.vaginaPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeDickPiercings>> %/ <<widget "RAChangeDickPiercings">> <<replace #dickpiercing>> <<if $currentRule.dickPiercing is "no default setting">>No default setting.<<elseif $currentRule.dickPiercing == 0>>None.<<elseif $currentRule.dickPiercing == 1>>Light. <<elseif $currentRule.dickPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeAnusPiercings>> %/ <<widget "RAChangeAnusPiercings">> <<replace #anuspiercing>> <<if $currentRule.anusPiercing is "no default setting">>No default setting.<<elseif $currentRule.anusPiercing == 0>>None.<<elseif $currentRule.anusPiercing == 1>>Light. <<elseif $currentRule.anusPiercing is 2>>Heavy.<</if>> <</replace>> <</widget>> /% Call as <<RAChangeCorsetPiercings>> %/ <<widget "RAChangeCorsetPiercings">> <<replace #corsetpiercing>> <<if $currentRule.corsetPiercing is "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 to 0>> <<RAChangeBranding>> <</link>> <<else>> ''off.'' <<link "Activate">> <<set $currentRule.autoBrand to 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 <<RASurgeryChangeLacation>> %/ <<widget "RASurgeryChangeLacation">> <<replace #lactation>> <<if ($currentRule.surgery.lactation is "no default setting")>> ''no default setting.'' <<elseif ($currentRule.surgery.lactation == 1)>> ''implanted.'' <<else>> ''implants will be removed.'' <</if>> <br> <<if ($currentRule.surgery.lactation isnot "no default setting")>> <<link "No default setting">> <<set $currentRule.surgery.lactation to "no default setting">> <<RASurgeryChangeLacation>> <</link>> | <<else>> No default setting | <</if>> <<if ($currentRule.surgery.lactation isnot 0)>> <<link "Removed">> <<set $currentRule.surgery.lactation to 0>> <<RASurgeryChangeLacation>> <</link>> | <<else>> Removed | <</if>> <<if ($currentRule.surgery.lactation isnot 1)>> <<link "Implanted">> <<set $currentRule.surgery.lactation to 1>> <<RASurgeryChangeLacation>> <</link>> <<else>> Implanted <</if>> <</replace>> <</widget>> /% Call as <<RASurgeryChangeCosmetic>> %/ <<widget "RASurgeryChangeCosmetic">> <<replace #cosmetic>> <<if ($currentRule.surgery.cosmetic is 2)>> ''invasive.'' <<elseif ($currentRule.surgery.cosmetic == 1)>> ''subtle.'' <<else>> ''none.'' <</if>> <br> <<if ($currentRule.surgery.cosmetic isnot 0)>> <<link "None">> <<set $currentRule.surgery.cosmetic = 0>> <<RASurgeryChangeCosmetic>> <</link>> | <<else>> None | <</if>> <<if ($currentRule.surgery.cosmetic isnot 1)>> <<link "Subtle">> <<set $currentRule.surgery.cosmetic = 1>> <<RASurgeryChangeCosmetic>> <</link>> | <<else>> Subtle | <</if>> <<if ($currentRule.surgery.cosmetic isnot 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 is "no default setting")>> ''no default setting.'' <<elseif ($currentRule.surgery.lips is 95)>> implanted until a ''facepussy.'' <<elseif ($currentRule.surgery.lips is 70)>> implanted until ''huge.'' <<elseif ($currentRule.surgery.lips is 40)>> implanted until ''big.'' <<elseif ($currentRule.surgery.lips == 20)>> implanted until ''plush.'' <<else>> ''implants will be removed.'' <</if>> <br> <<if ($currentRule.surgery.lips isnot "no default setting")>> <<link "No default setting">> <<set $currentRule.surgery.lips to "no default setting">> <<RASurgeryChangeLips>> <</link>> | <<else>> No default setting | <</if>> <<if ($currentRule.surgery.lips != 0)>> <<link "Removed">> <<set $currentRule.surgery.lips to 0>> <<RASurgeryChangeLips>> <</link>> | <<else>> Removed | <</if>> <<if ($currentRule.surgery.lips != 20)>> <<link "Plush">> <<set $currentRule.surgery.lips to 20>> <<RASurgeryChangeLips>> <</link>> | <<else>> Plush | <</if>> <<if ($currentRule.surgery.lips != 40)>> <<link "Big">> <<set $currentRule.surgery.lips to 40>> <<RASurgeryChangeLips>> <</link>> | <<else>> Big | <</if>> <<if ($currentRule.surgery.lips != 70)>> <<link "Huge">> <<set $currentRule.surgery.lips to 70>> <<RASurgeryChangeLips>> <</link>> <<else>> Huge <</if>> <<if ($seeExtreme != 0)>> <<if ($currentRule.surgery.lips != 95)>> | <<link "Facepussy">> <<set $currentRule.surgery.lips to 95>> <<RASurgeryChangeLips>> <</link>> <<else>> | Facepussy <</if>> <</if>> <</replace>> <</widget>> /% Call as <<RASurgeryChangeButt>> %/ <<widget "RASurgeryChangeButt">> <<replace #butt>> <<if ($currentRule.surgery.butt is "no default setting")>> ''no default setting.'' <<elseif ($currentRule.surgery.butt is 9)>> implanted until ''maximized.'' <<elseif ($currentRule.surgery.butt is 6)>> implanted until ''huge.'' <<elseif ($currentRule.surgery.butt is 4)>> implanted until ''stacked.'' <<elseif ($currentRule.surgery.butt is 2)>> implanted until ''slim.'' <<else>> ''implants will be removed.'' <</if>> <br> <<if ($currentRule.surgery.butt isnot "no default setting")>> <<link "No default setting">> <<set $currentRule.surgery.butt to "no default setting">> <<RASurgeryChangeButt>> <</link>> | <<else>> No default setting | <</if>> <<if ($currentRule.surgery.butt != 0)>> <<link "Removed">> <<set $currentRule.surgery.butt to 0>> <<RASurgeryChangeButt>> <</link>> | <<else>> Removed | <</if>> <<if ($currentRule.surgery.butt != 2)>> <<link "Slim">> <<set $currentRule.surgery.butt to 2>> <<RASurgeryChangeButt>> <</link>> | <<else>> Slim | <</if>> <<if ($currentRule.surgery.butt != 4)>> <<link "Stacked">> <<set $currentRule.surgery.butt to 4>> <<RASurgeryChangeButt>> <</link>> | <<else>> Stacked | <</if>> <<if ($currentRule.surgery.butt != 6)>> <<link "Huge">> <<set $currentRule.surgery.butt to 6>> <<RASurgeryChangeButt>> <</link>> | <<else>> Huge | <</if>> <<if ($currentRule.surgery.butt != 9)>> <<link "Maximize">> <<set $currentRule.surgery.butt to 9>> <<RASurgeryChangeButt>> <</link>> <<else>> Maximize <</if>> <</replace>> <</widget>> /% Call as <<RASurgeryChangeBoobs>> %/ <<widget "RASurgeryChangeBoobs">> <<replace #boobs>> <<if ($currentRule.surgery.boobs is "no default setting")>> ''no default setting.'' <<elseif ($currentRule.surgery.boobs is 24000)>> implanted until ''maximized.'' <<elseif ($currentRule.surgery.boobs is 9000)>> implanted to maximally ''functional,'' where more would immobilize the slave. <<elseif ($currentRule.surgery.boobs is 2000)>> implanted until ''huge.'' <<elseif ($currentRule.surgery.boobs == 1000)>> implanted until ''stacked.'' <<elseif ($currentRule.surgery.boobs is 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 to "no default setting">> <<RASurgeryChangeBoobs>> <</link>> | <<else>> No default setting | <</if>> <<if ($currentRule.surgery.boobs != 0)>> <<link "Removed">> <<set $currentRule.surgery.boobs to 0>> <<RASurgeryChangeBoobs>> <</link>> | <<else>> Removed | <</if>> <<if ($currentRule.surgery.boobs != 400)>> <<link "Slim">> <<set $currentRule.surgery.boobs to 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 to 2000>> <<RASurgeryChangeBoobs>> <</link>> | <<else>> Huge | <</if>> <<if ($currentRule.surgery.boobs != 9000)>> <<link "Functional">> <<set $currentRule.surgery.boobs to 9000>> <<RASurgeryChangeBoobs>> <</link>> | <<else>> Functional | <</if>> <<if ($currentRule.surgery.boobs != 24000)>> <<link "Maximize">> <<set $currentRule.surgery.boobs to 24000>> <<RASurgeryChangeBoobs>> <</link>> <<else>> Maximize <</if>> <</replace>> <</widget>> /% Call as <<RASurgeryChangeHoles>> %/ <<widget "RASurgeryChangeHoles">> <<replace #holes>> <<if ($currentRule.surgery.holes is 2)>> ''virginity restoration'' will be applied where possible. <<elseif ($currentRule.surgery.holes == 1)>> ''hole tightening'' will be applied. <<else>> ''none.'' <</if>> <br> <<if ($currentRule.surgery.holes != 0)>> <<link "Off">> <<set $currentRule.surgery.holes to 0>> <<RASurgeryChangeHoles>> <</link>> | <<else>> Off | <</if>> <<if ($currentRule.surgery.holes != 1)>> <<link "Tightening">> <<set $currentRule.surgery.holes to 1>> <<RASurgeryChangeHoles>> <</link>> | <<else>> Tightening | <</if>> <<if ($currentRule.surgery.holes != 2)>> <<link "Virginity">> <<set $currentRule.surgery.holes to 2>> <<RASurgeryChangeHoles>> <</link>> <<else>> Virginity <</if>> <</replace>> <</widget>> /% Call as <<RARemoveRule>> %/ <<widget "RARemoveRule">> <<for _s to 0; _s < $activeSlave.currentRules.length; _s++>> <<if _currentRule.ID == $activeSlave.currentRules[_s]>> <<set $dump to $activeSlave.currentRules.pluck([_s],[_s])>> <</if>> <</for>> <br>Rule _rule (_currentRule.name) is no longer applying to $activeSlave.slaveName. <<include "Rules Facility Remove">> <</widget>>
r3d/fc
src/utility/raWidgets.tw
tw
bsd-3-clause
71,443
:: slave creation widgets [widget nobr] /% Call as <<StartingGirlsWorkaround>> %/ <<widget "StartingGirlsWorkaround">> <<include "Generate New Slave">> <<set $startingGirlCopied to 0>> <<set $activeSlave.health = 0>> <<set $activeSlave.devotion = 0>> <<set $activeSlave.trust = 0>> <<set $activeSlave.sexualQuirk to "none">> <<set $activeSlave.behavioralQuirk to "none">> <<set $activeSlave.fetishKnown to 1>> <<if $activeSlave.vagina < 0>> <<set $activeSlave.ovaries = 0>> <<elseif $activeSlave.vagina < 1>> <<set $activeSlave.vaginalSkill = 0>> <</if>> <<if $activeSlave.anus < 1>> <<set $activeSlave.analSkill = 0>> <</if>> <<set $activeSlave.actualAge to Number($activeSlave.actualAge)>> <<set $activeSlave.devotion = Number($activeSlave.devotion)>> <<set $activeSlave.trust = Number($activeSlave.trust)>> <<if $activeSlave.indenture >= 0>> <<set $activeSlave.indenture = Math.clamp($activeSlave.indenture, 26, 208)>> <</if>> <<set $activeSlave.height = Math.clamp($activeSlave.height, 85, 274)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs, 0, 10000)>> <<set $activeSlave.boobs = Number($activeSlave.boobs)>> <<set $activeSlave.boobs = Math.trunc($activeSlave.boobs/50)*50>> <</widget>> /% Call as <<StartingGirlsRefresh>> %/ <<widget "StartingGirlsRefresh">> <<replace "#devotion">> @@color:yellow;Ambivalent.@@ <</replace>> <<replace "#trust">> @@color:yellow;Fearful.@@ <</replace>> <<replace "#legal">> Slave. <</replace>> <<replace "#voice">> <<if $activeSlave.voice == 0>>Mute. <<elseif $activeSlave.voice == 1>>Deep. <<elseif $activeSlave.voice is 2>>Normal. <<elseif $activeSlave.voice is 3>>High. <</if>> <</replace>> <<replace "#language">> <<if $activeSlave.accent == 0>>Unaccented. <<elseif $activeSlave.accent == 1>>Pretty $activeSlave.nationality accent. <<elseif $activeSlave.accent is 2>>Thick $activeSlave.nationality accent. <<else>>Not fluent. <</if>> <</replace>> <<replace "#age">> <<textbox "$activeSlave.actualAge" $activeSlave.actualAge "Starting Girls">> <</replace>> <<replace "#health">> @@color:yellow;Healthy.@@ <</replace>> <<replace "#muscles">> Normal. <</replace>> <<replace "#waist">> Normal. <</replace>> <<if $seeExtreme == 1>> <<replace "#amp">> <<if $activeSlave.amp == 1>>Amputee. <<else>>Normal. <</if>> <</replace>> <</if>> <<replace "#height">> <<if $activeSlave.height < 150>>Petite. <<elseif $activeSlave.height < 160>>Short. <<elseif $activeSlave.height < 170>>Average. <<elseif $activeSlave.height < 185>>Tall. <<else>>Very tall. <</if>> <<textbox "$activeSlave.height" $activeSlave.height "Starting Girls">> cm <</replace>> <<replace "#weight">> <<if $activeSlave.weight < -95>>@@color:red;Emaciated.@@ <<elseif $activeSlave.weight < -30>>@@color:red;Skinny.@@ <<elseif $activeSlave.weight < -10>>Thin. <<elseif $activeSlave.weight <= 10>>Average. <<elseif $activeSlave.weight <= 30>>Plush. <<elseif $activeSlave.weight <= 95>>@@color:red;Chubby.@@ <<else>>@@color:red;Fat.@@ <</if>> <</replace>> <<if $seeRace == 1>> <<replace "#ethnicity">> <<textbox "$activeSlave.race" $activeSlave.race "Starting Girls">> <</replace>> <</if>> <<replace "#skin">> <<textbox "$activeSlave.skin" $activeSlave.skin "Starting Girls">> <</replace>> <<replace "#faceShape">> $activeSlave.faceShape <</replace>> <<replace "#face">> <<if $activeSlave.face < -2>>Very ugly. <<elseif $activeSlave.face is -2>>Ugly. <<elseif $activeSlave.face is -1>>Unattractive. <<elseif $activeSlave.face == 0>>Average. <<elseif $activeSlave.face == 1>>Attractive. <<elseif $activeSlave.face is 2>>Beautiful. <<else>>Very beautiful. <</if>> <</replace>> <<replace "#lips">> <<if $activeSlave.lips <= 10>>Thin. <<elseif $activeSlave.lips <= 20>>Normal. <<elseif $activeSlave.lips <= 40>>Plush. <<elseif $activeSlave.lips <= 70>>Big. <<elseif $activeSlave.lips <= 95>>Huge. <<else>>Facepussy. <</if>> <</replace>> <<replace "#teeth">> <<if $activeSlave.teeth is "crooked">>Crooked. <<elseif $activeSlave.teeth is "straightening braces">>Braces. <<else>>Straight. <</if>> <</replace>> <<replace "#vision">> <<if $seeExtreme == 1>> <<if $activeSlave.eyes is -2>>Blind. <<elseif $activeSlave.eyes is -1>>Nearsighted. <<else>>Normal. <</if>> <<else>> <<if $activeSlave.eyes is -1>>Nearsighted. <<else>>Normal. <</if>> <</if>> <</replace>> <<replace "#boobs">> <<if $activeSlave.boobs <= 200>>Flat. <<elseif $activeSlave.boobs <= 500>>Healthy. <<elseif $activeSlave.boobs <= 800>>Large. <<elseif $activeSlave.boobs <= 1200>>Very Large. <<elseif $activeSlave.boobs <= 2000>>Huge. <<elseif $activeSlave.boobs <= 4000>>Massive. <<elseif $activeSlave.boobs <= 6000>>Monstrous. <<else>>Science experiment. <</if>> <<textbox "$activeSlave.boobs" $activeSlave.boobs "Starting Girls">> CCs <</replace>> <<replace "#lactation">> <<if $activeSlave.lactation == 2>>Artificial. <<elseif $activeSlave.lactation == 1>>Natural. <<else>>None. <</if>> <</replace>> <<replace "#nipples">> $activeSlave.nipples <</replace>> <<replace "#areolae">> <<if $activeSlave.areolae == 1>> Large. <<elseif $activeSlave.areolae == 2>> Wide. <<elseif $activeSlave.areolae == 3>> Huge. <<else>> Normal. <</if>> <</replace>> <<replace "#shoulders">> <<if $activeSlave.shoulders < -1>>Very narrow. <<elseif $activeSlave.shoulders < 0>>Narrow. <<elseif $activeSlave.shoulders > 1>>Very broad. <<elseif $activeSlave.shoulders > 0>>Broad. <<else>>Feminine. <</if>> <</replace>> <<replace "#hips">> <<if $activeSlave.hips < -1>>Very narrow. <<elseif $activeSlave.hips < 0>>Narrow. <<elseif $activeSlave.hips > 1>>Very broad. <<elseif $activeSlave.hips > 0>>Broad. <<else>>Normal. <</if>> <</replace>> <<replace "#butt">> <<if $activeSlave.butt == 0>>Flat. <<elseif $activeSlave.butt < 2>>Small. <<elseif $activeSlave.butt < 3>>Plump. <<elseif $activeSlave.butt < 4>>Big. <<elseif $activeSlave.butt < 5>>Huge. <<elseif $activeSlave.butt < 6>>Enormous. <<elseif $activeSlave.butt < 7>>Gigantic. <<else>>Massive. <</if>> <</replace>> <<replace "#anus">> <<if $activeSlave.anus == 0>>@@color:lime;Virgin.@@ <<elseif $activeSlave.anus == 1>>Normal. <<elseif $activeSlave.anus is 2>>Veteran. <<else>>Gaping. <</if>> <</replace>> <<replace "#vagina">> <<if $activeSlave.vagina is -1>>//No vagina.// <<elseif $activeSlave.vagina == 0>>@@color:lime;Virgin.@@ <<elseif $activeSlave.vagina == 1>>Normal. <<elseif $activeSlave.vagina is 2>>Veteran. <<else>>Gaping. <</if>> <</replace>> <<replace "#vaginablock">> <<if $activeSlave.vagina > -1>> <br> &nbsp;&nbsp;&nbsp;&nbsp; ''Clit:'' <span id="clit"> <<if $activeSlave.clit == 0>>Normal. <<elseif $activeSlave.clit == 1>>Large. <<else>>Huge. <</if>> </span> <<link "Normal">> <<set $activeSlave.clit to 0>> <<replace #clit>> Normal. <</replace>> <</link>> | <<link "Large">> <<set $activeSlave.clit to 1>> <<replace #clit>> Large. <</replace>> <</link>> | <<link "Huge">> <<set $activeSlave.clit to 2>> <<replace #clit>> Huge. <</replace>> <</link>> <</if>> <br> &nbsp;&nbsp;&nbsp;&nbsp; ''Labia:'' <span id="labia"> <<if $activeSlave.labia is 2>>Huge. <<elseif $activeSlave.labia == 1>>Large. <<else>>Normal. <</if>> </span> <<link "Normal">> <<set $activeSlave.labia to 0>> <<replace #labia>> Normal. <</replace>> <</link>> | <<link "Large">> <<set $activeSlave.labia to 1>> <<replace #labia>> Large. <</replace>> <</link>> | <<link "Huge">> <<set $activeSlave.labia to 2>> <<replace #labia>> Huge. <</replace>> <</link>> <br> ''Vaginal wetness:'' <span id="wetness"> <<if $activeSlave.vaginaLube == 0>>Dry. <<elseif $activeSlave.vaginaLube == 1>>Normal. <<else>>Excessive. <</if>> </span> <<link "Dry">><<set $activeSlave.vaginaLube = 0>><<replace "#wetness">>Dry.<</replace>><<StartingGirlsCost>><</link>> | <<link "Normal">><<set $activeSlave.vaginaLube = 1>><<replace "#wetness">>Normal.<</replace>><<StartingGirlsCost>><</link>> | <<link "Excessive">><<set $activeSlave.vaginaLube = 2>><<replace "#wetness">>Excessive.<</replace>><<StartingGirlsCost>><</link>> <br> ''Pregnancy:'' <span id="preg"> <<if $activeSlave.preg > 20>>Ready to drop. <<elseif $activeSlave.preg > 20>>Advanced. <<elseif $activeSlave.preg > 5>>Early. <<elseif $activeSlave.preg > -2>>None. <<else>>Barren. <</if>> </span> <<link "Ready to Drop">><<set $activeSlave.preg = 35,$activeSlave.pregType = 1,$activeSlave.pubertyXX = 1>><<replace "#preg">>Ready to drop.<</replace>><<StartingGirlsCost>><</link>> | <<link "Advanced">><<set $activeSlave.preg = 25,$activeSlave.pregType = 1,$activeSlave.pubertyXX = 1>><<replace "#preg">>Advanced.<</replace>><<StartingGirlsCost>><</link>> | <<link "Early">><<set $activeSlave.preg = 10,$activeSlave.pregType = 1,$activeSlave.pubertyXX = 1>><<replace "#preg">>Early.<</replace>><<StartingGirlsCost>><</link>> | <<link "None">><<set $activeSlave.preg = 0,$activeSlave.pregType = 0,$activeSlave.pregSource = 0>><<replace "#preg">>None.<</replace>><<StartingGirlsCost>><</link>> | <<link "Barren">><<set $activeSlave.preg = -2,$activeSlave.pregType = 0,$activeSlave.pregSource = 0>><<replace "#preg">>Barren.<</replace>><<StartingGirlsCost>><</link>> <br>''Puberty:'' <span id="pub"> <<if $activeSlave.pubertyXX == 1>>Postpubescent. <<else>>Prepubescent. <</if>> </span> <<textbox "$activeSlave.pubertyAgeXX" $activeSlave.pubertyAgeXX "Starting Girls">> <<link "Postpubescent">><<set $activeSlave.pubertyXX = 1>><<replace "#pub">>Postpubescent.<</replace>><<StartingGirlsCost>><</link>> | <<link "Prepubescent">><<set $activeSlave.pubertyXX = 0,$activeSlave.pubertyAgeXX = $fertilityAge,$activeSlave.preg = 0,$activeSlave.pregType = 0,$activeSlave.pregSource = 0>><<replace "#pub">>Prepubescent.<</replace>><<StartingGirlsCost>><</link>> <<if $PC.dick == 1>> <br> ''Father:'' <span id="father"> <<if $activeSlave.pregSource == -1>>My child. <<else>> <</if>> </span> <<link "My child">><<set $activeSlave.pregSource = -1>><<replace "#father">>My child.<</replace>><<StartingGirlsCost>><</link>> | <<link "Clear">><<set $activeSlave.pregSource = 0>><<replace "#father">><</replace>><<StartingGirlsCost>><</link>> <</if>> <</replace>> <<replace "#dickblock">> <<if $seeDicks != 0>> <br> ''Penis:'' <span id="dick"> <<if $activeSlave.dick == 0>>None. <<elseif $activeSlave.dick == 1>>Tiny. <<elseif $activeSlave.dick is 2>>Small. <<elseif $activeSlave.dick is 3>>Normal. <<elseif $activeSlave.dick is 4>>Large. <<else>>Massive. <</if>> </span> <<link "No penis">><<set $activeSlave.dick = 0,$activeSlave.balls = 0,$activeSlave.clit = 0,$activeSlave.pubertyXY = 0,$activeSlave.pubertyAgeXY = $potencyAge>><<replace "#dick">>None.<</replace>><<StartingGirlsCost>><</link>> | <<link "Tiny">><<set $activeSlave.dick = 1,$activeSlave.clit = 0>><<replace "#dick">>Tiny.<</replace>><<StartingGirlsCost>><</link>> | <<link "Small">><<set $activeSlave.dick = 2,$activeSlave.clit = 0>><<replace "#dick">>Small.<</replace>><<StartingGirlsCost>><</link>> | <<link "Normal">><<set $activeSlave.dick = 3,$activeSlave.clit = 0>><<replace "#dick">>Normal.<</replace>><<StartingGirlsCost>><</link>> | <<link "Large">><<set $activeSlave.dick = 4,$activeSlave.clit = 0>><<replace "#dick">>Large.<</replace>><<StartingGirlsCost>><</link>> | <<link "Massive">><<set $activeSlave.dick = 5,$activeSlave.clit = 0>><<replace "#dick">>Massive.<</replace>><<StartingGirlsCost>><</link>> <<if $activeSlave.dick > 0>> &nbsp;&nbsp;&nbsp;&nbsp; ''Foreskin:'' <span id="foreskin"> <<if $activeSlave.foreskin == 0>>None. <<elseif $activeSlave.foreskin == 1>>Tiny. <<elseif $activeSlave.foreskin is 2>>Small. <<elseif $activeSlave.foreskin is 3>>Normal. <<elseif $activeSlave.foreskin is 4>>Large. <<else>>Massive.<</if>> </span> <<if $seeCircumcision == 1>><<link "Circumcised">><<set $activeSlave.foreskin = 0>><<replace "#foreskin">>None.<</replace>><<StartingGirlsCost>><</link>> |<</if>> <<link "Tiny">><<set $activeSlave.foreskin = 1>><<replace "#foreskin">>Tiny.<</replace>><<StartingGirlsCost>><</link>> | <<link "Small">><<set $activeSlave.foreskin = 2>><<replace "#foreskin">>Small.<</replace>><<StartingGirlsCost>><</link>> | <<link "Normal">><<set $activeSlave.foreskin = 3>><<replace "#foreskin">>Normal.<</replace>><<StartingGirlsCost>><</link>> | <<link "Large">><<set $activeSlave.foreskin = 4>><<replace "#foreskin">>Large.<</replace>><<StartingGirlsCost>><</link>> | <<link "Massive">><<set $activeSlave.foreskin = 5>><<replace "#foreskin">>Massive.<</replace>><<StartingGirlsCost>><</link>> <br> ''Testicles:'' <span id="balls"> <<if $activeSlave.balls == 0>>None. <<elseif $activeSlave.balls == 1>>Vestigial. <<elseif $activeSlave.balls is 2>>Small. <<elseif $activeSlave.balls is 3>>Normal. <<elseif $activeSlave.balls is 4>>Large. <<else>>Massive.<</if>> </span> <<link "No testicles">><<set $activeSlave.balls = 0,$activeSlave.pubertyXY = 0,$activeSlave.pubertyAgeXY = $potencyAge>><<replace "#balls">>None.<</replace>><<StartingGirlsCost>><</link>> | <<link "Vestigial">><<set $activeSlave.balls = 1>><<replace "#balls">>Vestigial.<</replace>><<StartingGirlsCost>><</link>> | <<link "Small">><<set $activeSlave.balls = 2>><<replace "#balls">>Small.<</replace>><<StartingGirlsCost>><</link>> | <<link "Normal">><<set $activeSlave.balls = 3>><<replace "#balls">>Normal.<</replace>><<StartingGirlsCost>><</link>> | <<link "Large">><<set $activeSlave.balls = 4>><<replace "#balls">>Large.<</replace>><<StartingGirlsCost>><</link>> | <<link "Massive">><<set $activeSlave.balls = 5>><<replace "#balls">>Massive.<</replace>><<StartingGirlsCost>><</link>> &nbsp;&nbsp;&nbsp;&nbsp; ''Puberty:''<<textbox "$activeSlave.pubertyAgeXY" $activeSlave.pubertyAgeXY "Starting Girls">> <<if $activeSlave.balls > 0>> &nbsp;&nbsp;&nbsp;&nbsp; ''Ballsack:'' <span id="scrotum"> <<if $activeSlave.scrotum == 0>>None. <<elseif $activeSlave.scrotum == 1>>Tiny. <<elseif $activeSlave.scrotum is 2>>Small. <<elseif $activeSlave.scrotum is 3>>Normal. <<elseif $activeSlave.scrotum is 4>>Large. <<else>>Massive.<</if>> </span> <<link "None">><<set $activeSlave.scrotum = 0>><<replace "#scrotum">>None.<</replace>><<StartingGirlsCost>><</link>> | <<link "Tiny">><<set $activeSlave.scrotum = 1>><<replace "#scrotum">>Tiny.<</replace>><<StartingGirlsCost>><</link>> | <<link "Small">><<set $activeSlave.scrotum = 2>><<replace "#scrotum">>Small.<</replace>><<StartingGirlsCost>><</link>> | <<link "Normal">><<set $activeSlave.scrotum = 3>><<replace "#scrotum">>Normal.<</replace>><<StartingGirlsCost>><</link>> | <<link "Large">><<set $activeSlave.scrotum = 4>><<replace "#scrotum">>Large.<</replace>><<StartingGirlsCost>><</link>> | <<link "Massive">><<set $activeSlave.scrotum = 5>><<replace "#scrotum">>Massive.<</replace>><<StartingGirlsCost>><</link>> <br>''Puberty:'' <span id="Mpub"> <<if $activeSlave.pubertyXY == 1>>Postpubescent. <<else>>Prepubescent. <</if>> </span> <<link "Postpubescent">><<set $activeSlave.pubertyXY = 1>><<replace "#Mpub">>Postpubescent.<</replace>><<StartingGirlsCost>><</link>> | <<link "Prepubescent">><<set $activeSlave.pubertyXY = 0,$activeSlave.pubertyAgeXY = $potencyAge>><<replace "#Mpub">>Prepubescent.<</replace>><<StartingGirlsCost>><</link>> <</if>> <</if>> <</if>> <</replace>> <<replace "#analSkillsBlock">> <<if $activeSlave.anus == 0>> //Anal virgins cannot be given anal skills// <<else>> ''Anal sex:'' <span id = "analSkill"> <<if $activeSlave.analSkill <= 10>>Unskilled. <<elseif $activeSlave.analSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.analSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> </span> <<if $activeSlave.anus < 3>><<link "Unskilled">><<set $activeSlave.analSkill = 0>><<replace "#analSkill">>Unskilled.<</replace>><<StartingGirlsCost>><</link>> |<</if>> <<link "Basic">><<set $activeSlave.analSkill = 15>><<replace "#analSkill">>@@color:cyan;Basic.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Skilled">><<set $activeSlave.analSkill = 35>><<replace "#analSkill">>@@color:cyan;Skilled.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Expert">><<set $activeSlave.analSkill = 65>><<replace "#analSkill">>@@color:cyan;Expert.@@<</replace>><<StartingGirlsCost>><</link>> <</if>> <</replace>> <<replace "#oralSkill">> <<if $activeSlave.oralSkill <= 10>>Unskilled. <<elseif $activeSlave.oralSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.oralSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> <</replace>> <<replace "#vaginalSkillsBlock">> <<if $activeSlave.vagina == 0>> //Virgins cannot be given vaginal skills// <<elseif $activeSlave.vagina is -1>> //Must have a vagina to have vaginal skills// <<else>> ''Vaginal sex:'' <span id = "vaginalSkill"> <<if $activeSlave.vaginalSkill <= 10>>Unskilled. <<elseif $activeSlave.vaginalSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.vaginalSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> </span> <<if $activeSlave.vagina < 3>><<link "Unskilled">><<set $activeSlave.vaginalSkill = 0>><<replace "#vaginalSkill">>Unskilled.<</replace>><<StartingGirlsCost>><</link>> |<</if>> <<link "Basic">><<set $activeSlave.vaginalSkill = 15>><<replace "#vaginalSkill">>@@color:cyan;Basic.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Skilled">><<set $activeSlave.vaginalSkill = 35>><<replace "#vaginalSkill">>@@color:cyan;Skilled.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Expert">><<set $activeSlave.vaginalSkill = 65>><<replace "#vaginalSkill">>@@color:cyan;Expert.@@<</replace>><<StartingGirlsCost>><</link>> <</if>> <</replace>> <<replace "#whoreSkill">> <<if $activeSlave.whoreSkill <= 10>>Unskilled. <<elseif $activeSlave.whoreSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.whoreSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> <</replace>> <<replace "#entertainSkill">> <<if $activeSlave.entertainSkill <= 10>>Unskilled. <<elseif $activeSlave.entertainSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.entertainSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> <</replace>> <<replace "#combatSkill">> <<if $activeSlave.combatSkill == 0>>Unskilled. <<else>>@@color:cyan;Skilled.@@ <</if>> <</replace>> <<replace "#intelligence">> <<if $activeSlave.intelligence is 3>>@@color:deepskyblue;Brilliant.@@ <<elseif $activeSlave.intelligence is 2>>@@color:deepskyblue;Very smart.@@ <<elseif $activeSlave.intelligence == 1>>@@color:deepskyblue;Smart.@@ <<elseif $activeSlave.intelligence == 0>>Average. <<elseif $activeSlave.intelligence is -1>>@@color:orangered;Stupid.@@ <<elseif $activeSlave.intelligence is -2>>@@color:orangered;Very stupid.@@ <<else>>@@color:orangered;Moronic.@@ <</if>> <</replace>> <<replace "#intelligenceImplant">> <<if $activeSlave.intelligenceImplant == 1>>@@color:deepskyblue;Educated.@@ <<else>>Uneducated. <</if>> <</replace>> <<if $activeSlave.fetishKnown == 1>> <<ToggleFetish 1>> <<else>> <<ToggleFetish 0>> <</if>> <<if $activeSlave.attrKnown == 1>> <<ToggleSexuality 1>> <<else>> <<ToggleSexuality 0>> <</if>> <<replace "#behavioralFlaw">> <<if $activeSlave.behavioralFlaw is "none">> //$activeSlave.behavioralFlaw.// <<else>> @@color:red;$activeSlave.behavioralFlaw.@@ <</if>> <</replace>> <<replace "#sexualFlaw">> <<if $activeSlave.sexualFlaw is "none">> //$activeSlave.sexualFlaw.// <<else>> @@color:red;$activeSlave.sexualFlaw.@@ <</if>> <</replace>> <</widget>> /% Call as <<StartingGirlsAnalSkill>> %/ <<widget "StartingGirlsAnalSkill">> <<replace "#analSkillsBlock">> <<if $activeSlave.anus == 0>> //Anal virgins cannot be given anal skills// <<else>> ''Anal sex:'' <span id = "analSkill"> <<if $activeSlave.analSkill <= 10>>Unskilled. <<elseif $activeSlave.analSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.analSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> </span> <<if $activeSlave.anus < 3>><<link "Unskilled">><<set $activeSlave.analSkill = 0>><<replace "#analSkill">>Unskilled.<</replace>><<StartingGirlsCost>><</link>> |<</if>> <<link "Basic">><<set $activeSlave.analSkill = 15>><<replace "#analSkill">>@@color:cyan;Basic.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Skilled">><<set $activeSlave.analSkill = 35>><<replace "#analSkill">>@@color:cyan;Skilled.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Expert">><<set $activeSlave.analSkill = 65>><<replace "#analSkill">>@@color:cyan;Expert.@@<</replace>><<StartingGirlsCost>><</link>> <</if>> <</replace>> <</widget>> /% Call as <<StartingGirlsVaginalSkill>> %/ <<widget "StartingGirlsVaginalSkill">> <<replace "#vaginalSkillsBlock">> <<if $activeSlave.vagina == 0>> //Virgins cannot be given vaginal skills// <<elseif $activeSlave.vagina is -1>> //Must have a vagina to have vaginal skills// <<else>> ''Vaginal sex:'' <span id = "vaginalSkill"> <<if $activeSlave.vaginalSkill <= 10>>Unskilled. <<elseif $activeSlave.vaginalSkill <= 30>>@@color:cyan;Basic.@@ <<elseif $activeSlave.vaginalSkill <= 60>>@@color:cyan;Skilled.@@ <<else>>@@color:cyan;Expert.@@ <</if>> </span> <<if $activeSlave.anus < 3>><<link "Unskilled">><<set $activeSlave.vaginalSkill = 0>><<replace "#vaginalSkill">>Unskilled.<</replace>><<StartingGirlsCost>><</link>> |<</if>> <<link "Basic">><<set $activeSlave.vaginalSkill = 15>><<replace "#vaginalSkill">>@@color:cyan;Basic.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Skilled">><<set $activeSlave.vaginalSkill = 35>><<replace "#vaginalSkill">>@@color:cyan;Skilled.@@<</replace>><<StartingGirlsCost>><</link>> | <<link "Expert">><<set $activeSlave.vaginalSkill = 65>><<replace "#vaginalSkill">>@@color:cyan;Expert.@@<</replace>><<StartingGirlsCost>><</link>> <</if>> <</replace>> <</widget>> /% Call as <<SaleDescription>> %/ <<widget "SaleDescription">> <<replace #slaveinfo>> <<set $saleDescription = 1>> <<include "Long Slave Description">> <<set $saleDescription = 0>> <</replace>> <</widget>> /% Call as <<StartingGirlsCost>> %/ <<widget "StartingGirlsCost">> <<replace "#cost">> <<slaveCost $activeSlave>> ¤<<print $slaveCost>>. <</replace>> <<replace "#finalize">> <<if $cash >= $slaveCost>> <<if $PC.career != "engineer">> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<link "Add this slave">> <<set $returnTo = "Commit Starting Girl", $createRelatedSlave = 0, $applyCareerBonus = 1, $careerBonusApplied = 0>> <<set $activeSlave.actualAge to Number($activeSlave.actualAge)>> <<set $activeSlave.devotion = Number($activeSlave.devotion)>> <<set $activeSlave.trust = Number($activeSlave.trust)>> <<if $activeSlave.indenture >= 0>> <<set $activeSlave.indenture = Math.clamp($activeSlave.indenture, 26, 208)>> <</if>> <<set $activeSlave.height = Math.clamp($activeSlave.height, 85, 274)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs, 0, 10000)>> <<set $activeSlave.boobs = Number($activeSlave.boobs)>> <<set $activeSlave.boobs = Math.trunc($activeSlave.boobs/50)*50>> <<set $slaveWithoutBonuses = $activeSlave>> <<slaveCost $activeSlave>> <<set $cash -= $slaveCost>> <<goto "RG AS Dump">> <</link>> //This will apply your @@color:springgreen;career bonus@@ to her: <<if $PC.career is "capitalist">> one free level of @@color:cyan;prostitution skill.@@ <<elseif $PC.career is "mercenary">> @@color:mediumaquamarine;+10 trust.@@ <<elseif $PC.career is "slaver">> @@color:hotpink;+10 devotion.@@ <<elseif $PC.career is "medicine">> free @@color:lime;basic implants.@@ <<elseif $PC.career is "celebrity">> one free level of @@color:cyan;entertainment skill.@@ <<elseif $PC.career is "gang">> @@color:green;+5 health@@ and a free level of @@color:cyan;combat skill@@ <<elseif $PC.career is "escort">> two free levels of @@color:cyan;sex skills@@, one free level of @@color:cyan;prostitution skill@@, and one free level of @@color:cyan;entertainment skill.@@ <<elseif $PC.career is "servant">> @@color:mediumaquamarine;+5 trust@@ and @@color:hotpink;+5 devotion.@@ <<elseif $PC.career is "wealth">> two free levels of @@color:cyan;sex skills.@@ <<else>> @@color:hotpink;+10 devotion,@@ one free level of @@color:cyan;prostitution skill@@ and @@color:cyan;entertainment skill,@@ and two free levels of @@color:cyan;sex skills.@@ <</if>>// <br>&nbsp;&nbsp;&nbsp;&nbsp; <<link "Add slave without career bonus">> <<set $returnTo = "Commit Starting Girl", $createRelatedSlave = 0, $applyCareerBonus = 0, $careerBonusApplied = 0>> <<set $activeSlave.actualAge to Number($activeSlave.actualAge)>> <<set $activeSlave.devotion = Number($activeSlave.devotion)>> <<set $activeSlave.trust = Number($activeSlave.trust)>> <<if $activeSlave.indenture >= 0>> <<set $activeSlave.indenture = Math.clamp($activeSlave.indenture, 26, 208)>> <</if>> <<set $activeSlave.height = Math.clamp($activeSlave.height, 85, 274)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs, 0, 10000)>> <<set $activeSlave.boobs = Number($activeSlave.boobs)>> <<set $activeSlave.boobs = Math.trunc($activeSlave.boobs/50)*50>> <<set $slaveWithoutBonuses = $activeSlave>> <<slaveCost $activeSlave>> <<set $cash -= $slaveCost>> <<goto "RG AS Dump">> <</link>> <<else>> <br>&nbsp;&nbsp;&nbsp;&nbsp; <<link "Add slave">> <<set $returnTo = "Commit Starting Girl", $createRelatedSlave = 0, $applyCareerBonus = 0, $careerBonusApplied = 0>> <<set $activeSlave.actualAge to Number($activeSlave.actualAge)>> <<set $activeSlave.devotion = Number($activeSlave.devotion)>> <<set $activeSlave.trust = Number($activeSlave.trust)>> <<if $activeSlave.indenture >= 0>> <<set $activeSlave.indenture = Math.clamp($activeSlave.indenture, 26, 208)>> <</if>> <<set $activeSlave.height = Math.clamp($activeSlave.height, 85, 274)>> <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs, 0, 10000)>> <<set $activeSlave.boobs = Number($activeSlave.boobs)>> <<set $activeSlave.boobs = Math.trunc($activeSlave.boobs/50)*50>> <<set $slaveWithoutBonuses = $activeSlave>> <<slaveCost $activeSlave>> <<set $cash -= $slaveCost>> <<goto "RG AS Dump">> <</link>> <br> <</if>> <<else>> <br>//You lack the necessary funds to add this slave.// <</if>> <br>&nbsp;&nbsp;&nbsp;&nbsp; [[Discard this slave and continue|Acquisition]] <</replace>> <</widget>> /% Call as <<ToggleFetish 1>> $arg[0] is whether unknown or known. %/ <<widget "ToggleFetish">> <<if ($args[0] == 0)>> <<set $activeSlave.fetish = either("none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "submissive", "cumslut", "humiliation", "buttslut", "boobs", "pregnancy", "dom", "sadist", "masochist"), $activeSlave.fetishKnown = 0>> <<replace "#fetishblock">> //Not known.// <<link "Known">> <<ToggleFetish 1>> <</link>> <</replace>> <<else>> <<set $activeSlave.fetishKnown = 1>> <<replace "#fetishblock">> <span id="fetish"> <<if $activeSlave.fetishKnown == 1>> <<if $activeSlave.fetish is "none">> @@color:pink;$activeSlave.fetish.@@ <<else>> @@color:lightcoral;$activeSlave.fetish.@@ <</if>> <<else>> //Not known.// <<link "Known">> <<ToggleFetish 1>> <</link>> <</if>> </span> <br> <<if $activeSlave.fetishKnown == 1>> <<link "Unknown">> <<ToggleFetish 0>> <<StartingGirlsCost>> <</link>> | <<link "None">> <<set $activeSlave.fetish = "none", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Sub">> <<set $activeSlave.fetish = "submissive", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Dom">> <<set $activeSlave.fetish = "dom", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Cumslut">> <<set $activeSlave.fetish = "cumslut", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Humiliation">> <<set $activeSlave.fetish = "humiliation", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Buttslut">> <<set $activeSlave.fetish = "buttslut", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Breasts">> <<set $activeSlave.fetish = "boobs", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Pregnancy">> <<set $activeSlave.fetish = "pregnancy", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Sadism">> <<set $activeSlave.fetish = "sadist", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> | <<link "Masochism">> <<set $activeSlave.fetish = "masochist", $activeSlave.fetishKnown = 1>> <<ToggleFetish 1>> <</link>> <<if $activeSlave.fetish != "none">> <br> <span id="fetishStrength"> ''Fetish strength:'' <<if $activeSlave.fetishStrength > 95>> @@color:lightcoral;High.@@ <<elseif $activeSlave.fetishStrength <= 60>> @@color:pink;Low.@@ <<else>> @@color:hotpink;Normal.@@ <</if>> <<if $activeSlave.fetishStrength > 60>> <<link "Decrease">> <<ChangeFetishStrength 0>> <</link>> <</if>> <<if ($activeSlave.fetishStrength > 60)>>|<</if>> <<if $activeSlave.fetishStrength <= 95>> <<link "Increase">> <<ChangeFetishStrength 1>> <</link>> <</if>> </span> <</if>> <</if>> <</replace>> <</if>> <</widget>> /% Call as <<ChangeFetishStrength 1>> $arg[0] is whether increase or decreas %/ <<widget "ChangeFetishStrength">> <<if ($args[0] == 0)>> <<set $activeSlave.fetishStrength -= 5, $activeSlave.fetishKnown = 1>> <<replace "#fetishStrength">> ''Fetish strength:'' <<if $activeSlave.fetishStrength > 95>> @@color:lightcoral;High.@@ <<elseif $activeSlave.fetishStrength <= 60>> @@color:pink;Low.@@ <<else>> @@color:hotpink;Normal.@@ <</if>> <<if $activeSlave.fetishStrength > 60>> <<link "Decrease">> <<ChangeFetishStrength 0>> <</link>> <</if>> <<if ($activeSlave.fetishStrength > 60)>>|<</if>> <<if $activeSlave.fetishStrength <= 95>> <<link "Increase">> <<ChangeFetishStrength 1>> <</link>> <</if>> <</replace>> <<StartingGirlsCost>> <<else>> <<set $activeSlave.fetishStrength += 5, $activeSlave.fetishKnown = 1>> <<replace "#fetishStrength">> ''Fetish strength:'' <<if $activeSlave.fetishStrength > 95>> @@color:lightcoral;High.@@ <<elseif $activeSlave.fetishStrength <= 60>> @@color:pink;Low.@@ <<else>> @@color:hotpink;Normal.@@ <</if>> <<if $activeSlave.fetishStrength > 60>> <<link "Decrease">> <<ChangeFetishStrength 0>> <</link>> <</if>> <<if ($activeSlave.fetishStrength > 60)>>|<</if>> <<if $activeSlave.fetishStrength <= 95>> <<link "Increase">> <<ChangeFetishStrength 1>> <</link>> <</if>> <</replace>> <<StartingGirlsCost>> <</if>> <</widget>> /% Call as <<ToggleSexuality 1>> $arg[0] is whether unknown or known. %/ <<widget "ToggleSexuality">> <<if ($args[0] == 0)>> <<set $activeSlave.attrXX = random(0,100), $activeSlave.attrXY = random(0,100), $activeSlave.energy = random(1,90), $activeSlave.attrKnown = 0>> <<StartingGirlsCost>> <<replace "#sexuality">> //Not known.// <<link "Known">> <<ToggleSexuality 1>> <</link>> <</replace>> <<else>> <<set $activeSlave.attrKnown = 1>> <<replace "#sexuality">> <span id="attrXY"> <<if $activeSlave.attrKnown == 1>> <<if $activeSlave.attrXY <= 5>> @@color:red;Disgusted by men,@@ <<elseif $activeSlave.attrXY <= 15>> @@color:red;Turned off by men,@@ <<elseif $activeSlave.attrXY <= 35>> @@color:red;Not attracted to men,@@ <<elseif $activeSlave.attrXY <= 65>> Indifferent to men, <<elseif $activeSlave.attrXY <= 85>> @@color:green;Attracted to men,@@ <<elseif $activeSlave.attrXY <= 95>> @@color:green;Aroused by men,@@ <<else>> @@color:green;Passionate about men,@@ <</if>> <<else>> //Not known.// <</if>> </span> <span id="attrXX"> <<if $activeSlave.attrKnown == 1>> <<if $activeSlave.attrXX <= 5>> @@color:red;disgusted by women.@@ <<elseif $activeSlave.attrXX <= 15>> @@color:red;turned off by women.@@ <<elseif $activeSlave.attrXX <= 35>> @@color:red;not attracted to women.@@ <<elseif $activeSlave.attrXX <= 65>> indifferent to women. <<elseif $activeSlave.attrXX <= 85>> @@color:green;attracted to women.@@ <<elseif $activeSlave.attrXX <= 95>> @@color:green;aroused by women.@@ <<else>> @@color:green;passionate about women.@@ <</if>> <</if>> </span> <<if $activeSlave.attrKnown == 1>> <<link "Unknown">> <<ToggleSexuality 0>> <</link>> <br> XY attraction: <span id="decreaseXY"> <<link "Decrease">> <<ChangeAttr 1 0>> <</link>> </span> <span id="increaseXY"> | <<link "Increase">> <<ChangeAttr 1 1>> <</link>> </span> &nbsp;&nbsp;&nbsp;&nbsp; XX attraction: <span id="decreaseXX"> <<link "Decrease">> <<ChangeAttr 0 0>> <</link>> </span> <span id="increaseXX"> | <<link "Increase">> <<ChangeAttr 0 1>> <</link>> </span> <br> ''Sex drive:'' <span id="energy"> <<if $activeSlave.energy == 100>>@@color:green;Nympho!@@ <<elseif $activeSlave.energy > 80>>@@color:green;Sex addict.@@ <<elseif $activeSlave.energy > 60>>@@color:green;Powerful.@@ <<elseif $activeSlave.energy > 40>>@@color:yellow;Average.@@ <<elseif $activeSlave.energy > 20>>@@color:red;Poor.@@ <<else>>@@color:red;Frigid.@@<</if>> </span> <<link "Nympho">> <<set $activeSlave.energy = 100, $activeSlave.attrKnown = 1>> <<replace "#energy">> @@color:green;Nympho!@@ <</replace>> <<StartingGirlsCost>> <</link>> | <<link "Sex addict">> <<set $activeSlave.energy = 85, $activeSlave.attrKnown = 1>> <<replace "#energy">> @@color:green;Sex addict.@@ <</replace>> <<StartingGirlsCost>> <</link>> | <<link "Powerful">> <<set $activeSlave.energy = 65, $activeSlave.attrKnown = 1>> <<replace "#energy">> @@color:green;Powerful.@@ <</replace>> <<StartingGirlsCost>> <</link>> | <<link "Average">> <<set $activeSlave.energy = 45, $activeSlave.attrKnown = 1>> <<replace "#energy">> @@color:yellow;Average.@@ <</replace>> <<StartingGirlsCost>> <</link>> | <<link "Poor">> <<set $activeSlave.energy = 25, $activeSlave.attrKnown = 1>> <<replace "#energy">> @@color:red;Poor.@@ <</replace>> <<StartingGirlsCost>> <</link>> | <<link "Frigid">> <<set $activeSlave.energy = 5, $activeSlave.attrKnown = 1>> <<replace "#energy">> @@color:red;Frigid.@@ <</replace>> <<StartingGirlsCost>> <</link>> <<else>> <<link "Known">> <<ToggleSexuality 1>> <</link>> <</if>> <</replace>> <<StartingGirlsCost>> <</if>> <</widget>> /% Call as <<ChangeAttr 1 1>> $arg[0] is whether XX or XY. $arg[1] is whether increase or decrease. %/ <<widget "ChangeAttr">> <<if ($args[0] == 0) && ($args[1] == 0)>> <<if $activeSlave.attrXX-10 >= 0>> <<set $activeSlave.attrXX -= 10>> <<else>> <<set $activeSlave.attrXX = 0>> <</if>> <<set $activeSlave.attrXX == Math.clamp($activeSlave.attrXX, 0, 100)>> <<set $activeSlave.attrKnown = 1>> <<replace "#attrXX">> <<if $activeSlave.attrXX <= 5>> @@color:red;disgusted by women.@@ <<elseif $activeSlave.attrXX <= 15>> @@color:red;turned off by women.@@ <<elseif $activeSlave.attrXX <= 35>> @@color:red;not attracted to women.@@ <<elseif $activeSlave.attrXX <= 65>> indifferent to women. <<elseif $activeSlave.attrXX <= 85>> @@color:green;attracted to women.@@ <<elseif $activeSlave.attrXX <= 95>> @@color:green;aroused by women.@@ <<else>> @@color:green;passionate about women.@@ <</if>> <</replace>> <<StartingGirlsCost>> <<if $activeSlave.attrXX == 100>> <<replace "#increaseXX">> <</replace>> <<replace "#decreaseXX">> <<link "Decrease">> <<ChangeAttr 0 0>> <</link>> <</replace>> <<elseif $activeSlave.attrXX == 0>> <<replace "#decreaseXX">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <</replace>> <<replace "#increaseXX">> <<link "Increase">> <<ChangeAttr 0 1>> <</link>> <</replace>> <<else>> <<replace "#decreaseXX">> <<link "Decrease">> <<ChangeAttr 0 0>> <</link>> <</replace>> <<replace "#increaseXX">> | <<link "Increase">> <<ChangeAttr 0 1>> <</link>> <</replace>> <</if>> <<elseif ($args[0] == 0) && ($args[1] == 1)>> <<if $activeSlave.attrXX+10 <= 100>> <<set $activeSlave.attrXX += 10>> <<else>> <<set $activeSlave.attrXX = 100>> <</if>> <<set $activeSlave.attrXX == Math.clamp(0, 100)>> <<set $activeSlave.attrKnown = 1>> <<replace "#attrXX">> <<if $activeSlave.attrXX <= 5>> @@color:red;disgusted by women.@@ <<elseif $activeSlave.attrXX <= 15>> @@color:red;turned off by women.@@ <<elseif $activeSlave.attrXX <= 35>> @@color:red;not attracted to women.@@ <<elseif $activeSlave.attrXX <= 65>> indifferent to women. <<elseif $activeSlave.attrXX <= 85>> @@color:green;attracted to women.@@ <<elseif $activeSlave.attrXX <= 95>> @@color:green;aroused by women.@@ <<else>> @@color:green;passionate about women.@@ <</if>> <</replace>> <<StartingGirlsCost>> <<if $activeSlave.attrXX == 100>> <<replace "#increaseXX">> <</replace>> <<replace "#decreaseXX">> <<link "Decrease">> <<ChangeAttr 0 0>> <</link>> <</replace>> <<elseif $activeSlave.attrXX == 0>> <<replace "#decreaseXX">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <</replace>> <<replace "#increaseXX">> <<link "Increase">> <<ChangeAttr 0 1>> <</link>> <</replace>> <<else>> <<replace "#decreaseXX">> <<link "Decrease">> <<ChangeAttr 0 0>> <</link>> <</replace>> <<replace "#increaseXX">> | <<link "Increase">> <<ChangeAttr 0 1>> <</link>> <</replace>> <</if>> <<elseif ($args[0] == 1) && ($args[1] == 0)>> <<if $activeSlave.attrXY-10 >= 0>> <<set $activeSlave.attrXY -= 10>> <<else>> <<set $activeSlave.attrXY = 0>> <</if>> <<set $activeSlave.attrXY == Math.clamp(0, 100)>> <<set $activeSlave.attrKnown = 1>> <<replace "#attrXY">> <<if $activeSlave.attrXY <= 5>> @@color:red;Disgusted by men,@@ <<elseif $activeSlave.attrXY <= 15>> @@color:red;Turned off by men,@@ <<elseif $activeSlave.attrXY <= 35>> @@color:red;Not attracted to men,@@ <<elseif $activeSlave.attrXY <= 65>> Indifferent to men, <<elseif $activeSlave.attrXY <= 85>> @@color:green;Attracted to men,@@ <<elseif $activeSlave.attrXY <= 95>> @@color:green;Aroused by men,@@ <<else>> @@color:green;Passionate about men,@@ <</if>> <</replace>> <<StartingGirlsCost>> <<if $activeSlave.attrXY == 100>> <<replace "#increaseXY">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <</replace>> <<replace "#decreaseXY">> <<link "Decrease">> <<ChangeAttr 1 0>> <</link>> <</replace>> <<elseif $activeSlave.attrXY == 0>> <<replace "#decreaseXY">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <</replace>> <<replace "#increaseXY">> <<link "Increase">> <<ChangeAttr 1 1>> <</link>> <</replace>> <<else>> <<replace "#decreaseXY">> <<link "Decrease">> <<ChangeAttr 1 0>> <</link>> <</replace>> <<replace "#increaseXY">> | <<link "Increase">> <<ChangeAttr 1 1>> <</link>> <</replace>> <</if>> <<elseif ($args[0] == 1) && ($args[1] == 1)>> <<if $activeSlave.attrXY+10 <= 100>> <<set $activeSlave.attrXY += 10>> <<else>> <<set $activeSlave.attrXY = 100>> <</if>> <<set $activeSlave.attrXY == Math.clamp(0, 100)>> <<set $activeSlave.attrKnown = 1>> <<replace "#attrXY">> <<if $activeSlave.attrXY <= 5>> @@color:red;Disgusted by men,@@ <<elseif $activeSlave.attrXY <= 15>> @@color:red;Turned off by men,@@ <<elseif $activeSlave.attrXY <= 35>> @@color:red;Not attracted to men,@@ <<elseif $activeSlave.attrXY <= 65>> Indifferent to men, <<elseif $activeSlave.attrXY <= 85>> @@color:green;Attracted to men,@@ <<elseif $activeSlave.attrXY <= 95>> @@color:green;Aroused by men,@@ <<else>> @@color:green;Passionate about men,@@ <</if>> <</replace>> <<StartingGirlsCost>> <<if $activeSlave.attrXY == 100>> <<replace "#increaseXY">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <</replace>> <<replace "#decreaseXY">> <<link "Decrease">> <<ChangeAttr 1 0>> <</link>> <</replace>> <<elseif $activeSlave.attrXY == 0>> <<replace "#decreaseXY">> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <</replace>> <<replace "#increaseXY">> <<link "Increase">> <<ChangeAttr 1 1>> <</link>> <</replace>> <<else>> <<replace "#decreaseXY">> <<link "Decrease">> <<ChangeAttr 1 0>> <</link>> <</replace>> <<replace "#increaseXY">> | <<link "Increase">> <<ChangeAttr 1 1>> <</link>> <</replace>> <</if>> <</if>> <</widget>> /% Call as <<RandomizeAttraction>> %/ <<widget "RandomizeAttraction">> <<set _attraction = Math.clamp($activeSlave.energy*2, 60, 180), _sexuality = random(0,100)>> <<if $activeSlave.balls > 0>> <<if _sexuality > 90>> <<set $activeSlave.attrXY = Math.clamp(_attraction, 0, 100)>> <<set _attraction -= $activeSlave.attrXY>> <<set $activeSlave.attrXX = Math.clamp(_attraction, 0, 100)>> <<elseif _sexuality > 70>> <<set $activeSlave.attrXY = Math.clamp(_attraction+random(-5,5), 0, 100)>> <<set $activeSlave.attrXX = Math.clamp(_attraction+random(-5,5), 0, 100)>> <<else>> <<set $activeSlave.attrXX = Math.clamp(_attraction, 0, 100)>> <<set _attraction -= $activeSlave.attrXX>> <<set $activeSlave.attrXY = Math.clamp(_attraction, 0, 100)>> <</if>> <<else>> <<if _sexuality > 90>> <<set $activeSlave.attrXX = Math.clamp(_attraction, 0, 100)>> <<set _attraction -= $activeSlave.attrXX>> <<set $activeSlave.attrXY = Math.clamp(_attraction, 0, 100)>> <<elseif _sexuality > 60>> <<set $activeSlave.attrXY = Math.clamp(_attraction+random(-5,5), 0, 100)>> <<set $activeSlave.attrXX = Math.clamp(_attraction+random(-5,5), 0, 100)>> <<else>> <<set $activeSlave.attrXY = Math.clamp(_attraction, 0, 100)>> <<set _attraction -= $activeSlave.attrXY>> <<set $activeSlave.attrXX = Math.clamp(_attraction, 0, 100)>> <</if>> <</if>> <<set $activeSlave.attrXX = Math.clamp($activeSlave.attrXX+random(-5,5), 0, 100), $activeSlave.attrXY = Math.clamp($activeSlave.attrXY+random(-5,5), 0, 100)>> <</widget>> /% Call as <<CustomSlaveAge>> %/ <<widget "CustomSlaveAge">> <<replace #age>> <<if $customSlave.actualAge < 5>>3-4 years old. <<elseif $customSlave.actualAge < 7>>5-6 years old. <<elseif $customSlave.actualAge < 10>>7-9 years old. <<elseif $customSlave.actualAge < 13>>10-12 years old. <<elseif $customSlave.actualAge < 15>>13-14 years old. <<elseif $customSlave.actualAge < 18>>15-17 years old. <<elseif $customSlave.actualAge < 20>>18-19 years old. <<elseif $customSlave.actualAge < 30>>20-29 years old. <<elseif $customSlave.actualAge < 40>>30-39 years old. <<else>>40+ years old. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveHealth>> %/ <<widget "CustomSlaveHealth">> <<replace #health>> <<if $customSlave.health == 0>>Healthy. <<else>>Extremely healthy. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveMuscles>> %/ <<widget "CustomSlaveMuscles">> <<replace #muscles>> <<if $customSlave.muscles <= 5>>Normal musculature. <<elseif $customSlave.muscles <= 30>>Toned. <<else>>Ripped. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveLips>> %/ <<widget "CustomSlaveLips">> <<replace #lips>> <<if $customSlave.lips <= 10>>Thin lips. <<elseif $customSlave.lips <= 20>>Normal lips. <<elseif $customSlave.lips <= 40>>Plush lips. <<elseif $customSlave.lips <= 70>>Big lips. <<elseif $customSlave.lips <= 95>>Huge lips. <<else>>Facepussy. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveHeight>> %/ <<widget "CustomSlaveHeight">> <<replace #height>> <<if $customSlave.height < 130>>Tiny. <<elseif $customSlave.height < 150>>Petite. <<elseif $customSlave.height < 160>>Short. <<elseif $customSlave.height < 170>>Average height. <<elseif $customSlave.height < 185>>Tall. <<else>>Very tall. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveFace>> %/ <<widget "CustomSlaveFace">> <<replace #face>> <<if $customSlave.face < -1>>Very unattractive face. <<elseif $customSlave.face is -1>>Unattractive face. <<elseif $customSlave.face == 0>>Average face. <<elseif $customSlave.face == 1>>Attractive face. <<elseif $customSlave.face > 1>>Very attractive face. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveRace>> %/ <<widget "CustomSlaveRace">> <<replace #ethnicity>> <<textbox "$customSlave.race" $customSlave.race "Custom Slave">> <</replace>> <</widget>> /% Call as <<CustomSlaveSkin>> %/ <<widget "CustomSlaveSkin">> <<replace #skin>> <<textbox "$customSlave.skin" $customSlave.skin "Custom Slave">> <</replace>> <</widget>> /% Call as <<CustomSlaveBoobs>> %/ <<widget "CustomSlaveBoobs">> <<replace #boobs>> <<if $customSlave.boobs is 200>>Flat chest. <<elseif $customSlave.boobs <= 500>>Healthy breasts. <<else>>Big breasts. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveButt>> %/ <<widget "CustomSlaveButt">> <<replace #butt>> <<if $customSlave.butt == 1>>Flat buttocks. <<elseif $customSlave.butt < 4>>Healthy buttocks. <<else>>Huge buttocks. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveVagina>> %/ <<widget "CustomSlaveVagina">> <<replace #vagina>> <<if $customSlave.vagina is -1>>No vagina. <<elseif $customSlave.vagina == 0>>Vaginal virgin. <<else>>Normal vagina. <</if>> <<if $customSlave.dick > 0>> <<link "No vagina">> <<set $customSlave.vagina to -1, $customSlave.preg to -2, $customSlave.ovaries to 0>> <<CustomSlaveVagina>> <</link>> <<else>>//No vagina// <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveDick>> %/ <<widget "CustomSlaveDick">> <<replace #dick>> <<if $customSlave.dick == 0>>No penis. <<elseif $customSlave.dick is 2>>Small penis. <<else>>Large penis. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveClitBalls>> %/ <<widget "CustomSlaveClitBalls">> <<replace #clitballs>> <<if $customSlave.dick > 0>> <<if $customSlave.balls == 0>>No testicles.<<elseif $customSlave.balls is 3>>Small testicles.<<else>>Large testicles.<</if>> <<link "No testicles">> <<set $customSlave.balls to 0,$customSlave.clit to 0>> <<CustomSlaveClitBalls>> <</link>> | <<link "Small testicles">> <<set $customSlave.balls to 2,$customSlave.clit to 0>> <<CustomSlaveClitBalls>> <</link>> | <<link "Large testicles">> <<set $customSlave.balls to 4,$customSlave.clit to 0>> <<CustomSlaveClitBalls>> <</link>> <<else>> <<if $customSlave.clit == 0>>Normal clitoris.<<elseif $customSlave.clit == 0>>Big clitoris.<<else>>Enormous clitoris.<</if>> <<link "Normal clitoris">> <<set $customSlave.clit to 0>> <<CustomSlaveClitBalls>> <</link>> | <<link "Big clitoris">> <<set $customSlave.clit to 1>> <<CustomSlaveClitBalls>> <</link>> | <<link "Enormous clitoris">> <<set $customSlave.clit to 2>> <<CustomSlaveClitBalls>> <</link>> <br> <<if $customSlave.labia == 0>>Minimal labia.<<elseif $customSlave.labia == 1>>Normal labia.<<elseif $customSlave.labia is 2>>Huge labia.<<else>>Enormous labia.<</if>> <<link "Minimal labia">> <<set $customSlave.labia to 0>> <<CustomSlaveClitBalls>> <</link>> | <<link "Normal labia">> <<set $customSlave.labia to 1>> <<CustomSlaveClitBalls>> <</link>> | <<link "Huge labia">> <<set $customSlave.labia to 2>> <<CustomSlaveClitBalls>> <</link>> | <<link "Enormous labia">> <<set $customSlave.labia to 3>> <<CustomSlaveClitBalls>> <</link>> <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveAnus>> %/ <<widget "CustomSlaveAnus">> <<replace #anus>> <<if $customSlave.anus == 0>>Anal virgin. <<else>>Normal anus. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveSkills>> %/ <<widget "CustomSlaveSkills">> <<replace #skills>> <<if $customSlave.analSkill <= 10>>Sexually unskilled. <<elseif $customSlave.analSkill <= 30>>Basic skills.. <<elseif $customSlave.analSkill <= 60>>Sexually skilled. <<else>>Sexual expert. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveWhoreSkills>> %/ <<widget "CustomSlaveWhoreSkills">> <<replace #whoreskills>> <<if $customSlave.whoreSkill <= 10>>Unskilled at prostitution and entertainment. <<elseif $customSlave.whoreSkill <= 30>>Basic prostitution and entertainment skills. <<elseif $customSlave.whoreSkill <= 60>>Skilled at prostitution and entertainment. <<else>>Prostitution and entertainment expert. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveCombatSkills>> %/ <<widget "CustomSlaveCombatSkills">> <<replace #combatskills>> <<if $customSlave.combatSkill == 0>>Unskilled at combat. <<else>>Skilled at combat. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveIntelligence>> %/ <<widget "CustomSlaveIntelligence">> <<replace #intelligence>> <<if $customSlave.intelligence >= 3>>Brilliant. <<elseif $customSlave.intelligence is 2>>Very smart.. <<elseif $customSlave.intelligence == 1>>Smart. <<elseif $customSlave.intelligence == 0>>Average intelligence. <<elseif $customSlave.intelligence is -1>>Stupid. <<elseif $customSlave.intelligence is -2>>Very stupid. <<else>>Moronic. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveEducation>> %/ <<widget "CustomSlaveEducation">> <<replace #education>> <<if $customSlave.intelligenceImplant == 1>>Educated. <<else>>Uneducated. <</if>> <</replace>> <</widget>> /% Call as <<CustomSlaveNationality>> %/ <<widget "CustomSlaveNationality">> <<replace #nationality>> Nationality: $customSlave.nationality. <</replace>> <</widget>>
r3d/fc
src/utility/slaveCreationWidgets.tw
tw
bsd-3-clause
50,875
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" viewBox="0 0 1000 1000" style="enable-background:new 0 0 1000 1000;" xml:space="preserve" id="svg4356" sodipodi:docname="fc vector edit.svg" inkscape:version="0.92.0 r15299"><metadata id="metadata4362"><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs id="defs4360" /><sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1017" id="namedview4358" showgrid="false" inkscape:zoom="0.85" inkscape:cx="479.40904" inkscape:cy="583.29324" inkscape:window-x="-8" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg4356" /><style type="text/css" id="style3680"> .st0{fill:#FFFFFF;} .st1{fill:#76C043;} .st2{fill:#2680BC;} .st3{fill:#F6E0E8;} .st4{fill:#515351;} .st5{fill:#F4F1A3;} .st6{fill:#8E4F21;} .st7{fill:#BC2027;} .st8{fill:#60BB46;} .st9{fill:#4686C6;} .st10{fill:#D28DBD;} .st11{fill:#3F403F;} .st12{fill:#010101;} .st13{fill:#8F8F8E;} .st14{fill:#515251;} .st15{fill:#4F6AB2;} .st16{fill:#3E65B0;} .st17{fill:#15406D;} .st18{fill:#65AD45;} .st19{fill:#787878;} .st20{fill:#D76B93;} .st21{fill:#4DB748;} .st22{opacity:0.24;fill:#BF2126;enable-background:new ;} .st23{fill:#070505;} .st24{fill:#BF2126;} </style><g id="Arm"><g id="Arm_High"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 579.7,208 c 33,6 81.8,-36.8 94.5,-39.6 -28.1,-11.8 -37.6,-29.6 -84.3,-61.1 0,0 -42,18 -43.4,2.2 -3.5,-39.9 31.1,-22.5 48.4,-9.9 14.8,1.2 111.4,57.8 107.4,71.3 -6.1,20.6 -84.8,65.8 -114.7,81.4 -49.9,-6.5 -28.8,-47.8 -7.9,-44.3" class="st3" id="L_2_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 501.8,204.7 c -21.8,3.4 -60,-36.9 -82.3,-50.2 28.1,-11.8 29.5,-16.2 76.2,-47.7 0,0 42,18 43.4,2.2 3.5,-39.9 -31.1,-22.5 -48.4,-9.9 -14.8,1.2 -92.9,44.3 -88.9,57.8 6.1,20.6 48.4,58 75.4,76 8.9,4.4 28.5,-13.6 24.6,-28.2" class="st3" id="R_2_" /></g><g id="Arm_Low"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 573.4,255 c 33,-6 29.6,56.1 37.5,74.3 -5,16.2 -6.6,41.9 -36.3,87.2 0,0 -42,-18 -43.4,-2.2 -3.5,39.9 28.5,17.8 48.4,9.9 12.4,-4.9 45.3,-83.4 49.9,-100.1 3.1,-11.3 -13.8,-86.7 -31.5,-104.1 -8.1,-7.9 -9.6,-4.9 -16.6,-9.2 -50.1,6.3 -29,47.7 -8,44.2" class="st3" id="L" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 486.2,253.7 c -28.3,-5.9 -25.4,54.5 -32.3,72.2 4.3,15.6 5.7,40.7 31.3,84.7 0,0 36.2,-17.5 37.3,-2.1 3,38.7 -24.5,17.2 -41.7,9.6 -10.7,-4.8 -39,-81 -42.9,-97.1 -2.7,-10.9 11.8,-84.2 27.1,-101.1 6.9,-7.7 8.3,-4.7 14.3,-8.9 43,6 24.9,46 6.9,42.7" class="st3" id="R" /></g><g id="Arm_Mid"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 487.4,253.7 c -28.3,-5.9 -22.8,53.7 -29.6,71.4 18.2,0.4 51.1,-12.2 103.6,-15.7 0,0 36.2,-17.5 37.3,-2.1 3,38.7 -20.2,22.3 -37.3,14.6 -14.3,-2 -119,32.5 -122.9,16.4 -2.7,-10.9 12.4,-101.7 27.7,-118.5 6.9,-7.7 8.3,-4.7 14.3,-8.9 43.1,6.1 25,46.1 6.9,42.8" class="st3" id="R_1_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 578.1,257 c 28.8,-6 21.8,49.7 28.7,67.6 -18.6,0.4 -50.5,-7.6 -103.8,-11.1 0,0 -36.7,-17.8 -37.9,-2.2 -3,39.3 20.4,22.7 37.9,14.8 14.6,-2 120.8,33 124.8,16.6 2.8,-11.1 -12.7,-103.2 -28.2,-120.3 -7.1,-7.8 -8.4,-4.8 -14.5,-9.1 -43.7,6.4 -25.3,47.1 -7,43.7" class="st3" id="L_1_" /></g><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 574.7,252.8 c 25.1,-5.4 9.1,67.7 17,85.9 13.9,6.4 20.4,-4.7 50.5,-19.5 0,0 16.4,-37 9.2,-40 -1.7,-0.7 -6.6,-1.2 -6.6,-1.2 0,-7.6 0.8,-25.2 -2.1,-24.8 -2.4,0.4 -1.4,17.3 -2.9,24.7 -14,1.9 -7.6,20.6 -6.9,30.8 -9.3,8 -15.3,10.8 -24.4,12.1 3.1,-11.3 8.6,-85.7 -9.2,-103 -8.1,-7.9 -9.6,-4.9 -16.6,-9.2 -50,6.3 -29,47.6 -8,44.2" class="st3" id="Arm_Left_Rebel" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 581.3,240.3 c 9.9,3.7 6.2,3.3 36.3,17.8 8.3,4 20.5,9.8 35.5,16.5 11.8,9.2 22.4,13.4 30,15.5 18.5,5.1 33.2,1.6 40.4,11.9 3.9,5.5 4.9,11.6 4.9,11.6 1.8,3.2 3.7,7.7 4.7,13.4 0.9,5.3 0.4,8.9 1.3,9.1 1.1,0.2 3.7,-4.2 3.9,-9.1 0.2,-5.5 -2.7,-8.8 -1.3,-10.3 1.3,-1.3 3.7,1 6.5,0.1 5.7,-1.8 6.1,-14.6 6.2,-16.1 0.1,-4.7 0.3,-10.6 -3.3,-14 -4.4,-4.1 -10.6,-1 -20,-0.7 -9.4,0.4 -20.9,-4.8 -43.8,-15 -10.4,-4.6 -15.5,-6.9 -22.5,-11 -13.4,-7.8 -23.2,-16.1 -29.5,-22 -26.2,-19 -35.6,-24.7 -38.3,-25.4 -0.4,-0.1 -3.1,-0.8 -6.5,-2.3 -0.9,-0.4 -2,-0.9 -3.2,-1.6 -11.7,3 -19,6.2 -23.5,9.2 -3.9,2.7 -6.8,5.7 -6.5,8.7 0.5,5.6 11.9,7.3 28.7,13.7 z" class="st3" id="Arm_Left_Thumb_Down" /></g><g id="Arm_Outfit"><g id="Arm_High_1_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 579.7,208 c 33,6 81.8,-36.8 94.5,-39.6 -28.1,-11.8 -37.6,-29.6 -84.3,-61.1 0,0 -42,18 -43.4,2.2 -3.5,-39.9 31.1,-22.5 48.4,-9.9 14.8,1.2 111.4,57.8 107.4,71.3 -6.1,20.6 -84.8,65.8 -114.7,81.4 -49.9,-6.5 -28.8,-47.8 -7.9,-44.3" class="st4" id="L_5_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 501.8,204.7 c -21.8,3.4 -60,-36.9 -82.3,-50.2 28.1,-11.8 29.5,-16.2 76.2,-47.7 0,0 42,18 43.4,2.2 3.5,-39.9 -31.1,-22.5 -48.4,-9.9 -14.8,1.2 -92.9,44.3 -88.9,57.8 6.1,20.6 48.4,58 75.4,76 8.9,4.4 28.5,-13.6 24.6,-28.2" class="st4" id="R_5_" /></g><g id="Arm_Low_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 573.4,255 c 33,-6 29.6,56.1 37.5,74.3 -5,16.2 -6.6,41.9 -36.3,87.2 0,0 -42,-18 -43.4,-2.2 -3.5,39.9 28.5,17.8 48.4,9.9 12.4,-4.9 45.3,-83.4 49.9,-100.1 3.1,-11.3 -13.8,-86.7 -31.5,-104.1 -8.1,-7.9 -9.6,-4.9 -16.6,-9.2 -50.1,6.3 -29,47.7 -8,44.2" class="st4" id="L_4_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 486.2,253.7 c -28.3,-5.9 -25.4,54.5 -32.3,72.2 4.3,15.6 5.7,40.7 31.3,84.7 0,0 36.2,-17.5 37.3,-2.1 3,38.7 -24.5,17.2 -41.7,9.6 -10.7,-4.8 -39,-81 -42.9,-97.1 -2.7,-10.9 11.8,-84.2 27.1,-101.1 6.9,-7.7 8.3,-4.7 14.3,-8.9 43,6 24.9,46 6.9,42.7" class="st4" id="R_4_" /></g><g id="Arm_Mid_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 487.4,253.7 c -28.3,-5.9 -22.8,53.7 -29.6,71.4 18.2,0.4 51.1,-12.2 103.6,-15.7 0,0 36.2,-17.5 37.3,-2.1 3,38.7 -20.2,22.3 -37.3,14.6 -14.3,-2 -119,32.5 -122.9,16.4 -2.7,-10.9 12.4,-101.7 27.7,-118.5 6.9,-7.7 8.3,-4.7 14.3,-8.9 43.1,6.1 25,46.1 6.9,42.8" class="st4" id="R_3_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 578.1,257 c 28.8,-6 21.8,49.7 28.7,67.6 -18.6,0.4 -50.5,-7.6 -103.8,-11.1 0,0 -36.7,-17.8 -37.9,-2.2 -3,39.3 20.4,22.7 37.9,14.8 14.6,-2 120.8,33 124.8,16.6 2.8,-11.1 -12.7,-103.2 -28.2,-120.3 -7.1,-7.8 -8.4,-4.8 -14.5,-9.1 -43.7,6.4 -25.3,47.1 -7,43.7" class="st4" id="L_3_" /></g><path style="fill:#515351" inkscape:connector-curvature="0" d="m 574.7,252.8 c 25.1,-5.4 9.1,67.7 17,85.9 13.9,6.4 20.4,-4.7 50.5,-19.5 0,0 16.4,-37 9.2,-40 -1.7,-0.7 -6.6,-1.2 -6.6,-1.2 0,-7.6 0.8,-25.2 -2.1,-24.8 -2.4,0.4 -1.4,17.3 -2.9,24.7 -14,1.9 -7.6,20.6 -6.9,30.8 -9.3,8 -15.3,10.8 -24.4,12.1 3.1,-11.3 8.6,-85.7 -9.2,-103 -8.1,-7.9 -9.6,-4.9 -16.6,-9.2 -50,6.3 -29,47.6 -8,44.2" class="st4" id="Arm_Left_Rebel_Latex" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 581.3,240.3 c 9.9,3.7 6.2,3.3 36.3,17.8 8.3,4 20.5,9.8 35.5,16.5 11.8,9.2 22.4,13.4 30,15.5 18.5,5.1 33.2,1.6 40.4,11.9 3.9,5.5 4.9,11.6 4.9,11.6 1.8,3.2 3.7,7.7 4.7,13.4 0.9,5.3 0.4,8.9 1.3,9.1 1.1,0.2 3.7,-4.2 3.9,-9.1 0.2,-5.5 -2.7,-8.8 -1.3,-10.3 1.3,-1.3 3.7,1 6.5,0.1 5.7,-1.8 6.1,-14.6 6.2,-16.1 0.1,-4.7 0.3,-10.6 -3.3,-14 -4.4,-4.1 -10.6,-1 -20,-0.7 -9.4,0.4 -20.9,-4.8 -43.8,-15 -10.4,-4.6 -15.5,-6.9 -22.5,-11 -13.4,-7.8 -23.2,-16.1 -29.5,-22 -26.2,-19 -35.6,-24.7 -38.3,-25.4 -0.4,-0.1 -3.1,-0.8 -6.5,-2.3 -0.9,-0.4 -2,-0.9 -3.2,-1.6 -11.7,3 -19,6.2 -23.5,9.2 -3.9,2.7 -6.8,5.7 -6.5,8.7 0.5,5.6 11.9,7.3 28.7,13.7 z" class="st4" id="Arm_Left_Thumb_Down_1_" /></g><g id="Hair_Aft_2_"><path style="fill:#f4f1a3" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st5" id="Hair_Aft" /><path style="fill:#8e4f21" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st6" id="Hair_Aft_1_" /><path style="fill:#bc2027" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st7" id="Hair_Aft_3_" /><path style="fill:#60bb46" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st8" id="Hair_Aft_4_" /><path style="fill:#4686c6" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st9" id="Hair_Aft_5_" /><path style="fill:#d28dbd" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st10" id="Hair_Aft_6_" /><path style="fill:#3f403f" inkscape:connector-curvature="0" d="m 564.6,100.2 c 13.5,72.4 34.5,66.5 14,103.3 -43.3,47.7 -90.1,7 -98.1,-9.8 -41.1,-23.4 -0.3,-140.8 48.3,-130.3 33.3,7.2 33.3,19.5 35.8,36.8" class="st11" id="Hair_Aft_7_" /></g><g id="Ass"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 555.8,402.6 c 10.1,-2.9 25.4,17.5 31.8,30.1 10.4,20.9 7,41.9 5.3,52.2 -2.1,13.3 -5.7,22.8 -9.5,32.6 -7.8,19.7 -15.6,39.6 -21.9,39.1 -16.7,-1.3 -30.4,-146.9 -5.7,-154 z" class="st3" id="Butt_0" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 547.3,389.8 c 1.7,-0.5 6.3,2.7 15.5,9 4.2,2.9 9.2,7.9 21.1,16.9 8.7,6.6 15.4,11.6 20.6,19.1 0,0 13.7,19.8 6.6,48.5 -0.6,2.7 -1.5,5.2 -1.5,5.2 -1.2,3.6 -2.9,6.4 -5.9,12.7 -4.4,9.3 -4.7,11.3 -6.4,14.7 -4.4,8.9 -8.5,11.2 -15.6,19.8 -4.1,5 -6.9,9.3 -9,12.9 -5.5,9.6 -6,11.3 -7,11.4 -9.9,0.8 -36.6,-165.3 -18.4,-170.2 z" class="st3" id="Butt_1" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 548,389.8 c 1.9,-0.5 7,2.9 17.2,9.8 4.7,3.1 10.2,8.6 23.4,18.3 9.7,7.1 17,12.5 22.9,20.7 0,0 15.2,21.5 7.3,52.6 -0.7,2.9 -1.7,5.7 -1.7,5.7 -1.4,3.9 -3.3,6.9 -6.5,13.8 -4.8,10.1 -5.2,12.2 -7.1,15.9 -4.9,9.6 -9.5,12.1 -17.3,21.5 -4.6,5.4 -7.7,10.1 -9.9,14 -6.1,10.4 -6.6,12.3 -7.8,12.4 -11.1,0.8 -40.7,-179.4 -20.5,-184.7 z" class="st3" id="Butt_2" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 548.6,389.8 c 2.1,-0.5 7.6,3.1 18.7,10.3 5,3.3 11.1,9 25.3,19.2 10.5,7.5 18.5,13.2 24.8,21.8 0,0 16.4,22.6 7.9,55.2 -0.7,3 -1.8,6 -1.8,6 -1.5,4 -3.5,7.3 -7,14.5 -5.2,10.6 -5.7,12.9 -7.7,16.7 -5.3,10.1 -10.2,12.7 -18.8,22.6 -5,5.7 -8.3,10.6 -10.8,14.7 -6.6,11 -7.2,12.9 -8.4,13 -12,0.7 -44.1,-188.5 -22.2,-194 z" class="st3" id="Butt_3" /></g><g id="Ass_Outfit"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 555.8,402.6 c 10.1,-2.9 25.4,17.5 31.8,30.1 10.4,20.9 7,41.9 5.3,52.2 -2.1,13.3 -5.7,22.8 -9.5,32.6 -7.8,19.7 -15.6,39.6 -21.9,39.1 -16.7,-1.3 -30.4,-146.9 -5.7,-154 z" class="st4" id="Butt_0_1_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 547.3,389.8 c 1.7,-0.5 6.3,2.7 15.5,9 4.2,2.9 9.2,7.9 21.1,16.9 8.7,6.6 15.4,11.6 20.6,19.1 0,0 13.7,19.8 6.6,48.5 -0.6,2.7 -1.5,5.2 -1.5,5.2 -1.2,3.6 -2.9,6.4 -5.9,12.7 -4.4,9.3 -4.7,11.3 -6.4,14.7 -4.4,8.9 -8.5,11.2 -15.6,19.8 -4.1,5 -6.9,9.3 -9,12.9 -5.5,9.6 -6,11.3 -7,11.4 -9.9,0.8 -36.6,-165.3 -18.4,-170.2 z" class="st4" id="Butt_1_2_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 548,389.8 c 1.9,-0.5 7,2.9 17.2,9.8 4.7,3.1 10.2,8.6 23.4,18.3 9.7,7.1 17,12.5 22.9,20.7 0,0 15.2,21.5 7.3,52.6 -0.7,2.9 -1.7,5.7 -1.7,5.7 -1.4,3.9 -3.3,6.9 -6.5,13.8 -4.8,10.1 -5.2,12.2 -7.1,15.9 -4.9,9.6 -9.5,12.1 -17.3,21.5 -4.6,5.4 -7.7,10.1 -9.9,14 -6.1,10.4 -6.6,12.3 -7.8,12.4 -11.1,0.8 -40.7,-179.4 -20.5,-184.7 z" class="st4" id="Butt_2_1_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 548.6,389.8 c 2.1,-0.5 7.6,3.1 18.7,10.3 5,3.3 11.1,9 25.3,19.2 10.5,7.5 18.5,13.2 24.8,21.8 0,0 16.4,22.6 7.9,55.2 -0.7,3 -1.8,6 -1.8,6 -1.5,4 -3.5,7.3 -7,14.5 -5.2,10.6 -5.7,12.9 -7.7,16.7 -5.3,10.1 -10.2,12.7 -18.8,22.6 -5,5.7 -8.3,10.6 -10.8,14.7 -6.6,11 -7.2,12.9 -8.4,13 -12,0.7 -44.1,-188.5 -22.2,-194 z" class="st4" id="Butt_3_1_" /></g><g id="Leg"><g id="Leg_Narrow"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 445.9,413.1 c 0,0 -10.3,43.4 -10.6,67.8 -0.5,43.2 14.3,129.1 30.4,183.7 7.5,61.7 6.2,123.3 8.8,185.4 l 11.5,-0.3 c 2.2,-51.3 34,-103.9 16.3,-161.5 2.3,-46.1 10,-72.4 5,-160.3 -5.4,94.3 16.6,109.2 26.4,153.6 -15.6,58 5.7,110.8 6.5,168.9 h 16.3 c 0.2,-58.5 15.6,-94.6 7.7,-168.9 12.4,-64.5 12.4,-139.3 11.6,-205.6 -0.3,-26 -5.4,-64.7 -5.4,-64.7 l -124.5,1.9" class="st3" id="XMLID_464_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 508,588.6 c -9.8,-40.3 -16.6,-61.7 -12.6,-107.8 -0.7,44.5 3.5,67.1 12.6,107.8 z" class="st12" id="XMLID_465_" /></g><g id="Leg_Normal"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 446,413.2 c 0,0 -17.1,47.4 -18.7,71.7 -3.8,60.3 16.3,123.8 38.4,179.8 7.5,61.7 6.2,123.3 8.8,185.4 l 11.5,-0.3 c 2.2,-51.3 34,-103.9 16.3,-161.5 12.8,-54.2 10,-72.4 5,-160.3 -5.4,94.3 16.6,109.1 26.4,153.5 -15.6,58 5.6,110.9 6.4,169 h 16.3 c 0.2,-58.5 15.6,-94.7 7.8,-169 23.8,-69.9 25.5,-131.2 20.7,-194.7 -2,-26 -14.5,-75.6 -14.5,-75.6 l -124.4,2" class="st3" id="XMLID_466_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 513.9,619.8 c -9.8,-40.3 -22.5,-96.7 -18.5,-142.8 -0.8,44.7 9.4,102.1 18.5,142.8 z" class="st12" id="XMLID_467_" /></g><g id="Leg_Wide"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 445.8,413.1 c 0,0 -26.1,35.9 -27.6,60.3 -3.8,60.3 16.8,135.5 38.9,191.5 7.5,61.7 14.8,123 17.3,185.1 l 11.5,-0.3 c 2.3,-52.9 39.2,-99.2 20.2,-160.8 13.6,-57.7 6.2,-71.9 1,-161 -5.4,94.3 4.4,110.4 14.2,154.8 -15.6,58 17.8,109.6 18.6,167.8 h 16.3 c 0.2,-58.5 16.4,-95.2 8.5,-169.5 23.8,-69.9 46.5,-155.6 41.7,-219 -2,-25.9 -36,-50.6 -36,-50.6 l -124.6,1.7" class="st3" id="XMLID_468_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="M 509.6,630.9 C 499.8,590.6 488.8,530 492.8,483.8 c -0.8,44.7 7.6,106.4 16.8,147.1 z" class="st12" id="XMLID_469_" /></g><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 446.3,412.5 c 31.3,-22.1 86.4,-32 124.3,-2.1 25.6,20.2 45.7,60.3 31.5,80.6 -10.7,15.2 -39.7,17.8 -60,10 -25.7,-9.9 -26.6,-32.4 -47.3,-34.5 -20,-2 -27.3,18.1 -48.4,14.8 -13.3,-2.1 -26.9,-12.7 -29.3,-25.3 -3.9,-20.2 22.1,-38.5 29.2,-43.5 z" class="st3" id="Stump_Wide" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 446.3,412.5 c 27.9,-30 93.7,-36.4 123.8,-1.4 18.2,21.2 25.4,60.2 7,78.9 -8.2,8.3 -22.1,13.3 -35,11 -24.2,-4.4 -25.9,-31.9 -47.3,-34.5 -18.1,-2.2 -26.3,16.5 -43.8,11.5 -10.1,-2.9 -17.2,-12 -20,-20 -7.3,-21.2 12.7,-42.8 15.3,-45.5 z" class="st3" id="Stump_Normal" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 446.3,412.5 c 20,-34.8 104.4,-37.1 124,-1.5 11.9,21.7 1.4,60.5 -22.3,72 -0.8,0.4 -20.2,9.5 -34,1 -9.5,-5.8 -10.3,-16.2 -19.3,-17.5 -6.4,-1 -8.4,3.9 -17.8,5.5 -9.2,1.5 -18.7,-1.3 -24,-5 -14.1,-9.8 -16,-38.2 -6.6,-54.5 z" class="st3" id="Stump_Narrow" /></g><g id="Leg_Outfit"><g id="Leg_Narrow_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 445.9,413.1 c 0,0 -10.3,43.4 -10.6,67.8 -0.5,43.2 14.3,129.1 30.4,183.7 7.5,61.7 6.2,123.3 8.8,185.4 l 11.5,-0.3 c 2.2,-51.3 34,-103.9 16.3,-161.5 2.3,-46.1 10,-72.4 5,-160.3 -5.4,94.3 16.6,109.2 26.4,153.6 -15.6,58 5.7,110.8 6.5,168.9 h 16.3 c 0.2,-58.5 15.6,-94.6 7.7,-168.9 12.4,-64.5 12.4,-139.3 11.6,-205.6 -0.3,-26 -5.4,-64.7 -5.4,-64.7 l -124.5,1.9" class="st4" id="XMLID_470_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 508,588.6 c -9.8,-40.3 -16.6,-61.7 -12.6,-107.8 -0.7,44.5 3.5,67.1 12.6,107.8 z" class="st12" id="XMLID_471_" /></g><g id="Leg_Normal_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 446,413.2 c 0,0 -17.1,47.4 -18.7,71.7 -3.8,60.3 16.3,123.8 38.4,179.8 7.5,61.7 6.2,123.3 8.8,185.4 l 11.5,-0.3 c 2.2,-51.3 34,-103.9 16.3,-161.5 12.8,-54.2 10,-72.4 5,-160.3 -5.4,94.3 16.6,109.1 26.4,153.5 -15.6,58 5.6,110.9 6.4,169 h 16.3 c 0.2,-58.5 15.6,-94.7 7.8,-169 23.8,-69.9 25.5,-131.2 20.7,-194.7 -2,-26 -14.5,-75.6 -14.5,-75.6 l -124.4,2" class="st4" id="XMLID_472_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 513.9,619.8 c -9.8,-40.3 -22.5,-96.7 -18.5,-142.8 -0.8,44.7 9.4,102.1 18.5,142.8 z" class="st12" id="XMLID_473_" /></g><g id="Leg_Wide_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 445.8,413.1 c 0,0 -26.1,35.9 -27.6,60.3 -3.8,60.3 16.8,135.5 38.9,191.5 7.5,61.7 14.8,123 17.3,185.1 l 11.5,-0.3 c 2.3,-52.9 39.2,-99.2 20.2,-160.8 13.6,-57.7 6.2,-71.9 1,-161 -5.4,94.3 4.4,110.4 14.2,154.8 -15.6,58 17.8,109.6 18.6,167.8 h 16.3 c 0.2,-58.5 16.4,-95.2 8.5,-169.5 23.8,-69.9 46.5,-155.6 41.7,-219 -2,-25.9 -36,-50.6 -36,-50.6 l -124.6,1.7" class="st4" id="XMLID_474_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="M 509.6,630.9 C 499.8,590.6 488.8,530 492.8,483.8 c -0.8,44.7 7.6,106.4 16.8,147.1 z" class="st12" id="XMLID_475_" /></g></g><g id="Shoes"><g id="Boot_1_"><path style="fill:#8f8f8e" inkscape:connector-curvature="0" d="m 535.9,889.4 c -1.9,7 1.7,8.6 3.5,23.1 1.2,9.2 2.2,17.5 1.3,22.5 -0.1,0.4 0,2.8 0.3,6 0.4,5.2 0.7,7.8 2,10 2.3,3.6 6.4,4.8 9.6,5.5 4.8,1.1 9.9,2.2 13.2,-0.9 2.9,-2.7 3,-7.2 3.1,-12.3 0.1,-8.9 -2.1,-12.2 -4.2,-23.3 -1.1,-6 -1.3,-10.4 -1.9,-18.7 -0.5,-8.4 -0.5,-15.3 -0.4,-19.2 0,-1.6 0.1,-2.8 0.1,-3.1 0.8,-25.5 -5.1,-66.8 1,-107.3 0,0 4.6,-31 4.6,-66.5 0,-2.1 -0.7,-7.6 -1.6,-10.3 -8.5,0 -18.3,6.9 -36.7,6.9 -1.2,3.7 -2.3,10.8 -2.3,13.7 0.8,53.8 3.1,67.5 3.1,67.5 4.1,23.8 5.9,48 10.3,71.7 0,0 2.3,12.7 -0.6,24.1 -0.5,2 -1,3.1 -1,3.1 -1.1,2.7 -2.5,3.8 -3.4,7.5 z" class="st13" id="XMLID_476_" /><path style="fill:#8f8f8e" inkscape:connector-curvature="0" d="m 469.2,698.7 c 7.9,-1.2 22.7,5.2 38.3,4.4 5.2,41.8 -7.7,77.2 -8.9,88 -1.2,10.8 -3.7,28.4 -9.4,65 0,0 -0.5,5.5 1.4,10 0.8,2 1.4,2.1 2.5,3.8 2.8,4.5 3.8,11.4 3.3,16.5 -0.4,4.2 -1.6,4.2 -3.1,9.3 -1.6,5.6 -1.9,13.8 -2.4,30.1 0,1.5 -0.4,5 -0.4,6.5 -0.4,0.3 -2,0.3 -2.6,0 0.1,-1.2 0.1,-3.5 0.1,-4.9 -0.2,-8.4 1.2,-25.3 -0.3,-26.2 -1,-0.6 -3.7,5.1 -5.8,10.9 -4.2,12.2 -2.3,16.9 -5.6,21.3 -2.8,3.8 -7.2,3.4 -15.9,2.7 -9.2,-0.8 -10.9,-3.8 -11.5,-4.8 -2.1,-4 -2.4,-10.8 -0.5,-13.1 0.7,-0.9 1.2,-0.5 3,-1.1 3.3,-1 5.7,-3.4 6.5,-4.3 2.8,-3.2 3.4,-8.4 3.7,-11.5 1.7,-13.2 3,-15.7 4,-20.9 0,0 0.7,-3.9 1,-8.3 0.4,-4.9 5,-101.2 3.6,-160.4 0,-2 -0.7,-7.1 -1,-13 z" class="st13" id="XMLID_477_" /></g><g id="Boot_Latex"><path style="fill:#515251" inkscape:connector-curvature="0" d="m 535.9,889.4 c -1.9,7 1.7,8.6 3.5,23.1 1.2,9.2 2.2,17.5 1.3,22.5 -0.1,0.4 0,2.8 0.3,6 0.4,5.2 0.7,7.8 2,10 2.3,3.6 6.4,4.8 9.6,5.5 4.8,1.1 9.9,2.2 13.2,-0.9 2.9,-2.7 3,-7.2 3.1,-12.3 0.1,-8.9 -2.1,-12.2 -4.2,-23.3 -1.1,-6 -1.3,-10.4 -1.9,-18.7 -0.5,-8.4 -0.5,-15.3 -0.4,-19.2 0,-1.6 0.1,-2.8 0.1,-3.1 0.8,-25.5 -5.1,-66.8 1,-107.3 0,0 4.6,-31 4.6,-66.5 0,-2.1 -0.7,-7.6 -1.6,-10.3 -8.5,0 -18.3,6.9 -36.7,6.9 -1.2,3.7 -2.3,10.8 -2.3,13.7 0.8,53.8 3.1,67.5 3.1,67.5 4.1,23.8 5.9,48 10.3,71.7 0,0 2.3,12.7 -0.6,24.1 -0.5,2 -1,3.1 -1,3.1 -1.1,2.7 -2.5,3.8 -3.4,7.5 z" class="st14" id="XMLID_478_" /><path style="fill:#515251" inkscape:connector-curvature="0" d="m 469.2,698.7 c 7.9,-1.2 22.7,5.2 38.3,4.4 5.2,41.8 -7.7,77.2 -8.9,88 -1.2,10.8 -3.7,28.4 -9.4,65 0,0 -0.5,5.5 1.4,10 0.8,2 1.4,2.1 2.5,3.8 2.8,4.5 3.8,11.4 3.3,16.5 -0.4,4.2 -1.6,4.2 -3.1,9.3 -1.6,5.6 -1.9,13.8 -2.4,30.1 0,1.5 -0.4,5 -0.4,6.5 -0.4,0.3 -2,0.3 -2.6,0 0.1,-1.2 0.1,-3.5 0.1,-4.9 -0.2,-8.4 1.2,-25.3 -0.3,-26.2 -1,-0.6 -3.7,5.1 -5.8,10.9 -4.2,12.2 -2.3,16.9 -5.6,21.3 -2.8,3.8 -7.2,3.4 -15.9,2.7 -9.2,-0.8 -10.9,-3.8 -11.5,-4.8 -2.1,-4 -2.4,-10.8 -0.5,-13.1 0.7,-0.9 1.2,-0.5 3,-1.1 3.3,-1 5.7,-3.4 6.5,-4.3 2.8,-3.2 3.4,-8.4 3.7,-11.5 1.7,-13.2 3,-15.7 4,-20.9 0,0 0.7,-3.9 1,-8.3 0.4,-4.9 5,-101.2 3.6,-160.4 0,-2 -0.7,-7.1 -1,-13 z" class="st14" id="XMLID_479_" /></g><g id="Boot_Wide"><path style="fill:#8f8f8e" inkscape:connector-curvature="0" d="m 526.2,889.4 c -2.5,7 2.2,8.6 4.5,23.1 1.5,9.2 2.8,17.5 1.8,22.5 -0.1,0.4 0,2.8 0.4,6 0.6,5.2 0.9,7.8 2.6,10 2.9,3.6 8.3,4.8 12.4,5.5 6.2,1.1 12.7,2.2 17.1,-0.9 3.7,-2.7 3.9,-7.2 4,-12.3 0.2,-8.9 -2.8,-12.2 -5.4,-23.3 -1.4,-6 -1.8,-10.4 -2.4,-18.7 -0.7,-8.4 -0.6,-15.3 -0.5,-19.2 0,-1.6 0.1,-2.8 0.1,-3.1 1.1,-25.5 -1.1,-66.3 3.8,-107.1 1.4,-11.6 3.4,-31.1 3.4,-66.6 0,-2.1 -0.9,-7.6 -2,-10.3 -11,0 -23.6,6.9 -47.5,6.9 -1.5,3.7 -3,10.8 -2.9,13.7 1,53.8 4,67.5 4,67.5 5.2,23.8 7.6,48 13.2,71.7 0,0 3,12.7 -0.8,24.1 -0.6,2 -1.2,3.1 -1.2,3.1 -1.6,2.6 -3.4,3.7 -4.6,7.4 z" class="st13" id="XMLID_480_" /><path style="fill:#8f8f8e" inkscape:connector-curvature="0" d="m 460.7,698.7 c 10.3,-1.2 29.8,5.2 50,4.4 6.8,41.8 -10,77.2 -11.6,88 -1.5,10.8 -4.9,28.4 -12.3,65 0,0 -0.6,5.5 1.9,10 1.1,2 1.9,2.1 3.3,3.8 3.7,4.5 5.1,11.4 4.4,16.5 -0.6,4.2 -2.1,4.2 -4.1,9.3 -2.1,5.6 -2.5,13.8 -3.1,30.1 -0.1,1.5 -0.4,5 -0.6,6.5 -0.6,0.3 -2.7,0.3 -3.4,0 0.1,-1.2 0.1,-3.5 0.1,-4.9 -0.3,-8.4 1.6,-25.3 -0.4,-26.2 -1.2,-0.6 -4.9,5.1 -7.5,10.9 -5.4,12.2 -2.9,16.9 -7.3,21.3 -3.6,3.8 -9.4,3.4 -20.9,2.7 -12,-0.8 -14.4,-3.8 -15,-4.8 -2.8,-4 -3.1,-10.8 -0.7,-13.1 0.9,-0.9 1.6,-0.5 4,-1.1 4.4,-1 7.5,-3.4 8.4,-4.3 3.6,-3.2 4.4,-8.4 4.9,-11.5 2.2,-13.2 3.9,-15.7 5.2,-20.9 0,0 0.9,-3.9 1.3,-8.3 0.4,-4.9 6.5,-101.2 4.7,-160.4 0,-2 -0.9,-7.1 -1.3,-13 z" class="st13" id="XMLID_481_" /></g><g id="Pump"><path style="fill:#4f6ab2" inkscape:connector-curvature="0" d="M 473.7,861.4 H 487 c 3.7,3.2 5.2,18.7 2.6,33.1 -0.4,1.8 -0.4,24.1 -0.4,36.9 l -3.1,0.1 c -0.6,-11.2 1.2,-24.3 -0.9,-36.9 -8.2,7.5 -6.7,40.4 -12.8,39.5 -6,0.1 -8.6,0.2 -12,-0.4 -10.4,-1.9 -13.6,-14 -15,-22.7 3.1,-5.4 4.4,-4.6 10.2,-10 7.1,-12.3 9.6,-22.4 18.1,-39.6 z" class="st15" id="XMLID_482_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 473.7,861.4 c 7.9,-4 9.2,-0.3 13.3,0 -4.6,22.1 -4.7,36.3 -19.2,40.2 -4.5,1.2 -11.3,2.3 -12.2,-0.6 3.6,-9.7 14,-34.8 18.1,-39.6 z" class="st3" id="XMLID_483_" /><path style="fill:#4f6ab2" inkscape:connector-curvature="0" d="m 525.5,860.8 15.6,0.1 c 4.7,13.7 8.6,42.3 9.2,52.3 4.6,4.1 4.9,8.5 -2.1,32 -2.4,3 -11.1,6 -20.4,0 -7.1,-18.7 -7.6,-24.5 -4.1,-31.5 -0.2,-7.4 -0.1,-10 -1.5,-19.5 -3.4,-15.5 1.9,-24.7 3.3,-33.4 z" class="st15" id="XMLID_484_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 525.5,860.8 c 5.9,-4.5 10.8,-2.2 15.6,0.1 4.4,9 8.3,30.6 9.2,52.3 -8.7,-2.2 -19.1,-0.4 -22.8,-0.2 -2.8,-3.6 -2.7,-25.8 -2,-52.2 z" class="st3" id="XMLID_485_" /></g><g id="Exterme_Heel_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 468.2,917.5 c -1.2,-9.6 -9.4,-40 1.5,-55.6 5.2,-5.3 2,-109.2 2,-109.2 l 33.1,2.2 c 0,0 -18.6,97.5 -17.9,105.9 2.8,0.4 10.7,8.4 11.9,15.9 -2.8,15.5 -3.1,61.9 -3.9,72 h -0.8 c -0.6,-11.2 1.1,-43.9 -1.2,-56.5 -3.4,16.4 -2.8,51.3 -8.4,57.1 -2.5,0.4 -3.2,1.6 -5.4,0.5 -7.8,-16 -10.9,-32.3 -10.9,-32.3 z" class="st4" id="XMLID_486_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 540.6,865.6 c 0.5,-6.7 -11.3,-107.5 -10.7,-108.1 l 35,-1.6 -7.9,104.2 c 4.7,13.7 8.6,42.3 9.2,52.3 2.2,6.8 -2.8,24.1 -9.2,47 -2.4,3 -6.9,2.3 -10.1,0.4 -6.8,-19 -10.7,-40.8 -8.1,-47.6 -0.8,-14.1 0.1,-26.3 1.8,-46.6 z" class="st4" id="XMLID_487_" /></g><g id="Exterme_Heel_1_"><path style="fill:#4f6ab2" inkscape:connector-curvature="0" d="m 468.2,917.5 c -1.2,-9.6 -9.4,-40 1.5,-55.6 5.2,-5.3 2,-109.2 2,-109.2 l 33.1,2.2 c 0,0 -18.6,97.5 -17.9,105.9 2.8,0.4 10.7,8.4 11.9,15.9 -2.8,15.5 -3.1,61.9 -3.9,72 h -0.8 c -0.6,-11.2 1.1,-43.9 -1.2,-56.5 -3.4,16.4 -2.8,51.3 -8.4,57.1 -2.5,0.4 -3.2,1.6 -5.4,0.5 -7.8,-16 -10.9,-32.3 -10.9,-32.3 z" class="st15" id="XMLID_488_" /><path style="fill:#4f6ab2" inkscape:connector-curvature="0" d="m 540.6,865.6 c 0.5,-6.7 -11.3,-107.5 -10.7,-108.1 l 35,-1.6 -7.9,104.2 c 4.7,13.7 8.6,42.3 9.2,52.3 2.2,6.8 -2.8,24.1 -9.2,47 -2.4,3 -6.9,2.3 -10.1,0.4 -6.8,-19 -10.7,-40.8 -8.1,-47.6 -0.8,-14.1 0.1,-26.3 1.8,-46.6 z" class="st15" id="XMLID_489_" /></g><g id="Exterme_Heel_Wide"><path style="fill:#4f6ab2" inkscape:connector-curvature="0" d="m 468.2,917.5 c -1.2,-9.6 -9.4,-40 1.5,-55.6 5.2,-5.3 -2.7,-109.7 -2.7,-109.7 l 41.3,2 c 0,0 -18.7,98.1 -17.9,106.5 2.8,0.4 10.7,8.4 11.9,15.9 -2.8,15.5 -3.1,61.9 -3.9,72 h -0.8 c -0.6,-11.2 1.1,-43.9 -1.2,-56.5 -3.4,16.4 -2.8,51.3 -8.4,57.1 -2.5,0.4 -3.2,1.6 -5.4,0.5 -8,-15.9 -14.4,-32.2 -14.4,-32.2 z" class="st15" id="XMLID_490_" /><path style="fill:#4f6ab2" inkscape:connector-curvature="0" d="M 535.5,865.2 C 536,858.5 521.3,756.1 521.9,755.5 l 43.1,0.5 -8,104.1 c 4.7,13.7 8.6,42.3 9.2,52.3 2.2,6.8 -2.8,24.1 -9.2,47 -2.4,3 -12,1.9 -15.2,-0.1 -6.8,-19 -10.7,-40.8 -8.1,-47.6 -0.8,-14.1 0.1,-26.2 1.8,-46.5 z" class="st15" id="XMLID_491_" /></g><g id="Heel_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 544.8,866 c -5.3,-0.9 -12.7,7.6 -13,14.8 -0.2,3.8 1.7,5.5 4,10.2 6.9,14.2 6,31.8 5.8,38.1 -0.3,4.5 -0.8,9.3 2,14.1 2.1,3.6 5.2,5.5 6.9,6.7 6.6,4.2 13,3.8 19,3.5 5,-0.3 6.7,-1.2 7.8,-2.3 2.2,-2.2 2.3,-5.3 2.3,-6.7 0.1,-4.4 -1.9,-7.7 -3.2,-9.8 -5.3,-8.7 -8.1,-13.1 -10.1,-15.3 -14.8,-16.6 -11.2,-51.6 -21.5,-53.3 z" class="st4" id="XMLID_492_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 564.2,933.9 c 1,-0.5 3.7,-1.9 4.8,-4.8 0.8,-2.3 0,-4 -1.3,-8.6 0,0 -1.6,-5.7 -2.7,-11.8 -0.8,-4.7 -0.4,-6.1 -0.8,-11.3 -1.3,-17.9 -7.3,-18.2 -6.9,-33.1 0,-0.7 -0.9,-11 -0.7,-16.4 -3,-0.8 -16.3,-0.3 -16.4,0.3 -1.6,6.9 1.5,17.4 1,18.4 -2.5,4.8 -1.3,10 -0.5,13.4 3.4,14.3 5.1,19.2 6.2,24.3 3.9,17.5 -0.7,25.9 5.2,29.4 3.2,2.2 8.4,2.1 12.1,0.2 z" class="st4" id="XMLID_493_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 485.9,927.8 c -0.1,0.4 -1.2,0.9 -1.2,-0.3 -0.2,-2.4 -0.1,-3.6 -0.1,-4.4 0,-1.8 1.2,-11.3 1.1,-17.5 -0.2,-13.1 -0.7,-15.2 0.5,-18 1.7,-4 5.1,-7.6 6.3,-7.1 0.5,0.3 2.4,0.2 0.3,8.1 -2.4,8.8 -2.8,10.8 -3.7,16.8 -1.6,10.1 -1.8,15.2 -2.1,18.1 -0.4,1.3 -0.5,2.2 -1.1,4.3 z" class="st4" id="XMLID_494_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 472.7,884.3 c -8.4,16.1 -6.2,25.8 -14.7,30.5 -1.9,1.1 -4.4,3 -6.3,3.9 -6.1,2.8 -9.3,4 -9.9,6.8 -0.4,1.8 0.5,3.5 0.8,4 1.2,2 4.3,4.3 8.5,5.4 6.1,1.6 7.7,2.5 14.8,0.6 2.9,-0.8 6.2,-1.7 9.1,-4.4 6.6,-6.1 2,-13.6 6,-25.3 4.7,-14 15.2,-15.4 14.7,-25.3 -0.4,-5.7 -4.2,-11.8 -8.4,-12.3 -5.8,-0.7 -11.4,10 -14.6,16.1 z" class="st4" id="XMLID_495_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 457.3,918.1 c 0.2,2 3.9,4.4 6.5,3.8 4.1,-0.9 3.5,-8.4 8.2,-22.9 3.5,-10.8 5.7,-16.6 10.8,-22.9 1.7,-2.1 4,-7.1 4,-7.1 0,0 1.4,-14.4 -1.4,-20 -0.1,-0.2 -9.5,-3.1 -9.7,-3.1 -0.9,-0.3 -2.8,18.7 -3.6,20.2 -9.6,17.6 -9.6,20.8 -9.6,20.8 -2.1,5.8 -2.5,7.3 -2.7,8.4 -0.5,2.8 -1.6,8.4 -0.7,14.3 0.2,1.5 0.6,3.5 -0.3,5.7 -0.7,1.3 -1.6,1.7 -1.5,2.8 z" class="st4" id="XMLID_496_" /></g><g id="Heel_1_"><path style="fill:#3e65b0" inkscape:connector-curvature="0" d="m 544.8,866 c -5.3,-0.9 -12.7,7.6 -13,14.8 -0.2,3.8 1.7,5.5 4,10.2 6.9,14.2 6,31.8 5.8,38.1 -0.3,4.5 -0.8,9.3 2,14.1 2.1,3.6 5.2,5.5 6.9,6.7 6.6,4.2 13,3.8 19,3.5 5,-0.3 6.7,-1.2 7.8,-2.3 2.2,-2.2 2.3,-5.3 2.3,-6.7 0.1,-4.4 -1.9,-7.7 -3.2,-9.8 -5.3,-8.7 -8.1,-13.1 -10.1,-15.3 -14.8,-16.6 -11.2,-51.6 -21.5,-53.3 z" class="st16" id="XMLID_497_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 564.2,933.9 c 1,-0.5 3.7,-1.9 4.8,-4.8 0.8,-2.3 0,-4 -1.3,-8.6 0,0 -1.6,-5.7 -2.7,-11.8 -0.8,-4.7 -0.4,-6.1 -0.8,-11.3 -1.3,-17.9 -7.3,-18.2 -6.9,-33.1 0,-0.7 -0.9,-11 -0.7,-16.4 -3,-0.8 -16.3,-0.3 -16.4,0.3 -1.6,6.9 1.5,17.4 1,18.4 -2.5,4.8 -1.3,10 -0.5,13.4 3.4,14.3 5.1,19.2 6.2,24.3 3.9,17.5 -0.7,25.9 5.2,29.4 3.2,2.2 8.4,2.1 12.1,0.2 z" class="st3" id="XMLID_498_" /><path style="fill:#15406d" inkscape:connector-curvature="0" d="m 485.9,927.8 c -0.1,0.4 -1.2,0.9 -1.2,-0.3 -0.2,-2.4 -0.1,-3.6 -0.1,-4.4 0,-1.8 1.2,-11.3 1.1,-17.5 -0.2,-13.1 -0.7,-15.2 0.5,-18 1.7,-4 5.1,-7.6 6.3,-7.1 0.5,0.3 2.4,0.2 0.3,8.1 -2.4,8.8 -2.8,10.8 -3.7,16.8 -1.6,10.1 -1.8,15.2 -2.1,18.1 -0.4,1.3 -0.5,2.2 -1.1,4.3 z" class="st17" id="XMLID_499_" /><path style="fill:#3e65b0" inkscape:connector-curvature="0" d="m 472.7,884.3 c -8.4,16.1 -6.2,25.8 -14.7,30.5 -1.9,1.1 -4.4,3 -6.3,3.9 -6.1,2.8 -9.3,4 -9.9,6.8 -0.4,1.8 0.5,3.5 0.8,4 1.2,2 4.3,4.3 8.5,5.4 6.1,1.6 7.7,2.5 14.8,0.6 2.9,-0.8 6.2,-1.7 9.1,-4.4 6.6,-6.1 2,-13.6 6,-25.3 4.7,-14 15.2,-15.4 14.7,-25.3 -0.4,-5.7 -4.2,-11.8 -8.4,-12.3 -5.8,-0.7 -11.4,10 -14.6,16.1 z" class="st16" id="XMLID_500_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 457.3,918.1 c 0.2,2 3.9,4.4 6.5,3.8 4.1,-0.9 3.5,-8.4 8.2,-22.9 3.5,-10.8 5.7,-16.6 10.8,-22.9 1.7,-2.1 4,-7.1 4,-7.1 0,0 1.4,-14.4 -1.4,-20 -0.1,-0.2 -9.5,-3.1 -9.7,-3.1 -0.9,-0.3 -2.8,18.7 -3.6,20.2 -9.6,17.6 -9.6,20.8 -9.6,20.8 -2.1,5.8 -2.5,7.3 -2.7,8.4 -0.5,2.8 -1.6,8.4 -0.7,14.3 0.2,1.5 0.6,3.5 -0.3,5.7 -0.7,1.3 -1.6,1.7 -1.5,2.8 z" class="st3" id="XMLID_501_" /></g><g id="Flat_Latex"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 486.5,836 c 3.5,2.8 -2.3,9.7 0.8,19.5 2.4,7.6 5.2,6.8 6.1,10.7 2.8,10.5 -8,25 -20.6,31.3 -10.4,5.2 -23.4,5.6 -24.7,2.3 -0.7,-1.7 2.1,-3.4 6.1,-8.5 1.7,-2.2 9.3,-12.9 10.8,-23.4 1.9,-13.2 7.6,-22.4 8.2,-30.7 0.7,-7.5 7.7,-5.8 13.3,-1.2 z" class="st4" id="XMLID_502_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 491.2,895.3 c 6.5,-2.7 9.7,-4 11,-6.6 2.2,-4.4 0.1,-9.5 -1.5,-13.4 -1.6,-3.9 -4.7,-9 -6.6,-8.5 -1,0.3 -0.9,2 -2,4.4 -1.4,3.6 -3.8,5.6 -6.4,7.9 -14.5,12.9 -17.5,20.3 -25.1,20 -4.2,-0.1 -5.3,-2.4 -11.3,-2.1 -0.8,0 -4.9,0.3 -9.7,2.5 -2,1 -9.2,4.4 -8.8,7.3 0.6,4.1 15.6,4.8 17.4,4.9 6.4,0.3 12.4,0.6 18.5,-2.8 5.1,-2.8 4.1,-4.9 10,-8.3 4.8,-2.6 6.1,-1.9 14.5,-5.3 z" class="st4" id="XMLID_503_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 540.7,872.8 c -3.4,4.4 -1.1,6.9 -4.1,23.2 -1.2,6.3 -1.8,12.7 -3.3,18.9 -0.5,2.1 -1.3,5.2 -0.5,8.8 0.3,1 1.3,5.1 4.4,7.3 3.2,2.2 2.6,3.5 10.8,3.2 8.3,-0.3 9,-1.3 11,-3 5,-4 3.5,-16.6 2.8,-21.3 -0.7,-5.5 -1.6,-6 -2.1,-12.4 -0.6,-7.3 0.5,-8.3 -0.2,-13.3 -0.4,-3.6 -1.7,-13.1 -7.6,-15.9 -4.5,-2.3 -7.7,0 -11.2,4.5 z" class="st4" id="XMLID_504_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 541.9,846.6 c -1.1,1.1 -1.6,2.6 -2.5,5.7 -1.1,3.3 -2.5,8.1 -2.4,14.4 0.1,5.1 1.2,4.6 1.6,10.6 0.4,5.5 -0.1,9.9 -1,17.2 -1.2,9.8 -2.1,11.4 -0.9,13.8 2.4,4.4 8.8,4.4 12.1,4.4 5.6,0 10.6,-2 11.7,-6.8 0.3,-1.1 0,-2 -0.2,-3.1 -1.7,-8.2 0,-9.3 -1.3,-18.1 -1.3,-9 -2,-8.5 -1.9,-14.6 0.1,-5.1 2.9,-7.9 0,-17.7 -1.4,-3.2 -2.1,-4.6 -2.8,-5.2 -3.2,-3.4 -9.2,-3.9 -12.4,-0.6 z" class="st4" id="XMLID_505_" /></g><g id="Flat_1_"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 486.5,836 c 3.5,2.8 -2.3,9.7 0.8,19.5 2.4,7.6 5.2,6.8 6.1,10.7 2.8,10.5 -8,25 -20.6,31.3 -10.4,5.2 -23.4,5.6 -24.7,2.3 -0.7,-1.7 2.1,-3.4 6.1,-8.5 1.7,-2.2 9.3,-12.9 10.8,-23.4 1.9,-13.2 7.6,-22.4 8.2,-30.7 0.7,-7.5 7.7,-5.8 13.3,-1.2 z" class="st3" id="XMLID_506_" /><path style="fill:#65ad45" inkscape:connector-curvature="0" d="m 491.2,895.3 c 6.5,-2.7 9.7,-4 11,-6.6 2.2,-4.4 0.1,-9.5 -1.5,-13.4 -1.6,-3.9 -4.7,-9 -6.6,-8.5 -1,0.3 -0.9,2 -2,4.4 -1.4,3.6 -3.8,5.6 -6.4,7.9 -14.5,12.9 -17.5,20.3 -25.1,20 -4.2,-0.1 -5.3,-2.4 -11.3,-2.1 -0.8,0 -4.9,0.3 -9.7,2.5 -2,1 -9.2,4.4 -8.8,7.3 0.6,4.1 15.6,4.8 17.4,4.9 6.4,0.3 12.4,0.6 18.5,-2.8 5.1,-2.8 4.1,-4.9 10,-8.3 4.8,-2.6 6.1,-1.9 14.5,-5.3 z" class="st18" id="XMLID_507_" /><path style="fill:#65ad45" inkscape:connector-curvature="0" d="m 540.7,872.8 c -3.4,4.4 -1.1,6.9 -4.1,23.2 -1.2,6.3 -1.8,12.7 -3.3,18.9 -0.5,2.1 -1.3,5.2 -0.5,8.8 0.3,1 1.3,5.1 4.4,7.3 3.2,2.2 2.6,3.5 10.8,3.2 8.3,-0.3 9,-1.3 11,-3 5,-4 3.5,-16.6 2.8,-21.3 -0.7,-5.5 -1.6,-6 -2.1,-12.4 -0.6,-7.3 0.5,-8.3 -0.2,-13.3 -0.4,-3.6 -1.7,-13.1 -7.6,-15.9 -4.5,-2.3 -7.7,0 -11.2,4.5 z" class="st18" id="XMLID_508_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 541.9,846.6 c -1.1,1.1 -1.6,2.6 -2.5,5.7 -1.1,3.3 -2.5,8.1 -2.4,14.4 0.1,5.1 1.2,4.6 1.6,10.6 0.4,5.5 -0.1,9.9 -1,17.2 -1.2,9.8 -2.1,11.4 -0.9,13.8 2.4,4.4 8.8,4.4 12.1,4.4 5.6,0 10.6,-2 11.7,-6.8 0.3,-1.1 0,-2 -0.2,-3.1 -1.7,-8.2 0,-9.3 -1.3,-18.1 -1.3,-9 -2,-8.5 -1.9,-14.6 0.1,-5.1 2.9,-7.9 0,-17.7 -1.4,-3.2 -2.1,-4.6 -2.8,-5.2 -3.2,-3.4 -9.2,-3.9 -12.4,-0.6 z" class="st3" id="XMLID_509_" /></g></g><g id="Feet"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 488.6,863.6 c 0.7,1.8 1.5,1.7 2.9,4.2 0,0 2,3.6 2.2,8.1 0.2,5.3 -3.9,7.6 -9.2,15.1 -8.1,11.6 -6.2,17.3 -12.7,20.7 -2.1,1.2 -5,1.6 -10.8,2.7 -0.5,0.1 -3.3,0.3 -9,0.6 -2.4,0.2 -4.6,0.3 -6.3,-1.3 -0.4,-0.4 -1.3,-1.2 -1.2,-2.2 0.2,-1.6 3.1,-1.9 5.7,-3.1 3.6,-1.8 5.5,-4.9 7.3,-7.6 2.8,-4.4 1.8,-6 5.5,-16.4 1.7,-4.6 1.9,-4.4 3,-8.1 1.6,-5 1.6,-6.8 3.1,-12.3 1.9,-7 3.6,-12.8 5.2,-14.4 4.8,-4.9 10.8,-2.8 12.4,1.2 1.5,2.9 0.1,8.2 1.9,12.8 z" class="st3" id="XMLID_463_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 531.5,880.7 c 0.4,-6.6 5.7,-12.8 8.5,-30.2 0.6,-4.1 2.8,-4.8 5.2,-6 3.7,-1.7 10.6,-2.7 11,6 0.4,6.1 -0.6,16.4 0,27.2 0.4,6.5 0.2,11.4 2,21.2 1.9,10 2.8,15.1 6,20.7 3.9,6.9 8.1,9.2 7.3,12.1 -0.6,2.4 -4.1,2.9 -9.2,3.7 -4.8,0.7 -9.6,1.4 -15.1,-1.3 -1.4,-0.7 -4,-2 -6.2,-4.7 -5.2,-6.1 -2.2,-13.2 -4.7,-24.4 -3.5,-15.8 -5.4,-14.9 -4.8,-24.3 z" class="st3" id="XMLID_510_" /></g><g id="Torso"><g id="Torso_Normal"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 446,413.2 c 18.5,5 17.1,34.5 49.8,54.3 7.3,-16.9 20.1,-24.2 32.6,-34.3 12.4,-10 20,-18 41.9,-21.9 -6.1,-10.8 -8.3,-20.4 -9.1,-26.3 -1.4,-10.3 -0.2,-18.5 0.8,-25.3 1.3,-9.1 3.4,-15.7 5.8,-23 6,-18.8 9.6,-21.7 13.3,-34.8 1.7,-6.1 5.2,-18.4 4,-28.5 -4.3,-37.3 -74.4,-71.5 -103.8,-51.8 -4.3,2.9 -6.8,6.3 -10,10.7 -13.9,19 -13,41.2 -12.3,57.7 0.3,6.4 1.1,15.9 3.7,27.3 -1.3,7.3 -2.8,17.3 -3.7,29.3 -1.3,18.3 -0.1,25.7 -2.7,38.7 -1.6,7.2 -4.4,16.9 -10.3,27.9 z" class="st12" id="Body_Shadow" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 493,208.2 c 0,0 -14,4.3 -24.7,28.3 -10.7,24 -10.5,59.4 -4.4,81 -4.9,22.7 -3,28.6 -5.2,48.7 -1.1,10.1 -5.1,26.4 -12.7,46.9 17.9,5.5 31.8,50.5 49.8,54.3 8.9,-18.2 32.8,-45.5 74.6,-56.2 -9.1,-20.7 -6.7,-34.7 -8,-47.6 -1.6,-15.9 10,-41.9 12.8,-47.9 8.9,-21.9 18.3,-62.5 10.5,-86 -11.7,-21.9 -21.9,-21 -21.9,-21 -32.6,-3.4 -34.9,-14 -30.6,-50.1 l -22.3,1 c 8.4,43.5 -2.8,39.9 -17.9,48.6" class="st3" id="Body_Normal_1_" /></g><g id="Torso_Hourglass"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 446,413.2 c 18.5,5 17.1,34.5 49.8,54.3 7.3,-16.9 20.1,-24.2 32.6,-34.3 12.4,-10 20,-18 41.9,-21.9 -7,-14.9 -12.2,-22.2 -15.8,-26.1 -0.9,-1 -3.9,-4.1 -6,-9 0,0 -1.9,-4.4 -2.3,-9 -0.4,-4.8 1.1,-10.5 13.5,-27.3 9,-12.2 10.8,-12.6 14.5,-19.8 3.7,-7.1 5.4,-13.1 6.8,-18.3 2.9,-11 4.7,-22.8 4,-28.5 -4.3,-37.3 -74.4,-71.5 -103.8,-51.8 -4.3,2.9 -6.8,6.3 -10,10.7 -13.9,19 -13,41.2 -12.3,57.7 0.3,6.4 1.1,15.9 3.7,27.3 3.8,16.5 1,28.2 0.8,32.5 -0.2,4.5 -0.7,12.2 -2.3,21 -1.9,9.9 -5.7,25 -15.1,42.5 z" class="st12" id="Body_Shadow_2_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 492.9,208.2 c 0,0 -14,4.3 -24.7,28.3 -10.7,24 -10.5,59.4 -4.4,81 2.2,23 0.8,29.8 -1.3,49.9 -1.1,10.1 -8.9,25.2 -16.5,45.9 17.9,5.5 31.8,50.5 49.8,54.3 8.9,-18.2 32.8,-45.5 74.6,-56.2 -9.1,-20.7 -23.8,-29.7 -25.1,-42.7 -1.6,-15.9 22.9,-37 30,-52.9 8.9,-21.9 18.3,-62.5 10.5,-86 -11.7,-22 -21.9,-21.1 -21.9,-21.1 -32.7,-3.4 -35,-14 -30.7,-50.1 l -22.3,1 c 8.3,43.5 -2.9,39.9 -18,48.6" class="st3" id="Body_Normal_3_" /></g><g id="Torso_Unnatural"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 446,413.2 c 18.5,5 17.1,34.5 49.8,54.3 7.3,-16.9 20.1,-24.2 32.6,-34.3 12.4,-10 20,-18 41.9,-21.9 -6.3,-11.5 -13.2,-19.1 -18.7,-24 -7.7,-7 -15.4,-11.5 -15.7,-19.3 -0.1,-4 1.7,-7.9 2.8,-10.2 2.7,-5.8 6.5,-9.3 8,-10.8 6.4,-6.1 16.1,-16.1 28.6,-29.4 6,-7.3 12.7,-40 12,-57.3 -18.4,-36.5 -83,-56.1 -106.2,-38.7 -1.9,1.5 -4.9,4.6 -7.4,7.9 -11.5,14.7 -13.2,30.7 -14.4,43.1 -0.5,5 -1.6,16.6 0.7,30.3 0.5,3.1 1.3,6.8 2.7,15 1.2,7.2 2.1,13 2.7,17 2,7.7 2.9,14.4 3.3,19.3 0.7,8 1,12.7 -1,18.3 -0.9,2.5 -1.2,2.2 -6,10.3 -0.7,1.2 -4.7,8 -8.7,15.7 -1.9,3.6 -4.3,8.6 -7,14.7 z" class="st12" id="Body_Shadow_1_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 492.9,208.2 c 0,0 -14,4.3 -24.7,28.3 -10.7,24 -10.5,59.4 -4.4,81 2.2,23 7.6,30.9 5.5,51 -1.1,10.1 -15.7,24.1 -23.4,44.6 17.9,5.5 31.8,50.5 49.8,54.3 8.9,-18.2 32.8,-45.5 74.6,-56.2 -9.1,-20.7 -34,-29.7 -35.4,-42.7 -1.6,-15.9 25.4,-34.2 40.3,-52.9 8.9,-21.9 18.3,-62.5 10.5,-86 -11.7,-22 -21.9,-21.1 -21.9,-21.1 -32.7,-3.3 -35,-14 -30.7,-50 l -22.3,1 c 8.4,43.6 -2.8,40 -17.9,48.7" class="st3" id="Body_Normal_2_" /></g><g id="Belly_Piercing_1_"><g id="Navel_Hvy_Piercing"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 482.3,369.8 c -0.2,0 -1.3,2 -1.2,11.6 0.1,12.7 1.2,13.3 1.4,13.3 0.4,0 1.5,-7.4 1.2,-15.9 -0.5,-4.5 -1.1,-9 -1.4,-9 z" class="st19" id="XMLID_513_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 482.4,394.9 c -0.5,0 -1,2.4 -0.8,4.4 0.2,1.3 0.6,3 1.2,3 0.4,0 0.7,-1.8 0.8,-3 0,-2.1 -0.7,-4.4 -1.2,-4.4 z" class="st19" id="XMLID_514_" /></g><g id="Navel_Piercing"><circle style="fill:#787878" r="1.2" cy="364.39999" cx="482.29999" class="st19" id="XMLID_515_" /><circle style="fill:#787878" r="1.2" cy="368.60001" cx="482.29999" class="st19" id="XMLID_516_" /></g></g></g><g id="Torso_Outfit_Aft"><g id="Torso_Normal_1_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 445.8,413.2 c 17.2,4.6 17.2,30.6 43.5,50.1 1.2,0.9 -21.9,-11.3 -4.5,-34.1 20,8.2 11.2,37.3 11.4,36.9 7.4,-15.9 19.8,-23 32,-32.9 12.4,-10 20,-18 41.9,-21.9 z" class="st12" id="Body_Shadow_3_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 493,208.3 c 0,0 -14,4.3 -24.7,28.3 -10.7,24 -10.5,59.4 -4.4,81 -5.3,23.9 -3.3,30.9 -5.4,51 -1.1,10.1 -4.8,24.1 -12.4,44.6 16.5,5.3 30.7,47.1 47.7,53.7 0.7,0.3 -25.7,-15.9 -8.8,-37.6 19.9,9 11.3,37.4 11.5,36.9 9.4,-18.2 33.9,-44.3 73.9,-55 -6.8,-16.4 -7.2,-34.6 -7.5,-40.7 -0.8,-16 3.7,-37.3 12.4,-54.8 8.9,-21.9 18.3,-62.5 10.5,-86 -11.7,-22 -21.9,-21.1 -21.9,-21.1 -32.7,-3.3 -35,-14 -30.7,-50 l -22.3,1 c 8.4,43.6 -2.8,40 -17.9,48.7" class="st4" id="Body_Normal_4_" /></g><g id="Torso_Hourglass_1_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 445.8,413.2 c 17.2,4.6 17.2,30.6 43.5,50.1 1.2,0.9 -21.9,-11.3 -4.5,-34.1 20,8.2 11.2,37.3 11.4,36.9 7.4,-15.9 19.8,-23 32,-32.9 12.4,-10 20,-18 41.9,-21.9 z" class="st12" id="Body_Shadow_5_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 493,208.3 c 0,0 -14,4.3 -24.7,28.3 -10.7,24 -10.5,59.4 -4.4,81 2.2,23 0.7,29.7 -1.4,49.8 -1.1,10.1 -8.8,25.3 -16.5,45.9 16.5,5.3 30.7,47.1 47.7,53.7 0.7,0.3 -25.7,-15.9 -8.8,-37.6 19.9,9 11.3,37.4 11.5,36.9 9.4,-18.2 33.9,-44.3 73.9,-55 -9.7,-23.8 -24.7,-35.3 -25,-41.4 -0.8,-16 17.6,-31.3 29.9,-54.1 8.9,-21.9 18.3,-62.5 10.5,-86 -11.7,-22 -21.9,-21.1 -21.9,-21.1 -32.7,-3.3 -35,-14 -30.7,-50 l -22.3,1 c 8.5,43.5 -2.7,39.9 -17.8,48.6" class="st4" id="Body_Normal_6_" /></g><g id="Torso_Unnatural_2_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 445.8,413.2 c 17.2,4.6 17.2,30.6 43.5,50.1 1.2,0.9 -21.9,-11.3 -4.5,-34.1 20,8.2 11.2,37.3 11.4,36.9 7.4,-15.9 19.8,-23 32,-32.9 12.4,-10 20,-18 41.9,-21.9 z" class="st12" id="Body_Shadow_4_" /><path style="fill:#515351" inkscape:connector-curvature="0" d="m 493,208.3 c 0,0 -14,4.3 -24.7,28.3 -10.7,24 -10.5,59.4 -4.4,81 2.2,23 7.6,30.9 5.5,51 -1.1,10.1 -15.7,24.1 -23.4,44.6 16.5,5.3 30.7,47.1 47.7,53.7 0.7,0.3 -25.7,-15.9 -8.8,-37.6 19.9,9 11.3,37.4 11.5,36.9 9.4,-18.2 33.9,-44.3 73.9,-55 -9.1,-20.7 -34,-29.7 -35.4,-42.7 -1.6,-15.9 25.4,-34.2 40.3,-52.9 8.9,-21.9 18.3,-62.5 10.5,-86 -11.7,-22 -21.9,-21.1 -21.9,-21.1 -32.7,-3.3 -35,-14 -30.7,-50 l -22.3,1 c 8.5,43.7 -2.7,40.1 -17.8,48.8" class="st4" id="Body_Normal_5_" /></g></g><g id="Vagina_1_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 486.1,434.3 c 3,13.5 5.9,25.9 9.3,33 -7.6,-8.5 -10.8,-18.9 -9.3,-33 z" class="st20" id="Vagina" /><g id="Pussy_Hvy_Piercing"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 491.3,459.9 c 0.2,0 2,2.8 0.8,5.2 -1,2 -3.6,3.1 -6,2 -2.1,-1.1 -2.8,-3.7 -2,-5.6 0.9,-2.4 3.7,-3.1 3.9,-2.9 0.1,0.2 -2.6,1.4 -2.7,3.6 -0.1,1.2 0.5,2.6 1.9,3.1 1.4,0.6 3.1,0 3.9,-1 1.3,-1.7 0.1,-4.3 0.2,-4.4 z" class="st19" id="XMLID_512_" /><ellipse style="fill:#787878" ry="2" rx="1.8" cy="465.89999" cx="486.10001" class="st19" transform="matrix(-0.9904,0.1385,-0.1385,-0.9904,1031.9863,859.9408)" id="XMLID_517_" /><ellipse style="fill:#787878" ry="1.8" rx="1.7" cy="466.79999" cx="489" class="st19" transform="matrix(-0.9904,0.1385,-0.1385,-0.9904,1037.9608,861.3239)" id="XMLID_518_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 488,449.7 c 0.2,0 1.7,3 0.1,5.2 -1.2,1.8 -4.1,2.6 -6.1,1.2 -2,-1.4 -2.2,-4.1 -1.2,-5.8 1.2,-2.2 4.2,-2.6 4.3,-2.4 0.1,0.2 -2.8,1.1 -3.1,3.1 -0.2,1.2 0.2,2.6 1.4,3.4 1.3,0.9 3.1,0.4 4,-0.4 1.3,-1.5 0.5,-4.3 0.6,-4.3 z" class="st19" id="XMLID_519_" /><ellipse style="fill:#787878" ry="2" rx="1.8" cy="453.10001" cx="480.60001" class="st19" id="XMLID_520_" /><ellipse style="fill:#787878" ry="1.8" rx="1.7" cy="455.39999" cx="482.60001" class="st19" id="XMLID_521_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 491.3,459.3 c -0.2,0 -1.4,3.2 0.4,5.2 1.4,1.7 4.3,2.2 6.2,0.6 1.9,-1.5 1.9,-4.3 0.8,-5.9 -1.3,-2.1 -4.4,-2.2 -4.4,-2 0,0.2 2.8,0.8 3.4,2.8 0.3,1.1 0,2.6 -1.1,3.5 -1.2,1 -3,0.7 -4,-0.2 -1.7,-1.2 -1.1,-4 -1.3,-4 z" class="st19" id="XMLID_522_" /><ellipse style="fill:#787878" ry="2" rx="1.8" cy="464.10001" cx="498" class="st19" transform="matrix(0.9965,-0.08364829,0.08364829,0.9965,-37.0735,43.2815)" id="XMLID_523_" /><ellipse style="fill:#787878" ry="1.8" rx="1.7" cy="465.5" cx="495.29999" class="st19" transform="matrix(0.9965,-0.08364948,0.08364948,0.9965,-37.2023,43.0654)" id="XMLID_524_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 488.5,449.9 c -0.2,0 -0.8,3.4 1.3,5.1 1.7,1.3 4.6,1.4 6.2,-0.5 1.5,-1.9 1,-4.5 -0.4,-6 -1.8,-1.8 -4.7,-1.3 -4.7,-1.2 -0.1,0.3 2.9,0.3 3.9,2.1 0.5,1.1 0.5,2.6 -0.4,3.6 -1.1,1.2 -2.8,1.2 -4,0.6 -1.7,-0.9 -1.7,-3.8 -1.9,-3.7 z" class="st19" id="XMLID_525_" /><ellipse style="fill:#787878" ry="2" rx="1.8" cy="455.10001" cx="492.70001" class="st19" transform="matrix(0.9627,-0.2707,0.2707,0.9627,-104.7882,150.3477)" id="XMLID_526_" /><ellipse style="fill:#787878" ry="1.8" rx="1.7" cy="454" cx="495.39999" class="st19" transform="matrix(0.9627,-0.2707,0.2707,0.9627,-104.396,151.0398)" id="XMLID_527_" /></g><g id="Pussy_Piercing"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 489.6,443.9 c 0.1,-0.1 1.3,0.5 1.4,1.7 0.1,0.9 -0.6,2 -1.7,2 -1,0.1 -1.8,-0.7 -2,-1.5 -0.2,-1.1 0.6,-2 0.7,-2 0.1,0 -0.6,1.1 -0.2,1.9 0.3,0.4 0.8,0.8 1.3,0.7 0.7,-0.1 1.2,-0.7 1.2,-1.2 0.1,-0.9 -0.8,-1.6 -0.7,-1.6 z" class="st19" id="XMLID_528_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 486.6,445 c 0.1,0 0.7,1.2 0,2.2 -0.5,0.7 -1.7,1.1 -2.6,0.4 -0.8,-0.6 -0.9,-1.7 -0.5,-2.5 0.5,-0.9 1.8,-1.1 1.8,-1 0,0.1 -1.2,0.4 -1.3,1.3 -0.1,0.4 0.1,1.1 0.6,1.4 0.5,0.4 1.3,0.2 1.7,-0.2 0.6,-0.5 0.2,-1.6 0.3,-1.6 z" class="st19" id="XMLID_529_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 487.5,451.5 c 0.1,0 0.8,1.2 0.3,2.2 -0.4,0.8 -1.6,1.2 -2.6,0.7 -0.9,-0.5 -1.1,-1.6 -0.7,-2.4 0.4,-1 1.7,-1.2 1.7,-1.2 0.1,0.1 -1.2,0.5 -1.2,1.4 -0.1,0.4 0.2,1.1 0.7,1.3 0.6,0.3 1.3,0.1 1.7,-0.4 0.5,-0.5 0,-1.6 0.1,-1.6 z" class="st19" id="XMLID_530_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 490.7,450.6 c 0.1,-0.1 1.4,0.4 1.7,1.4 0.2,0.9 -0.4,2 -1.4,2.2 -1,0.3 -1.9,-0.4 -2.1,-1.2 -0.4,-1 0.4,-2 0.4,-2 0.1,0 -0.4,1.2 0.1,1.9 0.3,0.4 0.9,0.7 1.4,0.5 0.6,-0.2 1,-0.9 1,-1.4 0,-0.9 -1.2,-1.4 -1.1,-1.4 z" class="st19" id="XMLID_531_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 492.8,457.1 c 0.1,-0.1 1.4,0.4 1.7,1.5 0.2,0.9 -0.4,2 -1.4,2.2 -1,0.2 -1.9,-0.5 -2.1,-1.2 -0.4,-1 0.4,-2 0.4,-2 0.1,0 -0.4,1.2 0.1,1.9 0.3,0.4 0.9,0.7 1.4,0.5 0.6,-0.2 1,-0.9 1,-1.3 -0.1,-1 -1.1,-1.5 -1.1,-1.6 z" class="st19" id="XMLID_532_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 490.1,458.5 c 0.1,0 0.8,1.2 0.3,2.2 -0.4,0.8 -1.6,1.2 -2.6,0.7 -0.9,-0.5 -1.1,-1.6 -0.7,-2.4 0.4,-1 1.7,-1.2 1.7,-1.2 0.1,0.1 -1.2,0.5 -1.2,1.4 -0.1,0.4 0.2,1.1 0.7,1.3 0.6,0.3 1.3,0.1 1.7,-0.4 0.4,-0.5 0,-1.6 0.1,-1.6 z" class="st19" id="XMLID_533_" /></g><g id="Clit_Hvy_piercing"><circle style="fill:#787878" r="1.2" cy="435.60001" cx="488.29999" class="st19" id="XMLID_534_" /><circle style="fill:#787878" r="1.2" cy="436.10001" cx="483.60001" class="st19" id="XMLID_535_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 484,436.4 c -0.1,-0.1 -3.5,1.9 -3.2,5.1 0.3,2.7 2.9,4.5 5.6,4.4 2.6,-0.2 4.9,-2.4 4.9,-4.9 0,-3.2 -3.6,-5 -3.7,-4.8 -0.1,0.2 2.5,2.1 2.1,4.5 -0.2,1.6 -1.9,3.6 -4.1,3.6 -2,-0.1 -3.4,-1.7 -3.6,-3.2 -0.4,-2.6 2.1,-4.7 2,-4.7 z" class="st19" id="XMLID_536_" /></g><g id="Clit_Piercing"><circle style="fill:#787878" r="1.2" cy="435.60001" cx="488.29999" class="st19" id="XMLID_537_" /><circle style="fill:#787878" r="1.2" cy="436.10001" cx="483.60001" class="st19" id="XMLID_538_" /></g><g id="Smart_Clit_Piercing"><circle style="fill:#787878" r="1.2" cy="435.60001" cx="488.29999" class="st19" id="XMLID_539_" /><circle style="fill:#787878" r="1.2" cy="436.10001" cx="483.60001" class="st19" id="XMLID_540_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 483.8,436.2 c -0.1,-0.1 -2.3,3.3 -1.1,5.5 1.4,2.7 6.4,2.1 7.4,-0.8 0.8,-2.4 -1.6,-5.4 -1.8,-5.3 -0.1,0.1 1.4,2.5 0.5,4.4 -1,2.1 -3.6,2.3 -4.9,0.3 -1.2,-1.8 0,-4 -0.1,-4.1 z" class="st19" id="XMLID_541_" /><rect style="fill:#4db748" height="7.3000002" width="7.3000002" class="st21" transform="matrix(0.7488,0.6629,-0.6629,0.7488,418.3834,-210.2396)" y="443.10001" x="482.89999" id="XMLID_542_" /></g></g><g id="Preg_Belly_1_"><g id="Preg_Belly"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 494.8,433.8 c 20.7,-1.5 47.7,-4.5 61.9,-42.4 13.1,-44.3 -27.8,-99.6 -59.9,-101.5 -40.1,6.2 -61.8,42.8 -63.9,96.9 2.2,31 33.1,49 61.9,47 z" class="st12" id="XMLID_543_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 494.8,433.8 c 20.8,0.1 49.4,-13 61.9,-42.4 12.5,-29.4 -18.5,-83.4 -46,-101.7 -6.5,-4.3 -38.7,-8.2 -40.4,0 -2.6,11.6 -44.9,33.3 -41.4,96.8 1.8,34.8 45.1,47.2 65.9,47.3 z" class="st3" id="XMLID_544_" /><ellipse style="fill:#d76b93" ry="3.0999999" rx="2.8" cy="396.29999" cx="467.10001" class="st20" transform="matrix(0.9799,-0.1994,0.1994,0.9799,-69.6424,101.0976)" id="XMLID_545_" /></g><g id="Preg_Belly_Piercing"><g id="Belly_Piercing"><circle style="fill:#787878" r="1.2" cy="390.89999" cx="466.89999" class="st19" id="XMLID_547_" /><circle style="fill:#787878" r="1.2" cy="395" cx="466.89999" class="st19" id="XMLID_548_" /></g><g id="Belly_Hvy_Piercing_2_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 467,396.1 c -0.2,0 -1.6,2.1 -1.5,11.7 0.1,12.7 1.5,13.2 1.7,13.2 0.4,0 1.5,-7.4 1.2,-15.9 -0.4,-4.6 -1.1,-9.1 -1.4,-9 z" class="st19" id="XMLID_549_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 467.1,421.1 c -0.5,0 -1,2.4 -0.8,4.4 0.2,1.3 0.6,3 1.2,3 0.4,0 0.7,-1.8 0.8,-3 -0.1,-2 -0.7,-4.4 -1.2,-4.4 z" class="st19" id="XMLID_550_" /></g></g></g><g id="Chest"><g id="Boob_0"><g id="Boob_Large_3_"><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 526.8,215.3 c -14.6,-0.1 -40.4,25.2 -48.5,31.9 -13.9,11.6 -17.9,27.2 -7.6,39.7 6.5,7.9 33.4,6.1 40.3,-8.7 8.5,26.1 38.4,23.5 50.4,7.6 8.7,-11.5 6.5,-31.8 -3.1,-39.1 -12.9,-9.6 -17.4,-31.3 -31.5,-31.4" class="st3" id="XMLID_551_" /></g><g id="Areola_3_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 467.8,271.4 c 1.3,-0.4 2.9,1.2 3.5,3.5 0.5,2.3 -0.1,4.5 -1.3,4.9 -1.3,0.4 -2.9,-1.2 -3.5,-3.5 -0.8,-2.4 -0.1,-4.5 1.3,-4.9 z" class="st20" id="XMLID_552_" /><ellipse style="fill:#d76b93" ry="4.9000001" rx="6.0999999" cy="278.79999" cx="530.70001" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,774.4482,-268.8443)" id="XMLID_553_" /></g><g id="Areola_piercing_3_"><circle style="fill:#787878" r="1.1" cy="276.70001" cx="536.5" class="st19" id="XMLID_554_" /><circle style="fill:#787878" r="1.1" cy="279.70001" cx="536.70001" class="st19" id="XMLID_555_" /><circle style="fill:#787878" r="1.1" cy="271.39999" cx="531.5" class="st19" id="XMLID_556_" /><circle style="fill:#787878" r="1.1" cy="271.79999" cx="528.5" class="st19" id="XMLID_557_" /><circle style="fill:#787878" r="1.1" cy="286.20001" cx="532.59998" class="st19" id="XMLID_558_" /><circle style="fill:#787878" r="1.1" cy="286.20001" cx="529.5" class="st19" id="XMLID_559_" /><circle style="fill:#787878" r="1.1" cy="280.79999" cx="524.79999" class="st19" id="XMLID_560_" /><circle style="fill:#787878" r="1.1" cy="278.10001" cx="524.79999" class="st19" id="XMLID_561_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="271" cx="467.20001" class="st19" id="XMLID_562_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="270.5" cx="468.29999" class="st19" id="XMLID_563_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="277.29999" cx="466.29999" class="st19" id="XMLID_564_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="275.5" cx="465.79999" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,918.0208,572.7028)" id="XMLID_565_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="274" cx="472" class="st19" id="XMLID_566_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="276" cx="472.79999" class="st19" id="XMLID_567_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="281.10001" cx="470.29999" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,1007.9313,386.819)" id="XMLID_568_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="280.5" cx="471.5" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,1009.6696,387.3601)" id="XMLID_569_" /></g><g id="Boob_hvy_piercing_3_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 528.1,278.8 c 0.1,0 -0.5,0.7 -0.5,1.7 0,0.9 0.5,2 1.7,2.4 1.4,0.4 2.9,-0.9 3.3,-2 0.4,-1.1 -0.3,-2 -0.2,-2.1 0.2,-0.1 1.1,1.2 0.9,2.4 -0.2,1.4 -1.7,3.1 -3.6,2.8 -1.4,-0.2 -2.8,-1.3 -2.8,-2.8 -0.1,-1.4 1.2,-2.5 1.2,-2.4 z" class="st19" id="XMLID_570_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 467.6,275.9 c 0,0 -0.4,0.7 -0.4,1.7 -0.1,0.9 0.3,2 0.9,2.4 0.9,0.5 2,-0.7 2.3,-1.9 0.3,-1.1 -0.1,-2 0,-2.1 0.1,-0.1 0.6,1.2 0.5,2.4 -0.2,1.4 -1.3,3 -2.6,2.8 -0.9,-0.2 -1.8,-1.4 -1.7,-2.9 0.1,-1.4 1,-2.4 1,-2.4 z" class="st19" id="XMLID_571_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 468.7,281.2 c 0.1,-0.1 11.3,16.2 28.4,17.6 18.3,1.4 32.9,-14.9 33.1,-14.8 0.2,0.2 -13.4,17.1 -32.5,15.7 -18.5,-1.3 -29.1,-18.4 -29,-18.5 z" class="st19" id="XMLID_572_" /><circle style="fill:#787878" r="1" cy="278.70001" cx="527.90002" class="st19" id="XMLID_573_" /><circle style="fill:#787878" r="1" cy="278.70001" cx="532.40002" class="st19" id="XMLID_574_" /><circle style="fill:#787878" r="1" cy="276" cx="530.20001" class="st19" id="XMLID_575_" /><circle style="fill:#787878" r="1" cy="280.89999" cx="530.40002" class="st19" id="XMLID_576_" /><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="275.70001" cx="470.39999" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,985.4068,454.8795)" id="XMLID_577_" /><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="275.70001" cx="467.60001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,855.6479,655.2993)" id="XMLID_578_" /><ellipse style="fill:#787878" ry="0.5" rx="0.60000002" cy="273.89999" cx="468.20001" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,296.3026,788.395)" id="XMLID_579_" /><ellipse style="fill:#787878" ry="0.5" rx="0.60000002" cy="277.89999" cx="469.20001" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,707.4532,-212.5916)" id="XMLID_580_" /></g><g id="Boob_piercing_3_"><g id="XMLID_581_"><circle style="fill:#787878" r="1" cy="278.70001" cx="527.90002" class="st19" id="XMLID_582_" /><circle style="fill:#787878" r="1" cy="278.70001" cx="532.40002" class="st19" id="XMLID_583_" /></g><g id="XMLID_584_"><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="275.70001" cx="470.39999" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,985.4068,454.8795)" id="XMLID_585_" /><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="275.70001" cx="467.60001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,855.6479,655.2993)" id="XMLID_586_" /></g></g></g><g id="Boob_1"><g id="Boob_Large_2_"><path style="fill:#010101" inkscape:connector-curvature="0" d="M 509.6,219.8 C 495,219.7 466,243.1 458.4,251 c -13.2,14 -7.7,23.4 -3.4,36.3 9.4,5.8 33.8,8.7 40.3,-8.7 5.5,25.7 44.3,23.5 50.4,7.6 7.6,-19 1.2,-31.9 -6.9,-37.9 -12.7,-9.4 -15,-28.4 -29.2,-28.5" class="st12" id="XMLID_587_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 511.2,215.6 c -14.6,-0.1 -40.4,25.2 -48.5,31.9 -13.9,11.6 -17.9,27.2 -7.6,39.7 6.5,7.9 33.4,6.1 40.3,-8.7 8.5,26.1 38.4,23.5 50.4,7.6 8.7,-11.5 6.5,-31.8 -3.1,-39.1 -12.7,-9.6 -17.2,-31.4 -31.5,-31.4" class="st3" id="XMLID_588_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 497.1,261.4 c 0.5,-4 4.2,-9.7 14.1,-20.8 -6.7,10 -12.5,14.7 -14.1,20.8 z" class="st12" id="XMLID_589_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 495.2,264 c 1.2,-3.4 0.7,-9.4 -2.6,-22.2 1.3,10.7 3.9,16.7 2.6,22.2 z" class="st12" id="XMLID_590_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 552.2,244.3 c 1.6,3.7 1.4,10.5 -1.5,25.1 0.7,-12.1 3.3,-18.9 1.5,-25.1 z" class="st12" id="XMLID_591_" /></g><g id="Areola_2_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 452.2,271.7 c 1.3,-0.4 2.9,1.2 3.5,3.5 0.5,2.3 -0.1,4.5 -1.3,4.9 -1.3,0.4 -2.9,-1.2 -3.5,-3.5 -0.6,-2.3 0,-4.5 1.3,-4.9 z" class="st20" id="XMLID_592_" /><ellipse style="fill:#d76b93" ry="4.9000001" rx="6.0999999" cy="279.10001" cx="515.20001" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,760.2567,-253.1356)" id="XMLID_593_" /></g><g id="Areola_piercing_2_"><circle style="fill:#787878" r="1.1" cy="276.89999" cx="520.90002" class="st19" id="XMLID_594_" /><circle style="fill:#787878" r="1.1" cy="280" cx="521.20001" class="st19" id="XMLID_595_" /><circle style="fill:#787878" r="1.1" cy="271.70001" cx="516" class="st19" id="XMLID_596_" /><circle style="fill:#787878" r="1.1" cy="272.10001" cx="512.90002" class="st19" id="XMLID_597_" /><circle style="fill:#787878" r="1.1" cy="286.5" cx="517.09998" class="st19" id="XMLID_598_" /><circle style="fill:#787878" r="1.1" cy="286.5" cx="514" class="st19" id="XMLID_599_" /><circle style="fill:#787878" r="1.1" cy="281" cx="509.39999" class="st19" id="XMLID_600_" /><circle style="fill:#787878" r="1.1" cy="278.39999" cx="509.39999" class="st19" id="XMLID_601_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="271.29999" cx="451.70001" class="st19" id="XMLID_602_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="270.79999" cx="452.89999" class="st19" id="XMLID_603_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="277.60001" cx="450.79999" class="st19" id="XMLID_604_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="275.70001" cx="450.29999" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,887.0982,572.5067)" id="XMLID_605_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="274.29999" cx="456.5" class="st19" id="XMLID_606_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="276.20001" cx="457.20001" class="st19" id="XMLID_607_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="281.29999" cx="454.89999" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,978.0084,392.5092)" id="XMLID_608_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.5" cy="280.79999" cx="456.10001" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,979.7283,392.9969)" id="XMLID_609_" /></g><g id="Boob_hvy_piercing_2_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 512.7,279.1 c 0.1,0 -0.5,0.7 -0.5,1.7 0,0.9 0.5,2 1.7,2.4 1.4,0.4 2.9,-0.9 3.3,-2 0.4,-1.1 -0.3,-2 -0.2,-2.1 0.2,-0.1 1.1,1.2 0.9,2.4 -0.2,1.4 -1.7,3.1 -3.6,2.8 -1.4,-0.2 -2.8,-1.3 -2.8,-2.8 -0.2,-1.4 1.1,-2.5 1.2,-2.4 z" class="st19" id="XMLID_610_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 452.1,276.1 c 0,0 -0.4,0.7 -0.4,1.7 -0.1,0.9 0.3,2 0.9,2.4 0.9,0.5 2,-0.7 2.3,-1.9 0.3,-1.1 -0.1,-2 0,-2.1 0.1,-0.1 0.6,1.2 0.5,2.4 -0.2,1.4 -1.3,3 -2.6,2.8 -0.9,-0.2 -1.8,-1.4 -1.7,-2.9 0.1,-1.4 1,-2.4 1,-2.4 z" class="st19" id="XMLID_611_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 453.1,281.5 c 0.1,-0.1 11.3,16.2 28.4,17.6 18.3,1.4 32.9,-14.9 33.1,-14.8 0.2,0.2 -13.4,17.1 -32.5,15.7 -18.4,-1.3 -29.1,-18.4 -29,-18.5 z" class="st19" id="XMLID_612_" /><circle style="fill:#787878" r="1" cy="279" cx="512.40002" class="st19" id="XMLID_613_" /><circle style="fill:#787878" r="1" cy="279" cx="516.79999" class="st19" id="XMLID_614_" /><circle style="fill:#787878" r="1" cy="276.20001" cx="514.59998" class="st19" id="XMLID_615_" /><circle style="fill:#787878" r="1" cy="281.20001" cx="515" class="st19" id="XMLID_616_" /><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="276" cx="455" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,954.8359,458.3842)" id="XMLID_617_" /><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="276" cx="452.10001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,825.0893,652.1412)" id="XMLID_618_" /><ellipse style="fill:#787878" ry="0.5" rx="0.60000002" cy="274.29999" cx="452.70001" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,277.3305,773.6921)" id="XMLID_619_" /><ellipse style="fill:#787878" ry="0.5" rx="0.60000002" cy="278.10001" cx="453.60001" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,693.3712,-196.8819)" id="XMLID_620_" /></g><g id="Boob_piercing_2_"><g id="XMLID_621_"><circle style="fill:#787878" r="1" cy="279" cx="512.40002" class="st19" id="XMLID_622_" /><circle style="fill:#787878" r="1" cy="279" cx="516.79999" class="st19" id="XMLID_623_" /></g><g id="XMLID_624_"><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="276" cx="455" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,954.8359,458.3842)" id="XMLID_625_" /><ellipse style="fill:#787878" ry="0.80000001" rx="0.60000002" cy="276" cx="452.10001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,825.0893,652.1412)" id="XMLID_626_" /></g></g></g><g id="Boob_2"><g id="Boob_Large"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 508,220.6 c -18,-0.1 -54.2,28.9 -63.4,38.7 -16.4,17.2 -9.6,29 -4.2,45.1 11.7,7.2 41.9,10.8 49.9,-10.8 6.8,31.9 54.9,29.1 62.6,9.5 9.3,-23.6 1.4,-39.5 -8.6,-46.9 -15.7,-11.9 -18.7,-35.5 -36.3,-35.6" class="st12" id="XMLID_627_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 510.2,215.4 c -18,-0.1 -50.2,31.3 -60.2,39.6 -17.2,14.5 -22.3,33.8 -9.5,49.3 8,9.8 41.4,7.6 49.9,-10.8 10.6,32.4 47.6,29.1 62.6,9.5 10.8,-14.2 8,-39.5 -3.8,-48.5 -15.8,-12 -21.4,-39 -39,-39.1" class="st3" id="XMLID_628_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 492.6,272.2 c 0.7,-5 5.2,-12 17.5,-25.8 -8.4,12.5 -15.5,18.2 -17.5,25.8 z" class="st12" id="XMLID_629_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 490.3,275.4 c 1.5,-4.2 0.9,-11.6 -3.2,-27.5 1.5,13.2 4.8,20.7 3.2,27.5 z" class="st12" id="XMLID_630_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 560.9,251 c 2,4.6 1.8,13 -1.9,31.1 0.9,-14.9 4.1,-23.5 1.9,-31.1 z" class="st12" id="XMLID_631_" /></g><g id="Areola"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 437,285 c 1.7,-0.4 3.6,1.5 4.4,4.4 0.7,2.8 -0.1,5.6 -1.7,6 -1.7,0.4 -3.6,-1.5 -4.4,-4.4 -0.8,-2.9 0,-5.5 1.7,-6 z" class="st20" id="XMLID_632_" /><ellipse style="fill:#d76b93" ry="6" rx="7.5999999" cy="294.10001" cx="515" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,775.0793,-238.9386)" id="XMLID_633_" /></g><g id="Areola_piercing"><circle style="fill:#787878" r="1.3" cy="291.39999" cx="522.20001" class="st19" id="XMLID_634_" /><circle style="fill:#787878" r="1.3" cy="295.29999" cx="522.40002" class="st19" id="XMLID_635_" /><circle style="fill:#787878" r="1.3" cy="284.89999" cx="516" class="st19" id="XMLID_636_" /><circle style="fill:#787878" r="1.3" cy="285.39999" cx="512.20001" class="st19" id="XMLID_637_" /><circle style="fill:#787878" r="1.3" cy="303.20001" cx="517.40002" class="st19" id="XMLID_638_" /><circle style="fill:#787878" r="1.3" cy="303.20001" cx="513.5" class="st19" id="XMLID_639_" /><circle style="fill:#787878" r="1.3" cy="296.60001" cx="507.79999" class="st19" id="XMLID_640_" /><circle style="fill:#787878" r="1.3" cy="293.20001" cx="507.79999" class="st19" id="XMLID_641_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="284.39999" cx="436.20001" class="st19" id="XMLID_642_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="283.89999" cx="437.70001" class="st19" id="XMLID_643_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="292.20001" cx="435.10001" class="st19" id="XMLID_644_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="289.89999" cx="434.5" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,854.8103,600.1753)" id="XMLID_645_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="288.10001" cx="442.20001" class="st19" id="XMLID_646_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="290.5" cx="443.10001" class="st19" id="XMLID_647_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="296.89999" cx="440.10001" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,954.6022,427.724)" id="XMLID_648_" /><ellipse style="fill:#787878" ry="0.89999998" rx="0.69999999" cy="296.29999" cx="441.60001" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,956.7655,427.9553)" id="XMLID_649_" /></g><g id="Boob_hvy_piercing"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 511.9,294.1 c 0.1,0 -0.7,0.9 -0.6,2.1 0,1.1 0.7,2.6 2,2.9 1.8,0.5 3.6,-1.1 4.1,-2.5 0.4,-1.3 -0.4,-2.6 -0.2,-2.7 0.2,-0.1 1.3,1.4 1.2,3 -0.2,1.8 -2.1,3.8 -4.4,3.6 -1.8,-0.2 -3.5,-1.7 -3.6,-3.5 -0.1,-1.7 1.4,-3 1.5,-2.9 z" class="st19" id="XMLID_650_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 436.7,290.5 c 0,0 -0.5,0.9 -0.5,2 -0.1,1.1 0.4,2.6 1.2,3 1.2,0.6 2.5,-0.9 2.8,-2.3 0.4,-1.3 -0.1,-2.6 0,-2.7 0.1,-0.1 0.8,1.4 0.6,3 -0.3,1.8 -1.7,3.7 -3.2,3.4 -1.2,-0.3 -2.2,-1.8 -2.1,-3.6 0.1,-1.6 1.2,-2.8 1.2,-2.8 z" class="st19" id="XMLID_651_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 438,297.1 c 0.1,-0.1 14,20.1 35.3,21.9 22.7,1.8 40.8,-18.6 41,-18.4 0.2,0.2 -16.6,21.2 -40.3,19.5 -22.8,-1.7 -36.1,-22.9 -36,-23 z" class="st19" id="XMLID_652_" /><circle style="fill:#787878" r="1.2" cy="294" cx="511.60001" class="st19" id="XMLID_653_" /><circle style="fill:#787878" r="1.2" cy="294" cx="517.09998" class="st19" id="XMLID_654_" /><circle style="fill:#787878" r="1.2" cy="290.60001" cx="514.29999" class="st19" id="XMLID_655_" /><circle style="fill:#787878" r="1.2" cy="296.79999" cx="514.70001" class="st19" id="XMLID_656_" /><ellipse style="fill:#787878" ry="1" rx="0.80000001" cy="290.29999" cx="440.20001" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,928.3824,489.6277)" id="XMLID_657_" /><ellipse style="fill:#787878" ry="1" rx="0.80000001" cy="290.29999" cx="436.70001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,791.3661,676.6553)" id="XMLID_658_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.80000001" cy="288.10001" cx="437.39999" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,245.4174,775.3432)" id="XMLID_659_" /><ellipse style="fill:#787878" ry="0.69999999" rx="0.80000001" cy="292.89999" cx="438.70001" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,694.4183,-168.4039)" id="XMLID_660_" /></g><g id="Boob_piercing"><g id="XMLID_661_"><circle style="fill:#787878" r="1.2" cy="294" cx="511.60001" class="st19" id="XMLID_662_" /><circle style="fill:#787878" r="1.2" cy="294" cx="517.09998" class="st19" id="XMLID_663_" /></g><g id="XMLID_664_"><ellipse style="fill:#787878" ry="1" rx="0.80000001" cy="290.29999" cx="440.20001" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,928.3824,489.6277)" id="XMLID_665_" /><ellipse style="fill:#787878" ry="1" rx="0.80000001" cy="290.29999" cx="436.70001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,791.3661,676.6553)" id="XMLID_666_" /></g></g></g><g id="Boob_3"><g id="Boob_Large_4_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 510,218.5 c -21.8,-0.1 -65.4,34.8 -76.6,46.7 -19.7,20.8 -11.6,34.9 -5,54.4 14.1,8.7 50.6,13 60.2,-13.1 8.3,38.5 66.2,35 75.4,11.5 11.3,-28.5 1.7,-47.7 -10.4,-56.6 -18.8,-14.3 -22.4,-42.8 -43.6,-42.9" class="st12" id="XMLID_667_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="M 512.6,212.2 C 490.8,212.1 452,250 439.9,260 c -20.8,17.5 -26.9,40.7 -11.5,59.4 9.7,11.8 49.9,9.2 60.2,-13.1 12.8,39.1 57.5,35 75.4,11.5 13.1,-17.1 9.7,-47.6 -4.6,-58.6 -18.8,-14.4 -25.6,-46.9 -46.8,-47" class="st3" id="XMLID_668_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 491.3,280.8 c 0.9,-6 6.2,-14.5 21.1,-31.1 -10,15 -18.6,21.8 -21.1,31.1 z" class="st12" id="XMLID_669_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 488.6,284.6 c 1.9,-5.1 1.1,-14 -3.8,-33.2 1.7,15.9 5.6,24.9 3.8,33.2 z" class="st12" id="XMLID_670_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 573.8,255.1 c 2.4,5.6 2.1,15.6 -2.2,37.5 1,-18 4.9,-28.3 2.2,-37.5 z" class="st12" id="XMLID_671_" /></g><g id="Areola_4_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 424.2,296.1 c 2,-0.5 4.4,1.9 5.2,5.2 0.9,3.5 -0.1,6.8 -2,7.3 -2,0.5 -4.4,-1.9 -5.2,-5.2 -1,-3.5 0,-6.7 2,-7.3 z" class="st20" id="XMLID_672_" /><ellipse style="fill:#d76b93" ry="7.3000002" rx="9.1999998" cy="307.10001" cx="518.40002" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,791.2404,-230.0869)" id="XMLID_673_" /></g><g id="Areola_piercing_4_"><circle style="fill:#787878" r="1.6" cy="304" cx="527.09998" class="st19" id="XMLID_674_" /><circle style="fill:#787878" r="1.6" cy="308.5" cx="527.40002" class="st19" id="XMLID_675_" /><circle style="fill:#787878" r="1.6" cy="296.10001" cx="519.70001" class="st19" id="XMLID_676_" /><circle style="fill:#787878" r="1.6" cy="296.70001" cx="515.09998" class="st19" id="XMLID_677_" /><circle style="fill:#787878" r="1.6" cy="318.20001" cx="521.29999" class="st19" id="XMLID_678_" /><circle style="fill:#787878" r="1.6" cy="318.20001" cx="516.70001" class="st19" id="XMLID_679_" /><circle style="fill:#787878" r="1.6" cy="310.20001" cx="509.70001" class="st19" id="XMLID_680_" /><circle style="fill:#787878" r="1.6" cy="306.10001" cx="509.70001" class="st19" id="XMLID_681_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="295.39999" cx="423.39999" class="st19" id="XMLID_682_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="294.79999" cx="425.10001" class="st19" id="XMLID_683_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="304.79999" cx="422" class="st19" id="XMLID_684_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="302.20001" cx="421.29999" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,827.7614,624.0518)" id="XMLID_685_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="300" cx="430.60001" class="st19" id="XMLID_686_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="302.79999" cx="431.70001" class="st19" id="XMLID_687_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="310.39999" cx="428.10001" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,935.8943,458.1015)" id="XMLID_688_" /><ellipse style="fill:#787878" ry="1.1" rx="0.89999998" cy="309.79999" cx="429.89999" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,938.5138,458.1071)" id="XMLID_689_" /></g><g id="Boob_hvy_piercing_4_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 514.6,307.2 c 0.1,0 -0.9,1.1 -0.7,2.6 0,1.2 0.9,3.1 2.5,3.6 2.1,0.6 4.4,-1.2 4.9,-3 0.5,-1.6 -0.4,-3.1 -0.2,-3.2 0.2,-0.1 1.6,1.7 1.4,3.6 -0.2,2.1 -2.6,4.6 -5.3,4.3 -2.1,-0.2 -4.2,-2 -4.3,-4.2 -0.1,-2.2 1.6,-3.8 1.7,-3.7 z" class="st19" id="XMLID_690_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 424,302.7 c 0,0 -0.6,1.1 -0.6,2.5 -0.1,1.2 0.4,3.1 1.4,3.6 1.4,0.7 3,-1.1 3.5,-2.8 0.4,-1.6 -0.1,-3.1 0,-3.2 0.1,-0.1 1,1.7 0.7,3.6 -0.4,2.1 -2,4.5 -3.8,4.1 -1.4,-0.4 -2.7,-2.1 -2.6,-4.4 0,-1.9 1.4,-3.4 1.4,-3.4 z" class="st19" id="XMLID_691_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 425.6,310.8 c 0.1,-0.1 16.8,24.3 42.6,26.4 27.5,2.1 49.2,-22.4 49.4,-22.2 0.2,0.2 -20.1,25.6 -48.7,23.5 -27.5,-2 -43.4,-27.6 -43.3,-27.7 z" class="st19" id="XMLID_692_" /><circle style="fill:#787878" r="1.5" cy="307.10001" cx="514.29999" class="st19" id="XMLID_693_" /><circle style="fill:#787878" r="1.5" cy="307.10001" cx="520.90002" class="st19" id="XMLID_694_" /><circle style="fill:#787878" r="1.5" cy="303" cx="517.59998" class="st19" id="XMLID_695_" /><circle style="fill:#787878" r="1.5" cy="310.39999" cx="518.09998" class="st19" id="XMLID_696_" /><ellipse style="fill:#787878" ry="1.2" rx="1" cy="302.5" cx="428.20001" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,907.0026,516.2271)" id="XMLID_697_" /><ellipse style="fill:#787878" ry="1.2" rx="1" cy="302.60001" cx="424" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,763.2371,697.7639)" id="XMLID_698_" /><ellipse style="fill:#787878" ry="0.89999998" rx="1" cy="299.79999" cx="424.89999" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,218.8256,777.2117)" id="XMLID_699_" /><ellipse style="fill:#787878" ry="0.89999998" rx="1" cy="305.79999" cx="426.29999" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,695.8627,-144.3055)" id="XMLID_700_" /></g><g id="Boob_piercing_4_"><g id="XMLID_701_"><circle style="fill:#787878" r="1.5" cy="307.10001" cx="514.29999" class="st19" id="XMLID_702_" /><circle style="fill:#787878" r="1.5" cy="307.10001" cx="520.90002" class="st19" id="XMLID_703_" /></g><g id="XMLID_704_"><ellipse style="fill:#787878" ry="1.2" rx="1" cy="302.5" cx="428.20001" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,907.0026,516.2271)" id="XMLID_705_" /><ellipse style="fill:#787878" ry="1.2" rx="1" cy="302.60001" cx="424" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,763.2371,697.7639)" id="XMLID_706_" /></g></g></g><g id="Boob_4"><g id="Boob_Large_5_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 506.5,222.3 c -28.4,-0.2 -85.3,45.5 -100,61 -25.7,27.2 -15,45.6 -6.5,70.9 18.5,11.4 66,16.9 78.6,-17.1 10.8,50.2 86.5,45.8 98.5,14.9 14.7,-37.2 2.2,-62.3 -13.6,-73.8 -24.6,-18.5 -29.2,-55.7 -57,-55.9" class="st12" id="XMLID_707_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 509.9,214 c -28.4,-0.2 -79.1,49.2 -94.8,62.4 -27.1,22.8 -35.1,53.1 -14.9,77.7 12.6,15.4 65.2,11.9 78.6,-17.1 16.6,51.1 75,45.8 98.5,14.9 17.1,-22.4 12.6,-62.1 -6,-76.4 -24.9,-18.8 -33.8,-61.3 -61.4,-61.5" class="st3" id="XMLID_708_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 482.2,303.6 c 1.2,-7.8 8.1,-18.9 27.5,-40.6 -13.1,19.6 -24.3,28.5 -27.5,40.6 z" class="st12" id="XMLID_709_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 478.5,308.7 c 2.4,-6.6 1.4,-18.3 -5.1,-43.4 2.5,20.8 7.6,32.5 5.1,43.4 z" class="st12" id="XMLID_710_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 566.6,240.2 c 5.3,5.8 9.6,18.2 14,47 -6.7,-22.5 -6.6,-36.8 -14,-47 z" class="st12" id="XMLID_711_" /></g><g id="Areola_5_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 394.6,323.8 c 2.7,-0.7 5.8,2.4 6.8,6.8 1.2,4.4 -0.2,8.8 -2.7,9.5 -2.7,0.7 -5.8,-2.4 -6.8,-6.8 -1.2,-4.6 0.1,-8.9 2.7,-9.5 z" class="st20" id="XMLID_712_" /><ellipse style="fill:#d76b93" ry="9.5" rx="11.9" cy="338" cx="517.40002" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,821.1389,-200.3058)" id="XMLID_713_" /></g><g id="Areola_piercing_5_"><circle style="fill:#787878" r="2.0999999" cy="333.89999" cx="528.79999" class="st19" id="XMLID_714_" /><circle style="fill:#787878" r="2.0999999" cy="339.89999" cx="529.20001" class="st19" id="XMLID_715_" /><circle style="fill:#787878" r="2.0999999" cy="323.70001" cx="519.09998" class="st19" id="XMLID_716_" /><circle style="fill:#787878" r="2.0999999" cy="324.39999" cx="513.09998" class="st19" id="XMLID_717_" /><circle style="fill:#787878" r="2.0999999" cy="352.5" cx="521.29999" class="st19" id="XMLID_718_" /><circle style="fill:#787878" r="2.0999999" cy="352.5" cx="515.20001" class="st19" id="XMLID_719_" /><circle style="fill:#787878" r="2.0999999" cy="342" cx="506.20001" class="st19" id="XMLID_720_" /><circle style="fill:#787878" r="2.0999999" cy="336.70001" cx="506.20001" class="st19" id="XMLID_721_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="322.79999" cx="393.5" class="st19" id="XMLID_722_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="322" cx="395.70001" class="st19" id="XMLID_723_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="335.10001" cx="391.70001" class="st19" id="XMLID_724_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="331.60001" cx="390.79999" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,765.4359,681.4077)" id="XMLID_725_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="328.70001" cx="402.89999" class="st19" id="XMLID_726_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="332.5" cx="404.29999" class="st19" id="XMLID_727_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="342.39999" cx="399.60001" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,891.3522,529.8864)" id="XMLID_728_" /><ellipse style="fill:#787878" ry="1.4" rx="1.2" cy="341.5" cx="402" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,894.9265,529.0276)" id="XMLID_729_" /></g><g id="Boob_hvy_piercing_5_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 512.6,338.1 c 0.2,0 -1.2,1.4 -1,3.4 0,1.7 1.2,4.1 3.2,4.6 2.8,0.8 5.8,-1.7 6.4,-3.9 0.7,-2.1 -0.5,-4.1 -0.3,-4.2 0.3,-0.1 2.1,2.2 1.8,4.8 -0.3,2.8 -3.4,6 -7,5.6 -2.8,-0.3 -5.4,-2.7 -5.6,-5.4 0,-3 2.3,-5.1 2.5,-4.9 z" class="st19" id="XMLID_730_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 394.2,332.3 c 0,0 -0.8,1.4 -0.8,3.2 -0.2,1.7 0.5,4.1 1.8,4.8 1.8,1 3.9,-1.4 4.4,-3.6 0.5,-2.1 -0.2,-4.1 0,-4.2 0.2,-0.2 1.2,2.2 1,4.8 -0.4,2.8 -2.7,5.9 -5.1,5.3 -1.8,-0.4 -3.5,-2.8 -3.4,-5.8 0.4,-2.5 2.1,-4.5 2.1,-4.5 z" class="st19" id="XMLID_731_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 396.3,342.8 c 0.2,-0.2 21.9,31.6 55.5,34.4 35.8,2.8 64.2,-29.2 64.5,-29 0.3,0.3 -26.1,33.4 -63.5,30.7 C 417,376.4 396.2,343 396.3,342.8 Z" class="st19" id="XMLID_732_" /><circle style="fill:#787878" r="2" cy="337.89999" cx="512.09998" class="st19" id="XMLID_733_" /><circle style="fill:#787878" r="2" cy="337.89999" cx="520.79999" class="st19" id="XMLID_734_" /><circle style="fill:#787878" r="2" cy="332.60001" cx="516.5" class="st19" id="XMLID_735_" /><circle style="fill:#787878" r="2" cy="342.29999" cx="517" class="st19" id="XMLID_736_" /><ellipse style="fill:#787878" ry="1.5" rx="1.2" cy="332.10001" cx="399.79999" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,856.431,580.3391)" id="XMLID_737_" /><ellipse style="fill:#787878" ry="1.5" rx="1.2" cy="332.20001" cx="394.20001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,697.4272,749.1066)" id="XMLID_738_" /><circle style="fill:#787878" r="1.2" cy="328.60001" cx="395.39999" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,155.0886,783.064)" id="XMLID_739_" /><circle style="fill:#787878" r="1.2" cy="336.20001" cx="397.29999" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,699.5681,-87.4572)" id="XMLID_740_" /></g><g id="Boob_piercing_5_"><g id="XMLID_741_"><circle style="fill:#787878" r="2" cy="337.89999" cx="512.09998" class="st19" id="XMLID_742_" /><circle style="fill:#787878" r="2" cy="337.89999" cx="520.79999" class="st19" id="XMLID_743_" /></g><g id="XMLID_744_"><ellipse style="fill:#787878" ry="1.5" rx="1.2" cy="332.10001" cx="399.79999" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,856.431,580.3391)" id="XMLID_745_" /><ellipse style="fill:#787878" ry="1.5" rx="1.2" cy="332.20001" cx="394.20001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,697.4272,749.1066)" id="XMLID_746_" /></g></g></g><g id="Boob_5"><g id="Boob_Large_1_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 504.6,225.3 c -38.2,-0.2 -114.7,61.2 -134.4,82 -34.6,36.5 -20.2,61.2 -8.7,95.3 24.8,15.2 88.7,22.8 105.7,-22.8 14.5,67.5 116.2,61.5 132.4,20.1 19.7,-50 -12.6,-93.3 -18.2,-99.3 -28.5,-30.4 -39.6,-75.1 -76.8,-75.3" class="st12" id="XMLID_747_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 509.1,214.2 c -38.2,-0.2 -106.3,66.2 -127.5,83.9 -36.5,30.7 -47.2,71.5 -20.1,104.4 16.9,20.7 87.6,16 105.7,-22.9 22.4,68.7 100.8,61.5 132.4,20.1 22.9,-30.1 -1.2,-65 -8.1,-102.7 -7.5,-41.2 -45.2,-82.6 -82.4,-82.8" class="st3" id="XMLID_748_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 471.9,334.6 c 1.5,-10.6 10.9,-25.4 37.1,-54.6 -17.8,26.4 -32.8,38.4 -37.1,54.6 z" class="st12" id="XMLID_749_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 467,341.4 c 3.2,-8.8 1.9,-24.6 -6.8,-58.3 3.2,28 10.2,43.8 6.8,58.3 z" class="st12" id="XMLID_750_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 541.4,219.6 c 9.6,4.5 21.1,17.9 41.1,51.6 -19.8,-24.7 -26.8,-42.7 -41.1,-51.6 z" class="st12" id="XMLID_751_" /></g><g id="Areola_1_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 354.1,361.7 c 3.6,-1 7.7,3.2 9.2,9.2 1.5,6 -0.2,11.8 -3.6,12.8 -3.6,1 -7.7,-3.2 -9.2,-9.2 -1.6,-6.2 0.1,-11.9 3.6,-12.8 z" class="st20" id="XMLID_752_" /><ellipse style="fill:#d76b93" ry="12.8" rx="16" cy="380.89999" cx="519.40002" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,865.7677,-162.0763)" id="XMLID_753_" /></g><g id="Areola_piercing_1_"><circle style="fill:#787878" r="2.8" cy="375.29999" cx="534.5" class="st19" id="XMLID_754_" /><circle style="fill:#787878" r="2.8" cy="383.39999" cx="535.09998" class="st19" id="XMLID_755_" /><circle style="fill:#787878" r="2.8" cy="361.5" cx="521.5" class="st19" id="XMLID_756_" /><circle style="fill:#787878" r="2.8" cy="362.5" cx="513.5" class="st19" id="XMLID_757_" /><circle style="fill:#787878" r="2.8" cy="400.29999" cx="524.40002" class="st19" id="XMLID_758_" /><circle style="fill:#787878" r="2.8" cy="400.29999" cx="516.29999" class="st19" id="XMLID_759_" /><circle style="fill:#787878" r="2.8" cy="386.20001" cx="504" class="st19" id="XMLID_760_" /><circle style="fill:#787878" r="2.8" cy="379" cx="504" class="st19" id="XMLID_761_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="360.5" cx="352.70001" class="st19" id="XMLID_762_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="359.29999" cx="355.60001" class="st19" id="XMLID_763_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="377" cx="350.20001" class="st19" id="XMLID_764_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="372.29999" cx="349" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,679.8478,760.7689)" id="XMLID_765_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="368.39999" cx="365.20001" class="st19" id="XMLID_766_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="373.39999" cx="367.10001" class="st19" id="XMLID_767_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="386.79999" cx="360.89999" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,831.1002,629.0543)" id="XMLID_768_" /><ellipse style="fill:#787878" ry="1.9" rx="1.5" cy="385.60001" cx="364" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,835.9724,627.3287)" id="XMLID_769_" /></g><g id="Boob_hvy_piercing_1_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 512.7,380.9 c 0.2,0 -1.5,1.9 -1.3,4.5 0,2.2 1.5,5.4 4.4,6.2 3.7,1.2 7.7,-2.2 8.6,-5.2 1,-2.8 -0.7,-5.4 -0.4,-5.6 0.3,-0.2 2.8,3 2.5,6.4 -0.4,3.7 -4.5,8.1 -9.4,7.6 -3.7,-0.4 -7.4,-3.6 -7.6,-7.4 -0.1,-3.8 3.1,-6.7 3.2,-6.5 z" class="st19" id="XMLID_770_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 353.6,373.3 c 0,0 -1.2,1.9 -1.2,4.4 -0.2,2.2 0.7,5.4 2.5,6.4 2.5,1.3 5.2,-1.9 6,-4.9 0.7,-2.8 -0.2,-5.4 0,-5.6 0.2,-0.2 1.7,3 1.3,6.4 -0.5,3.7 -3.6,7.9 -6.8,7.1 -2.5,-0.5 -4.7,-3.7 -4.5,-7.7 0.5,-3.6 2.7,-6.1 2.7,-6.1 z" class="st19" id="XMLID_771_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 356.4,387.3 c 0.2,-0.2 29.5,42.5 74.6,46.3 48.2,3.7 86.4,-39.3 86.7,-38.9 0.4,0.4 -35.2,45 -85.4,41.4 -48,-3.7 -76,-48.5 -75.9,-48.8 z" class="st19" id="XMLID_772_" /><circle style="fill:#787878" r="2.7" cy="380.70001" cx="512.09998" class="st19" id="XMLID_773_" /><circle style="fill:#787878" r="2.7" cy="380.70001" cx="523.90002" class="st19" id="XMLID_774_" /><circle style="fill:#787878" r="2.7" cy="373.60001" cx="518" class="st19" id="XMLID_775_" /><circle style="fill:#787878" r="2.7" cy="386.60001" cx="518.70001" class="st19" id="XMLID_776_" /><ellipse style="fill:#787878" ry="2" rx="1.7" cy="373" cx="361" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,787.6197,668.8575)" id="XMLID_777_" /><ellipse style="fill:#787878" ry="2" rx="1.7" cy="373.10001" cx="353.60001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,607.6005,819.9565)" id="XMLID_778_" /><ellipse style="fill:#787878" ry="1.5" rx="1.7" cy="368.10001" cx="355.10001" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,67.8569,791.334)" id="XMLID_779_" /><ellipse style="fill:#787878" ry="1.5" rx="1.7" cy="378.5" cx="357.79999" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,705.519,-9.3184)" id="XMLID_780_" /></g><g id="Boob_piercing_1_"><g id="XMLID_781_"><circle style="fill:#787878" r="2.7" cy="380.70001" cx="512.09998" class="st19" id="XMLID_782_" /><circle style="fill:#787878" r="2.7" cy="380.70001" cx="523.90002" class="st19" id="XMLID_783_" /></g><g id="XMLID_784_"><ellipse style="fill:#787878" ry="2" rx="1.7" cy="373" cx="361" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,787.6197,668.8575)" id="XMLID_785_" /><ellipse style="fill:#787878" ry="2" rx="1.7" cy="373.10001" cx="353.60001" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,607.6005,819.9565)" id="XMLID_786_" /></g></g></g><g id="Boob_6"><g id="Boob_Large_6_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 501.2,228.8 c -50.3,-0.2 -151.1,80.6 -177,108 -45.5,48.1 -26.6,80.6 -11.5,125.5 32.7,20 116.8,30.1 139.2,-30.1 19.1,89 153.1,81 174.4,26.5 26,-65.9 -16.6,-122.9 -24,-130.9 -37.5,-39.9 -52.1,-98.7 -101.1,-99" class="st12" id="XMLID_787_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 507.1,214.2 c -50.3,-0.2 -140,87.2 -168,110.5 -48.1,40.4 -62.2,94.2 -26.5,137.5 22.4,27.3 115.5,21.1 139.4,-30.2 29.5,90.5 132.7,81 174.4,26.5 30.2,-39.7 -1.6,-85.7 -10.7,-135.3 -9.9,-54.2 -59.5,-108.8 -108.6,-109" class="st3" id="XMLID_788_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 458.1,372.8 c 2,-13.9 14.4,-33.5 48.8,-71.9 -23.3,34.7 -43.1,50.6 -48.8,71.9 z" class="st12" id="XMLID_789_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 451.7,381.7 c 4.2,-11.6 2.5,-32.4 -8.9,-76.8 4.2,36.9 13.3,57.7 8.9,76.8 z" class="st12" id="XMLID_790_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 549.6,221.4 c 12.6,6 27.9,23.5 54.1,68 -26,-32.7 -35.2,-56.3 -54.1,-68 z" class="st12" id="XMLID_791_" /></g><g id="Areola_6_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 303,408.5 c 4.7,-1.3 10.2,4.2 12.2,12.2 2,8 -0.2,15.6 -4.7,16.9 -4.7,1.3 -10.2,-4.2 -12.2,-12.2 -2.2,-8.2 0,-15.7 4.7,-16.9 z" class="st20" id="XMLID_792_" /><ellipse style="fill:#d76b93" ry="16.9" rx="21.1" cy="433.70001" cx="520.59998" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,919.7263,-113.9278)" id="XMLID_793_" /></g><g id="Areola_piercing_6_"><circle style="fill:#787878" r="3.7" cy="426.39999" cx="540.59998" class="st19" id="XMLID_794_" /><circle style="fill:#787878" r="3.7" cy="437.10001" cx="541.40002" class="st19" id="XMLID_795_" /><circle style="fill:#787878" r="3.7" cy="408.29999" cx="523.5" class="st19" id="XMLID_796_" /><circle style="fill:#787878" r="3.7" cy="409.60001" cx="512.90002" class="st19" id="XMLID_797_" /><circle style="fill:#787878" r="3.7" cy="459.29999" cx="527.29999" class="st19" id="XMLID_798_" /><circle style="fill:#787878" r="3.7" cy="459.29999" cx="516.59998" class="st19" id="XMLID_799_" /><circle style="fill:#787878" r="3.7" cy="440.79999" cx="500.5" class="st19" id="XMLID_800_" /><circle style="fill:#787878" r="3.7" cy="431.29999" cx="500.5" class="st19" id="XMLID_801_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="406.89999" cx="301.10001" class="st19" id="XMLID_802_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="405.29999" cx="305" class="st19" id="XMLID_803_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="428.60001" cx="297.89999" class="st19" id="XMLID_804_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="422.5" cx="296.20001" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,572.0126,858.504)" id="XMLID_805_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="417.29999" cx="317.70001" class="st19" id="XMLID_806_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="424" cx="320.10001" class="st19" id="XMLID_807_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="441.5" cx="311.89999" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,754.4891,751.8561)" id="XMLID_808_" /><ellipse style="fill:#787878" ry="2.5" rx="2" cy="439.89999" cx="316.10001" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,760.9403,748.9292)" id="XMLID_809_" /></g><g id="Boob_hvy_piercing_6_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 511.9,433.8 c 0.2,0 -2,2.5 -1.8,6 0,2.9 2,7.1 5.7,8.2 4.9,1.5 10.2,-2.9 11.4,-6.9 1.3,-3.7 -0.9,-7.1 -0.5,-7.4 0.5,-0.2 3.7,4 3.3,8.4 -0.5,4.9 -6,10.7 -12.4,9.9 -4.9,-0.5 -9.7,-4.7 -9.9,-9.7 -0.2,-5 4,-8.7 4.2,-8.5 z" class="st19" id="XMLID_810_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 302.3,423.7 c 0,0 -1.5,2.5 -1.5,5.7 -0.2,2.9 0.9,7.1 3.3,8.4 3.3,1.8 6.9,-2.5 8,-6.4 0.9,-3.7 -0.2,-7.1 0,-7.4 0.2,-0.3 2.2,4 1.8,8.4 -0.7,4.9 -4.7,10.4 -8.9,9.4 -3.3,-0.7 -6.2,-4.9 -6,-10.2 0.4,-4.5 3.3,-7.9 3.3,-7.9 z" class="st19" id="XMLID_811_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 306.1,442.2 c 0.2,-0.2 38.9,55.9 98.3,61 63.4,4.9 113.8,-51.7 114.2,-51.3 0.5,0.5 -46.3,59.2 -112.5,54.5 -63.4,-4.7 -100.3,-63.8 -100,-64.2 z" class="st19" id="XMLID_812_" /><circle style="fill:#787878" r="3.5" cy="433.60001" cx="511.10001" class="st19" id="XMLID_813_" /><circle style="fill:#787878" r="3.5" cy="433.60001" cx="526.59998" class="st19" id="XMLID_814_" /><circle style="fill:#787878" r="3.5" cy="424.20001" cx="518.79999" class="st19" id="XMLID_815_" /><circle style="fill:#787878" r="3.5" cy="441.29999" cx="519.79999" class="st19" id="XMLID_816_" /><ellipse style="fill:#787878" ry="2.7" rx="2.2" cy="423.39999" cx="312.10001" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,700.4802,778.1339)" id="XMLID_817_" /><ellipse style="fill:#787878" ry="2.7" rx="2.2" cy="423.5" cx="302.29999" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,494.4378,907.0223)" id="XMLID_818_" /><ellipse style="fill:#787878" ry="2" rx="2.2" cy="416.89999" cx="304.39999" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,-41.1507,800.4734)" id="XMLID_819_" /><ellipse style="fill:#787878" ry="2" rx="2.2" cy="430.60001" cx="307.89999" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,711.6222,88.2673)" id="XMLID_820_" /></g><g id="Boob_piercing_6_"><g id="XMLID_821_"><circle style="fill:#787878" r="3.5" cy="433.60001" cx="511.10001" class="st19" id="XMLID_822_" /><circle style="fill:#787878" r="3.5" cy="433.60001" cx="526.59998" class="st19" id="XMLID_823_" /></g><g id="XMLID_824_"><ellipse style="fill:#787878" ry="2.7" rx="2.2" cy="423.39999" cx="312.10001" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,700.4802,778.1339)" id="XMLID_825_" /><ellipse style="fill:#787878" ry="2.7" rx="2.2" cy="423.5" cx="302.29999" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,494.4378,907.0223)" id="XMLID_826_" /></g></g></g><g id="Boob_7"><g id="Boob_Large_8_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 501,232 c -61.3,-0.3 -184,98.2 -215.5,131.6 -55.4,58.6 -32.4,98.2 -14,152.8 C 311.3,540.8 413.7,553 441,479.8 464.2,588.1 627.4,578.4 653.4,512 685,431.8 633.2,362.3 624.2,352.6 578.6,304 560.7,232.3 501,232" class="st12" id="XMLID_897_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="M 508.3,214.2 C 447,213.9 337.8,320.4 303.8,348.8 245.2,398 228.1,463.5 271.6,516.3 c 27.1,33.2 140.5,25.7 169.6,-36.8 35.9,110.2 161.6,98.6 212.4,32.2 36.8,-48.3 -2,-104.3 -13,-164.8 C 628.4,280.9 568,214.5 508.3,214.2" class="st3" id="XMLID_896_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 448.6,407.3 c 2.4,-17 17.5,-40.8 59.4,-87.5 -28.4,42.2 -52.4,61.6 -59.4,87.5 z" class="st12" id="XMLID_895_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 440.7,418.2 c 5.1,-14.1 3,-39.5 -10.8,-93.5 5.1,44.9 16.2,70.2 10.8,93.5 z" class="st12" id="XMLID_894_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 560,222.9 c 15.4,7.3 33.9,28.6 65.9,82.8 C 594.2,266 583,237.2 560,222.9 Z" class="st12" id="XMLID_827_" /></g><g id="Areola_7_"><path style="fill:#d76b93" inkscape:connector-curvature="0" d="m 259.7,450.8 c 5.7,-1.6 12.4,5.1 14.8,14.8 2.4,9.7 -0.3,19 -5.7,20.5 -5.7,1.6 -12.4,-5.1 -14.8,-14.8 -2.7,-9.9 0,-19.1 5.7,-20.5 z" class="st20" id="XMLID_832_" /><ellipse style="fill:#d76b93" ry="20.5" rx="25.700001" cy="481.5" cx="524.70001" class="st20" transform="matrix(0.06481902,0.9979,-0.9979,0.06481902,971.2539,-73.2956)" id="XMLID_833_" /></g><g id="Areola_piercing_7_"><circle style="fill:#787878" r="4.5999999" cy="472.60001" cx="549.09998" class="st19" id="XMLID_834_" /><circle style="fill:#787878" r="4.5999999" cy="485.60001" cx="550.09998" class="st19" id="XMLID_835_" /><circle style="fill:#787878" r="4.5999999" cy="450.5" cx="528.20001" class="st19" id="XMLID_836_" /><circle style="fill:#787878" r="4.5999999" cy="452.10001" cx="515.29999" class="st19" id="XMLID_837_" /><circle style="fill:#787878" r="4.5999999" cy="512.70001" cx="532.79999" class="st19" id="XMLID_838_" /><circle style="fill:#787878" r="4.5999999" cy="512.70001" cx="519.79999" class="st19" id="XMLID_839_" /><circle style="fill:#787878" r="4.5999999" cy="490.20001" cx="500.20001" class="st19" id="XMLID_840_" /><circle style="fill:#787878" r="4.5999999" cy="478.60001" cx="500.20001" class="st19" id="XMLID_841_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="448.79999" cx="257.39999" class="st19" id="XMLID_842_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="447" cx="262.10001" class="st19" id="XMLID_843_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="475.29999" cx="253.39999" class="st19" id="XMLID_844_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="467.79999" cx="251.39999" class="st19" transform="matrix(-0.9989,-0.04745027,0.04745027,-0.9989,480.3226,947.0313)" id="XMLID_845_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="461.5" cx="277.5" class="st19" id="XMLID_846_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="469.60001" cx="280.5" class="st19" id="XMLID_847_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="491" cx="270.5" class="st19" transform="matrix(-0.9413,0.3376,-0.3376,-0.9413,690.8691,861.9293)" id="XMLID_848_" /><ellipse style="fill:#787878" ry="3" rx="2.4000001" cy="489.10001" cx="275.60001" class="st19" transform="matrix(-0.9425,0.3341,-0.3341,-0.9425,698.752,857.9261)" id="XMLID_849_" /></g><g id="Boob_hvy_piercing_7_"><path style="fill:#787878" inkscape:connector-curvature="0" d="m 514.1,481.6 c 0.3,0 -2.4,3 -2.1,7.3 0,3.6 2.4,8.7 7,10 6,1.9 12.4,-3.6 13.8,-8.4 1.6,-4.6 -1.1,-8.7 -0.6,-9 0.6,-0.3 4.6,4.8 4,10.3 -0.6,6 -7.3,13 -15.1,12.1 -6,-0.6 -11.8,-5.7 -12.1,-11.8 -0.3,-6.2 4.8,-10.8 5.1,-10.5 z" class="st19" id="XMLID_850_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 258.9,469.3 c 0,0 -1.9,3 -1.9,7 -0.3,3.6 1.1,8.7 4,10.3 4,2.1 8.4,-3 9.7,-7.8 1.1,-4.6 -0.3,-8.7 0,-9 0.3,-0.3 2.7,4.8 2.1,10.3 -0.9,6 -5.7,12.7 -10.8,11.4 -4,-0.9 -7.6,-6 -7.3,-12.4 0.6,-5.6 4.2,-9.8 4.2,-9.8 z" class="st19" id="XMLID_851_" /><path style="fill:#787878" inkscape:connector-curvature="0" d="m 263.4,491.9 c 0.3,-0.3 47.3,68.1 119.7,74.3 77.3,6 138.5,-63 139.1,-62.4 0.6,0.6 -56.4,72.1 -137,66.4 C 308,564.3 263.1,492.3 263.4,491.9 Z" class="st19" id="XMLID_852_" /><circle style="fill:#787878" r="4.3000002" cy="481.29999" cx="513.09998" class="st19" id="XMLID_853_" /><circle style="fill:#787878" r="4.3000002" cy="481.29999" cx="532" class="st19" id="XMLID_854_" /><circle style="fill:#787878" r="4.3000002" cy="469.89999" cx="522.5" class="st19" id="XMLID_855_" /><circle style="fill:#787878" r="4.3000002" cy="490.70001" cx="523.70001" class="st19" id="XMLID_856_" /><ellipse style="fill:#787878" ry="3.3" rx="2.7" cy="468.89999" cx="270.79999" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,627.4544,876.3939)" id="XMLID_857_" /><ellipse style="fill:#787878" ry="3.3" rx="2.7" cy="469.10001" cx="258.79999" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,397.8483,986.4601)" id="XMLID_858_" /><ellipse style="fill:#787878" ry="2.4000001" rx="2.7" cy="461.10001" cx="261.29999" class="st19" transform="matrix(-0.2055,-0.9787,0.9787,-0.2055,-136.2163,811.5947)" id="XMLID_859_" /><ellipse style="fill:#787878" ry="2.4000001" rx="2.7" cy="477.70001" cx="265.60001" class="st19" transform="matrix(0.08246086,0.9966,-0.9966,0.08246086,719.8191,173.6128)" id="XMLID_860_" /></g><g id="Boob_piercing_7_"><g id="XMLID_861_"><circle style="fill:#787878" r="4.3000002" cy="481.29999" cx="513.09998" class="st19" id="XMLID_862_" /><circle style="fill:#787878" r="4.3000002" cy="481.29999" cx="532" class="st19" id="XMLID_863_" /></g><g id="XMLID_864_"><ellipse style="fill:#787878" ry="3.3" rx="2.7" cy="468.89999" cx="270.79999" class="st19" transform="matrix(-0.981,0.1941,-0.1941,-0.981,627.4544,876.3939)" id="XMLID_865_" /><ellipse style="fill:#787878" ry="3.3" rx="2.7" cy="469.10001" cx="258.79999" class="st19" transform="matrix(-0.971,-0.2392,0.2392,-0.971,397.8483,986.4601)" id="XMLID_866_" /></g></g></g></g><g id="Boob_Latex"><g id="Boob_0_1_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 526.8,215.3 c -14.6,-0.1 -40.4,25.2 -48.5,31.9 -13.9,11.6 -17.9,27.2 -7.6,39.7 6.5,7.9 33.4,6.1 40.3,-8.7 8.5,26.1 38.4,23.5 50.4,7.6 8.7,-11.5 6.5,-31.8 -3.1,-39.1 -12.9,-9.6 -17.4,-31.3 -31.5,-31.4" class="st4" id="XMLID_946_" /></g><g id="Boob_1_2_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 511.2,215.6 c -14.6,-0.1 -40.4,25.2 -48.5,31.9 -13.9,11.6 -17.9,27.2 -7.6,39.7 6.5,7.9 33.4,6.1 40.3,-8.7 8.5,26.1 38.4,23.5 50.4,7.6 8.7,-11.5 6.5,-31.8 -3.1,-39.1 -12.7,-9.6 -17.2,-31.4 -31.5,-31.4" class="st4" id="XMLID_944_" /></g><g id="Boob_2_2_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 510.2,215.4 c -18,-0.1 -50.2,31.3 -60.2,39.6 -17.2,14.5 -22.3,33.8 -9.5,49.3 8,9.8 41.4,7.6 49.9,-10.8 10.6,32.4 47.6,29.1 62.6,9.5 10.8,-14.2 8,-39.5 -3.8,-48.5 -15.8,-12 -21.4,-39 -39,-39.1" class="st4" id="XMLID_939_" /></g><path style="fill:#515351" inkscape:connector-curvature="0" d="M 512.6,212.2 C 490.8,212.1 452,250 439.9,260 c -20.8,17.5 -26.9,40.7 -11.5,59.4 9.7,11.8 49.9,9.2 60.2,-13.1 12.8,39.1 57.5,35 75.4,11.5 13.1,-17.1 9.7,-47.6 -4.6,-58.6 -18.8,-14.4 -25.6,-46.9 -46.8,-47" class="st4" id="Boob_3_1_" /><g id="Boob_4_2_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 509.9,214 c -28.4,-0.2 -79.1,49.2 -94.8,62.4 -27.1,22.8 -35.1,53.1 -14.9,77.7 12.6,15.4 65.2,11.9 78.6,-17.1 16.6,51.1 75,45.8 98.5,14.9 17.1,-22.4 12.6,-62.1 -6,-76.4 -24.9,-18.8 -33.8,-61.3 -61.4,-61.5" class="st4" id="XMLID_920_" /></g><g id="Boob_5_2_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 509.1,214.2 c -38.2,-0.2 -106.3,66.2 -127.5,83.9 -36.5,30.7 -47.2,71.5 -20.1,104.4 16.9,20.7 87.6,16 105.7,-22.9 22.4,68.7 100.8,61.5 132.4,20.1 22.9,-30.1 -1.2,-65 -8.1,-102.7 -7.5,-41.2 -45.2,-82.6 -82.4,-82.8" class="st4" id="XMLID_906_" /></g><g id="Boob_6_2_"><g id="XMLID_919_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 507.1,214.2 c -50.3,-0.2 -140,87.2 -168,110.5 -48.1,40.4 -62.2,94.2 -26.5,137.5 22.4,27.3 115.5,21.1 139.4,-30.2 29.5,90.5 132.7,81 174.4,26.5 30.2,-39.7 -1.6,-85.7 -10.7,-135.3 -9.9,-54.2 -59.5,-108.8 -108.6,-109" class="st4" id="XMLID_921_" /></g><g id="XMLID_908_"><path style="fill:#515351" inkscape:connector-curvature="0" d="m 507.1,214.2 c -50.3,-0.2 -140,87.2 -168,110.5 -48.1,40.4 -62.2,94.2 -26.5,137.5 22.4,27.3 115.5,21.1 139.4,-30.2 29.5,90.5 132.7,81 174.4,26.5 30.2,-39.7 -1.6,-85.7 -10.7,-135.3 -9.9,-54.2 -59.5,-108.8 -108.6,-109" class="st4" id="XMLID_909_" /></g></g><g id="Boob_7_1_"><g id="XMLID_924_"><path style="fill:#515351" inkscape:connector-curvature="0" d="M 508.3,214.2 C 447,213.9 337.8,320.4 303.8,348.8 245.2,398 228.1,463.5 271.6,516.3 c 27.1,33.2 140.5,25.7 169.6,-36.8 35.9,110.2 161.6,98.6 212.4,32.2 36.8,-48.3 -2,-104.3 -13,-164.8 C 628.4,280.9 568,214.5 508.3,214.2" class="st4" id="XMLID_925_" /></g><g id="XMLID_922_"><path style="fill:#515351" inkscape:connector-curvature="0" d="M 508.3,214.2 C 447,213.9 337.8,320.4 303.8,348.8 245.2,398 228.1,463.5 271.6,516.3 c 27.1,33.2 140.5,25.7 169.6,-36.8 35.9,110.2 161.6,98.6 212.4,32.2 36.8,-48.3 -2,-104.3 -13,-164.8 C 628.4,280.9 568,214.5 508.3,214.2" class="st4" id="XMLID_923_" /></g></g></g><g id="Clavicle"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 521.3,220.4 c 3,-2.7 20.4,-6.8 35.2,-9 -11.6,3.4 -30,5.4 -35.2,9 z" class="st12" id="XMLID_511_" /><path style="fill:#010101" inkscape:connector-curvature="0" d="m 511.3,220.1 c -2.2,-2.8 -7.6,-5.5 -20.3,-9.3 9.8,4.4 16.3,5.3 20.3,9.3 z" class="st12" id="XMLID_546_" /></g><g id="Penis"><g id="Ball_4"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 441.1,480.5 c 3.3,8.9 7.4,10.4 10.4,11.3 6.6,2 10.1,-0.6 21,2.7 5,1.5 8.3,5.6 16.6,5.6 1.5,0 13.3,2.3 22.7,-7 5.9,-5.7 5.6,-14.1 5.4,-26.3 -0.2,-9.1 -2,-15.1 -3.3,-18.6 -2.3,-6.2 -3.6,-9.8 -7.1,-12.1 -7.7,-5 -19.3,0.5 -25.2,3.3 -6.3,3 -11.6,-1.4 -19,5.4 -10.8,10.2 -25.4,25 -21.5,35.7 z" class="st12" id="XMLID_868_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 441.1,472.7 c -0.3,5.7 2,12.8 7.1,16.5 5.6,4.1 9.8,0.5 21.8,3.5 9.4,2.4 9.1,5.3 16.5,6.5 1.7,0.3 15.7,2.3 24.2,-6.5 6.2,-6.3 6,-15.1 5.9,-28.3 -0.2,-9.7 -2.1,-16.3 -3.5,-19.9 -2.4,-6.6 -3.9,-10.4 -7.7,-13 -8.3,-5.4 -20.9,0.6 -27.1,3.5 -7,3.3 -10.9,7 -18.9,14.1 -11.8,10.9 -17.8,16.3 -18.3,23.6 z" class="st3" id="XMLID_869_" /></g><g id="Ball_3_1_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 449.9,468.6 c 2.5,6.8 5.7,8 8,8.7 5.1,1.5 7.8,-0.5 16.1,2.1 3.8,1.2 6.4,4.3 12.7,4.3 1.2,0 10.2,1.7 17.4,-5.3 4.5,-4.4 4.3,-10.8 4.2,-20.2 -0.1,-7 -1.5,-11.6 -2.5,-14.3 -1.7,-4.8 -2.8,-7.5 -5.4,-9.3 -5.9,-3.8 -14.8,0.3 -19.4,2.5 -4.9,2.3 -8.9,-1 -14.6,4.2 -8.3,7.7 -19.5,19 -16.5,27.3 z" class="st12" id="XMLID_870_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 449.9,462.5 c -0.2,4.4 1.5,9.9 5.4,12.6 4.3,3.1 7.5,0.3 16.7,2.7 7.2,1.9 7,4.1 12.6,5 1.3,0.2 12.1,1.7 18.5,-5 4.8,-4.9 4.6,-11.6 4.5,-21.7 -0.1,-7.4 -1.6,-12.5 -2.7,-15.3 -1.9,-5.1 -3,-8 -5.9,-10 -6.4,-4.2 -16,0.5 -20.7,2.7 -5.3,2.5 -8.3,5.3 -14.5,10.8 -8.9,8.5 -13.5,12.7 -13.9,18.2 z" class="st3" id="XMLID_871_" /></g><g id="Ball_2_2_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 456.7,459.4 c 2,5.2 4.4,6.1 6.1,6.7 3.9,1.2 6,-0.4 12.4,1.6 2.9,0.9 4.9,3.3 9.8,3.3 0.9,0 7.8,1.3 13.3,-4.1 3.5,-3.4 3.3,-8.3 3.2,-15.5 -0.1,-5.3 -1.2,-8.9 -2,-10.9 -1.3,-3.6 -2.1,-5.8 -4.2,-7.1 -4.5,-2.9 -11.4,0.3 -14.8,2 -3.7,1.8 -6.8,-0.8 -11.2,3.2 -6.3,5.8 -14.9,14.5 -12.6,20.8 z" class="st12" id="XMLID_872_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 456.7,454.8 c -0.2,3.4 1.2,7.6 4.2,9.7 3.3,2.4 5.8,0.3 12.8,2 5.5,1.4 5.3,3.1 9.7,3.8 1,0.2 9.2,1.3 14.2,-3.8 3.6,-3.7 3.6,-8.9 3.5,-16.6 -0.1,-5.7 -1.2,-9.6 -2,-11.7 -1.4,-3.9 -2.3,-6.1 -4.5,-7.6 -4.9,-3.2 -12.3,0.4 -15.9,2 -4.1,2 -6.4,4.1 -11.1,8.3 -7.1,6.4 -10.7,9.6 -10.9,13.9 z" class="st3" id="XMLID_873_" /></g><g id="Ball_1"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 463.7,452.6 c 1.2,3.4 2.8,3.9 3.9,4.3 2.5,0.7 3.8,-0.3 7.9,1.1 1.9,0.5 3.1,2.1 6.3,2.1 0.6,0 5,0.8 8.5,-2.7 2.2,-2.2 2.1,-5.3 2,-9.9 -0.1,-3.4 -0.8,-5.7 -1.2,-7 -0.9,-2.3 -1.3,-3.6 -2.7,-4.5 -2.9,-1.9 -7.3,0.2 -9.5,1.2 -2.4,1.2 -4.7,-0.7 -7.5,1.8 -4,3.8 -9.1,9.6 -7.7,13.6 z" class="st12" id="XMLID_874_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 463.7,449.5 c -0.2,2.1 0.7,4.7 2.6,6.1 2.1,1.5 3.6,0.2 8.1,1.3 3.5,0.9 3.4,2 6.1,2.4 0.6,0.1 5.8,0.8 8.9,-2.4 2.3,-2.4 2.2,-5.6 2.1,-10.5 -0.1,-3.6 -0.8,-6 -1.3,-7.4 -0.9,-2.5 -1.4,-3.9 -2.8,-4.8 -3.1,-2 -7.7,0.2 -10,1.3 -2.6,1.2 -4,2.6 -6.9,5.2 -4.4,4 -6.6,6.1 -6.8,8.8 z" class="st3" id="XMLID_875_" /></g><g id="Ball_0"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 472.8,446.8 c 0.7,2 1.6,2.3 2.3,2.5 1.4,0.4 2.2,-0.1 4.6,0.6 1.1,0.4 1.8,1.2 3.6,1.2 0.4,0 2.9,0.4 5,-1.5 1.3,-1.2 1.2,-3 1.2,-5.7 0,-2 -0.4,-3.3 -0.7,-4.1 -0.5,-1.3 -0.8,-2.1 -1.5,-2.6 -1.7,-1.1 -4.2,0.1 -5.5,0.7 -1.4,0.7 -3.1,-0.2 -4.7,1.3 -2.6,2.1 -5.2,5.2 -4.3,7.6 z" class="st12" id="XMLID_876_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 472.9,444.7 c -0.1,1.2 0.4,2.7 1.5,3.5 1.2,0.9 2,0.1 4.5,0.7 2,0.5 1.9,1.2 3.5,1.3 0.4,0.1 3.3,0.4 5.1,-1.3 1.3,-1.3 1.2,-3.2 1.2,-5.9 0,-2 -0.4,-3.4 -0.7,-4.2 -0.5,-1.4 -0.8,-2.2 -1.6,-2.7 -1.7,-1.2 -4.4,0.1 -5.6,0.7 -1.4,0.7 -2.3,1.4 -3.9,2.9 -2.7,2.3 -3.9,3.5 -4,5 z" class="st3" id="XMLID_877_" /></g><g id="Penis_6"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 377.7,353.4 c 1.4,0.9 1.4,3.5 1.4,3.9 0,7.5 14.3,33.3 27.4,46 39.3,38.2 78.2,48 74.4,30.6 -0.5,-2.6 3.3,-4.1 3.8,-5.6 5.1,-16.4 -19.5,-41.2 -46.7,-63.9 -22.8,-19 -23.3,-18.1 -28.6,-21.5 -0.8,-0.5 -2,-1.3 -2.4,-3.8 -0.4,-2 1.3,-4.2 1.4,-5.8 0.9,-5.9 -7.2,-10.4 -14.7,-14.2 -5.8,-2.9 -17.3,-6.4 -23.6,-1.4 -13.5,10.8 -2.9,39.9 3,36.6 1.3,-0.6 3.1,-1.9 4.6,-0.9 z" class="st12" id="XMLID_878_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 377.4,353.4 c 1.6,1 1.6,3.7 1.6,4.1 0.1,5.1 13,31.1 38.3,53.1 19,16.5 55.9,40.1 68.5,29.6 2.2,-2 3,-4.5 3.5,-6.2 5.6,-18.5 -21.9,-42.4 -30.2,-49.6 -26.6,-23.1 -42.1,-36.5 -48,-40.4 -0.8,-0.5 -3.5,-2.2 -4.1,-5.1 -0.4,-2.2 0.8,-3.4 1,-5.1 0.7,-5.1 -8,-11 -14.3,-13.8 -4.9,-2.1 -15.7,-6.8 -23,-1.6 -11.4,8.3 -4.1,33.7 1.6,34.8 1.4,0.5 3.4,-1 5.1,0.2 z" class="st3" id="XMLID_879_" /></g><g id="Penis_5_1_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 396.6,366.1 c 1.2,0.8 1.2,2.9 1.2,3.2 0,6.2 11.8,27.5 22.6,38 32.5,31.5 64.6,39.6 61.4,25.2 -0.4,-2.2 2.7,-3.4 3.1,-4.7 4.2,-13.5 -16.1,-34 -38.6,-52.7 -18.8,-15.7 -19.3,-14.9 -23.6,-17.8 -0.6,-0.4 -1.6,-1.1 -1.9,-3.1 -0.3,-1.6 1.1,-3.5 1.2,-4.8 0.8,-4.9 -6,-8.6 -12.1,-11.7 -4.8,-2.4 -14.3,-5.3 -19.5,-1.2 -11.2,8.9 -2.4,32.9 2.5,30.2 1,-0.3 2.6,-1.4 3.7,-0.6 z" class="st12" id="XMLID_880_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 396.4,366.1 c 1.3,0.9 1.3,3 1.3,3.4 0.1,4.2 10.7,25.7 31.6,43.9 15.7,13.6 46.1,33.1 56.5,24.5 1.8,-1.6 2.5,-3.7 2.9,-5.1 4.7,-15.3 -18.1,-35 -24.9,-40.9 -22,-19.1 -34.8,-30.1 -39.6,-33.4 -0.6,-0.4 -2.9,-1.8 -3.4,-4.2 -0.3,-1.8 0.6,-2.8 0.9,-4.2 0.5,-4.2 -6.6,-9.1 -11.8,-11.4 -4,-1.7 -13,-5.6 -19,-1.3 -9.4,6.8 -3.4,27.8 1.3,28.7 1.2,0.3 2.8,-0.9 4.2,0 z" class="st3" id="XMLID_881_" /></g><g id="Penis_4_1_"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 413.3,379.4 c 1,0.6 1,2.4 1,2.7 0,5.1 9.7,22.6 18.6,31.2 26.7,25.9 53,32.5 50.4,20.7 -0.4,-1.8 2.2,-2.8 2.6,-3.8 3.5,-11.1 -13.2,-27.9 -31.6,-43.3 -15.5,-12.9 -15.8,-12.3 -19.4,-14.6 -0.5,-0.4 -1.3,-0.9 -1.6,-2.6 -0.3,-1.3 0.9,-2.8 1,-3.9 0.6,-4 -4.9,-7 -10,-9.6 -3.9,-2 -11.7,-4.4 -16,-1 -9.2,7.3 -2,27 2,24.8 0.8,-0.4 2,-1.3 3,-0.6 z" class="st12" id="XMLID_882_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 413.1,379.4 c 1.1,0.7 1.1,2.5 1.1,2.8 0.1,3.5 8.8,21.1 25.9,36 12.9,11.2 37.9,27.2 46.4,20.1 1.5,-1.3 2,-3 2.4,-4.2 3.8,-12.5 -14.8,-28.7 -20.4,-33.6 -18,-15.6 -28.5,-24.7 -32.5,-27.4 -0.5,-0.4 -2.4,-1.5 -2.8,-3.5 -0.3,-1.5 0.5,-2.3 0.7,-3.5 0.4,-3.5 -5.4,-7.5 -9.7,-9.3 -3.3,-1.4 -10.7,-4.6 -15.6,-1.1 -7.7,5.6 -2.8,22.8 1.1,23.5 0.9,0.4 2.3,-0.6 3.4,0.2 z" class="st3" id="XMLID_883_" /></g><g id="Penis_3"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 430.3,392.5 c 0.7,0.5 0.8,1.9 0.8,2.1 0,4 7.6,17.9 14.7,24.6 21.1,20.4 41.9,25.7 39.8,16.4 -0.3,-1.4 1.8,-2.1 2,-3 2.7,-8.8 -10.5,-22 -25,-34.2 -12.3,-10.2 -12.5,-9.7 -15.4,-11.6 -0.4,-0.3 -1,-0.7 -1.2,-2 -0.2,-1.1 0.7,-2.2 0.8,-3.1 0.4,-3.2 -3.9,-5.5 -7.9,-7.6 -3.1,-1.6 -9.2,-3.5 -12.6,-0.8 -7.2,5.8 -1.6,21.3 1.6,19.6 0.6,-0.3 1.6,-1 2.4,-0.4 z" class="st12" id="XMLID_884_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 430.2,392.5 c 0.8,0.6 0.8,2 0.8,2.1 0.1,2.7 6.8,16.4 20.3,28.1 10.1,8.8 29.6,21.2 36.2,15.6 1.2,-1 1.6,-2.3 1.9,-3.2 3,-9.8 -11.6,-22.4 -15.9,-26.2 -14,-12.2 -22.2,-19.3 -25.4,-21.3 -0.4,-0.3 -1.9,-1.2 -2.1,-2.7 -0.2,-1.2 0.4,-1.8 0.5,-2.7 0.4,-2.8 -4.3,-5.9 -7.6,-7.3 -2.6,-1.1 -8.3,-3.6 -12.2,-0.8 -6,4.4 -2.1,17.9 0.8,18.4 0.8,0.1 1.9,-0.7 2.7,0 z" class="st3" id="XMLID_885_" /></g><g id="Penis_2"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 446.2,405.6 c 0.5,0.4 0.5,1.3 0.5,1.5 0,2.8 5.5,12.7 10.5,17.6 15,14.6 29.9,18.3 28.4,11.7 -0.2,-1 1.2,-1.5 1.4,-2.1 2,-6.3 -7.5,-15.7 -17.9,-24.4 -8.7,-7.3 -9,-6.9 -10.9,-8.3 -0.3,-0.2 -0.7,-0.5 -0.9,-1.5 -0.2,-0.7 0.4,-1.6 0.5,-2.2 0.4,-2.3 -2.8,-4 -5.6,-5.4 -2.2,-1.2 -6.7,-2.5 -9.1,-0.5 -5.2,4.1 -1.2,15.3 1.2,14 0.6,-0.2 1.3,-0.7 1.9,-0.4 z" class="st12" id="XMLID_886_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 446.5,406.1 c 0.6,0.4 0.5,1.3 0.5,1.5 0,1.9 4.9,11.6 14.3,19.9 7.1,6.2 21,15 25.6,11.1 0.9,-0.7 1.2,-1.7 1.3,-2.3 2.1,-6.9 -8.2,-15.9 -11.3,-18.6 -10,-8.6 -15.7,-13.7 -17.9,-15.1 -0.3,-0.2 -1.3,-0.8 -1.5,-2 -0.2,-0.8 0.3,-1.2 0.4,-2 0.3,-2 -3,-4.2 -5.3,-5.2 -1.8,-0.8 -5.9,-2.6 -8.6,-0.5 -4.3,3.1 -1.5,12.6 0.5,13 0.5,0.3 1.3,-0.2 2,0.2 z" class="st3" id="XMLID_887_" /></g><g id="Penis_1"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 462.5,418.4 c 0.4,0.3 0.4,0.8 0.4,1 0,1.8 2.4,7.6 6.3,11.2 9.7,8.8 18.8,11.3 17.9,7.1 -0.2,-0.6 0.8,-1 0.9,-1.3 0.8,-3 -4.1,-10 -10.7,-15.3 -5.5,-4.4 -6,-4.3 -7.3,-5.1 -0.2,-0.1 -0.4,-0.3 -0.5,-0.9 -0.1,-0.4 0.3,-1 0.4,-1.3 0.2,-1.4 -1.8,-2.5 -3.6,-3.4 -1.4,-0.7 -4.2,-1.5 -5.6,-0.4 -3.2,2.6 -1.1,9.7 0.7,8.7 0.3,-0.2 0.7,-0.6 1.1,-0.3 z" class="st12" id="XMLID_888_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 462.5,418.6 c 0.4,0.3 0.4,0.9 0.4,1 0,1.2 3,7.3 9,12.4 4.4,3.9 13.1,9.3 16,6.9 0.5,-0.4 0.7,-1.1 0.8,-1.4 1.3,-4.3 -5.1,-9.9 -7,-11.6 -6.2,-5.4 -9.9,-8.5 -11.2,-9.4 -0.2,-0.1 -0.8,-0.5 -1,-1.2 -0.1,-0.5 0.2,-0.8 0.3,-1.2 0.2,-1.2 -1.9,-2.6 -3.4,-3.2 -1.2,-0.4 -3.6,-1.6 -5.3,-0.4 -2.7,2 -1,7.9 0.4,8.1 0.2,0.1 0.7,-0.3 1,0 z" class="st3" id="XMLID_889_" /></g><g id="Penis_0"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 472.9,426.4 c 0.2,0.1 0.2,0.4 0.2,0.5 0,1 1.5,4.4 3.3,6 4.8,4.2 10.2,6.1 9.7,3.9 -0.1,-0.4 0.4,-0.5 0.4,-0.7 0.6,-2.1 -2.1,-5.3 -5.6,-8.3 -2.9,-2.5 -3.4,-2.2 -4,-2.7 -0.1,-0.1 -0.3,-0.2 -0.3,-0.5 -0.1,-0.3 0.2,-0.5 0.2,-0.7 0.1,-0.8 -0.9,-1.3 -1.9,-1.8 -0.7,-0.4 -2.2,-0.8 -3,-0.2 -1.7,1.3 -0.7,5.3 0.4,4.7 0.2,-0.1 0.4,-0.3 0.6,-0.2 z" class="st12" id="XMLID_890_" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 473,426.5 c 0.2,0.2 0.2,0.4 0.2,0.5 0,0.6 1.6,3.9 4.8,6.6 2.4,2 6.9,5 8.5,3.6 0.3,-0.3 0.4,-0.5 0.4,-0.8 0.7,-2.3 -2.8,-5.2 -3.7,-6.1 -3.3,-2.8 -5.2,-4.5 -6,-5 -0.1,-0.1 -0.4,-0.3 -0.5,-0.6 -0.1,-0.3 0.1,-0.4 0.1,-0.6 0.1,-0.6 -1,-1.3 -1.8,-1.7 -0.6,-0.3 -2,-0.8 -2.8,-0.2 -1.4,1.1 -0.5,4.2 0.2,4.4 0.2,0 0.4,-0.2 0.6,-0.1 z" class="st3" id="XMLID_891_" /></g></g><g id="Head"><path style="fill:#010101" inkscape:connector-curvature="0" d="m 543.2,161.2 c 6,-14.4 8.4,-24.7 10.6,-40.1 4.5,-31.3 -16.1,-52.4 -42.5,-43.9 -38.8,10 -27.5,43.7 -26.2,53.7 -6.7,16.4 6,48.7 20.8,53.5 14.6,-1.9 28.9,-5.9 37.3,-23.2 z" class="st12" id="Head_Shadow" /><path style="fill:#f6e0e8" inkscape:connector-curvature="0" d="m 543.4,161.2 c 6,-14.4 8.4,-24.7 10.6,-40.1 4.5,-31.3 -16.1,-52.4 -42.5,-43.9 -34.2,11 -29.4,33.1 -26.2,53.7 -6.1,16.8 6.9,48.7 20.7,53.1 10.1,-1.7 28.3,-4.2 37.4,-22.8 z" class="st3" id="Head_1_" /></g><path style="fill:#515351" inkscape:connector-curvature="0" d="m 543.4,161.2 c 6,-14.4 8.4,-24.7 10.6,-40.1 4.5,-31.3 -16.1,-52.4 -42.5,-43.9 -34.2,11 -29.4,33.1 -26.2,53.7 -6.1,16.8 6.9,48.7 20.7,53.1 10.1,-1.7 28.3,-4.2 37.4,-22.8 z" class="st4" id="Head_Latex" /><g id="Gag"><path style="opacity:0.23999999;fill:#bf2126;enable-background:new" inkscape:connector-curvature="0" d="m 498,167.3 c 2.6,3.9 7.6,0.9 14,5.1 7.8,5 8.1,14 13.2,14 1.7,0 3.5,-1 4.3,-2.4 4.5,-7.7 -18.1,-34.7 -27.5,-31.1 -4.4,1.7 -6.7,10.2 -4,14.4 z" class="st22" id="XMLID_867_" /><polygon style="fill:#070505" points="541.3,165 489,163.9 486.4,157.1 545.1,157.1 " class="st23" id="XMLID_892_" /><ellipse style="fill:#bf2126" ry="8.6999998" rx="7.5999999" cy="161.10001" cx="502.79999" class="st24" id="XMLID_893_" /></g><path style="fill:#010101" inkscape:connector-curvature="0" d="m 485.9,131 c -0.2,1 -0.3,3 0.9,4.5 1.2,1.4 3.1,1.6 7.1,1.9 4.4,0.3 6.7,0.4 8.1,-0.8 1.8,-1.5 2,-4.1 2,-5.5 0.9,0 1.7,0 2.6,-0.1 1,0 1.9,0 2.8,0 -0.3,1.5 -0.6,4.5 1.2,6.6 0.8,0.9 2.2,2 11.3,1.7 10.9,-0.3 12.4,-1.8 12.9,-2.7 1.1,-1.8 0.7,-4 0.3,-5.5 5.7,0 11.4,-0.1 17.1,-0.1 v 2.1 L 536.6,133 c 0.1,1.2 0.1,2.9 -0.9,4.4 -0.6,1 -2.3,2.8 -13.6,2.9 -9.9,0.2 -11.5,-1.2 -12.3,-2.2 -1.4,-1.7 -1.5,-3.9 -1.3,-5.4 -0.9,0 -2.7,0 -3.6,0 -0.1,1.1 -0.4,3 -1.8,4.4 -1.7,1.6 -4.2,1.5 -9.1,1.2 -4.3,-0.3 -6.5,-0.4 -7.7,-2.1 -0.9,-1.2 -0.9,-2.7 -0.8,-3.6 0.1,-0.4 0.2,-0.9 0.4,-1.6 z" class="st12" id="Glasses" /><g id="Hair_Fore_1_"><path style="fill:#f4f1a3" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st5" id="Hair_Blonde" /><path style="fill:#8e4f21" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st6" id="Hair_Brown" /><path style="fill:#bc2027" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st7" id="Hair_Red" /><path style="fill:#60bb46" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st8" id="Hair_Green" /><path style="fill:#4686c6" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st9" id="Hair_Blue" /><path style="fill:#d28dbd" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st10" id="Hair_Pink" /><path style="fill:#3f403f" inkscape:connector-curvature="0" d="m 484.6,101.6 c 5.1,7.6 15,14 52.5,7.3 18.7,5.2 2.6,37.9 1.1,61 -1.3,19.3 -7.8,36.4 -18.9,51.5 17.1,-12.2 36.2,-10.4 50.8,-41.2 41.1,-23.4 -1.2,-125.9 -49.9,-115.4 -33,7.1 -33.1,19.4 -35.6,36.8 z" class="st11" id="Hair_Black" /></g></svg>
r3d/fc
vector source.svg
svg
bsd-3-clause
145,770
Pull Requests and Issues are both welcome. # Responsiveness General priority order is: * Crashes * Security issues in stb_image * Bugs * Security concerns in other libs * Warnings * Enhancements (new features, performance improvement, etc) Pull requests get priority over Issues. Some pull requests I take as written; some I modify myself; some I will request changes before accepting them. Because I've ended up supporting a lot of libraries (20 as I write this, with more on the way), I am somewhat slow to address things. Many issues have been around for a long time. # Pull requests * Make sure you're using a special branch just for this pull request. (Sometimes people unknowingly use a default branch, then later update that branch, which updates the pull request with the other changes if it hasn't been merged yet.) * Do NOT update the version number in the file. (This just causes conflicts.) * Do add your name to the list of contributors. (Don't worry about the formatting.) I'll try to remember to add it if you don't, but I sometimes forget as it's an extra step. * Your change needs to compile as both C and C++. Pre-C99 compilers should be supported (e.g. declare at start of block) # Specific libraries I generally do not want new file formats for stb_image because we are trying to improve its security, so increasing its attack surface is counter-productive.
orochi/stb
.github/CONTRIBUTING.md
Markdown
mit
1,387
--- name: Bug report about: if you're having trouble using a library, try the support forum instead title: '' labels: '' assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem.
orochi/stb
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
mit
502
contact_links: - name: support forum url: https://github.com/nothings/stb/discussions/categories/q-a about: having trouble using an stb library? don't create an issue, post in the forum
orochi/stb
.github/ISSUE_TEMPLATE/config.yml
YAML
mit
196
--- name: Feature request about: Suggest an idea for this project title: '' labels: 4 enhancement assignees: '' --- **Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd like** A clear and concise description of what you want to happen. **Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered. **Additional context** Add any other context or screenshots about the feature request here.
orochi/stb
.github/ISSUE_TEMPLATE/feature_request.md
Markdown
mit
606
* Delete this list before clicking CREATE PULL REQUEST * Make sure you're using a special branch just for this pull request. (Sometimes people unknowingly use a default branch, then later update that branch, which updates the pull request with the other changes if it hasn't been merged yet.) * Do NOT update the version number in the file. (This just causes conflicts.) * Do add your name to the list of contributors. (Don't worry about the formatting.) I'll try to remember to add it if you don't, but I sometimes forget as it's an extra step. If you get something above wrong, don't fret it, it's not the end of the world.
orochi/stb
.github/PULL_REQUEST_TEMPLATE.md
Markdown
mit
627
name: CIFuzz on: [pull_request] jobs: Fuzzing: runs-on: ubuntu-latest steps: - name: Build Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master with: oss-fuzz-project-name: 'stb' dry-run: false - name: Run Fuzzers uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master with: oss-fuzz-project-name: 'stb' fuzz-seconds: 900 dry-run: false - name: Upload Crash uses: actions/upload-artifact@v1 if: failure() with: name: artifacts path: ./out/artifacts
orochi/stb
.github/workflows/ci-fuzz.yml
YAML
mit
595
*.o *.obj *.exe
orochi/stb
.gitignore
Git
mit
16
language: C arch: - AMD64 - ppc64le install: true script: - cd tests - make all
orochi/stb
.travis.yml
YAML
mit
88
<!--- THIS FILE IS AUTOMATICALLY GENERATED, DO NOT CHANGE IT BY HAND ---> stb === single-file public domain (or MIT licensed) libraries for C/C++ Noteworthy: * image loader: [stb_image.h](stb_image.h) * image writer: [stb_image_write.h](stb_image_write.h) * image resizer: [stb_image_resize.h](stb_image_resize.h) * font text rasterizer: [stb_truetype.h](stb_truetype.h) * typesafe containers: [stb_ds.h](stb_ds.h) Most libraries by stb, except: stb_dxt by Fabian "ryg" Giesen, stb_image_resize by Jorge L. "VinoBS" Rodriguez, and stb_sprintf by Jeff Roberts. <a name="stb_libs"></a> library | lastest version | category | LoC | description --------------------- | ---- | -------- | --- | -------------------------------- **[stb_vorbis.c](stb_vorbis.c)** | 1.22 | audio | 5584 | decode ogg vorbis files from file/memory to float/16-bit signed output **[stb_hexwave.h](stb_hexwave.h)** | 0.5 | audio | 680 | audio waveform synthesizer **[stb_image.h](stb_image.h)** | 2.28 | graphics | 7987 | image loading/decoding from file/memory: JPG, PNG, TGA, BMP, PSD, GIF, HDR, PIC **[stb_truetype.h](stb_truetype.h)** | 1.26 | graphics | 5077 | parse, decode, and rasterize characters from truetype fonts **[stb_image_write.h](stb_image_write.h)** | 1.16 | graphics | 1724 | image writing to disk: PNG, TGA, BMP **[stb_image_resize.h](stb_image_resize.h)** | 0.97 | graphics | 2634 | resize images larger/smaller with good quality **[stb_rect_pack.h](stb_rect_pack.h)** | 1.01 | graphics | 623 | simple 2D rectangle packer with decent quality **[stb_perlin.h](stb_perlin.h)** | 0.5 | graphics | 428 | perlin's revised simplex noise w/ different seeds **[stb_ds.h](stb_ds.h)** | 0.67 | utility | 1895 | typesafe dynamic array and hash tables for C, will compile in C++ **[stb_sprintf.h](stb_sprintf.h)** | 1.10 | utility | 1906 | fast sprintf, snprintf for C/C++ **[stb_textedit.h](stb_textedit.h)** | 1.14 | user&nbsp;interface | 1429 | guts of a text editor for games etc implementing them from scratch **[stb_voxel_render.h](stb_voxel_render.h)** | 0.89 | 3D&nbsp;graphics | 3807 | Minecraft-esque voxel rendering "engine" with many more features **[stb_dxt.h](stb_dxt.h)** | 1.12 | 3D&nbsp;graphics | 719 | Fabian "ryg" Giesen's real-time DXT compressor **[stb_easy_font.h](stb_easy_font.h)** | 1.1 | 3D&nbsp;graphics | 305 | quick-and-dirty easy-to-deploy bitmap font for printing frame rate, etc **[stb_tilemap_editor.h](stb_tilemap_editor.h)** | 0.42 | game&nbsp;dev | 4187 | embeddable tilemap editor **[stb_herringbone_wa...](stb_herringbone_wang_tile.h)** | 0.7 | game&nbsp;dev | 1221 | herringbone Wang tile map generator **[stb_c_lexer.h](stb_c_lexer.h)** | 0.12 | parsing | 940 | simplify writing parsers for C-like languages **[stb_divide.h](stb_divide.h)** | 0.94 | math | 433 | more useful 32-bit modulus e.g. "euclidean divide" **[stb_connected_comp...](stb_connected_components.h)** | 0.96 | misc | 1049 | incrementally compute reachability on grids **[stb_leakcheck.h](stb_leakcheck.h)** | 0.6 | misc | 194 | quick-and-dirty malloc/free leak-checking **[stb_include.h](stb_include.h)** | 0.02 | misc | 295 | implement recursive #include support, particularly for GLSL Total libraries: 21 Total lines of C code: 43117 FAQ --- #### What's the license? These libraries are in the public domain. You can do anything you want with them. You have no legal obligation to do anything else, although I appreciate attribution. They are also licensed under the MIT open source license, if you have lawyers who are unhappy with public domain. Every source file includes an explicit dual-license for you to choose from. #### How do I use these libraries? The idea behind single-header file libraries is that they're easy to distribute and deploy because all the code is contained in a single file. By default, the .h files in here act as their own header files, i.e. they declare the functions contained in the file but don't actually result in any code getting compiled. So in addition, you should select _exactly one_ C/C++ source file that actually instantiates the code, preferably a file you're not editing frequently. This file should define a specific macro (this is documented per-library) to actually enable the function definitions. For example, to use stb_image, you should have exactly one C/C++ file that doesn't include stb_image.h regularly, but instead does #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" The right macro to define is pointed out right at the top of each of these libraries. #### <a name="other_libs"></a> Are there other single-file public-domain/open source libraries with minimal dependencies out there? [Yes.](https://github.com/nothings/single_file_libs) #### If I wrap an stb library in a new library, does the new library have to be public domain/MIT? No, because it's public domain you can freely relicense it to whatever license your new library wants to be. #### What's the deal with SSE support in GCC-based compilers? stb_image will either use SSE2 (if you compile with -msse2) or will not use any SIMD at all, rather than trying to detect the processor at runtime and handle it correctly. As I understand it, the approved path in GCC for runtime-detection require you to use multiple source files, one for each CPU configuration. Because stb_image is a header-file library that compiles in only one source file, there's no approved way to build both an SSE-enabled and a non-SSE-enabled variation. While we've tried to work around it, we've had multiple issues over the years due to specific versions of gcc breaking what we're doing, so we've given up on it. See https://github.com/nothings/stb/issues/280 and https://github.com/nothings/stb/issues/410 for examples. #### Some of these libraries seem redundant to existing open source libraries. Are they better somehow? Generally they're only better in that they're easier to integrate, easier to use, and easier to release (single file; good API; no attribution requirement). They may be less featureful, slower, and/or use more memory. If you're already using an equivalent library, there's probably no good reason to switch. #### Can I link directly to the table of stb libraries? You can use [this URL](https://github.com/nothings/stb#stb_libs) to link directly to that list. #### Why do you list "lines of code"? It's a terrible metric. Just to give you some idea of the internal complexity of the library, to help you manage your expectations, or to let you know what you're getting into. While not all the libraries are written in the same style, they're certainly similar styles, and so comparisons between the libraries are probably still meaningful. Note though that the lines do include both the implementation, the part that corresponds to a header file, and the documentation. #### Why single-file headers? Windows doesn't have standard directories where libraries live. That makes deploying libraries in Windows a lot more painful than open source developers on Unix-derivates generally realize. (It also makes library dependencies a lot worse in Windows.) There's also a common problem in Windows where a library was built against a different version of the runtime library, which causes link conflicts and confusion. Shipping the libs as headers means you normally just compile them straight into your project without making libraries, thus sidestepping that problem. Making them a single file makes it very easy to just drop them into a project that needs them. (Of course you can still put them in a proper shared library tree if you want.) Why not two files, one a header and one an implementation? The difference between 10 files and 9 files is not a big deal, but the difference between 2 files and 1 file is a big deal. You don't need to zip or tar the files up, you don't have to remember to attach *two* files, etc. #### Why "stb"? Is this something to do with Set-Top Boxes? No, they are just the initials for my name, Sean T. Barrett. This was not chosen out of egomania, but as a moderately sane way of namespacing the filenames and source function names. #### Will you add more image types to stb_image.h? No. As stb_image use has grown, it has become more important for us to focus on security of the codebase. Adding new image formats increases the amount of code we need to secure, so it is no longer worth adding new formats. #### Do you have any advice on how to create my own single-file library? Yes. https://github.com/nothings/stb/blob/master/docs/stb_howto.txt #### Why public domain? I prefer it over GPL, LGPL, BSD, zlib, etc. for many reasons. Some of them are listed here: https://github.com/nothings/stb/blob/master/docs/why_public_domain.md #### Why C? Primarily, because I use C, not C++. But it does also make it easier for other people to use them from other languages. #### Why not C99? stdint.h, declare-anywhere, etc. I still use MSVC 6 (1998) as my IDE because it has better human factors for me than later versions of MSVC.
orochi/stb
README.md
Markdown
mit
9,042
#ifndef RR_SPRINTF_H_INCLUDE #define RR_SPRINTF_H_INCLUDE /* Single file sprintf replacement. Originally written by Jeff Roberts at RAD Game Tools - 2015/10/20. Hereby placed in public domain. This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it's *much* faster (see below). It's also much smaller than the CRT versions code-space-wise. We've also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define RR_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do it's work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K. API: ==== int rrsprintf( char * buf, char const * fmt, ... ) int rrsnprintf( char * buf, int count, char const * fmt, ... ) Convert an arg list into a buffer. rrsnprintf always returns a zero-terminated string (unlike regular snprintf). int rrvsprintf( char * buf, char const * fmt, va_list va ) int rrvsnprintf( char * buf, int count, char const * fmt, va_list va ) Convert a va_list arg list into a buffer. rrvsnprintf always returns a zero-terminated string (unlike regular snprintf). int rrvsprintfcb( RRSPRINTFCB * callback, void * user, char * buf, char const * fmt, va_list va ) typedef char * RRSPRINTFCB( char const * buf, void * user, int len ); Convert into a buffer, calling back every RR_SPRINTF_MIN chars. Your callback can then copy the chars out, print them or whatever. This function is actually the workhorse for everything else. The buffer you pass in must hold at least RR_SPRINTF_MIN characters. // you return the next buffer to use or 0 to stop converting void rrsetseparators( char comma, char period ) Set the comma and period characters to use. FLOATS/DOUBLES: =============== This code uses a internal float->ascii conversion method that uses doubles with error correction (double-doubles, for ~105 bits of precision). This conversion is round-trip perfect - that is, an atof of the values output here will give you the bit-exact double back. One difference is that our insignificant digits will be different than with MSVC or GCC (but they don't match each other either). We also don't attempt to find the minimum length matching float (pre-MSVC15 doesn't either). If you don't need float or doubles at all, define RR_SPRINTF_NOFLOAT and you'll save 4K of code space. 64-BIT INTS: ============ This library also supports 64-bit integers and you can use MSVC style or GCC style indicators (%I64d or %lld). It supports the C99 specifiers for size_t and ptr_diff_t (%jd %zd) as well. EXTRAS: ======= Like some GCCs, for integers and floats, you can use a ' (single quote) specifier and commas will be inserted on the thousands: "%'d" on 12345 would print 12,345. For integers and floats, you can use a "$" specifier and the number will be converted to float and then divided to get kilo, mega, giga or tera and then printed, so "%$d" 1024 is "1.0 k", "%$.2d" 2536000 is "2.42 m", etc. In addition to octal and hexadecimal conversions, you can print integers in binary: "%b" for 256 would print 100. PERFORMANCE vs MSVC 2008 32-/64-bit (GCC is even slower than MSVC): =================================================================== "%d" across all 32-bit ints (4.8x/4.0x faster than 32-/64-bit MSVC) "%24d" across all 32-bit ints (4.5x/4.2x faster) "%x" across all 32-bit ints (4.5x/3.8x faster) "%08x" across all 32-bit ints (4.3x/3.8x faster) "%f" across e-10 to e+10 floats (7.3x/6.0x faster) "%e" across e-10 to e+10 floats (8.1x/6.0x faster) "%g" across e-10 to e+10 floats (10.0x/7.1x faster) "%f" for values near e-300 (7.9x/6.5x faster) "%f" for values near e+300 (10.0x/9.1x faster) "%e" for values near e-300 (10.1x/7.0x faster) "%e" for values near e+300 (9.2x/6.0x faster) "%.320f" for values near e-300 (12.6x/11.2x faster) "%a" for random values (8.6x/4.3x faster) "%I64d" for 64-bits with 32-bit values (4.8x/3.4x faster) "%I64d" for 64-bits > 32-bit values (4.9x/5.5x faster) "%s%s%s" for 64 char strings (7.1x/7.3x faster) "...512 char string..." ( 35.0x/32.5x faster!) */ #ifdef RR_SPRINTF_STATIC #define RRPUBLIC_DEC static #define RRPUBLIC_DEF static #else #ifdef __cplusplus #define RRPUBLIC_DEC extern "C" #define RRPUBLIC_DEF extern "C" #else #define RRPUBLIC_DEC extern #define RRPUBLIC_DEF #endif #endif #include <stdarg.h> // for va_list() #ifndef RR_SPRINTF_MIN #define RR_SPRINTF_MIN 512 // how many characters per callback #endif typedef char * RRSPRINTFCB( char * buf, void * user, int len ); #ifndef RR_SPRINTF_DECORATE #define RR_SPRINTF_DECORATE(name) rr##name // define this before including if you want to change the names #endif #ifndef RR_SPRINTF_IMPLEMENTATION RRPUBLIC_DEF int RR_SPRINTF_DECORATE( vsprintf )( char * buf, char const * fmt, va_list va ); RRPUBLIC_DEF int RR_SPRINTF_DECORATE( vsnprintf )( char * buf, int count, char const * fmt, va_list va ); RRPUBLIC_DEF int RR_SPRINTF_DECORATE( sprintf ) ( char * buf, char const * fmt, ... ); RRPUBLIC_DEF int RR_SPRINTF_DECORATE( snprintf )( char * buf, int count, char const * fmt, ... ); RRPUBLIC_DEF int RR_SPRINTF_DECORATE( vsprintfcb )( RRSPRINTFCB * callback, void * user, char * buf, char const * fmt, va_list va ); RRPUBLIC_DEF void RR_SPRINTF_DECORATE( setseparators )( char comma, char period ); #else #include <stdlib.h> // for va_arg() #define rU32 unsigned int #define rS32 signed int #ifdef _MSC_VER #define rU64 unsigned __int64 #define rS64 signed __int64 #else #define rU64 unsigned long long #define rS64 signed long long #endif #define rU16 unsigned short #ifndef rUINTa #if defined(__ppc64__) || defined(__aarch64__) || defined(_M_X64) || defined(__x86_64__) || defined(__x86_64) #define rUINTa rU64 #else #define rUINTa rU32 #endif #endif #ifndef RR_SPRINTF_MSVC_MODE // used for MSVC2013 and earlier (MSVC2015 matches GCC) #if defined(_MSC_VER) && (_MSC_VER<1900) #define RR_SPRINTF_MSVC_MODE #endif #endif #ifdef RR_SPRINTF_NOUNALIGNED // define this before inclusion to force rrsprint to always use aligned accesses #define RR_UNALIGNED(code) #else #define RR_UNALIGNED(code) code #endif #ifndef RR_SPRINTF_NOFLOAT // internal float utility functions static rS32 rrreal_to_str( char const * * start, rU32 * len, char *out, rS32 * decimal_pos, double value, rU32 frac_digits ); static rS32 rrreal_to_parts( rS64 * bits, rS32 * expo, double value ); #define RRSPECIAL 0x7000 #endif static char RRperiod='.'; static char RRcomma=','; static char rrdiglookup[201]="00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899"; RRPUBLIC_DEF void RR_SPRINTF_DECORATE( setseparators )( char pcomma, char pperiod ) { RRperiod=pperiod; RRcomma=pcomma; } RRPUBLIC_DEF int RR_SPRINTF_DECORATE( vsprintfcb )( RRSPRINTFCB * callback, void * user, char * buf, char const * fmt, va_list va ) { static char hex[]="0123456789abcdefxp"; static char hexu[]="0123456789ABCDEFXP"; char * bf; char const * f; int tlen = 0; bf = buf; f = fmt; for(;;) { rS32 fw,pr,tz; rU32 fl; #define LJ 1 #define LP 2 #define LS 4 #define LX 8 #define LZ 16 #define BI 32 #define CS 64 #define NG 128 #define KI 256 #define HW 512 // macros for the callback buffer stuff #define chk_cb_bufL(bytes) { int len = (int)(bf-buf); if ((len+(bytes))>=RR_SPRINTF_MIN) { tlen+=len; if (0==(bf=buf=callback(buf,user,len))) goto done; } } #define chk_cb_buf(bytes) { if ( callback ) { chk_cb_bufL(bytes); } } #define flush_cb() { chk_cb_bufL(RR_SPRINTF_MIN-1); } //flush if there is even one byte in the buffer #define cb_buf_clamp(cl,v) cl = v; if ( callback ) { int lg = RR_SPRINTF_MIN-(int)(bf-buf); if (cl>lg) cl=lg; } // fast copy everything up to the next % (or end of string) for(;;) { while (((rUINTa)f)&3) { schk1: if (f[0]=='%') goto scandd; schk2: if (f[0]==0) goto endfmt; chk_cb_buf(1); *bf++=f[0]; ++f; } for(;;) { rU32 v,c; v=*(rU32*)f; c=(~v)&0x80808080; if ((v-0x26262626)&c) goto schk1; if ((v-0x01010101)&c) goto schk2; if (callback) if ((RR_SPRINTF_MIN-(int)(bf-buf))<4) goto schk1; *(rU32*)bf=v; bf+=4; f+=4; } } scandd: ++f; // ok, we have a percent, read the modifiers first fw = 0; pr = -1; fl = 0; tz = 0; // flags for(;;) { switch(f[0]) { // if we have left just case '-': fl|=LJ; ++f; continue; // if we have leading plus case '+': fl|=LP; ++f; continue; // if we have leading space case ' ': fl|=LS; ++f; continue; // if we have leading 0x case '#': fl|=LX; ++f; continue; // if we have thousand commas case '\'': fl|=CS; ++f; continue; // if we have kilo marker case '$': fl|=KI; ++f; continue; // if we have leading zero case '0': fl|=LZ; ++f; goto flags_done; default: goto flags_done; } } flags_done: // get the field width if ( f[0] == '*' ) {fw = va_arg(va,rU32); ++f;} else { while (( f[0] >= '0' ) && ( f[0] <= '9' )) { fw = fw * 10 + f[0] - '0'; f++; } } // get the precision if ( f[0]=='.' ) { ++f; if ( f[0] == '*' ) {pr = va_arg(va,rU32); ++f;} else { pr = 0; while (( f[0] >= '0' ) && ( f[0] <= '9' )) { pr = pr * 10 + f[0] - '0'; f++; } } } // handle integer size overrides switch(f[0]) { // are we halfwidth? case 'h': fl|=HW; ++f; break; // are we 64-bit (unix style) case 'l': ++f; if ( f[0]=='l') { fl|=BI; ++f; } break; // are we 64-bit on intmax? (c99) case 'j': fl|=BI; ++f; break; // are we 64-bit on size_t or ptrdiff_t? (c99) case 'z': case 't': fl|=((sizeof(char*)==8)?BI:0); ++f; break; // are we 64-bit (msft style) case 'I': if ( ( f[1]=='6') && ( f[2]=='4') ) { fl|=BI; f+=3; } else if ( ( f[1]=='3') && ( f[2]=='2') ) { f+=3; } else { fl|=((sizeof(void*)==8)?BI:0); ++f; } break; default: break; } // handle each replacement switch( f[0] ) { #define NUMSZ 512 // big enough for e308 (with commas) or e-307 char num[NUMSZ]; char lead[8]; char tail[8]; char *s; char const *h; rU32 l,n,cs; rU64 n64; #ifndef RR_SPRINTF_NOFLOAT double fv; #endif rS32 dp; char const * sn; case 's': // get the string s = va_arg(va,char*); if (s==0) s = (char*)"null"; // get the length sn = s; for(;;) { if ((((rUINTa)sn)&3)==0) break; lchk: if (sn[0]==0) goto ld; ++sn; } n = 0xffffffff; if (pr>=0) { n=(rU32)(sn-s); if (n>=(rU32)pr) goto ld; n=((rU32)(pr-n))>>2; } while(n) { rU32 v=*(rU32*)sn; if ((v-0x01010101)&(~v)&0x80808080UL) goto lchk; sn+=4; --n; } goto lchk; ld: l = (rU32) ( sn - s ); // clamp to precision if ( l > (rU32)pr ) l = pr; lead[0]=0; tail[0]=0; pr = 0; dp = 0; cs = 0; // copy the string in goto scopy; case 'c': // char // get the character s = num + NUMSZ -1; *s = (char)va_arg(va,int); l = 1; lead[0]=0; tail[0]=0; pr = 0; dp = 0; cs = 0; goto scopy; case 'n': // weird write-bytes specifier { int * d = va_arg(va,int*); *d = tlen + (int)( bf - buf ); } break; #ifdef RR_SPRINTF_NOFLOAT case 'A': // float case 'a': // hex float case 'G': // float case 'g': // float case 'E': // float case 'e': // float case 'f': // float va_arg(va,double); // eat it s = (char*)"No float"; l = 8; lead[0]=0; tail[0]=0; pr = 0; dp = 0; cs = 0; goto scopy; #else case 'A': // float h=hexu; goto hexfloat; case 'a': // hex float h=hex; hexfloat: fv = va_arg(va,double); if (pr==-1) pr=6; // default is 6 // read the double into a string if ( rrreal_to_parts( (rS64*)&n64, &dp, fv ) ) fl |= NG; s = num+64; // sign lead[0]=0; if (fl&NG) { lead[0]=1; lead[1]='-'; } else if (fl&LS) { lead[0]=1; lead[1]=' '; } else if (fl&LP) { lead[0]=1; lead[1]='+'; }; if (dp==-1023) dp=(n64)?-1022:0; else n64|=(((rU64)1)<<52); n64<<=(64-56); if (pr<15) n64+=((((rU64)8)<<56)>>(pr*4)); // add leading chars #ifdef RR_SPRINTF_MSVC_MODE *s++='0';*s++='x'; #else lead[1+lead[0]]='0'; lead[2+lead[0]]='x'; lead[0]+=2; #endif *s++=h[(n64>>60)&15]; n64<<=4; if ( pr ) *s++=RRperiod; sn = s; // print the bits n = pr; if (n>13) n = 13; if (pr>(rS32)n) tz=pr-n; pr = 0; while(n--) { *s++=h[(n64>>60)&15]; n64<<=4; } // print the expo tail[1]=h[17]; if (dp<0) { tail[2]='-'; dp=-dp;} else tail[2]='+'; n = (dp>=1000)?6:((dp>=100)?5:((dp>=10)?4:3)); tail[0]=(char)n; for(;;) { tail[n]='0'+dp%10; if (n<=3) break; --n; dp/=10; } dp = (int)(s-sn); l = (int)(s-(num+64)); s = num+64; cs = 1 + (3<<24); goto scopy; case 'G': // float h=hexu; goto dosmallfloat; case 'g': // float h=hex; dosmallfloat: fv = va_arg(va,double); if (pr==-1) pr=6; else if (pr==0) pr = 1; // default is 6 // read the double into a string if ( rrreal_to_str( &sn, &l, num, &dp, fv, (pr-1)|0x80000000 ) ) fl |= NG; // clamp the precision and delete extra zeros after clamp n = pr; if ( l > (rU32)pr ) l = pr; while ((l>1)&&(pr)&&(sn[l-1]=='0')) { --pr; --l; } // should we use %e if ((dp<=-4)||(dp>(rS32)n)) { if ( pr > (rS32)l ) pr = l-1; else if ( pr ) --pr; // when using %e, there is one digit before the decimal goto doexpfromg; } // this is the insane action to get the pr to match %g sematics for %f if(dp>0) { pr=(dp<(rS32)l)?l-dp:0; } else { pr = -dp+((pr>(rS32)l)?l:pr); } goto dofloatfromg; case 'E': // float h=hexu; goto doexp; case 'e': // float h=hex; doexp: fv = va_arg(va,double); if (pr==-1) pr=6; // default is 6 // read the double into a string if ( rrreal_to_str( &sn, &l, num, &dp, fv, pr|0x80000000 ) ) fl |= NG; doexpfromg: tail[0]=0; lead[0]=0; if (fl&NG) { lead[0]=1; lead[1]='-'; } else if (fl&LS) { lead[0]=1; lead[1]=' '; } else if (fl&LP) { lead[0]=1; lead[1]='+'; }; if ( dp == RRSPECIAL ) { s=(char*)sn; cs=0; pr=0; goto scopy; } s=num+64; // handle leading chars *s++=sn[0]; if (pr) *s++=RRperiod; // handle after decimal if ((l-1)>(rU32)pr) l=pr+1; for(n=1;n<l;n++) *s++=sn[n]; // trailing zeros tz = pr-(l-1); pr=0; // dump expo tail[1]=h[0xe]; dp -= 1; if (dp<0) { tail[2]='-'; dp=-dp;} else tail[2]='+'; #ifdef RR_SPRINTF_MSVC_MODE n = 5; #else n = (dp>=100)?5:4; #endif tail[0]=(char)n; for(;;) { tail[n]='0'+dp%10; if (n<=3) break; --n; dp/=10; } cs = 1 + (3<<24); // how many tens goto flt_lead; case 'f': // float fv = va_arg(va,double); doafloat: // do kilos if (fl&KI) {while(fl<0x4000000) { if ((fv<1024.0) && (fv>-1024.0)) break; fv/=1024.0; fl+=0x1000000; }} if (pr==-1) pr=6; // default is 6 // read the double into a string if ( rrreal_to_str( &sn, &l, num, &dp, fv, pr ) ) fl |= NG; dofloatfromg: tail[0]=0; // sign lead[0]=0; if (fl&NG) { lead[0]=1; lead[1]='-'; } else if (fl&LS) { lead[0]=1; lead[1]=' '; } else if (fl&LP) { lead[0]=1; lead[1]='+'; }; if ( dp == RRSPECIAL ) { s=(char*)sn; cs=0; pr=0; goto scopy; } s=num+64; // handle the three decimal varieties if (dp<=0) { rS32 i; // handle 0.000*000xxxx *s++='0'; if (pr) *s++=RRperiod; n=-dp; if((rS32)n>pr) n=pr; i=n; while(i) { if ((((rUINTa)s)&3)==0) break; *s++='0'; --i; } while(i>=4) { *(rU32*)s=0x30303030; s+=4; i-=4; } while(i) { *s++='0'; --i; } if ((rS32)(l+n)>pr) l=pr-n; i=l; while(i) { *s++=*sn++; --i; } tz = pr-(n+l); cs = 1 + (3<<24); // how many tens did we write (for commas below) } else { cs = (fl&CS)?((600-(rU32)dp)%3):0; if ((rU32)dp>=l) { // handle xxxx000*000.0 n=0; for(;;) { if ((fl&CS) && (++cs==4)) { cs = 0; *s++=RRcomma; } else { *s++=sn[n]; ++n; if (n>=l) break; } } if (n<(rU32)dp) { n = dp - n; if ((fl&CS)==0) { while(n) { if ((((rUINTa)s)&3)==0) break; *s++='0'; --n; } while(n>=4) { *(rU32*)s=0x30303030; s+=4; n-=4; } } while(n) { if ((fl&CS) && (++cs==4)) { cs = 0; *s++=RRcomma; } else { *s++='0'; --n; } } } cs = (int)(s-(num+64)) + (3<<24); // cs is how many tens if (pr) { *s++=RRperiod; tz=pr;} } else { // handle xxxxx.xxxx000*000 n=0; for(;;) { if ((fl&CS) && (++cs==4)) { cs = 0; *s++=RRcomma; } else { *s++=sn[n]; ++n; if (n>=(rU32)dp) break; } } cs = (int)(s-(num+64)) + (3<<24); // cs is how many tens if (pr) *s++=RRperiod; if ((l-dp)>(rU32)pr) l=pr+dp; while(n<l) { *s++=sn[n]; ++n; } tz = pr-(l-dp); } } pr = 0; // handle k,m,g,t if (fl&KI) { tail[0]=1; tail[1]=' '; { if (fl>>24) { tail[2]="_kmgt"[fl>>24]; tail[0]=2; } } }; flt_lead: // get the length that we copied l = (rU32) ( s-(num+64) ); s=num+64; goto scopy; #endif case 'B': // upper binary h = hexu; goto binary; case 'b': // lower binary h = hex; binary: lead[0]=0; if (fl&LX) { lead[0]=2;lead[1]='0';lead[2]=h[0xb]; } l=(8<<4)|(1<<8); goto radixnum; case 'o': // octal h = hexu; lead[0]=0; if (fl&LX) { lead[0]=1;lead[1]='0'; } l=(3<<4)|(3<<8); goto radixnum; case 'p': // pointer fl |= (sizeof(void*)==8)?BI:0; pr = sizeof(void*)*2; fl &= ~LZ; // 'p' only prints the pointer with zeros // drop through to X case 'X': // upper binary h = hexu; goto dohexb; case 'x': // lower binary h = hex; dohexb: l=(4<<4)|(4<<8); lead[0]=0; if (fl&LX) { lead[0]=2;lead[1]='0';lead[2]=h[16]; } radixnum: // get the number if ( fl&BI ) n64 = va_arg(va,rU64); else n64 = va_arg(va,rU32); s = num + NUMSZ; dp = 0; // clear tail, and clear leading if value is zero tail[0]=0; if (n64==0) { lead[0]=0; if (pr==0) { l=0; cs = ( ((l>>4)&15)) << 24; goto scopy; } } // convert to string for(;;) { *--s = h[n64&((1<<(l>>8))-1)]; n64>>=(l>>8); if ( ! ( (n64) || ((rS32) ( (num+NUMSZ) - s ) < pr ) ) ) break; if ( fl&CS) { ++l; if ((l&15)==((l>>4)&15)) { l&=~15; *--s=RRcomma; } } }; // get the tens and the comma pos cs = (rU32) ( (num+NUMSZ) - s ) + ( ( ((l>>4)&15)) << 24 ); // get the length that we copied l = (rU32) ( (num+NUMSZ) - s ); // copy it goto scopy; case 'u': // unsigned case 'i': case 'd': // integer // get the integer and abs it if ( fl&BI ) { rS64 i64 = va_arg(va,rS64); n64 = (rU64)i64; if ((f[0]!='u') && (i64<0)) { n64=(rU64)-i64; fl|=NG; } } else { rS32 i = va_arg(va,rS32); n64 = (rU32)i; if ((f[0]!='u') && (i<0)) { n64=(rU32)-i; fl|=NG; } } #ifndef RR_SPRINTF_NOFLOAT if (fl&KI) { if (n64<1024) pr=0; else if (pr==-1) pr=1; fv=(double)(rS64)n64; goto doafloat; } #endif // convert to string s = num+NUMSZ; l=0; for(;;) { // do in 32-bit chunks (avoid lots of 64-bit divides even with constant denominators) char * o=s-8; if (n64>=100000000) { n = (rU32)( n64 % 100000000); n64 /= 100000000; } else {n = (rU32)n64; n64 = 0; } if((fl&CS)==0) { while(n) { s-=2; *(rU16*)s=*(rU16*)&rrdiglookup[(n%100)*2]; n/=100; } } while (n) { if ( ( fl&CS) && (l++==3) ) { l=0; *--s=RRcomma; --o; } else { *--s=(char)(n%10)+'0'; n/=10; } } if (n64==0) { if ((s[0]=='0') && (s!=(num+NUMSZ))) ++s; break; } while (s!=o) if ( ( fl&CS) && (l++==3) ) { l=0; *--s=RRcomma; --o; } else { *--s='0'; } } tail[0]=0; // sign lead[0]=0; if (fl&NG) { lead[0]=1; lead[1]='-'; } else if (fl&LS) { lead[0]=1; lead[1]=' '; } else if (fl&LP) { lead[0]=1; lead[1]='+'; }; // get the length that we copied l = (rU32) ( (num+NUMSZ) - s ); if ( l == 0 ) { *--s='0'; l = 1; } cs = l + (3<<24); if (pr<0) pr = 0; scopy: // get fw=leading/trailing space, pr=leading zeros if (pr<(rS32)l) pr = l; n = pr + lead[0] + tail[0] + tz; if (fw<(rS32)n) fw = n; fw -= n; pr -= l; // handle right justify and leading zeros if ( (fl&LJ)==0 ) { if (fl&LZ) // if leading zeros, everything is in pr { pr = (fw>pr)?fw:pr; fw = 0; } else { fl &= ~CS; // if no leading zeros, then no commas } } // copy the spaces and/or zeros if (fw+pr) { rS32 i; rU32 c; // copy leading spaces (or when doing %8.4d stuff) if ( (fl&LJ)==0 ) while(fw>0) { cb_buf_clamp(i,fw); fw -= i; while(i) { if ((((rUINTa)bf)&3)==0) break; *bf++=' '; --i; } while(i>=4) { *(rU32*)bf=0x20202020; bf+=4; i-=4; } while (i) {*bf++=' '; --i;} chk_cb_buf(1); } // copy leader sn=lead+1; while(lead[0]) { cb_buf_clamp(i,lead[0]); lead[0] -= (char)i; while (i) {*bf++=*sn++; --i;} chk_cb_buf(1); } // copy leading zeros c = cs >> 24; cs &= 0xffffff; cs = (fl&CS)?((rU32)(c-((pr+cs)%(c+1)))):0; while(pr>0) { cb_buf_clamp(i,pr); pr -= i; if((fl&CS)==0) { while(i) { if ((((rUINTa)bf)&3)==0) break; *bf++='0'; --i; } while(i>=4) { *(rU32*)bf=0x30303030; bf+=4; i-=4; } } while (i) { if((fl&CS) && (cs++==c)) { cs = 0; *bf++=RRcomma; } else *bf++='0'; --i; } chk_cb_buf(1); } } // copy leader if there is still one sn=lead+1; while(lead[0]) { rS32 i; cb_buf_clamp(i,lead[0]); lead[0] -= (char)i; while (i) {*bf++=*sn++; --i;} chk_cb_buf(1); } // copy the string n = l; while (n) { rS32 i; cb_buf_clamp(i,n); n-=i; RR_UNALIGNED( while(i>=4) { *(rU32*)bf=*(rU32*)s; bf+=4; s+=4; i-=4; } ) while (i) {*bf++=*s++; --i;} chk_cb_buf(1); } // copy trailing zeros while(tz) { rS32 i; cb_buf_clamp(i,tz); tz -= i; while(i) { if ((((rUINTa)bf)&3)==0) break; *bf++='0'; --i; } while(i>=4) { *(rU32*)bf=0x30303030; bf+=4; i-=4; } while (i) {*bf++='0'; --i;} chk_cb_buf(1); } // copy tail if there is one sn=tail+1; while(tail[0]) { rS32 i; cb_buf_clamp(i,tail[0]); tail[0] -= (char)i; while (i) {*bf++=*sn++; --i;} chk_cb_buf(1); } // handle the left justify if (fl&LJ) if (fw>0) { while (fw) { rS32 i; cb_buf_clamp(i,fw); fw-=i; while(i) { if ((((rUINTa)bf)&3)==0) break; *bf++=' '; --i; } while(i>=4) { *(rU32*)bf=0x20202020; bf+=4; i-=4; } while (i--) *bf++=' '; chk_cb_buf(1); } } break; default: // unknown, just copy code s = num + NUMSZ -1; *s = f[0]; l = 1; fw=pr=fl=0; lead[0]=0; tail[0]=0; pr = 0; dp = 0; cs = 0; goto scopy; } ++f; } endfmt: if (!callback) *bf = 0; else flush_cb(); done: return tlen + (int)(bf-buf); } // cleanup #undef LJ #undef LP #undef LS #undef LX #undef LZ #undef BI #undef CS #undef NG #undef KI #undef NUMSZ #undef chk_cb_bufL #undef chk_cb_buf #undef flush_cb #undef cb_buf_clamp // ============================================================================ // wrapper functions RRPUBLIC_DEF int RR_SPRINTF_DECORATE( sprintf )( char * buf, char const * fmt, ... ) { va_list va; va_start( va, fmt ); return RR_SPRINTF_DECORATE( vsprintfcb )( 0, 0, buf, fmt, va ); } typedef struct RRCCS { char * buf; int count; char tmp[ RR_SPRINTF_MIN ]; } RRCCS; static char * rrclampcallback( char * buf, void * user, int len ) { RRCCS * c = (RRCCS*)user; if ( len > c->count ) len = c->count; if (len) { if ( buf != c->buf ) { char * s, * d, * se; d = c->buf; s = buf; se = buf+len; do{ *d++ = *s++; } while (s<se); } c->buf += len; c->count -= len; } if ( c->count <= 0 ) return 0; return ( c->count >= RR_SPRINTF_MIN ) ? c->buf : c->tmp; // go direct into buffer if you can } RRPUBLIC_DEF int RR_SPRINTF_DECORATE( vsnprintf )( char * buf, int count, char const * fmt, va_list va ) { RRCCS c; int l; if ( count == 0 ) return 0; c.buf = buf; c.count = count; RR_SPRINTF_DECORATE( vsprintfcb )( rrclampcallback, &c, rrclampcallback(0,&c,0), fmt, va ); // zero-terminate l = (int)( c.buf - buf ); if ( l >= count ) // should never be greater, only equal (or less) than count l = count - 1; buf[l] = 0; return l; } RRPUBLIC_DEF int RR_SPRINTF_DECORATE( snprintf )( char * buf, int count, char const * fmt, ... ) { va_list va; va_start( va, fmt ); return RR_SPRINTF_DECORATE( vsnprintf )( buf, count, fmt, va ); } RRPUBLIC_DEF int RR_SPRINTF_DECORATE( vsprintf )( char * buf, char const * fmt, va_list va ) { return RR_SPRINTF_DECORATE( vsprintfcb )( 0, 0, buf, fmt, va ); } // ======================================================================= // low level float utility functions #ifndef RR_SPRINTF_NOFLOAT // copies d to bits w/ strict aliasing (this compiles to nothing on /Ox) #define RRCOPYFP(dest,src) { int cn; for(cn=0;cn<8;cn++) ((char*)&dest)[cn]=((char*)&src)[cn]; } // get float info static rS32 rrreal_to_parts( rS64 * bits, rS32 * expo, double value ) { double d; rS64 b = 0; // load value and round at the frac_digits d = value; RRCOPYFP( b, d ); *bits = b & ((((rU64)1)<<52)-1); *expo = ((b >> 52) & 2047)-1023; return (rS32)(b >> 63); } static double const rrbot[23]={1e+000,1e+001,1e+002,1e+003,1e+004,1e+005,1e+006,1e+007,1e+008,1e+009,1e+010,1e+011,1e+012,1e+013,1e+014,1e+015,1e+016,1e+017,1e+018,1e+019,1e+020,1e+021,1e+022}; static double const rrnegbot[22]={1e-001,1e-002,1e-003,1e-004,1e-005,1e-006,1e-007,1e-008,1e-009,1e-010,1e-011,1e-012,1e-013,1e-014,1e-015,1e-016,1e-017,1e-018,1e-019,1e-020,1e-021,1e-022}; static double const rrnegboterr[22]={-5.551115123125783e-018,-2.0816681711721684e-019,-2.0816681711721686e-020,-4.7921736023859299e-021,-8.1803053914031305e-022,4.5251888174113741e-023,4.5251888174113739e-024,-2.0922560830128471e-025,-6.2281591457779853e-026,-3.6432197315497743e-027,6.0503030718060191e-028,2.0113352370744385e-029,-3.0373745563400371e-030,1.1806906454401013e-032,-7.7705399876661076e-032,2.0902213275965398e-033,-7.1542424054621921e-034,-7.1542424054621926e-035,2.4754073164739869e-036,5.4846728545790429e-037,9.2462547772103625e-038,-4.8596774326570872e-039}; static double const rrtop[13]={1e+023,1e+046,1e+069,1e+092,1e+115,1e+138,1e+161,1e+184,1e+207,1e+230,1e+253,1e+276,1e+299}; static double const rrnegtop[13]={1e-023,1e-046,1e-069,1e-092,1e-115,1e-138,1e-161,1e-184,1e-207,1e-230,1e-253,1e-276,1e-299}; static double const rrtoperr[13]={8388608,6.8601809640529717e+028,-7.253143638152921e+052,-4.3377296974619174e+075,-1.5559416129466825e+098,-3.2841562489204913e+121,-3.7745893248228135e+144,-1.7356668416969134e+167,-3.8893577551088374e+190,-9.9566444326005119e+213,6.3641293062232429e+236,-5.2069140800249813e+259,-5.2504760255204387e+282}; static double const rrnegtoperr[13]={3.9565301985100693e-040,-2.299904345391321e-063,3.6506201437945798e-086,1.1875228833981544e-109,-5.0644902316928607e-132,-6.7156837247865426e-155,-2.812077463003139e-178,-5.7778912386589953e-201,7.4997100559334532e-224,-4.6439668915134491e-247,-6.3691100762962136e-270,-9.436808465446358e-293,8.0970921678014997e-317}; #if defined(_MSC_VER) && (_MSC_VER<=1200) static rU64 const rrpot[20]={1,10,100,1000, 10000,100000,1000000,10000000, 100000000,1000000000,10000000000,100000000000, 1000000000000,10000000000000,100000000000000,1000000000000000, 10000000000000000,100000000000000000,1000000000000000000,10000000000000000000U }; #define rrtento19th ((rU64)1000000000000000000) #else static rU64 const rrpot[20]={1,10,100,1000, 10000,100000,1000000,10000000, 100000000,1000000000,10000000000ULL,100000000000ULL, 1000000000000ULL,10000000000000ULL,100000000000000ULL,1000000000000000ULL, 10000000000000000ULL,100000000000000000ULL,1000000000000000000ULL,10000000000000000000ULL }; #define rrtento19th (1000000000000000000ULL) #endif #define rrddmulthi(oh,ol,xh,yh) \ { \ double ahi=0,alo,bhi=0,blo; \ rS64 bt; \ oh = xh * yh; \ RRCOPYFP(bt,xh); bt&=((~(rU64)0)<<27); RRCOPYFP(ahi,bt); alo = xh-ahi; \ RRCOPYFP(bt,yh); bt&=((~(rU64)0)<<27); RRCOPYFP(bhi,bt); blo = yh-bhi; \ ol = ((ahi*bhi-oh)+ahi*blo+alo*bhi)+alo*blo; \ } #define rrddtoS64(ob,xh,xl) \ { \ double ahi=0,alo,vh,t;\ ob = (rS64)ph;\ vh=(double)ob;\ ahi = ( xh - vh );\ t = ( ahi - xh );\ alo = (xh-(ahi-t))-(vh+t);\ ob += (rS64)(ahi+alo+xl);\ } #define rrddrenorm(oh,ol) { double s; s=oh+ol; ol=ol-(s-oh); oh=s; } #define rrddmultlo(oh,ol,xh,xl,yh,yl) \ ol = ol + ( xh*yl + xl*yh ); \ #define rrddmultlos(oh,ol,xh,yl) \ ol = ol + ( xh*yl ); \ static void rrraise_to_power10( double *ohi, double *olo, double d, rS32 power ) // power can be -323 to +350 { double ph, pl; if ((power>=0) && (power<=22)) { rrddmulthi(ph,pl,d,rrbot[power]); } else { rS32 e,et,eb; double p2h,p2l; e=power; if (power<0) e=-e; et = (e*0x2c9)>>14;/* %23 */ if (et>13) et=13; eb = e-(et*23); ph = d; pl = 0.0; if (power<0) { if (eb) { --eb; rrddmulthi(ph,pl,d,rrnegbot[eb]); rrddmultlos(ph,pl,d,rrnegboterr[eb]); } if (et) { rrddrenorm(ph,pl); --et; rrddmulthi(p2h,p2l,ph,rrnegtop[et]); rrddmultlo(p2h,p2l,ph,pl,rrnegtop[et],rrnegtoperr[et]); ph=p2h;pl=p2l; } } else { if (eb) { e = eb; if (eb>22) eb=22; e -= eb; rrddmulthi(ph,pl,d,rrbot[eb]); if ( e ) { rrddrenorm(ph,pl); rrddmulthi(p2h,p2l,ph,rrbot[e]); rrddmultlos(p2h,p2l,rrbot[e],pl); ph=p2h;pl=p2l; } } if (et) { rrddrenorm(ph,pl); --et; rrddmulthi(p2h,p2l,ph,rrtop[et]); rrddmultlo(p2h,p2l,ph,pl,rrtop[et],rrtoperr[et]); ph=p2h;pl=p2l; } } } rrddrenorm(ph,pl); *ohi = ph; *olo = pl; } // given a float value, returns the significant bits in bits, and the position of the // decimal point in decimal_pos. +/-INF and NAN are specified by special values // returned in the decimal_pos parameter. // frac_digits is absolute normally, but if you want from first significant digits (got %g and %e), or in 0x80000000 static rS32 rrreal_to_str( char const * * start, rU32 * len, char *out, rS32 * decimal_pos, double value, rU32 frac_digits ) { double d; rS64 bits = 0; rS32 expo, e, ng, tens; d = value; RRCOPYFP(bits,d); expo = (bits >> 52) & 2047; ng = (rS32)(bits >> 63); if (ng) d=-d; if ( expo == 2047 ) // is nan or inf? { *start = (bits&((((rU64)1)<<52)-1)) ? "NaN" : "Inf"; *decimal_pos = RRSPECIAL; *len = 3; return ng; } if ( expo == 0 ) // is zero or denormal { if ((bits<<1)==0) // do zero { *decimal_pos = 1; *start = out; out[0] = '0'; *len = 1; return ng; } // find the right expo for denormals { rS64 v = ((rU64)1)<<51; while ((bits&v)==0) { --expo; v >>= 1; } } } // find the decimal exponent as well as the decimal bits of the value { double ph,pl; // log10 estimate - very specifically tweaked to hit or undershoot by no more than 1 of log10 of all expos 1..2046 tens=expo-1023; tens = (tens<0)?((tens*617)/2048):(((tens*1233)/4096)+1); // move the significant bits into position and stick them into an int rrraise_to_power10( &ph, &pl, d, 18-tens ); // get full as much precision from double-double as possible rrddtoS64( bits, ph,pl ); // check if we undershot if ( ((rU64)bits) >= rrtento19th ) ++tens; } // now do the rounding in integer land frac_digits = ( frac_digits & 0x80000000 ) ? ( (frac_digits&0x7ffffff) + 1 ) : ( tens + frac_digits ); if ( ( frac_digits < 24 ) ) { rU32 dg = 1; if ((rU64)bits >= rrpot[9] ) dg=10; while( (rU64)bits >= rrpot[dg] ) { ++dg; if (dg==20) goto noround; } if ( frac_digits < dg ) { rU64 r; // add 0.5 at the right position and round e = dg - frac_digits; if ( (rU32)e >= 24 ) goto noround; r = rrpot[e]; bits = bits + (r/2); if ( (rU64)bits >= rrpot[dg] ) ++tens; bits /= r; } noround:; } // kill long trailing runs of zeros if ( bits ) { rU32 n; for(;;) { if ( bits<=0xffffffff ) break; if (bits%1000) goto donez; bits/=1000; } n = (rU32)bits; while ((n%1000)==0) n/=1000; bits=n; donez:; } // convert to string out += 64; e = 0; for(;;) { rU32 n; char * o = out-8; // do the conversion in chunks of U32s (avoid most 64-bit divides, worth it, constant denomiators be damned) if (bits>=100000000) { n = (rU32)( bits % 100000000); bits /= 100000000; } else {n = (rU32)bits; bits = 0; } while(n) { out-=2; *(rU16*)out=*(rU16*)&rrdiglookup[(n%100)*2]; n/=100; e+=2; } if (bits==0) { if ((e) && (out[0]=='0')) { ++out; --e; } break; } while( out!=o ) { *--out ='0'; ++e; } } *decimal_pos = tens; *start = out; *len = e; return ng; } #undef rrddmulthi #undef rrddrenorm #undef rrddmultlo #undef rrddmultlos #undef RRSPECIAL #undef RRCOPYFP #endif // clean up #undef rU16 #undef rU32 #undef rS32 #undef rU64 #undef rS64 #undef RRPUBLIC_DEC #undef RRPUBLIC_DEF #undef RR_SPRINTF_DECORATE #undef RR_UNALIGNED #endif #endif
orochi/stb
deprecated/rrsprintf.h
C++
mit
36,050
/* stb.h - v2.37 - Sean's Tool Box -- public domain -- http://nothings.org/stb.h no warranty is offered or implied; use this code at your own risk This is a single header file with a bunch of useful utilities for getting stuff done in C/C++. Documentation: http://nothings.org/stb/stb_h.html Unit tests: http://nothings.org/stb/stb.c ============================================================================ You MUST #define STB_DEFINE in EXACTLY _one_ C or C++ file that includes this header, BEFORE the include, like this: #define STB_DEFINE #include "stb.h" All other files should just #include "stb.h" without the #define. ============================================================================ Version History 2.36 various fixes 2.35 fix clang-cl issues with swprintf 2.34 fix warnings 2.33 more fixes to random numbers 2.32 stb_intcmprev, stb_uidict, fix random numbers on Linux 2.31 stb_ucharcmp 2.30 MinGW fix 2.29 attempt to fix use of swprintf() 2.28 various new functionality 2.27 test _WIN32 not WIN32 in STB_THREADS 2.26 various warning & bugfixes 2.25 various warning & bugfixes 2.24 various warning & bugfixes 2.23 fix 2.22 2.22 64-bit fixes from '!='; fix stb_sdict_copy() to have preferred name 2.21 utf-8 decoder rejects "overlong" encodings; attempted 64-bit improvements 2.20 fix to hash "copy" function--reported by someone with handle "!=" 2.19 ??? 2.18 stb_readdir_subdirs_mask 2.17 stb_cfg_dir 2.16 fix stb_bgio_, add stb_bgio_stat(); begin a streaming wrapper 2.15 upgraded hash table template to allow: - aggregate keys (explicit comparison func for EMPTY and DEL keys) - "static" implementations (so they can be culled if unused) 2.14 stb_mprintf 2.13 reduce identifiable strings in STB_NO_STB_STRINGS 2.12 fix STB_ONLY -- lots of uint32s, TRUE/FALSE things had crept in 2.11 fix bug in stb_dirtree_get() which caused "c://path" sorts of stuff 2.10 STB_F(), STB_I() inline constants (also KI,KU,KF,KD) 2.09 stb_box_face_vertex_axis_side 2.08 bugfix stb_trimwhite() 2.07 colored printing in windows (why are we in 1985?) 2.06 comparison functions are now functions-that-return-functions and accept a struct-offset as a parameter (not thread-safe) 2.05 compile and pass tests under Linux (but no threads); thread cleanup 2.04 stb_cubic_bezier_1d, smoothstep, avoid dependency on registry 2.03 ? 2.02 remove integrated documentation 2.01 integrate various fixes; stb_force_uniprocessor 2.00 revised stb_dupe to use multiple hashes 1.99 stb_charcmp 1.98 stb_arr_deleten, stb_arr_insertn 1.97 fix stb_newell_normal() 1.96 stb_hash_number() 1.95 hack stb__rec_max; clean up recursion code to use new functions 1.94 stb_dirtree; rename stb_extra to stb_ptrmap 1.93 stb_sem_new() API cleanup (no blockflag-starts blocked; use 'extra') 1.92 stb_threadqueue--multi reader/writer queue, fixed size or resizeable 1.91 stb_bgio_* for reading disk asynchronously 1.90 stb_mutex uses CRITICAL_REGION; new stb_sync primitive for thread joining; workqueue supports stb_sync instead of stb_semaphore 1.89 support ';' in constant-string wildcards; stb_mutex wrapper (can implement with EnterCriticalRegion eventually) 1.88 portable threading API (only for win32 so far); worker thread queue 1.87 fix wildcard handling in stb_readdir_recursive 1.86 support ';' in wildcards 1.85 make stb_regex work with non-constant strings; beginnings of stb_introspect() 1.84 (forgot to make notes) 1.83 whoops, stb_keep_if_different wasn't deleting the temp file 1.82 bring back stb_compress from stb_file.h for cmirror 1.81 various bugfixes, STB_FASTMALLOC_INIT inits FASTMALLOC in release 1.80 stb_readdir returns utf8; write own utf8-utf16 because lib was wrong 1.79 stb_write 1.78 calloc() support for malloc wrapper, STB_FASTMALLOC 1.77 STB_FASTMALLOC 1.76 STB_STUA - Lua-like language; (stb_image, stb_csample, stb_bilinear) 1.75 alloc/free array of blocks; stb_hheap bug; a few stb_ps_ funcs; hash*getkey, hash*copy; stb_bitset; stb_strnicmp; bugfix stb_bst 1.74 stb_replaceinplace; use stdlib C function to convert utf8 to UTF-16 1.73 fix performance bug & leak in stb_ischar (C++ port lost a 'static') 1.72 remove stb_block, stb_block_manager, stb_decompress (to stb_file.h) 1.71 stb_trimwhite, stb_tokens_nested, etc. 1.70 back out 1.69 because it might problemize mixed builds; stb_filec() 1.69 (stb_file returns 'char *' in C++) 1.68 add a special 'tree root' data type for stb_bst; stb_arr_end 1.67 full C++ port. (stb_block_manager) 1.66 stb_newell_normal 1.65 stb_lex_item_wild -- allow wildcard items which MUST match entirely 1.64 stb_data 1.63 stb_log_name 1.62 stb_define_sort; C++ cleanup 1.61 stb_hash_fast -- Paul Hsieh's hash function (beats Bob Jenkins'?) 1.60 stb_delete_directory_recursive 1.59 stb_readdir_recursive 1.58 stb_bst variant with parent pointer for O(1) iteration, not O(log N) 1.57 replace LCG random with Mersenne Twister (found a public domain one) 1.56 stb_perfect_hash, stb_ischar, stb_regex 1.55 new stb_bst API allows multiple BSTs per node (e.g. secondary keys) 1.54 bugfix: stb_define_hash, stb_wildmatch, regexp 1.53 stb_define_hash; recoded stb_extra, stb_sdict use it 1.52 stb_rand_define, stb_bst, stb_reverse 1.51 fix 'stb_arr_setlen(NULL, 0)' 1.50 stb_wordwrap 1.49 minor improvements to enable the scripting language 1.48 better approach for stb_arr using stb_malloc; more invasive, clearer 1.47 stb_lex (lexes stb.h at 1.5ML/s on 3Ghz P4; 60/70% of optimal/flex) 1.46 stb_wrapper_*, STB_MALLOC_WRAPPER 1.45 lightly tested DFA acceleration of regexp searching 1.44 wildcard matching & searching; regexp matching & searching 1.43 stb_temp 1.42 allow stb_arr to use stb_malloc/realloc; note this is global 1.41 make it compile in C++; (disable stb_arr in C++) 1.40 stb_dupe tweak; stb_swap; stb_substr 1.39 stb_dupe; improve stb_file_max to be less stupid 1.38 stb_sha1_file: generate sha1 for file, even > 4GB 1.37 stb_file_max; partial support for utf8 filenames in Windows 1.36 remove STB__NO_PREFIX - poor interaction with IDE, not worth it streamline stb_arr to make it separately publishable 1.35 bugfixes for stb_sdict, stb_malloc(0), stristr 1.34 (streaming interfaces for stb_compress) 1.33 stb_alloc; bug in stb_getopt; remove stb_overflow 1.32 (stb_compress returns, smaller&faster; encode window & 64-bit len) 1.31 stb_prefix_count 1.30 (STB__NO_PREFIX - remove stb_ prefixes for personal projects) 1.29 stb_fput_varlen64, etc. 1.28 stb_sha1 1.27 ? 1.26 stb_extra 1.25 ? 1.24 stb_copyfile 1.23 stb_readdir 1.22 ? 1.21 ? 1.20 ? 1.19 ? 1.18 ? 1.17 ? 1.16 ? 1.15 stb_fixpath, stb_splitpath, stb_strchr2 1.14 stb_arr 1.13 ?stb, stb_log, stb_fatal 1.12 ?stb_hash2 1.11 miniML 1.10 stb_crc32, stb_adler32 1.09 stb_sdict 1.08 stb_bitreverse, stb_ispow2, stb_big32 stb_fopen, stb_fput_varlen, stb_fput_ranged stb_fcmp, stb_feq 1.07 (stb_encompress) 1.06 stb_compress 1.05 stb_tokens, (stb_hheap) 1.04 stb_rand 1.03 ?(s-strings) 1.02 ?stb_filelen, stb_tokens 1.01 stb_tolower 1.00 stb_hash, stb_intcmp stb_file, stb_stringfile, stb_fgets stb_prefix, stb_strlower, stb_strtok stb_image (stb_array), (stb_arena) Parenthesized items have since been removed. LICENSE See end of file for license information. CREDITS Written by Sean Barrett. Fixes: Philipp Wiesemann Robert Nix r-lyeh blackpawn github:Mojofreem Ryan Whitworth Vincent Isambart Mike Sartain Eugene Opalev Tim Sjostrand github:infatum Dave Butler (Croepha) Ethan Lee (flibitijibibo) Brian Collins Kyle Langley */ #include <stdarg.h> #ifndef STB__INCLUDE_STB_H #define STB__INCLUDE_STB_H #define STB_VERSION 1 #ifdef STB_INTROSPECT #define STB_DEFINE #endif #ifdef STB_DEFINE_THREADS #ifndef STB_DEFINE #define STB_DEFINE #endif #ifndef STB_THREADS #define STB_THREADS #endif #endif #if defined(_WIN32) && !defined(__MINGW32__) #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #ifndef _CRT_NONSTDC_NO_DEPRECATE #define _CRT_NONSTDC_NO_DEPRECATE #endif #ifndef _CRT_NON_CONFORMING_SWPRINTFS #define _CRT_NON_CONFORMING_SWPRINTFS #endif #if !defined(_MSC_VER) || _MSC_VER > 1700 #include <intrin.h> // _BitScanReverse #endif #endif #include <stdlib.h> // stdlib could have min/max #include <stdio.h> // need FILE #include <string.h> // stb_define_hash needs memcpy/memset #include <time.h> // stb_dirtree #ifdef __MINGW32__ #include <fcntl.h> // O_RDWR #endif #ifdef STB_PERSONAL typedef int Bool; #define False 0 #define True 1 #endif #ifdef STB_MALLOC_WRAPPER_PAGED #define STB_MALLOC_WRAPPER_DEBUG #endif #ifdef STB_MALLOC_WRAPPER_DEBUG #define STB_MALLOC_WRAPPER #endif #ifdef STB_MALLOC_WRAPPER_FASTMALLOC #define STB_FASTMALLOC #define STB_MALLOC_WRAPPER #endif #ifdef STB_FASTMALLOC #ifndef _WIN32 #undef STB_FASTMALLOC #endif #endif #ifdef STB_DEFINE #include <assert.h> #include <stdarg.h> #include <stddef.h> #include <ctype.h> #include <math.h> #ifndef _WIN32 #include <unistd.h> #else #include <io.h> // _mktemp #include <direct.h> // _rmdir #endif #include <sys/types.h> // stat()/_stat() #include <sys/stat.h> // stat()/_stat() #endif #define stb_min(a,b) ((a) < (b) ? (a) : (b)) #define stb_max(a,b) ((a) > (b) ? (a) : (b)) #ifndef STB_ONLY #if !defined(__cplusplus) && !defined(min) && !defined(max) #define min(x,y) stb_min(x,y) #define max(x,y) stb_max(x,y) #endif #ifndef M_PI #define M_PI 3.14159265358979323846f #endif #ifndef TRUE #define TRUE 1 #define FALSE 0 #endif #ifndef deg2rad #define deg2rad(a) ((a)*(M_PI/180)) #endif #ifndef rad2deg #define rad2deg(a) ((a)*(180/M_PI)) #endif #ifndef swap #ifndef __cplusplus #define swap(TYPE,a,b) \ do { TYPE stb__t; stb__t = (a); (a) = (b); (b) = stb__t; } while (0) #endif #endif typedef unsigned char uint8 ; typedef signed char int8 ; typedef unsigned short uint16; typedef signed short int16; #if defined(STB_USE_LONG_FOR_32_BIT_INT) || defined(STB_LONG32) typedef unsigned long uint32; typedef signed long int32; #else typedef unsigned int uint32; typedef signed int int32; #endif typedef unsigned char uchar ; typedef unsigned short ushort; typedef unsigned int uint ; typedef unsigned long ulong ; // produce compile errors if the sizes aren't right typedef char stb__testsize16[sizeof(int16)==2]; typedef char stb__testsize32[sizeof(int32)==4]; #endif #ifndef STB_TRUE #define STB_TRUE 1 #define STB_FALSE 0 #endif // if we're STB_ONLY, can't rely on uint32 or even uint, so all the // variables we'll use herein need typenames prefixed with 'stb': typedef unsigned char stb_uchar; typedef unsigned char stb_uint8; typedef unsigned int stb_uint; typedef unsigned short stb_uint16; typedef short stb_int16; typedef signed char stb_int8; #if defined(STB_USE_LONG_FOR_32_BIT_INT) || defined(STB_LONG32) typedef unsigned long stb_uint32; typedef long stb_int32; #else typedef unsigned int stb_uint32; typedef int stb_int32; #endif typedef char stb__testsize2_16[sizeof(stb_uint16)==2 ? 1 : -1]; typedef char stb__testsize2_32[sizeof(stb_uint32)==4 ? 1 : -1]; #ifdef _MSC_VER typedef unsigned __int64 stb_uint64; typedef __int64 stb_int64; #define STB_IMM_UINT64(literalui64) (literalui64##ui64) #define STB_IMM_INT64(literali64) (literali64##i64) #else // ?? typedef unsigned long long stb_uint64; typedef long long stb_int64; #define STB_IMM_UINT64(literalui64) (literalui64##ULL) #define STB_IMM_INT64(literali64) (literali64##LL) #endif typedef char stb__testsize2_64[sizeof(stb_uint64)==8 ? 1 : -1]; // add platform-specific ways of checking for sizeof(char*) == 8, // and make those define STB_PTR64 #if defined(_WIN64) || defined(__x86_64__) || defined(__ia64__) || defined(__LP64__) #define STB_PTR64 #endif #ifdef STB_PTR64 typedef char stb__testsize2_ptr[sizeof(char *) == 8]; typedef stb_uint64 stb_uinta; typedef stb_int64 stb_inta; #else typedef char stb__testsize2_ptr[sizeof(char *) == 4]; typedef stb_uint32 stb_uinta; typedef stb_int32 stb_inta; #endif typedef char stb__testsize2_uinta[sizeof(stb_uinta)==sizeof(char*) ? 1 : -1]; // if so, we should define an int type that is the pointer size. until then, // we'll have to make do with this (which is not the same at all!) typedef union { unsigned int i; void * p; } stb_uintptr; #ifdef __cplusplus #define STB_EXTERN extern "C" #else #define STB_EXTERN extern #endif // check for well-known debug defines #if defined(DEBUG) || defined(_DEBUG) || defined(DBG) #ifndef NDEBUG #define STB_DEBUG #endif #endif #ifdef STB_DEBUG #include <assert.h> #endif ////////////////////////////////////////////////////////////////////////////// // // C library function platform handling // #ifdef STB_DEFINE #if defined(_WIN32) && defined(__STDC_WANT_SECURE_LIB__) static FILE * stb_p_fopen(const char *filename, const char *mode) { FILE *f; if (0 == fopen_s(&f, filename, mode)) return f; else return NULL; } static FILE * stb_p_wfopen(const wchar_t *filename, const wchar_t *mode) { FILE *f; if (0 == _wfopen_s(&f, filename, mode)) return f; else return NULL; } static char *stb_p_strcpy_s(char *a, size_t size, const char *b) { strcpy_s(a,size,b); return a; } static char *stb_p_strncpy_s(char *a, size_t size, const char *b, size_t count) { strncpy_s(a,size,b,count); return a; } #define stb_p_mktemp(s) (_mktemp_s(s, strlen(s)+1) == 0) #define stb_p_sprintf sprintf_s #define stb_p_size(x) ,(x) #else #define stb_p_fopen fopen #define stb_p_wfopen _wfopen #define stb_p_strcpy_s(a,s,b) strcpy(a,b) #define stb_p_strncpy_s(a,s,b,c) strncpy(a,b,c) #define stb_p_mktemp(s) (mktemp(s) != NULL) #define stb_p_sprintf sprintf #define stb_p_size(x) #endif #if defined(_WIN32) #define stb_p_vsnprintf _vsnprintf #else #define stb_p_vsnprintf vsnprintf #endif #endif // STB_DEFINE #if defined(_WIN32) && (_MSC_VER >= 1300) #define stb_p_stricmp _stricmp #define stb_p_strnicmp _strnicmp #define stb_p_strdup _strdup #else #define stb_p_strdup strdup #define stb_p_stricmp stricmp #define stb_p_strnicmp strnicmp #endif STB_EXTERN void stb_wrapper_malloc(void *newp, size_t sz, char *file, int line); STB_EXTERN void stb_wrapper_free(void *oldp, char *file, int line); STB_EXTERN void stb_wrapper_realloc(void *oldp, void *newp, size_t sz, char *file, int line); STB_EXTERN void stb_wrapper_calloc(size_t num, size_t sz, char *file, int line); STB_EXTERN void stb_wrapper_listall(void (*func)(void *ptr, size_t sz, char *file, int line)); STB_EXTERN void stb_wrapper_dump(char *filename); STB_EXTERN size_t stb_wrapper_allocsize(void *oldp); STB_EXTERN void stb_wrapper_check(void *oldp); #ifdef STB_DEFINE // this is a special function used inside malloc wrapper // to do allocations that aren't tracked (to avoid // reentrancy). Of course if someone _else_ wraps realloc, // this breaks, but if they're doing that AND the malloc // wrapper they need to explicitly check for reentrancy. // // only define realloc_raw() and we do realloc(NULL,sz) // for malloc() and realloc(p,0) for free(). static void * stb__realloc_raw(void *p, int sz) { if (p == NULL) return malloc(sz); if (sz == 0) { free(p); return NULL; } return realloc(p,sz); } #endif #ifdef _WIN32 STB_EXTERN void * stb_smalloc(size_t sz); STB_EXTERN void stb_sfree(void *p); STB_EXTERN void * stb_srealloc(void *p, size_t sz); STB_EXTERN void * stb_scalloc(size_t n, size_t sz); STB_EXTERN char * stb_sstrdup(char *s); #endif #ifdef STB_FASTMALLOC #define malloc stb_smalloc #define free stb_sfree #define realloc stb_srealloc #define strdup stb_sstrdup #define calloc stb_scalloc #endif #ifndef STB_MALLOC_ALLCHECK #define stb__check(p) 1 #else #ifndef STB_MALLOC_WRAPPER #error STB_MALLOC_ALLCHECK requires STB_MALLOC_WRAPPER #else #define stb__check(p) stb_mcheck(p) #endif #endif #ifdef STB_MALLOC_WRAPPER STB_EXTERN void * stb__malloc(size_t, char *, int); STB_EXTERN void * stb__realloc(void *, size_t, char *, int); STB_EXTERN void * stb__calloc(size_t n, size_t s, char *, int); STB_EXTERN void stb__free(void *, char *file, int); STB_EXTERN char * stb__strdup(char *s, char *file, int); STB_EXTERN void stb_malloc_checkall(void); STB_EXTERN void stb_malloc_check_counter(int init_delay, int rep_delay); #ifndef STB_MALLOC_WRAPPER_DEBUG #define stb_mcheck(p) 1 #else STB_EXTERN int stb_mcheck(void *); #endif #ifdef STB_DEFINE #ifdef STB_MALLOC_WRAPPER_DEBUG #define STB__PAD 32 #define STB__BIAS 16 #define STB__SIG 0x51b01234 #define STB__FIXSIZE(sz) (((sz+3) & ~3) + STB__PAD) #define STB__ptr(x,y) ((char *) (x) + (y)) #else #define STB__ptr(x,y) (x) #define STB__FIXSIZE(sz) (sz) #endif #ifdef STB_MALLOC_WRAPPER_DEBUG int stb_mcheck(void *p) { unsigned int sz; if (p == NULL) return 1; p = ((char *) p) - STB__BIAS; sz = * (unsigned int *) p; assert(* (unsigned int *) STB__ptr(p,4) == STB__SIG); assert(* (unsigned int *) STB__ptr(p,8) == STB__SIG); assert(* (unsigned int *) STB__ptr(p,12) == STB__SIG); assert(* (unsigned int *) STB__ptr(p,sz-4) == STB__SIG+1); assert(* (unsigned int *) STB__ptr(p,sz-8) == STB__SIG+1); assert(* (unsigned int *) STB__ptr(p,sz-12) == STB__SIG+1); assert(* (unsigned int *) STB__ptr(p,sz-16) == STB__SIG+1); stb_wrapper_check(STB__ptr(p, STB__BIAS)); return 1; } static void stb__check2(void *p, size_t sz, char *file, int line) { stb_mcheck(p); } void stb_malloc_checkall(void) { stb_wrapper_listall(stb__check2); } #else void stb_malloc_checkall(void) { } #endif static int stb__malloc_wait=(1 << 30), stb__malloc_next_wait = (1 << 30), stb__malloc_iter; void stb_malloc_check_counter(int init_delay, int rep_delay) { stb__malloc_wait = init_delay; stb__malloc_next_wait = rep_delay; } void stb_mcheck_all(void) { #ifdef STB_MALLOC_WRAPPER_DEBUG ++stb__malloc_iter; if (--stb__malloc_wait <= 0) { stb_malloc_checkall(); stb__malloc_wait = stb__malloc_next_wait; } #endif } #ifdef STB_MALLOC_WRAPPER_PAGED #define STB__WINDOWS_PAGE (1 << 12) #ifndef _WINDOWS_ STB_EXTERN __declspec(dllimport) void * __stdcall VirtualAlloc(void *p, unsigned long size, unsigned long type, unsigned long protect); STB_EXTERN __declspec(dllimport) int __stdcall VirtualFree(void *p, unsigned long size, unsigned long freetype); #endif #endif static void *stb__malloc_final(size_t sz) { #ifdef STB_MALLOC_WRAPPER_PAGED size_t aligned = (sz + STB__WINDOWS_PAGE - 1) & ~(STB__WINDOWS_PAGE-1); char *p = VirtualAlloc(NULL, aligned + STB__WINDOWS_PAGE, 0x2000, 0x04); // RESERVE, READWRITE if (p == NULL) return p; VirtualAlloc(p, aligned, 0x1000, 0x04); // COMMIT, READWRITE return p; #else return malloc(sz); #endif } static void stb__free_final(void *p) { #ifdef STB_MALLOC_WRAPPER_PAGED VirtualFree(p, 0, 0x8000); // RELEASE #else free(p); #endif } int stb__malloc_failure; #ifdef STB_MALLOC_WRAPPER_PAGED static void *stb__realloc_final(void *p, size_t sz, size_t old_sz) { void *q = stb__malloc_final(sz); if (q == NULL) return ++stb__malloc_failure, q; // @TODO: deal with p being smaller! memcpy(q, p, sz < old_sz ? sz : old_sz); stb__free_final(p); return q; } #endif void stb__free(void *p, char *file, int line) { stb_mcheck_all(); if (!p) return; #ifdef STB_MALLOC_WRAPPER_DEBUG stb_mcheck(p); #endif stb_wrapper_free(p,file,line); #ifdef STB_MALLOC_WRAPPER_DEBUG p = STB__ptr(p,-STB__BIAS); * (unsigned int *) STB__ptr(p,0) = 0xdeadbeef; * (unsigned int *) STB__ptr(p,4) = 0xdeadbeef; * (unsigned int *) STB__ptr(p,8) = 0xdeadbeef; * (unsigned int *) STB__ptr(p,12) = 0xdeadbeef; #endif stb__free_final(p); } void * stb__malloc(size_t sz, char *file, int line) { void *p; stb_mcheck_all(); if (sz == 0) return NULL; p = stb__malloc_final(STB__FIXSIZE(sz)); if (p == NULL) p = stb__malloc_final(STB__FIXSIZE(sz)); if (p == NULL) p = stb__malloc_final(STB__FIXSIZE(sz)); if (p == NULL) { ++stb__malloc_failure; #ifdef STB_MALLOC_WRAPPER_DEBUG stb_malloc_checkall(); #endif return p; } #ifdef STB_MALLOC_WRAPPER_DEBUG * (int *) STB__ptr(p,0) = STB__FIXSIZE(sz); * (unsigned int *) STB__ptr(p,4) = STB__SIG; * (unsigned int *) STB__ptr(p,8) = STB__SIG; * (unsigned int *) STB__ptr(p,12) = STB__SIG; * (unsigned int *) STB__ptr(p,STB__FIXSIZE(sz)-4) = STB__SIG+1; * (unsigned int *) STB__ptr(p,STB__FIXSIZE(sz)-8) = STB__SIG+1; * (unsigned int *) STB__ptr(p,STB__FIXSIZE(sz)-12) = STB__SIG+1; * (unsigned int *) STB__ptr(p,STB__FIXSIZE(sz)-16) = STB__SIG+1; p = STB__ptr(p, STB__BIAS); #endif stb_wrapper_malloc(p,sz,file,line); return p; } void * stb__realloc(void *p, size_t sz, char *file, int line) { void *q; stb_mcheck_all(); if (p == NULL) return stb__malloc(sz,file,line); if (sz == 0 ) { stb__free(p,file,line); return NULL; } #ifdef STB_MALLOC_WRAPPER_DEBUG stb_mcheck(p); p = STB__ptr(p,-STB__BIAS); #endif #ifdef STB_MALLOC_WRAPPER_PAGED { size_t n = stb_wrapper_allocsize(STB__ptr(p,STB__BIAS)); if (!n) stb_wrapper_check(STB__ptr(p,STB__BIAS)); q = stb__realloc_final(p, STB__FIXSIZE(sz), STB__FIXSIZE(n)); } #else q = realloc(p, STB__FIXSIZE(sz)); #endif if (q == NULL) return ++stb__malloc_failure, q; #ifdef STB_MALLOC_WRAPPER_DEBUG * (int *) STB__ptr(q,0) = STB__FIXSIZE(sz); * (unsigned int *) STB__ptr(q,4) = STB__SIG; * (unsigned int *) STB__ptr(q,8) = STB__SIG; * (unsigned int *) STB__ptr(q,12) = STB__SIG; * (unsigned int *) STB__ptr(q,STB__FIXSIZE(sz)-4) = STB__SIG+1; * (unsigned int *) STB__ptr(q,STB__FIXSIZE(sz)-8) = STB__SIG+1; * (unsigned int *) STB__ptr(q,STB__FIXSIZE(sz)-12) = STB__SIG+1; * (unsigned int *) STB__ptr(q,STB__FIXSIZE(sz)-16) = STB__SIG+1; q = STB__ptr(q, STB__BIAS); p = STB__ptr(p, STB__BIAS); #endif stb_wrapper_realloc(p,q,sz,file,line); return q; } STB_EXTERN int stb_log2_ceil(size_t); static void *stb__calloc(size_t n, size_t sz, char *file, int line) { void *q; stb_mcheck_all(); if (n == 0 || sz == 0) return NULL; if (stb_log2_ceil(n) + stb_log2_ceil(sz) >= 32) return NULL; q = stb__malloc(n*sz, file, line); if (q) memset(q, 0, n*sz); return q; } char * stb__strdup(char *s, char *file, int line) { char *p; stb_mcheck_all(); p = stb__malloc(strlen(s)+1, file, line); if (!p) return p; stb_p_strcpy_s(p, strlen(s)+1, s); return p; } #endif // STB_DEFINE #ifdef STB_FASTMALLOC #undef malloc #undef realloc #undef free #undef strdup #undef calloc #endif // include everything that might define these, BEFORE making macros #include <stdlib.h> #include <string.h> #include <malloc.h> #define malloc(s) stb__malloc ( s, __FILE__, __LINE__) #define realloc(p,s) stb__realloc(p,s, __FILE__, __LINE__) #define calloc(n,s) stb__calloc (n,s, __FILE__, __LINE__) #define free(p) stb__free (p, __FILE__, __LINE__) #define strdup(p) stb__strdup (p, __FILE__, __LINE__) #endif ////////////////////////////////////////////////////////////////////////////// // // Windows pretty display // STB_EXTERN void stbprint(const char *fmt, ...); STB_EXTERN char *stb_sprintf(const char *fmt, ...); STB_EXTERN char *stb_mprintf(const char *fmt, ...); STB_EXTERN int stb_snprintf(char *s, size_t n, const char *fmt, ...); STB_EXTERN int stb_vsnprintf(char *s, size_t n, const char *fmt, va_list v); #ifdef STB_DEFINE int stb_vsnprintf(char *s, size_t n, const char *fmt, va_list v) { int res; #ifdef _WIN32 #ifdef __STDC_WANT_SECURE_LIB__ res = _vsnprintf_s(s, n, _TRUNCATE, fmt, v); #else res = stb_p_vsnprintf(s,n,fmt,v); #endif #else res = vsnprintf(s,n,fmt,v); #endif if (n) s[n-1] = 0; // Unix returns length output would require, Windows returns negative when truncated. return (res >= (int) n || res < 0) ? -1 : res; } int stb_snprintf(char *s, size_t n, const char *fmt, ...) { int res; va_list v; va_start(v,fmt); res = stb_vsnprintf(s, n, fmt, v); va_end(v); return res; } char *stb_sprintf(const char *fmt, ...) { static char buffer[1024]; va_list v; va_start(v,fmt); stb_vsnprintf(buffer,1024,fmt,v); va_end(v); return buffer; } char *stb_mprintf(const char *fmt, ...) { static char buffer[1024]; va_list v; va_start(v,fmt); stb_vsnprintf(buffer,1024,fmt,v); va_end(v); return stb_p_strdup(buffer); } #ifdef _WIN32 #ifndef _WINDOWS_ STB_EXTERN __declspec(dllimport) int __stdcall WriteConsoleA(void *, const void *, unsigned int, unsigned int *, void *); STB_EXTERN __declspec(dllimport) void * __stdcall GetStdHandle(unsigned int); STB_EXTERN __declspec(dllimport) int __stdcall SetConsoleTextAttribute(void *, unsigned short); #endif static void stb__print_one(void *handle, char *s, ptrdiff_t len) { if (len) if (0==WriteConsoleA(handle, s, (unsigned) len, NULL,NULL)) // if it fails, maybe redirected, so output normally... // but it's supriously reporting failure now on Win7 and later {}//fwrite(s, 1, (unsigned) len, stdout); } static void stb__print(char *s) { void *handle = GetStdHandle((unsigned int) -11); // STD_OUTPUT_HANDLE int pad=0; // number of padding characters to add char *t = s; while (*s) { int lpad; while (*s && *s != '{') { if (pad) { if (*s == '\r' || *s == '\n') pad = 0; else if (s[0] == ' ' && s[1] == ' ') { stb__print_one(handle, t, s-t); t = s; while (pad) { stb__print_one(handle, t, 1); --pad; } } } ++s; } if (!*s) break; stb__print_one(handle, t, s-t); if (s[1] == '{') { ++s; continue; } if (s[1] == '#') { t = s+3; if (isxdigit(s[2])) if (isdigit(s[2])) SetConsoleTextAttribute(handle, s[2] - '0'); else SetConsoleTextAttribute(handle, tolower(s[2]) - 'a' + 10); else { SetConsoleTextAttribute(handle, 0x0f); t=s+2; } } else if (s[1] == '!') { SetConsoleTextAttribute(handle, 0x0c); t = s+2; } else if (s[1] == '@') { SetConsoleTextAttribute(handle, 0x09); t = s+2; } else if (s[1] == '$') { SetConsoleTextAttribute(handle, 0x0a); t = s+2; } else { SetConsoleTextAttribute(handle, 0x08); // 0,7,8,15 => shades of grey t = s+1; } lpad = (int) (t-s); s = t; while (*s && *s != '}') ++s; if (!*s) break; stb__print_one(handle, t, s-t); if (s[1] == '}') { t = s+2; } else { pad += 1+lpad; t = s+1; } s=t; SetConsoleTextAttribute(handle, 0x07); } stb__print_one(handle, t, s-t); SetConsoleTextAttribute(handle, 0x07); } void stbprint(const char *fmt, ...) { int res; char buffer[1024]; char *tbuf = buffer; va_list v; va_start(v,fmt); res = stb_vsnprintf(buffer, sizeof(buffer), fmt, v); va_end(v); if (res < 0) { tbuf = (char *) malloc(16384); va_start(v,fmt); res = stb_vsnprintf(tbuf,16384, fmt, v); va_end(v); tbuf[16383] = 0; } stb__print(tbuf); if (tbuf != buffer) free(tbuf); } #else // _WIN32 void stbprint(const char *fmt, ...) { va_list v; va_start(v,fmt); vprintf(fmt,v); va_end(v); } #endif // _WIN32 #endif // STB_DEFINE ////////////////////////////////////////////////////////////////////////////// // // Windows UTF8 filename handling // // Windows stupidly treats 8-bit filenames as some dopey code page, // rather than utf-8. If we want to use utf8 filenames, we have to // convert them to WCHAR explicitly and call WCHAR versions of the // file functions. So, ok, we do. #ifdef _WIN32 #define stb__fopen(x,y) stb_p_wfopen((const wchar_t *)stb__from_utf8(x), (const wchar_t *)stb__from_utf8_alt(y)) #define stb__windows(x,y) x #else #define stb__fopen(x,y) stb_p_fopen(x,y) #define stb__windows(x,y) y #endif typedef unsigned short stb__wchar; STB_EXTERN stb__wchar * stb_from_utf8(stb__wchar *buffer, const char *str, int n); STB_EXTERN char * stb_to_utf8 (char *buffer, const stb__wchar *str, int n); STB_EXTERN stb__wchar *stb__from_utf8(const char *str); STB_EXTERN stb__wchar *stb__from_utf8_alt(const char *str); STB_EXTERN char *stb__to_utf8(const stb__wchar *str); #ifdef STB_DEFINE stb__wchar * stb_from_utf8(stb__wchar *buffer, const char *ostr, int n) { unsigned char *str = (unsigned char *) ostr; stb_uint32 c; int i=0; --n; while (*str) { if (i >= n) return NULL; if (!(*str & 0x80)) buffer[i++] = *str++; else if ((*str & 0xe0) == 0xc0) { if (*str < 0xc2) return NULL; c = (*str++ & 0x1f) << 6; if ((*str & 0xc0) != 0x80) return NULL; buffer[i++] = c + (*str++ & 0x3f); } else if ((*str & 0xf0) == 0xe0) { if (*str == 0xe0 && (str[1] < 0xa0 || str[1] > 0xbf)) return NULL; if (*str == 0xed && str[1] > 0x9f) return NULL; // str[1] < 0x80 is checked below c = (*str++ & 0x0f) << 12; if ((*str & 0xc0) != 0x80) return NULL; c += (*str++ & 0x3f) << 6; if ((*str & 0xc0) != 0x80) return NULL; buffer[i++] = c + (*str++ & 0x3f); } else if ((*str & 0xf8) == 0xf0) { if (*str > 0xf4) return NULL; if (*str == 0xf0 && (str[1] < 0x90 || str[1] > 0xbf)) return NULL; if (*str == 0xf4 && str[1] > 0x8f) return NULL; // str[1] < 0x80 is checked below c = (*str++ & 0x07) << 18; if ((*str & 0xc0) != 0x80) return NULL; c += (*str++ & 0x3f) << 12; if ((*str & 0xc0) != 0x80) return NULL; c += (*str++ & 0x3f) << 6; if ((*str & 0xc0) != 0x80) return NULL; c += (*str++ & 0x3f); // utf-8 encodings of values used in surrogate pairs are invalid if ((c & 0xFFFFF800) == 0xD800) return NULL; if (c >= 0x10000) { c -= 0x10000; if (i + 2 > n) return NULL; buffer[i++] = 0xD800 | (0x3ff & (c >> 10)); buffer[i++] = 0xDC00 | (0x3ff & (c )); } } else return NULL; } buffer[i] = 0; return buffer; } char * stb_to_utf8(char *buffer, const stb__wchar *str, int n) { int i=0; --n; while (*str) { if (*str < 0x80) { if (i+1 > n) return NULL; buffer[i++] = (char) *str++; } else if (*str < 0x800) { if (i+2 > n) return NULL; buffer[i++] = 0xc0 + (*str >> 6); buffer[i++] = 0x80 + (*str & 0x3f); str += 1; } else if (*str >= 0xd800 && *str < 0xdc00) { stb_uint32 c; if (i+4 > n) return NULL; c = ((str[0] - 0xd800) << 10) + ((str[1]) - 0xdc00) + 0x10000; buffer[i++] = 0xf0 + (c >> 18); buffer[i++] = 0x80 + ((c >> 12) & 0x3f); buffer[i++] = 0x80 + ((c >> 6) & 0x3f); buffer[i++] = 0x80 + ((c ) & 0x3f); str += 2; } else if (*str >= 0xdc00 && *str < 0xe000) { return NULL; } else { if (i+3 > n) return NULL; buffer[i++] = 0xe0 + (*str >> 12); buffer[i++] = 0x80 + ((*str >> 6) & 0x3f); buffer[i++] = 0x80 + ((*str ) & 0x3f); str += 1; } } buffer[i] = 0; return buffer; } stb__wchar *stb__from_utf8(const char *str) { static stb__wchar buffer[4096]; return stb_from_utf8(buffer, str, 4096); } stb__wchar *stb__from_utf8_alt(const char *str) { static stb__wchar buffer[4096]; return stb_from_utf8(buffer, str, 4096); } char *stb__to_utf8(const stb__wchar *str) { static char buffer[4096]; return stb_to_utf8(buffer, str, 4096); } #endif ////////////////////////////////////////////////////////////////////////////// // // Miscellany // STB_EXTERN void stb_fatal(const char *fmt, ...); STB_EXTERN void stb_(char *fmt, ...); STB_EXTERN void stb_append_to_file(char *file, char *fmt, ...); STB_EXTERN void stb_log(int active); STB_EXTERN void stb_log_fileline(int active); STB_EXTERN void stb_log_name(char *filename); STB_EXTERN void stb_swap(void *p, void *q, size_t sz); STB_EXTERN void *stb_copy(void *p, size_t sz); STB_EXTERN void stb_pointer_array_free(void *p, int len); STB_EXTERN void **stb_array_block_alloc(int count, int blocksize); #define stb_arrcount(x) (sizeof(x)/sizeof((x)[0])) STB_EXTERN int stb__record_fileline(const char *f, int n); #ifdef STB_DEFINE static char *stb__file; static int stb__line; int stb__record_fileline(const char *f, int n) { stb__file = (char*) f; stb__line = n; return 0; } void stb_fatal(const char *s, ...) { va_list a; if (stb__file) fprintf(stderr, "[%s:%d] ", stb__file, stb__line); va_start(a,s); fputs("Fatal error: ", stderr); vfprintf(stderr, s, a); va_end(a); fputs("\n", stderr); #ifdef STB_DEBUG #ifdef _MSC_VER #ifndef STB_PTR64 __asm int 3; // trap to debugger! #else __debugbreak(); #endif #else __builtin_trap(); #endif #endif exit(1); } static int stb__log_active=1, stb__log_fileline=1; void stb_log(int active) { stb__log_active = active; } void stb_log_fileline(int active) { stb__log_fileline = active; } #ifdef STB_NO_STB_STRINGS const char *stb__log_filename = "temp.log"; #else const char *stb__log_filename = "stb.log"; #endif void stb_log_name(char *s) { stb__log_filename = s; } void stb_(char *s, ...) { if (stb__log_active) { FILE *f = stb_p_fopen(stb__log_filename, "a"); if (f) { va_list a; if (stb__log_fileline && stb__file) fprintf(f, "[%s:%4d] ", stb__file, stb__line); va_start(a,s); vfprintf(f, s, a); va_end(a); fputs("\n", f); fclose(f); } } } void stb_append_to_file(char *filename, char *s, ...) { FILE *f = stb_p_fopen(filename, "a"); if (f) { va_list a; va_start(a,s); vfprintf(f, s, a); va_end(a); fputs("\n", f); fclose(f); } } typedef struct { char d[4]; } stb__4; typedef struct { char d[8]; } stb__8; // optimize the small cases, though you shouldn't be calling this for those! void stb_swap(void *p, void *q, size_t sz) { char buffer[256]; if (p == q) return; if (sz == 4) { stb__4 temp = * ( stb__4 *) p; * (stb__4 *) p = * ( stb__4 *) q; * (stb__4 *) q = temp; return; } else if (sz == 8) { stb__8 temp = * ( stb__8 *) p; * (stb__8 *) p = * ( stb__8 *) q; * (stb__8 *) q = temp; return; } while (sz > sizeof(buffer)) { stb_swap(p, q, sizeof(buffer)); p = (char *) p + sizeof(buffer); q = (char *) q + sizeof(buffer); sz -= sizeof(buffer); } memcpy(buffer, p , sz); memcpy(p , q , sz); memcpy(q , buffer, sz); } void *stb_copy(void *p, size_t sz) { void *q = malloc(sz); memcpy(q, p, sz); return q; } void stb_pointer_array_free(void *q, int len) { void **p = (void **) q; int i; for (i=0; i < len; ++i) free(p[i]); } void **stb_array_block_alloc(int count, int blocksize) { int i; char *p = (char *) malloc(sizeof(void *) * count + count * blocksize); void **q; if (p == NULL) return NULL; q = (void **) p; p += sizeof(void *) * count; for (i=0; i < count; ++i) q[i] = p + i * blocksize; return q; } #endif #ifdef STB_DEBUG // tricky hack to allow recording FILE,LINE even in varargs functions #define STB__RECORD_FILE(x) (stb__record_fileline(__FILE__, __LINE__),(x)) #define stb_log STB__RECORD_FILE(stb_log) #define stb_ STB__RECORD_FILE(stb_) #ifndef STB_FATAL_CLEAN #define stb_fatal STB__RECORD_FILE(stb_fatal) #endif #define STB__DEBUG(x) x #else #define STB__DEBUG(x) #endif ////////////////////////////////////////////////////////////////////////////// // // stb_temp // #define stb_temp(block, sz) stb__temp(block, sizeof(block), (sz)) STB_EXTERN void * stb__temp(void *b, int b_sz, int want_sz); STB_EXTERN void stb_tempfree(void *block, void *ptr); #ifdef STB_DEFINE void * stb__temp(void *b, int b_sz, int want_sz) { if (b_sz >= want_sz) return b; else return malloc(want_sz); } void stb_tempfree(void *b, void *p) { if (p != b) free(p); } #endif ////////////////////////////////////////////////////////////////////////////// // // math/sampling operations // #define stb_lerp(t,a,b) ( (a) + (t) * (float) ((b)-(a)) ) #define stb_unlerp(t,a,b) ( ((t) - (a)) / (float) ((b) - (a)) ) #define stb_clamp(x,xmin,xmax) ((x) < (xmin) ? (xmin) : (x) > (xmax) ? (xmax) : (x)) STB_EXTERN void stb_newell_normal(float *normal, int num_vert, float **vert, int normalize); STB_EXTERN int stb_box_face_vertex_axis_side(int face_number, int vertex_number, int axis); STB_EXTERN void stb_linear_controller(float *curpos, float target_pos, float acc, float deacc, float dt); STB_EXTERN int stb_float_eq(float x, float y, float delta, int max_ulps); STB_EXTERN int stb_is_prime(unsigned int m); STB_EXTERN unsigned int stb_power_of_two_nearest_prime(int n); STB_EXTERN float stb_smoothstep(float t); STB_EXTERN float stb_cubic_bezier_1d(float t, float p0, float p1, float p2, float p3); STB_EXTERN double stb_linear_remap(double x, double a, double b, double c, double d); #ifdef STB_DEFINE float stb_smoothstep(float t) { return (3 - 2*t)*(t*t); } float stb_cubic_bezier_1d(float t, float p0, float p1, float p2, float p3) { float it = 1-t; return it*it*it*p0 + 3*it*it*t*p1 + 3*it*t*t*p2 + t*t*t*p3; } void stb_newell_normal(float *normal, int num_vert, float **vert, int normalize) { int i,j; float p; normal[0] = normal[1] = normal[2] = 0; for (i=num_vert-1,j=0; j < num_vert; i=j++) { float *u = vert[i]; float *v = vert[j]; normal[0] += (u[1] - v[1]) * (u[2] + v[2]); normal[1] += (u[2] - v[2]) * (u[0] + v[0]); normal[2] += (u[0] - v[0]) * (u[1] + v[1]); } if (normalize) { p = normal[0]*normal[0] + normal[1]*normal[1] + normal[2]*normal[2]; p = (float) (1.0 / sqrt(p)); normal[0] *= p; normal[1] *= p; normal[2] *= p; } } int stb_box_face_vertex_axis_side(int face_number, int vertex_number, int axis) { static int box_vertices[6][4][3] = { { { 1,1,1 }, { 1,0,1 }, { 1,0,0 }, { 1,1,0 } }, { { 0,0,0 }, { 0,0,1 }, { 0,1,1 }, { 0,1,0 } }, { { 0,0,0 }, { 0,1,0 }, { 1,1,0 }, { 1,0,0 } }, { { 0,0,0 }, { 1,0,0 }, { 1,0,1 }, { 0,0,1 } }, { { 1,1,1 }, { 0,1,1 }, { 0,0,1 }, { 1,0,1 } }, { { 1,1,1 }, { 1,1,0 }, { 0,1,0 }, { 0,1,1 } }, }; assert(face_number >= 0 && face_number < 6); assert(vertex_number >= 0 && vertex_number < 4); assert(axis >= 0 && axis < 3); return box_vertices[face_number][vertex_number][axis]; } void stb_linear_controller(float *curpos, float target_pos, float acc, float deacc, float dt) { float sign = 1, p, cp = *curpos; if (cp == target_pos) return; if (target_pos < cp) { target_pos = -target_pos; cp = -cp; sign = -1; } // first decelerate if (cp < 0) { p = cp + deacc * dt; if (p > 0) { p = 0; dt = dt - cp / deacc; if (dt < 0) dt = 0; } else { dt = 0; } cp = p; } // now accelerate p = cp + acc*dt; if (p > target_pos) p = target_pos; *curpos = p * sign; // @TODO: testing } float stb_quadratic_controller(float target_pos, float curpos, float maxvel, float maxacc, float dt, float *curvel) { return 0; // @TODO } int stb_float_eq(float x, float y, float delta, int max_ulps) { if (fabs(x-y) <= delta) return 1; if (abs(*(int *)&x - *(int *)&y) <= max_ulps) return 1; return 0; } int stb_is_prime(unsigned int m) { unsigned int i,j; if (m < 2) return 0; if (m == 2) return 1; if (!(m & 1)) return 0; if (m % 3 == 0) return (m == 3); for (i=5; (j=i*i), j <= m && j > i; i += 6) { if (m % i == 0) return 0; if (m % (i+2) == 0) return 0; } return 1; } unsigned int stb_power_of_two_nearest_prime(int n) { static signed char tab[32] = { 0,0,0,0,1,0,-1,0,1,-1,-1,3,-1,0,-1,2,1, 0,2,0,-1,-4,-1,5,-1,18,-2,15,2,-1,2,0 }; if (!tab[0]) { int i; for (i=0; i < 32; ++i) tab[i] = (1 << i) + 2*tab[i] - 1; tab[1] = 2; tab[0] = 1; } if (n >= 32) return 0xfffffffb; return tab[n]; } double stb_linear_remap(double x, double x_min, double x_max, double out_min, double out_max) { return stb_lerp(stb_unlerp(x,x_min,x_max),out_min,out_max); } #endif // create a macro so it's faster, but you can get at the function pointer #define stb_linear_remap(t,a,b,c,d) stb_lerp(stb_unlerp(t,a,b),c,d) ////////////////////////////////////////////////////////////////////////////// // // bit operations // #define stb_big32(c) (((c)[0]<<24) + (c)[1]*65536 + (c)[2]*256 + (c)[3]) #define stb_little32(c) (((c)[3]<<24) + (c)[2]*65536 + (c)[1]*256 + (c)[0]) #define stb_big16(c) ((c)[0]*256 + (c)[1]) #define stb_little16(c) ((c)[1]*256 + (c)[0]) STB_EXTERN int stb_bitcount(unsigned int a); STB_EXTERN unsigned int stb_bitreverse8(unsigned char n); STB_EXTERN unsigned int stb_bitreverse(unsigned int n); STB_EXTERN int stb_is_pow2(size_t); STB_EXTERN int stb_log2_ceil(size_t); STB_EXTERN int stb_log2_floor(size_t); STB_EXTERN int stb_lowbit8(unsigned int n); STB_EXTERN int stb_highbit8(unsigned int n); #ifdef STB_DEFINE int stb_bitcount(unsigned int a) { a = (a & 0x55555555) + ((a >> 1) & 0x55555555); // max 2 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); // max 4 a = (a + (a >> 4)) & 0x0f0f0f0f; // max 8 per 4, now 8 bits a = (a + (a >> 8)); // max 16 per 8 bits a = (a + (a >> 16)); // max 32 per 8 bits return a & 0xff; } unsigned int stb_bitreverse8(unsigned char n) { n = ((n & 0xAA) >> 1) + ((n & 0x55) << 1); n = ((n & 0xCC) >> 2) + ((n & 0x33) << 2); return (unsigned char) ((n >> 4) + (n << 4)); } unsigned int stb_bitreverse(unsigned int n) { n = ((n & 0xAAAAAAAA) >> 1) | ((n & 0x55555555) << 1); n = ((n & 0xCCCCCCCC) >> 2) | ((n & 0x33333333) << 2); n = ((n & 0xF0F0F0F0) >> 4) | ((n & 0x0F0F0F0F) << 4); n = ((n & 0xFF00FF00) >> 8) | ((n & 0x00FF00FF) << 8); return (n >> 16) | (n << 16); } int stb_is_pow2(size_t n) { return (n & (n-1)) == 0; } // tricky use of 4-bit table to identify 5 bit positions (note the '-1') // 3-bit table would require another tree level; 5-bit table wouldn't save one #if defined(_WIN32) && !defined(__MINGW32__) #pragma warning(push) #pragma warning(disable: 4035) // disable warning about no return value int stb_log2_floor(size_t n) { #if _MSC_VER > 1700 unsigned long i; #ifdef STB_PTR64 _BitScanReverse64(&i, n); #else _BitScanReverse(&i, n); #endif return i != 0 ? i : -1; #else __asm { bsr eax,n jnz done mov eax,-1 } done:; #endif } #pragma warning(pop) #else int stb_log2_floor(size_t n) { static signed char log2_4[16] = { -1,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3 }; #ifdef STB_PTR64 if (n >= ((size_t) 1u << 32)) return stb_log2_floor(n >> 32); #endif // 2 compares if n < 16, 3 compares otherwise if (n < (1U << 14)) if (n < (1U << 4)) return 0 + log2_4[n ]; else if (n < (1U << 9)) return 5 + log2_4[n >> 5]; else return 10 + log2_4[n >> 10]; else if (n < (1U << 24)) if (n < (1U << 19)) return 15 + log2_4[n >> 15]; else return 20 + log2_4[n >> 20]; else if (n < (1U << 29)) return 25 + log2_4[n >> 25]; else return 30 + log2_4[n >> 30]; } #endif // define ceil from floor int stb_log2_ceil(size_t n) { if (stb_is_pow2(n)) return stb_log2_floor(n); else return 1 + stb_log2_floor(n); } int stb_highbit8(unsigned int n) { return stb_log2_ceil(n&255); } int stb_lowbit8(unsigned int n) { static signed char lowbit4[16] = { -1,0,1,0, 2,0,1,0, 3,0,1,0, 2,0,1,0 }; int k = lowbit4[n & 15]; if (k >= 0) return k; k = lowbit4[(n >> 4) & 15]; if (k >= 0) return k+4; return k; } #endif ////////////////////////////////////////////////////////////////////////////// // // qsort Compare Routines // #ifdef _WIN32 #define stb_stricmp(a,b) stb_p_stricmp(a,b) #define stb_strnicmp(a,b,n) stb_p_strnicmp(a,b,n) #else #define stb_stricmp(a,b) strcasecmp(a,b) #define stb_strnicmp(a,b,n) strncasecmp(a,b,n) #endif STB_EXTERN int (*stb_intcmp(int offset))(const void *a, const void *b); STB_EXTERN int (*stb_intcmprev(int offset))(const void *a, const void *b); STB_EXTERN int (*stb_qsort_strcmp(int offset))(const void *a, const void *b); STB_EXTERN int (*stb_qsort_stricmp(int offset))(const void *a, const void *b); STB_EXTERN int (*stb_floatcmp(int offset))(const void *a, const void *b); STB_EXTERN int (*stb_doublecmp(int offset))(const void *a, const void *b); STB_EXTERN int (*stb_charcmp(int offset))(const void *a, const void *b); #ifdef STB_DEFINE static int stb__intcmpoffset, stb__ucharcmpoffset, stb__strcmpoffset; static int stb__floatcmpoffset, stb__doublecmpoffset; static int stb__memcmpoffset, stb__memcmpsize; int stb__intcmp(const void *a, const void *b) { const int p = *(const int *) ((const char *) a + stb__intcmpoffset); const int q = *(const int *) ((const char *) b + stb__intcmpoffset); return p < q ? -1 : p > q; } int stb__intcmprev(const void *a, const void *b) { const int p = *(const int *) ((const char *) a + stb__intcmpoffset); const int q = *(const int *) ((const char *) b + stb__intcmpoffset); return q < p ? -1 : q > p; } int stb__ucharcmp(const void *a, const void *b) { const int p = *(const unsigned char *) ((const char *) a + stb__ucharcmpoffset); const int q = *(const unsigned char *) ((const char *) b + stb__ucharcmpoffset); return p < q ? -1 : p > q; } int stb__floatcmp(const void *a, const void *b) { const float p = *(const float *) ((const char *) a + stb__floatcmpoffset); const float q = *(const float *) ((const char *) b + stb__floatcmpoffset); return p < q ? -1 : p > q; } int stb__doublecmp(const void *a, const void *b) { const double p = *(const double *) ((const char *) a + stb__doublecmpoffset); const double q = *(const double *) ((const char *) b + stb__doublecmpoffset); return p < q ? -1 : p > q; } int stb__qsort_strcmp(const void *a, const void *b) { const char *p = *(const char **) ((const char *) a + stb__strcmpoffset); const char *q = *(const char **) ((const char *) b + stb__strcmpoffset); return strcmp(p,q); } int stb__qsort_stricmp(const void *a, const void *b) { const char *p = *(const char **) ((const char *) a + stb__strcmpoffset); const char *q = *(const char **) ((const char *) b + stb__strcmpoffset); return stb_stricmp(p,q); } int stb__memcmp(const void *a, const void *b) { return memcmp((char *) a + stb__memcmpoffset, (char *) b + stb__memcmpoffset, stb__memcmpsize); } int (*stb_intcmp(int offset))(const void *, const void *) { stb__intcmpoffset = offset; return &stb__intcmp; } int (*stb_intcmprev(int offset))(const void *, const void *) { stb__intcmpoffset = offset; return &stb__intcmprev; } int (*stb_ucharcmp(int offset))(const void *, const void *) { stb__ucharcmpoffset = offset; return &stb__ucharcmp; } int (*stb_qsort_strcmp(int offset))(const void *, const void *) { stb__strcmpoffset = offset; return &stb__qsort_strcmp; } int (*stb_qsort_stricmp(int offset))(const void *, const void *) { stb__strcmpoffset = offset; return &stb__qsort_stricmp; } int (*stb_floatcmp(int offset))(const void *, const void *) { stb__floatcmpoffset = offset; return &stb__floatcmp; } int (*stb_doublecmp(int offset))(const void *, const void *) { stb__doublecmpoffset = offset; return &stb__doublecmp; } int (*stb_memcmp(int offset, int size))(const void *, const void *) { stb__memcmpoffset = offset; stb__memcmpsize = size; return &stb__memcmp; } #endif ////////////////////////////////////////////////////////////////////////////// // // Binary Search Toolkit // typedef struct { int minval, maxval, guess; int mode, step; } stb_search; STB_EXTERN int stb_search_binary(stb_search *s, int minv, int maxv, int find_smallest); STB_EXTERN int stb_search_open(stb_search *s, int minv, int find_smallest); STB_EXTERN int stb_probe(stb_search *s, int compare, int *result); // return 0 when done #ifdef STB_DEFINE enum { STB_probe_binary_smallest, STB_probe_binary_largest, STB_probe_open_smallest, STB_probe_open_largest, }; static int stb_probe_guess(stb_search *s, int *result) { switch(s->mode) { case STB_probe_binary_largest: if (s->minval == s->maxval) { *result = s->minval; return 0; } assert(s->minval < s->maxval); // if a < b, then a < p <= b s->guess = s->minval + (((unsigned) s->maxval - s->minval + 1) >> 1); break; case STB_probe_binary_smallest: if (s->minval == s->maxval) { *result = s->minval; return 0; } assert(s->minval < s->maxval); // if a < b, then a <= p < b s->guess = s->minval + (((unsigned) s->maxval - s->minval) >> 1); break; case STB_probe_open_smallest: case STB_probe_open_largest: s->guess = s->maxval; // guess the current maxval break; } *result = s->guess; return 1; } int stb_probe(stb_search *s, int compare, int *result) { switch(s->mode) { case STB_probe_open_smallest: case STB_probe_open_largest: { if (compare <= 0) { // then it lies within minval & maxval if (s->mode == STB_probe_open_smallest) s->mode = STB_probe_binary_smallest; else s->mode = STB_probe_binary_largest; } else { // otherwise, we need to probe larger s->minval = s->maxval + 1; s->maxval = s->minval + s->step; s->step += s->step; } break; } case STB_probe_binary_smallest: { // if compare < 0, then s->minval <= a < p // if compare = 0, then s->minval <= a <= p // if compare > 0, then p < a <= s->maxval if (compare <= 0) s->maxval = s->guess; else s->minval = s->guess+1; break; } case STB_probe_binary_largest: { // if compare < 0, then s->minval <= a < p // if compare = 0, then p <= a <= s->maxval // if compare > 0, then p < a <= s->maxval if (compare < 0) s->maxval = s->guess-1; else s->minval = s->guess; break; } } return stb_probe_guess(s, result); } int stb_search_binary(stb_search *s, int minv, int maxv, int find_smallest) { int r; if (maxv < minv) return minv-1; s->minval = minv; s->maxval = maxv; s->mode = find_smallest ? STB_probe_binary_smallest : STB_probe_binary_largest; stb_probe_guess(s, &r); return r; } int stb_search_open(stb_search *s, int minv, int find_smallest) { int r; s->step = 4; s->minval = minv; s->maxval = minv+s->step; s->mode = find_smallest ? STB_probe_open_smallest : STB_probe_open_largest; stb_probe_guess(s, &r); return r; } #endif ////////////////////////////////////////////////////////////////////////////// // // String Processing // #define stb_prefixi(s,t) (0==stb_strnicmp((s),(t),strlen(t))) enum stb_splitpath_flag { STB_PATH = 1, STB_FILE = 2, STB_EXT = 4, STB_PATH_FILE = STB_PATH + STB_FILE, STB_FILE_EXT = STB_FILE + STB_EXT, STB_EXT_NO_PERIOD = 8, }; STB_EXTERN char * stb_skipwhite(char *s); STB_EXTERN char * stb_trimwhite(char *s); STB_EXTERN char * stb_skipnewline(char *s); STB_EXTERN char * stb_strncpy(char *s, char *t, int n); STB_EXTERN char * stb_substr(char *t, int n); STB_EXTERN char * stb_duplower(char *s); STB_EXTERN void stb_tolower (char *s); STB_EXTERN char * stb_strchr2 (char *s, char p1, char p2); STB_EXTERN char * stb_strrchr2(char *s, char p1, char p2); STB_EXTERN char * stb_strtok(char *output, char *src, char *delimit); STB_EXTERN char * stb_strtok_keep(char *output, char *src, char *delimit); STB_EXTERN char * stb_strtok_invert(char *output, char *src, char *allowed); STB_EXTERN char * stb_dupreplace(char *s, char *find, char *replace); STB_EXTERN void stb_replaceinplace(char *s, char *find, char *replace); STB_EXTERN char * stb_splitpath(char *output, char *src, int flag); STB_EXTERN char * stb_splitpathdup(char *src, int flag); STB_EXTERN char * stb_replacedir(char *output, char *src, char *dir); STB_EXTERN char * stb_replaceext(char *output, char *src, char *ext); STB_EXTERN void stb_fixpath(char *path); STB_EXTERN char * stb_shorten_path_readable(char *path, int max_len); STB_EXTERN int stb_suffix (char *s, char *t); STB_EXTERN int stb_suffixi(char *s, char *t); STB_EXTERN int stb_prefix (char *s, char *t); STB_EXTERN char * stb_strichr(char *s, char t); STB_EXTERN char * stb_stristr(char *s, char *t); STB_EXTERN int stb_prefix_count(char *s, char *t); STB_EXTERN const char * stb_plural(int n); // "s" or "" STB_EXTERN size_t stb_strscpy(char *d, const char *s, size_t n); STB_EXTERN char **stb_tokens(char *src, char *delimit, int *count); STB_EXTERN char **stb_tokens_nested(char *src, char *delimit, int *count, char *nest_in, char *nest_out); STB_EXTERN char **stb_tokens_nested_empty(char *src, char *delimit, int *count, char *nest_in, char *nest_out); STB_EXTERN char **stb_tokens_allowempty(char *src, char *delimit, int *count); STB_EXTERN char **stb_tokens_stripwhite(char *src, char *delimit, int *count); STB_EXTERN char **stb_tokens_withdelim(char *src, char *delimit, int *count); STB_EXTERN char **stb_tokens_quoted(char *src, char *delimit, int *count); // with 'quoted', allow delimiters to appear inside quotation marks, and don't // strip whitespace inside them (and we delete the quotation marks unless they // appear back to back, in which case they're considered escaped) #ifdef STB_DEFINE size_t stb_strscpy(char *d, const char *s, size_t n) { size_t len = strlen(s); if (len >= n) { if (n) d[0] = 0; return 0; } stb_p_strcpy_s(d,n,s); return len; } const char *stb_plural(int n) { return n == 1 ? "" : "s"; } int stb_prefix(char *s, char *t) { while (*t) if (*s++ != *t++) return STB_FALSE; return STB_TRUE; } int stb_prefix_count(char *s, char *t) { int c=0; while (*t) { if (*s++ != *t++) break; ++c; } return c; } int stb_suffix(char *s, char *t) { size_t n = strlen(s); size_t m = strlen(t); if (m <= n) return 0 == strcmp(s+n-m, t); else return 0; } int stb_suffixi(char *s, char *t) { size_t n = strlen(s); size_t m = strlen(t); if (m <= n) return 0 == stb_stricmp(s+n-m, t); else return 0; } // originally I was using this table so that I could create known sentinel // values--e.g. change whitetable[0] to be true if I was scanning for whitespace, // and false if I was scanning for nonwhite. I don't appear to be using that // functionality anymore (I do for tokentable, though), so just replace it // with isspace() char *stb_skipwhite(char *s) { while (isspace((unsigned char) *s)) ++s; return s; } char *stb_skipnewline(char *s) { if (s[0] == '\r' || s[0] == '\n') { if (s[0]+s[1] == '\r' + '\n') ++s; ++s; } return s; } char *stb_trimwhite(char *s) { int i,n; s = stb_skipwhite(s); n = (int) strlen(s); for (i=n-1; i >= 0; --i) if (!isspace(s[i])) break; s[i+1] = 0; return s; } char *stb_strncpy(char *s, char *t, int n) { stb_p_strncpy_s(s,n+1,t,n); s[n] = 0; return s; } char *stb_substr(char *t, int n) { char *a; int z = (int) strlen(t); if (z < n) n = z; a = (char *) malloc(n+1); stb_p_strncpy_s(a,n+1,t,n); a[n] = 0; return a; } char *stb_duplower(char *s) { char *p = stb_p_strdup(s), *q = p; while (*q) { *q = tolower(*q); ++q; } return p; } void stb_tolower(char *s) { while (*s) { *s = tolower(*s); ++s; } } char *stb_strchr2(char *s, char x, char y) { for(; *s; ++s) if (*s == x || *s == y) return s; return NULL; } char *stb_strrchr2(char *s, char x, char y) { char *r = NULL; for(; *s; ++s) if (*s == x || *s == y) r = s; return r; } char *stb_strichr(char *s, char t) { if (tolower(t) == toupper(t)) return strchr(s,t); return stb_strchr2(s, (char) tolower(t), (char) toupper(t)); } char *stb_stristr(char *s, char *t) { size_t n = strlen(t); char *z; if (n==0) return s; while ((z = stb_strichr(s, *t)) != NULL) { if (0==stb_strnicmp(z, t, n)) return z; s = z+1; } return NULL; } static char *stb_strtok_raw(char *output, char *src, char *delimit, int keep, int invert) { if (invert) { while (*src && strchr(delimit, *src) != NULL) { *output++ = *src++; } } else { while (*src && strchr(delimit, *src) == NULL) { *output++ = *src++; } } *output = 0; if (keep) return src; else return *src ? src+1 : src; } char *stb_strtok(char *output, char *src, char *delimit) { return stb_strtok_raw(output, src, delimit, 0, 0); } char *stb_strtok_keep(char *output, char *src, char *delimit) { return stb_strtok_raw(output, src, delimit, 1, 0); } char *stb_strtok_invert(char *output, char *src, char *delimit) { return stb_strtok_raw(output, src, delimit, 1,1); } static char **stb_tokens_raw(char *src_, char *delimit, int *count, int stripwhite, int allow_empty, char *start, char *end) { int nested = 0; unsigned char *src = (unsigned char *) src_; static char stb_tokentable[256]; // rely on static initializion to 0 static char stable[256],etable[256]; char *out; char **result; int num=0; unsigned char *s; s = (unsigned char *) delimit; while (*s) stb_tokentable[*s++] = 1; if (start) { s = (unsigned char *) start; while (*s) stable[*s++] = 1; s = (unsigned char *) end; if (s) while (*s) stable[*s++] = 1; s = (unsigned char *) end; if (s) while (*s) etable[*s++] = 1; } stable[0] = 1; // two passes through: the first time, counting how many s = (unsigned char *) src; while (*s) { // state: just found delimiter // skip further delimiters if (!allow_empty) { stb_tokentable[0] = 0; while (stb_tokentable[*s]) ++s; if (!*s) break; } ++num; // skip further non-delimiters stb_tokentable[0] = 1; if (stripwhite == 2) { // quoted strings while (!stb_tokentable[*s]) { if (*s != '"') ++s; else { ++s; if (*s == '"') ++s; // "" -> ", not start a string else { // begin a string while (*s) { if (s[0] == '"') { if (s[1] == '"') s += 2; // "" -> " else { ++s; break; } // terminating " } else ++s; } } } } } else while (nested || !stb_tokentable[*s]) { if (stable[*s]) { if (!*s) break; if (end ? etable[*s] : nested) --nested; else ++nested; } ++s; } if (allow_empty) { if (*s) ++s; } } // now num has the actual count... malloc our output structure // need space for all the strings: strings won't be any longer than // original input, since for every '\0' there's at least one delimiter result = (char **) malloc(sizeof(*result) * (num+1) + (s-src+1)); if (result == NULL) return result; out = (char *) (result + (num+1)); // second pass: copy out the data s = (unsigned char *) src; num = 0; nested = 0; while (*s) { char *last_nonwhite; // state: just found delimiter // skip further delimiters if (!allow_empty) { stb_tokentable[0] = 0; if (stripwhite) while (stb_tokentable[*s] || isspace(*s)) ++s; else while (stb_tokentable[*s]) ++s; } else if (stripwhite) { while (isspace(*s)) ++s; } if (!*s) break; // we're past any leading delimiters and whitespace result[num] = out; ++num; // copy non-delimiters stb_tokentable[0] = 1; last_nonwhite = out-1; if (stripwhite == 2) { while (!stb_tokentable[*s]) { if (*s != '"') { if (!isspace(*s)) last_nonwhite = out; *out++ = *s++; } else { ++s; if (*s == '"') { if (!isspace(*s)) last_nonwhite = out; *out++ = *s++; // "" -> ", not start string } else { // begin a quoted string while (*s) { if (s[0] == '"') { if (s[1] == '"') { *out++ = *s; s += 2; } else { ++s; break; } // terminating " } else *out++ = *s++; } last_nonwhite = out-1; // all in quotes counts as non-white } } } } else { while (nested || !stb_tokentable[*s]) { if (!isspace(*s)) last_nonwhite = out; if (stable[*s]) { if (!*s) break; if (end ? etable[*s] : nested) --nested; else ++nested; } *out++ = *s++; } } if (stripwhite) // rewind to last non-whitespace char out = last_nonwhite+1; *out++ = '\0'; if (*s) ++s; // skip delimiter } s = (unsigned char *) delimit; while (*s) stb_tokentable[*s++] = 0; if (start) { s = (unsigned char *) start; while (*s) stable[*s++] = 1; s = (unsigned char *) end; if (s) while (*s) stable[*s++] = 1; s = (unsigned char *) end; if (s) while (*s) etable[*s++] = 1; } if (count != NULL) *count = num; result[num] = 0; return result; } char **stb_tokens(char *src, char *delimit, int *count) { return stb_tokens_raw(src,delimit,count,0,0,0,0); } char **stb_tokens_nested(char *src, char *delimit, int *count, char *nest_in, char *nest_out) { return stb_tokens_raw(src,delimit,count,0,0,nest_in,nest_out); } char **stb_tokens_nested_empty(char *src, char *delimit, int *count, char *nest_in, char *nest_out) { return stb_tokens_raw(src,delimit,count,0,1,nest_in,nest_out); } char **stb_tokens_allowempty(char *src, char *delimit, int *count) { return stb_tokens_raw(src,delimit,count,0,1,0,0); } char **stb_tokens_stripwhite(char *src, char *delimit, int *count) { return stb_tokens_raw(src,delimit,count,1,1,0,0); } char **stb_tokens_quoted(char *src, char *delimit, int *count) { return stb_tokens_raw(src,delimit,count,2,1,0,0); } char *stb_dupreplace(char *src, char *find, char *replace) { size_t len_find = strlen(find); size_t len_replace = strlen(replace); int count = 0; char *s,*p,*q; s = strstr(src, find); if (s == NULL) return stb_p_strdup(src); do { ++count; s = strstr(s + len_find, find); } while (s != NULL); p = (char *) malloc(strlen(src) + count * (len_replace - len_find) + 1); if (p == NULL) return p; q = p; s = src; for (;;) { char *t = strstr(s, find); if (t == NULL) { stb_p_strcpy_s(q,strlen(src)+count*(len_replace-len_find)+1,s); assert(strlen(p) == strlen(src) + count*(len_replace-len_find)); return p; } memcpy(q, s, t-s); q += t-s; memcpy(q, replace, len_replace); q += len_replace; s = t + len_find; } } void stb_replaceinplace(char *src, char *find, char *replace) { size_t len_find = strlen(find); size_t len_replace = strlen(replace); int delta; char *s,*p,*q; delta = (int) (len_replace - len_find); assert(delta <= 0); if (delta > 0) return; p = strstr(src, find); if (p == NULL) return; s = q = p; while (*s) { memcpy(q, replace, len_replace); p += len_find; q += len_replace; s = strstr(p, find); if (s == NULL) s = p + strlen(p); memmove(q, p, s-p); q += s-p; p = s; } *q = 0; } void stb_fixpath(char *path) { for(; *path; ++path) if (*path == '\\') *path = '/'; } void stb__add_section(char *buffer, char *data, ptrdiff_t curlen, ptrdiff_t newlen) { if (newlen < curlen) { ptrdiff_t z1 = newlen >> 1, z2 = newlen-z1; memcpy(buffer, data, z1-1); buffer[z1-1] = '.'; buffer[z1-0] = '.'; memcpy(buffer+z1+1, data+curlen-z2+1, z2-1); } else memcpy(buffer, data, curlen); } char * stb_shorten_path_readable(char *path, int len) { static char buffer[1024]; ptrdiff_t n = strlen(path),n1,n2,r1,r2; char *s; if (n <= len) return path; if (len > 1024) return path; s = stb_strrchr2(path, '/', '\\'); if (s) { n1 = s - path + 1; n2 = n - n1; ++s; } else { n1 = 0; n2 = n; s = path; } // now we need to reduce r1 and r2 so that they fit in len if (n1 < len>>1) { r1 = n1; r2 = len - r1; } else if (n2 < len >> 1) { r2 = n2; r1 = len - r2; } else { r1 = n1 * len / n; r2 = n2 * len / n; if (r1 < len>>2) r1 = len>>2, r2 = len-r1; if (r2 < len>>2) r2 = len>>2, r1 = len-r2; } assert(r1 <= n1 && r2 <= n2); if (n1) stb__add_section(buffer, path, n1, r1); stb__add_section(buffer+r1, s, n2, r2); buffer[len] = 0; return buffer; } static char *stb__splitpath_raw(char *buffer, char *path, int flag) { ptrdiff_t len=0,x,y, n = (int) strlen(path), f1,f2; char *s = stb_strrchr2(path, '/', '\\'); char *t = strrchr(path, '.'); if (s && t && t < s) t = NULL; if (!s) { // check for drive if (isalpha(path[0]) && path[1] == ':') s = &path[1]; } if (s) ++s; if (flag == STB_EXT_NO_PERIOD) flag |= STB_EXT; if (!(flag & (STB_PATH | STB_FILE | STB_EXT))) return NULL; f1 = s == NULL ? 0 : s-path; // start of filename f2 = t == NULL ? n : t-path; // just past end of filename if (flag & STB_PATH) { x = 0; if (f1 == 0 && flag == STB_PATH) len=2; } else if (flag & STB_FILE) { x = f1; } else { x = f2; if (flag & STB_EXT_NO_PERIOD) if (path[x] == '.') ++x; } if (flag & STB_EXT) y = n; else if (flag & STB_FILE) y = f2; else y = f1; if (buffer == NULL) { buffer = (char *) malloc(y-x + len + 1); if (!buffer) return NULL; } if (len) { stb_p_strcpy_s(buffer, 3, "./"); return buffer; } stb_strncpy(buffer, path+(int)x, (int)(y-x)); return buffer; } char *stb_splitpath(char *output, char *src, int flag) { return stb__splitpath_raw(output, src, flag); } char *stb_splitpathdup(char *src, int flag) { return stb__splitpath_raw(NULL, src, flag); } char *stb_replacedir(char *output, char *src, char *dir) { char buffer[4096]; stb_splitpath(buffer, src, STB_FILE | STB_EXT); if (dir) stb_p_sprintf(output stb_p_size(9999), "%s/%s", dir, buffer); else stb_p_strcpy_s(output, sizeof(buffer), buffer); // @UNSAFE return output; } char *stb_replaceext(char *output, char *src, char *ext) { char buffer[4096]; stb_splitpath(buffer, src, STB_PATH | STB_FILE); if (ext) stb_p_sprintf(output stb_p_size(9999), "%s.%s", buffer, ext[0] == '.' ? ext+1 : ext); else stb_p_strcpy_s(output, sizeof(buffer), buffer); // @UNSAFE return output; } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_alloc - hierarchical allocator // // inspired by http://swapped.cc/halloc // // // When you alloc a given block through stb_alloc, you have these choices: // // 1. does it have a parent? // 2. can it have children? // 3. can it be freed directly? // 4. is it transferrable? // 5. what is its alignment? // // Here are interesting combinations of those: // // children free transfer alignment // arena Y Y N n/a // no-overhead, chunked N N N normal // string pool alloc N N N 1 // parent-ptr, chunked Y N N normal // low-overhead, unchunked N Y Y normal // general purpose alloc Y Y Y normal // // Unchunked allocations will probably return 16-aligned pointers. If // we 16-align the results, we have room for 4 pointers. For smaller // allocations that allow finer alignment, we can reduce the pointers. // // The strategy is that given a pointer, assuming it has a header (only // the no-overhead allocations have no header), we can determine the // type of the header fields, and the number of them, by stepping backwards // through memory and looking at the tags in the bottom bits. // // Implementation strategy: // chunked allocations come from the middle of chunks, and can't // be freed. thefore they do not need to be on a sibling chain. // they may need child pointers if they have children. // // chunked, with-children // void *parent; // // unchunked, no-children -- reduced storage // void *next_sibling; // void *prev_sibling_nextp; // // unchunked, general // void *first_child; // void *next_sibling; // void *prev_sibling_nextp; // void *chunks; // // so, if we code each of these fields with different bit patterns // (actually same one for next/prev/child), then we can identify which // each one is from the last field. STB_EXTERN void stb_free(void *p); STB_EXTERN void *stb_malloc_global(size_t size); STB_EXTERN void *stb_malloc(void *context, size_t size); STB_EXTERN void *stb_malloc_nofree(void *context, size_t size); STB_EXTERN void *stb_malloc_leaf(void *context, size_t size); STB_EXTERN void *stb_malloc_raw(void *context, size_t size); STB_EXTERN void *stb_realloc(void *ptr, size_t newsize); STB_EXTERN void stb_reassign(void *new_context, void *ptr); STB_EXTERN void stb_malloc_validate(void *p, void *parent); extern int stb_alloc_chunk_size ; extern int stb_alloc_count_free ; extern int stb_alloc_count_alloc; extern int stb_alloc_alignment ; #ifdef STB_DEFINE int stb_alloc_chunk_size = 65536; int stb_alloc_count_free = 0; int stb_alloc_count_alloc = 0; int stb_alloc_alignment = -16; typedef struct stb__chunk { struct stb__chunk *next; int data_left; int alloc; } stb__chunk; typedef struct { void * next; void ** prevn; } stb__nochildren; typedef struct { void ** prevn; void * child; void * next; stb__chunk *chunks; } stb__alloc; typedef struct { stb__alloc *parent; } stb__chunked; #define STB__PARENT 1 #define STB__CHUNKS 2 typedef enum { STB__nochildren = 0, STB__chunked = STB__PARENT, STB__alloc = STB__CHUNKS, STB__chunk_raw = 4, } stb__alloc_type; // these functions set the bottom bits of a pointer efficiently #define STB__DECODE(x,v) ((void *) ((char *) (x) - (v))) #define STB__ENCODE(x,v) ((void *) ((char *) (x) + (v))) #define stb__parent(z) (stb__alloc *) STB__DECODE((z)->parent, STB__PARENT) #define stb__chunks(z) (stb__chunk *) STB__DECODE((z)->chunks, STB__CHUNKS) #define stb__setparent(z,p) (z)->parent = (stb__alloc *) STB__ENCODE((p), STB__PARENT) #define stb__setchunks(z,c) (z)->chunks = (stb__chunk *) STB__ENCODE((c), STB__CHUNKS) static stb__alloc stb__alloc_global = { NULL, NULL, NULL, (stb__chunk *) STB__ENCODE(NULL, STB__CHUNKS) }; static stb__alloc_type stb__identify(void *p) { void **q = (void **) p; return (stb__alloc_type) ((stb_uinta) q[-1] & 3); } static void *** stb__prevn(void *p) { if (stb__identify(p) == STB__alloc) { stb__alloc *s = (stb__alloc *) p - 1; return &s->prevn; } else { stb__nochildren *s = (stb__nochildren *) p - 1; return &s->prevn; } } void stb_free(void *p) { if (p == NULL) return; // count frees so that unit tests can see what's happening ++stb_alloc_count_free; switch(stb__identify(p)) { case STB__chunked: // freeing a chunked-block with children does nothing; // they only get freed when the parent does // surely this is wrong, and it should free them immediately? // otherwise how are they getting put on the right chain? return; case STB__nochildren: { stb__nochildren *s = (stb__nochildren *) p - 1; // unlink from sibling chain *(s->prevn) = s->next; if (s->next) *stb__prevn(s->next) = s->prevn; free(s); return; } case STB__alloc: { stb__alloc *s = (stb__alloc *) p - 1; stb__chunk *c, *n; void *q; // unlink from sibling chain, if any *(s->prevn) = s->next; if (s->next) *stb__prevn(s->next) = s->prevn; // first free chunks c = (stb__chunk *) stb__chunks(s); while (c != NULL) { n = c->next; stb_alloc_count_free += c->alloc; free(c); c = n; } // validating stb__setchunks(s,NULL); s->prevn = NULL; s->next = NULL; // now free children while ((q = s->child) != NULL) { stb_free(q); } // now free self free(s); return; } default: assert(0); /* NOTREACHED */ } } void stb_malloc_validate(void *p, void *parent) { if (p == NULL) return; switch(stb__identify(p)) { case STB__chunked: return; case STB__nochildren: { stb__nochildren *n = (stb__nochildren *) p - 1; if (n->prevn) assert(*n->prevn == p); if (n->next) { assert(*stb__prevn(n->next) == &n->next); stb_malloc_validate(n, parent); } return; } case STB__alloc: { stb__alloc *s = (stb__alloc *) p - 1; if (s->prevn) assert(*s->prevn == p); if (s->child) { assert(*stb__prevn(s->child) == &s->child); stb_malloc_validate(s->child, p); } if (s->next) { assert(*stb__prevn(s->next) == &s->next); stb_malloc_validate(s->next, parent); } return; } default: assert(0); /* NOTREACHED */ } } static void * stb__try_chunk(stb__chunk *c, int size, int align, int pre_align) { char *memblock = (char *) (c+1), *q; stb_inta iq; int start_offset; // we going to allocate at the end of the chunk, not the start. confusing, // but it means we don't need both a 'limit' and a 'cur', just a 'cur'. // the block ends at: p + c->data_left // then we move back by size start_offset = c->data_left - size; // now we need to check the alignment of that q = memblock + start_offset; iq = (stb_inta) q; assert(sizeof(q) == sizeof(iq)); // suppose align = 2 // then we need to retreat iq far enough that (iq & (2-1)) == 0 // to get (iq & (align-1)) = 0 requires subtracting (iq & (align-1)) start_offset -= iq & (align-1); assert(((stb_uinta) (memblock+start_offset) & (align-1)) == 0); // now, if that + pre_align works, go for it! start_offset -= pre_align; if (start_offset >= 0) { c->data_left = start_offset; return memblock + start_offset; } return NULL; } static void stb__sort_chunks(stb__alloc *src) { // of the first two chunks, put the chunk with more data left in it first stb__chunk *c = stb__chunks(src), *d; if (c == NULL) return; d = c->next; if (d == NULL) return; if (c->data_left > d->data_left) return; c->next = d->next; d->next = c; stb__setchunks(src, d); } static void * stb__alloc_chunk(stb__alloc *src, int size, int align, int pre_align) { void *p; stb__chunk *c = stb__chunks(src); if (c && size <= stb_alloc_chunk_size) { p = stb__try_chunk(c, size, align, pre_align); if (p) { ++c->alloc; return p; } // try a second chunk to reduce wastage if (c->next) { p = stb__try_chunk(c->next, size, align, pre_align); if (p) { ++c->alloc; return p; } // put the bigger chunk first, since the second will get buried // the upshot of this is that, until it gets allocated from, chunk #2 // is always the largest remaining chunk. (could formalize // this with a heap!) stb__sort_chunks(src); c = stb__chunks(src); } } // allocate a new chunk { stb__chunk *n; int chunk_size = stb_alloc_chunk_size; // we're going to allocate a new chunk to put this in if (size > chunk_size) chunk_size = size; assert(sizeof(*n) + pre_align <= 16); // loop trying to allocate a large enough chunk // the loop is because the alignment may cause problems if it's big... // and we don't know what our chunk alignment is going to be while (1) { n = (stb__chunk *) malloc(16 + chunk_size); if (n == NULL) return NULL; n->data_left = chunk_size - sizeof(*n); p = stb__try_chunk(n, size, align, pre_align); if (p != NULL) { n->next = c; stb__setchunks(src, n); // if we just used up the whole block immediately, // move the following chunk up n->alloc = 1; if (size == chunk_size) stb__sort_chunks(src); return p; } free(n); chunk_size += 16+align; } } } static stb__alloc * stb__get_context(void *context) { if (context == NULL) { return &stb__alloc_global; } else { int u = stb__identify(context); // if context is chunked, grab parent if (u == STB__chunked) { stb__chunked *s = (stb__chunked *) context - 1; return stb__parent(s); } else { return (stb__alloc *) context - 1; } } } static void stb__insert_alloc(stb__alloc *src, stb__alloc *s) { s->prevn = &src->child; s->next = src->child; src->child = s+1; if (s->next) *stb__prevn(s->next) = &s->next; } static void stb__insert_nochild(stb__alloc *src, stb__nochildren *s) { s->prevn = &src->child; s->next = src->child; src->child = s+1; if (s->next) *stb__prevn(s->next) = &s->next; } static void * malloc_base(void *context, size_t size, stb__alloc_type t, int align) { void *p; stb__alloc *src = stb__get_context(context); if (align <= 0) { // compute worst-case C packed alignment // e.g. a 24-byte struct is 8-aligned int align_proposed = 1 << stb_lowbit8((unsigned int) size); if (align_proposed < 0) align_proposed = 4; if (align_proposed == 0) { if (size == 0) align_proposed = 1; else align_proposed = 256; } // a negative alignment means 'don't align any larger // than this'; so -16 means we align 1,2,4,8, or 16 if (align < 0) { if (align_proposed > -align) align_proposed = -align; } align = align_proposed; } assert(stb_is_pow2(align)); // don't cause misalignment when allocating nochildren if (t == STB__nochildren && align > 8) t = STB__alloc; switch (t) { case STB__alloc: { stb__alloc *s = (stb__alloc *) malloc(size + sizeof(*s)); if (s == NULL) return NULL; p = s+1; s->child = NULL; stb__insert_alloc(src, s); stb__setchunks(s,NULL); break; } case STB__nochildren: { stb__nochildren *s = (stb__nochildren *) malloc(size + sizeof(*s)); if (s == NULL) return NULL; p = s+1; stb__insert_nochild(src, s); break; } case STB__chunk_raw: { p = stb__alloc_chunk(src, (int) size, align, 0); if (p == NULL) return NULL; break; } case STB__chunked: { stb__chunked *s; if (align < sizeof(stb_uintptr)) align = sizeof(stb_uintptr); s = (stb__chunked *) stb__alloc_chunk(src, (int) size, align, sizeof(*s)); if (s == NULL) return NULL; stb__setparent(s, src); p = s+1; break; } default: p = NULL; assert(0); /* NOTREACHED */ } ++stb_alloc_count_alloc; return p; } void *stb_malloc_global(size_t size) { return malloc_base(NULL, size, STB__alloc, stb_alloc_alignment); } void *stb_malloc(void *context, size_t size) { return malloc_base(context, size, STB__alloc, stb_alloc_alignment); } void *stb_malloc_nofree(void *context, size_t size) { return malloc_base(context, size, STB__chunked, stb_alloc_alignment); } void *stb_malloc_leaf(void *context, size_t size) { return malloc_base(context, size, STB__nochildren, stb_alloc_alignment); } void *stb_malloc_raw(void *context, size_t size) { return malloc_base(context, size, STB__chunk_raw, stb_alloc_alignment); } char *stb_malloc_string(void *context, size_t size) { return (char *) malloc_base(context, size, STB__chunk_raw, 1); } void *stb_realloc(void *ptr, size_t newsize) { stb__alloc_type t; if (ptr == NULL) return stb_malloc(NULL, newsize); if (newsize == 0) { stb_free(ptr); return NULL; } t = stb__identify(ptr); assert(t == STB__alloc || t == STB__nochildren); if (t == STB__alloc) { stb__alloc *s = (stb__alloc *) ptr - 1; s = (stb__alloc *) realloc(s, newsize + sizeof(*s)); if (s == NULL) return NULL; ptr = s+1; // update pointers (*s->prevn) = ptr; if (s->next) *stb__prevn(s->next) = &s->next; if (s->child) *stb__prevn(s->child) = &s->child; return ptr; } else { stb__nochildren *s = (stb__nochildren *) ptr - 1; s = (stb__nochildren *) realloc(ptr, newsize + sizeof(s)); if (s == NULL) return NULL; // update pointers (*s->prevn) = s+1; if (s->next) *stb__prevn(s->next) = &s->next; return s+1; } } void *stb_realloc_c(void *context, void *ptr, size_t newsize) { if (ptr == NULL) return stb_malloc(context, newsize); if (newsize == 0) { stb_free(ptr); return NULL; } // @TODO: verify you haven't changed contexts return stb_realloc(ptr, newsize); } void stb_reassign(void *new_context, void *ptr) { stb__alloc *src = stb__get_context(new_context); stb__alloc_type t = stb__identify(ptr); assert(t == STB__alloc || t == STB__nochildren); if (t == STB__alloc) { stb__alloc *s = (stb__alloc *) ptr - 1; // unlink from old *(s->prevn) = s->next; if (s->next) *stb__prevn(s->next) = s->prevn; stb__insert_alloc(src, s); } else { stb__nochildren *s = (stb__nochildren *) ptr - 1; // unlink from old *(s->prevn) = s->next; if (s->next) *stb__prevn(s->next) = s->prevn; stb__insert_nochild(src, s); } } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_arr // // An stb_arr is directly useable as a pointer (use the actual type in your // definition), but when it resizes, it returns a new pointer and you can't // use the old one, so you have to be careful to copy-in-out as necessary. // // Use a NULL pointer as a 0-length array. // // float *my_array = NULL, *temp; // // // add elements on the end one at a time // stb_arr_push(my_array, 0.0f); // stb_arr_push(my_array, 1.0f); // stb_arr_push(my_array, 2.0f); // // assert(my_array[1] == 2.0f); // // // add an uninitialized element at the end, then assign it // *stb_arr_add(my_array) = 3.0f; // // // add three uninitialized elements at the end // temp = stb_arr_addn(my_array,3); // temp[0] = 4.0f; // temp[1] = 5.0f; // temp[2] = 6.0f; // // assert(my_array[5] == 5.0f); // // // remove the last one // stb_arr_pop(my_array); // // assert(stb_arr_len(my_array) == 6); #ifdef STB_MALLOC_WRAPPER #define STB__PARAMS , char *file, int line #define STB__ARGS , file, line #else #define STB__PARAMS #define STB__ARGS #endif // calling this function allocates an empty stb_arr attached to p // (whereas NULL isn't attached to anything) STB_EXTERN void stb_arr_malloc(void **target, void *context); // call this function with a non-NULL value to have all successive // stbs that are created be attached to the associated parent. Note // that once a given stb_arr is non-empty, it stays attached to its // current parent, even if you call this function again. // it turns the previous value, so you can restore it STB_EXTERN void* stb_arr_malloc_parent(void *p); // simple functions written on top of other functions #define stb_arr_empty(a) ( stb_arr_len(a) == 0 ) #define stb_arr_add(a) ( stb_arr_addn((a),1) ) #define stb_arr_push(a,v) ( *stb_arr_add(a)=(v) ) typedef struct { int len, limit; int stb_malloc; unsigned int signature; } stb__arr; #define stb_arr_signature 0x51bada7b // ends with 0123 in decimal // access the header block stored before the data #define stb_arrhead(a) /*lint --e(826)*/ (((stb__arr *) (a)) - 1) #define stb_arrhead2(a) /*lint --e(826)*/ (((stb__arr *) (a)) - 1) #ifdef STB_DEBUG #define stb_arr_check(a) assert(!a || stb_arrhead(a)->signature == stb_arr_signature) #define stb_arr_check2(a) assert(!a || stb_arrhead2(a)->signature == stb_arr_signature) #else #define stb_arr_check(a) ((void) 0) #define stb_arr_check2(a) ((void) 0) #endif // ARRAY LENGTH // get the array length; special case if pointer is NULL #define stb_arr_len(a) (a ? stb_arrhead(a)->len : 0) #define stb_arr_len2(a) ((stb__arr *) (a) ? stb_arrhead2(a)->len : 0) #define stb_arr_lastn(a) (stb_arr_len(a)-1) // check whether a given index is valid -- tests 0 <= i < stb_arr_len(a) #define stb_arr_valid(a,i) (a ? (int) (i) < stb_arrhead(a)->len : 0) // change the array length so is is exactly N entries long, creating // uninitialized entries as needed #define stb_arr_setlen(a,n) \ (stb__arr_setlen((void **) &(a), sizeof(a[0]), (n))) // change the array length so that N is a valid index (that is, so // it is at least N entries long), creating uninitialized entries as needed #define stb_arr_makevalid(a,n) \ (stb_arr_len(a) < (n)+1 ? stb_arr_setlen(a,(n)+1),(a) : (a)) // remove the last element of the array, returning it #define stb_arr_pop(a) ((stb_arr_check(a), (a))[--stb_arrhead(a)->len]) // access the last element in the array #define stb_arr_last(a) ((stb_arr_check(a), (a))[stb_arr_len(a)-1]) // is iterator at end of list? #define stb_arr_end(a,i) ((i) >= &(a)[stb_arr_len(a)]) // (internal) change the allocated length of the array #define stb_arr__grow(a,n) (stb_arr_check(a), stb_arrhead(a)->len += (n)) // add N new uninitialized elements to the end of the array #define stb_arr__addn(a,n) /*lint --e(826)*/ \ ((stb_arr_len(a)+(n) > stb_arrcurmax(a)) \ ? (stb__arr_addlen((void **) &(a),sizeof(*a),(n)),0) \ : ((stb_arr__grow(a,n), 0))) // add N new uninitialized elements to the end of the array, and return // a pointer to the first new one #define stb_arr_addn(a,n) (stb_arr__addn((a),n),(a)+stb_arr_len(a)-(n)) // add N new uninitialized elements starting at index 'i' #define stb_arr_insertn(a,i,n) (stb__arr_insertn((void **) &(a), sizeof(*a), (i), (n))) // insert an element at i #define stb_arr_insert(a,i,v) (stb__arr_insertn((void **) &(a), sizeof(*a), (i), (1)), ((a)[i] = v)) // delete N elements from the middle starting at index 'i' #define stb_arr_deleten(a,i,n) (stb__arr_deleten((void **) &(a), sizeof(*a), (i), (n))) // delete the i'th element #define stb_arr_delete(a,i) stb_arr_deleten(a,i,1) // delete the i'th element, swapping down from the end #define stb_arr_fastdelete(a,i) \ (stb_swap(&a[i], &a[stb_arrhead(a)->len-1], sizeof(*a)), stb_arr_pop(a)) // ARRAY STORAGE // get the array maximum storage; special case if NULL #define stb_arrcurmax(a) (a ? stb_arrhead(a)->limit : 0) #define stb_arrcurmax2(a) (a ? stb_arrhead2(a)->limit : 0) // set the maxlength of the array to n in anticipation of further growth #define stb_arr_setsize(a,n) (stb_arr_check(a), stb__arr_setsize((void **) &(a),sizeof((a)[0]),n)) // make sure maxlength is large enough for at least N new allocations #define stb_arr_atleast(a,n) (stb_arr_len(a)+(n) > stb_arrcurmax(a) \ ? stb_arr_setsize((a), (n)) : 0) // make a copy of a given array (copies contents via 'memcpy'!) #define stb_arr_copy(a) stb__arr_copy(a, sizeof((a)[0])) // compute the storage needed to store all the elements of the array #define stb_arr_storage(a) (stb_arr_len(a) * sizeof((a)[0])) #define stb_arr_for(v,arr) for((v)=(arr); (v) < (arr)+stb_arr_len(arr); ++(v)) // IMPLEMENTATION STB_EXTERN void stb_arr_free_(void **p); STB_EXTERN void *stb__arr_copy_(void *p, int elem_size); STB_EXTERN void stb__arr_setsize_(void **p, int size, int limit STB__PARAMS); STB_EXTERN void stb__arr_setlen_(void **p, int size, int newlen STB__PARAMS); STB_EXTERN void stb__arr_addlen_(void **p, int size, int addlen STB__PARAMS); STB_EXTERN void stb__arr_deleten_(void **p, int size, int loc, int n STB__PARAMS); STB_EXTERN void stb__arr_insertn_(void **p, int size, int loc, int n STB__PARAMS); #define stb_arr_free(p) stb_arr_free_((void **) &(p)) #define stb__arr_copy stb__arr_copy_ #ifndef STB_MALLOC_WRAPPER #define stb__arr_setsize stb__arr_setsize_ #define stb__arr_setlen stb__arr_setlen_ #define stb__arr_addlen stb__arr_addlen_ #define stb__arr_deleten stb__arr_deleten_ #define stb__arr_insertn stb__arr_insertn_ #else #define stb__arr_addlen(p,s,n) stb__arr_addlen_(p,s,n,__FILE__,__LINE__) #define stb__arr_setlen(p,s,n) stb__arr_setlen_(p,s,n,__FILE__,__LINE__) #define stb__arr_setsize(p,s,n) stb__arr_setsize_(p,s,n,__FILE__,__LINE__) #define stb__arr_deleten(p,s,i,n) stb__arr_deleten_(p,s,i,n,__FILE__,__LINE__) #define stb__arr_insertn(p,s,i,n) stb__arr_insertn_(p,s,i,n,__FILE__,__LINE__) #endif #ifdef STB_DEFINE static void *stb__arr_context; void *stb_arr_malloc_parent(void *p) { void *q = stb__arr_context; stb__arr_context = p; return q; } void stb_arr_malloc(void **target, void *context) { stb__arr *q = (stb__arr *) stb_malloc(context, sizeof(*q)); q->len = q->limit = 0; q->stb_malloc = 1; q->signature = stb_arr_signature; *target = (void *) (q+1); } static void * stb__arr_malloc(int size) { if (stb__arr_context) return stb_malloc(stb__arr_context, size); return malloc(size); } void * stb__arr_copy_(void *p, int elem_size) { stb__arr *q; if (p == NULL) return p; q = (stb__arr *) stb__arr_malloc(sizeof(*q) + elem_size * stb_arrhead2(p)->limit); stb_arr_check2(p); memcpy(q, stb_arrhead2(p), sizeof(*q) + elem_size * stb_arrhead2(p)->len); q->stb_malloc = !!stb__arr_context; return q+1; } void stb_arr_free_(void **pp) { void *p = *pp; stb_arr_check2(p); if (p) { stb__arr *q = stb_arrhead2(p); if (q->stb_malloc) stb_free(q); else free(q); } *pp = NULL; } static void stb__arrsize_(void **pp, int size, int limit, int len STB__PARAMS) { void *p = *pp; stb__arr *a; stb_arr_check2(p); if (p == NULL) { if (len == 0 && size == 0) return; a = (stb__arr *) stb__arr_malloc(sizeof(*a) + size*limit); a->limit = limit; a->len = len; a->stb_malloc = !!stb__arr_context; a->signature = stb_arr_signature; } else { a = stb_arrhead2(p); a->len = len; if (a->limit < limit) { void *p; if (a->limit >= 4 && limit < a->limit * 2) limit = a->limit * 2; if (a->stb_malloc) p = stb_realloc(a, sizeof(*a) + limit*size); else #ifdef STB_MALLOC_WRAPPER p = stb__realloc(a, sizeof(*a) + limit*size, file, line); #else p = realloc(a, sizeof(*a) + limit*size); #endif if (p) { a = (stb__arr *) p; a->limit = limit; } else { // throw an error! } } } a->len = stb_min(a->len, a->limit); *pp = a+1; } void stb__arr_setsize_(void **pp, int size, int limit STB__PARAMS) { void *p = *pp; stb_arr_check2(p); stb__arrsize_(pp, size, limit, stb_arr_len2(p) STB__ARGS); } void stb__arr_setlen_(void **pp, int size, int newlen STB__PARAMS) { void *p = *pp; stb_arr_check2(p); if (stb_arrcurmax2(p) < newlen || p == NULL) { stb__arrsize_(pp, size, newlen, newlen STB__ARGS); } else { stb_arrhead2(p)->len = newlen; } } void stb__arr_addlen_(void **p, int size, int addlen STB__PARAMS) { stb__arr_setlen_(p, size, stb_arr_len2(*p) + addlen STB__ARGS); } void stb__arr_insertn_(void **pp, int size, int i, int n STB__PARAMS) { void *p = *pp; if (n) { int z; if (p == NULL) { stb__arr_addlen_(pp, size, n STB__ARGS); return; } z = stb_arr_len2(p); stb__arr_addlen_(&p, size, n STB__ARGS); memmove((char *) p + (i+n)*size, (char *) p + i*size, size * (z-i)); } *pp = p; } void stb__arr_deleten_(void **pp, int size, int i, int n STB__PARAMS) { void *p = *pp; if (n) { memmove((char *) p + i*size, (char *) p + (i+n)*size, size * (stb_arr_len2(p)-(i+n))); stb_arrhead2(p)->len -= n; } *pp = p; } #endif ////////////////////////////////////////////////////////////////////////////// // // Hashing // // typical use for this is to make a power-of-two hash table. // // let N = size of table (2^n) // let H = stb_hash(str) // let S = stb_rehash(H) | 1 // // then hash probe sequence P(i) for i=0..N-1 // P(i) = (H + S*i) & (N-1) // // the idea is that H has 32 bits of hash information, but the // table has only, say, 2^20 entries so only uses 20 of the bits. // then by rehashing the original H we get 2^12 different probe // sequences for a given initial probe location. (So it's optimal // for 64K tables and its optimality decreases past that.) // // ok, so I've added something that generates _two separate_ // 32-bit hashes simultaneously which should scale better to // very large tables. STB_EXTERN unsigned int stb_hash(char *str); STB_EXTERN unsigned int stb_hashptr(void *p); STB_EXTERN unsigned int stb_hashlen(char *str, int len); STB_EXTERN unsigned int stb_rehash_improved(unsigned int v); STB_EXTERN unsigned int stb_hash_fast(void *p, int len); STB_EXTERN unsigned int stb_hash2(char *str, unsigned int *hash2_ptr); STB_EXTERN unsigned int stb_hash_number(unsigned int hash); #define stb_rehash(x) ((x) + ((x) >> 6) + ((x) >> 19)) #ifdef STB_DEFINE unsigned int stb_hash(char *str) { unsigned int hash = 0; while (*str) hash = (hash << 7) + (hash >> 25) + *str++; return hash + (hash >> 16); } unsigned int stb_hashlen(char *str, int len) { unsigned int hash = 0; while (len-- > 0 && *str) hash = (hash << 7) + (hash >> 25) + *str++; return hash + (hash >> 16); } unsigned int stb_hashptr(void *p) { unsigned int x = (unsigned int)(size_t) p; // typically lacking in low bits and high bits x = stb_rehash(x); x += x << 16; // pearson's shuffle x ^= x << 3; x += x >> 5; x ^= x << 2; x += x >> 15; x ^= x << 10; return stb_rehash(x); } unsigned int stb_rehash_improved(unsigned int v) { return stb_hashptr((void *)(size_t) v); } unsigned int stb_hash2(char *str, unsigned int *hash2_ptr) { unsigned int hash1 = 0x3141592c; unsigned int hash2 = 0x77f044ed; while (*str) { hash1 = (hash1 << 7) + (hash1 >> 25) + *str; hash2 = (hash2 << 11) + (hash2 >> 21) + *str; ++str; } *hash2_ptr = hash2 + (hash1 >> 16); return hash1 + (hash2 >> 16); } // Paul Hsieh hash #define stb__get16(p) ((p)[0] | ((p)[1] << 8)) unsigned int stb_hash_fast(void *p, int len) { unsigned char *q = (unsigned char *) p; unsigned int hash = len; if (len <= 0 || q == NULL) return 0; /* Main loop */ for (;len > 3; len -= 4) { unsigned int val; hash += stb__get16(q); val = (stb__get16(q+2) << 11); hash = (hash << 16) ^ hash ^ val; q += 4; hash += hash >> 11; } /* Handle end cases */ switch (len) { case 3: hash += stb__get16(q); hash ^= hash << 16; hash ^= q[2] << 18; hash += hash >> 11; break; case 2: hash += stb__get16(q); hash ^= hash << 11; hash += hash >> 17; break; case 1: hash += q[0]; hash ^= hash << 10; hash += hash >> 1; break; case 0: break; } /* Force "avalanching" of final 127 bits */ hash ^= hash << 3; hash += hash >> 5; hash ^= hash << 4; hash += hash >> 17; hash ^= hash << 25; hash += hash >> 6; return hash; } unsigned int stb_hash_number(unsigned int hash) { hash ^= hash << 3; hash += hash >> 5; hash ^= hash << 4; hash += hash >> 17; hash ^= hash << 25; hash += hash >> 6; return hash; } #endif #ifdef STB_PERFECT_HASH ////////////////////////////////////////////////////////////////////////////// // // Perfect hashing for ints/pointers // // This is mainly useful for making faster pointer-indexed tables // that don't change frequently. E.g. for stb_ischar(). // typedef struct { stb_uint32 addend; stb_uint multiplicand; stb_uint b_mask; stb_uint8 small_bmap[16]; stb_uint16 *large_bmap; stb_uint table_mask; stb_uint32 *table; } stb_perfect; STB_EXTERN int stb_perfect_create(stb_perfect *,unsigned int*,int n); STB_EXTERN void stb_perfect_destroy(stb_perfect *); STB_EXTERN int stb_perfect_hash(stb_perfect *, unsigned int x); extern int stb_perfect_hash_max_failures; #ifdef STB_DEFINE int stb_perfect_hash_max_failures; int stb_perfect_hash(stb_perfect *p, unsigned int x) { stb_uint m = x * p->multiplicand; stb_uint y = x >> 16; stb_uint bv = (m >> 24) + y; stb_uint av = (m + y) >> 12; if (p->table == NULL) return -1; // uninitialized table fails bv &= p->b_mask; av &= p->table_mask; if (p->large_bmap) av ^= p->large_bmap[bv]; else av ^= p->small_bmap[bv]; return p->table[av] == x ? av : -1; } static void stb__perfect_prehash(stb_perfect *p, stb_uint x, stb_uint16 *a, stb_uint16 *b) { stb_uint m = x * p->multiplicand; stb_uint y = x >> 16; stb_uint bv = (m >> 24) + y; stb_uint av = (m + y) >> 12; bv &= p->b_mask; av &= p->table_mask; *b = bv; *a = av; } static unsigned long stb__perfect_rand(void) { static unsigned long stb__rand; stb__rand = stb__rand * 2147001325 + 715136305; return 0x31415926 ^ ((stb__rand >> 16) + (stb__rand << 16)); } typedef struct { unsigned short count; unsigned short b; unsigned short map; unsigned short *entries; } stb__slot; static int stb__slot_compare(const void *p, const void *q) { stb__slot *a = (stb__slot *) p; stb__slot *b = (stb__slot *) q; return a->count > b->count ? -1 : a->count < b->count; // sort large to small } int stb_perfect_create(stb_perfect *p, unsigned int *v, int n) { unsigned int buffer1[64], buffer2[64], buffer3[64], buffer4[64], buffer5[32]; unsigned short *as = (unsigned short *) stb_temp(buffer1, sizeof(*v)*n); unsigned short *bs = (unsigned short *) stb_temp(buffer2, sizeof(*v)*n); unsigned short *entries = (unsigned short *) stb_temp(buffer4, sizeof(*entries) * n); int size = 1 << stb_log2_ceil(n), bsize=8; int failure = 0,i,j,k; assert(n <= 32768); p->large_bmap = NULL; for(;;) { stb__slot *bcount = (stb__slot *) stb_temp(buffer3, sizeof(*bcount) * bsize); unsigned short *bloc = (unsigned short *) stb_temp(buffer5, sizeof(*bloc) * bsize); unsigned short *e; int bad=0; p->addend = stb__perfect_rand(); p->multiplicand = stb__perfect_rand() | 1; p->table_mask = size-1; p->b_mask = bsize-1; p->table = (stb_uint32 *) malloc(size * sizeof(*p->table)); for (i=0; i < bsize; ++i) { bcount[i].b = i; bcount[i].count = 0; bcount[i].map = 0; } for (i=0; i < n; ++i) { stb__perfect_prehash(p, v[i], as+i, bs+i); ++bcount[bs[i]].count; } qsort(bcount, bsize, sizeof(*bcount), stb__slot_compare); e = entries; // now setup up their entries index for (i=0; i < bsize; ++i) { bcount[i].entries = e; e += bcount[i].count; bcount[i].count = 0; bloc[bcount[i].b] = i; } // now fill them out for (i=0; i < n; ++i) { int b = bs[i]; int w = bloc[b]; bcount[w].entries[bcount[w].count++] = i; } stb_tempfree(buffer5,bloc); // verify for (i=0; i < bsize; ++i) for (j=0; j < bcount[i].count; ++j) assert(bs[bcount[i].entries[j]] == bcount[i].b); memset(p->table, 0, size*sizeof(*p->table)); // check if any b has duplicate a for (i=0; i < bsize; ++i) { if (bcount[i].count > 1) { for (j=0; j < bcount[i].count; ++j) { if (p->table[as[bcount[i].entries[j]]]) bad = 1; p->table[as[bcount[i].entries[j]]] = 1; } for (j=0; j < bcount[i].count; ++j) { p->table[as[bcount[i].entries[j]]] = 0; } if (bad) break; } } if (!bad) { // go through the bs and populate the table, first fit for (i=0; i < bsize; ++i) { if (bcount[i].count) { // go through the candidate table[b] values for (j=0; j < size; ++j) { // go through the a values and see if they fit for (k=0; k < bcount[i].count; ++k) { int a = as[bcount[i].entries[k]]; if (p->table[(a^j)&p->table_mask]) { break; // fails } } // if succeeded, accept if (k == bcount[i].count) { bcount[i].map = j; for (k=0; k < bcount[i].count; ++k) { int a = as[bcount[i].entries[k]]; p->table[(a^j)&p->table_mask] = 1; } break; } } if (j == size) break; // no match for i'th entry, so break out in failure } } if (i == bsize) { // success... fill out map if (bsize <= 16 && size <= 256) { p->large_bmap = NULL; for (i=0; i < bsize; ++i) p->small_bmap[bcount[i].b] = (stb_uint8) bcount[i].map; } else { p->large_bmap = (unsigned short *) malloc(sizeof(*p->large_bmap) * bsize); for (i=0; i < bsize; ++i) p->large_bmap[bcount[i].b] = bcount[i].map; } // initialize table to v[0], so empty slots will fail for (i=0; i < size; ++i) p->table[i] = v[0]; for (i=0; i < n; ++i) if (p->large_bmap) p->table[as[i] ^ p->large_bmap[bs[i]]] = v[i]; else p->table[as[i] ^ p->small_bmap[bs[i]]] = v[i]; // and now validate that none of them collided for (i=0; i < n; ++i) assert(stb_perfect_hash(p, v[i]) >= 0); stb_tempfree(buffer3, bcount); break; } } free(p->table); p->table = NULL; stb_tempfree(buffer3, bcount); ++failure; if (failure >= 4 && bsize < size) bsize *= 2; if (failure >= 8 && (failure & 3) == 0 && size < 4*n) { size *= 2; bsize *= 2; } if (failure == 6) { // make sure the input data is unique, so we don't infinite loop unsigned int *data = (unsigned int *) stb_temp(buffer3, n * sizeof(*data)); memcpy(data, v, sizeof(*data) * n); qsort(data, n, sizeof(*data), stb_intcmp(0)); for (i=1; i < n; ++i) { if (data[i] == data[i-1]) size = 0; // size is return value, so 0 it } stb_tempfree(buffer3, data); if (!size) break; } } if (failure > stb_perfect_hash_max_failures) stb_perfect_hash_max_failures = failure; stb_tempfree(buffer1, as); stb_tempfree(buffer2, bs); stb_tempfree(buffer4, entries); return size; } void stb_perfect_destroy(stb_perfect *p) { if (p->large_bmap) free(p->large_bmap); if (p->table ) free(p->table); p->large_bmap = NULL; p->table = NULL; p->b_mask = 0; p->table_mask = 0; } #endif ////////////////////////////////////////////////////////////////////////////// // // Perfect hash clients STB_EXTERN int stb_ischar(char s, char *set); #ifdef STB_DEFINE int stb_ischar(char c, char *set) { static unsigned char bit[8] = { 1,2,4,8,16,32,64,128 }; static stb_perfect p; static unsigned char (*tables)[256]; static char ** sets = NULL; int z = stb_perfect_hash(&p, (int)(size_t) set); if (z < 0) { int i,k,n,j,f; // special code that means free all existing data if (set == NULL) { stb_arr_free(sets); free(tables); tables = NULL; stb_perfect_destroy(&p); return 0; } stb_arr_push(sets, set); stb_perfect_destroy(&p); n = stb_perfect_create(&p, (unsigned int *) (char **) sets, stb_arr_len(sets)); assert(n != 0); k = (n+7) >> 3; tables = (unsigned char (*)[256]) realloc(tables, sizeof(*tables) * k); memset(tables, 0, sizeof(*tables) * k); for (i=0; i < stb_arr_len(sets); ++i) { k = stb_perfect_hash(&p, (int)(size_t) sets[i]); assert(k >= 0); n = k >> 3; f = bit[k&7]; for (j=0; !j || sets[i][j]; ++j) { tables[n][(unsigned char) sets[i][j]] |= f; } } z = stb_perfect_hash(&p, (int)(size_t) set); } return tables[z >> 3][(unsigned char) c] & bit[z & 7]; } #endif #endif ////////////////////////////////////////////////////////////////////////////// // // Instantiated data structures // // This is an attempt to implement a templated data structure. // // Hash table: call stb_define_hash(TYPE,N,KEY,K1,K2,HASH,VALUE) // TYPE -- will define a structure type containing the hash table // N -- the name, will prefix functions named: // N create // N destroy // N get // N set, N add, N update, // N remove // KEY -- the type of the key. 'x == y' must be valid // K1,K2 -- keys never used by the app, used as flags in the hashtable // HASH -- a piece of code ending with 'return' that hashes key 'k' // VALUE -- the type of the value. 'x = y' must be valid // // Note that stb_define_hash_base can be used to define more sophisticated // hash tables, e.g. those that make copies of the key or use special // comparisons (e.g. strcmp). #define STB_(prefix,name) stb__##prefix##name #define STB__(prefix,name) prefix##name #define STB__use(x) x #define STB__skip(x) #define stb_declare_hash(PREFIX,TYPE,N,KEY,VALUE) \ typedef struct stb__st_##TYPE TYPE;\ PREFIX int STB__(N, init)(TYPE *h, int count);\ PREFIX int STB__(N, memory_usage)(TYPE *h);\ PREFIX TYPE * STB__(N, create)(void);\ PREFIX TYPE * STB__(N, copy)(TYPE *h);\ PREFIX void STB__(N, destroy)(TYPE *h);\ PREFIX int STB__(N,get_flag)(TYPE *a, KEY k, VALUE *v);\ PREFIX VALUE STB__(N,get)(TYPE *a, KEY k);\ PREFIX int STB__(N, set)(TYPE *a, KEY k, VALUE v);\ PREFIX int STB__(N, add)(TYPE *a, KEY k, VALUE v);\ PREFIX int STB__(N, update)(TYPE*a,KEY k,VALUE v);\ PREFIX int STB__(N, remove)(TYPE *a, KEY k, VALUE *v); #define STB_nocopy(x) (x) #define STB_nodelete(x) 0 #define STB_nofields #define STB_nonullvalue(x) #define STB_nullvalue(x) x #define STB_safecompare(x) x #define STB_nosafe(x) #define STB_noprefix #ifdef __GNUC__ #define STB__nogcc(x) #else #define STB__nogcc(x) x #endif #define stb_define_hash_base(PREFIX,TYPE,FIELDS,N,NC,LOAD_FACTOR, \ KEY,EMPTY,DEL,COPY,DISPOSE,SAFE, \ VCOMPARE,CCOMPARE,HASH, \ VALUE,HASVNULL,VNULL) \ \ typedef struct \ { \ KEY k; \ VALUE v; \ } STB_(N,_hashpair); \ \ STB__nogcc( typedef struct stb__st_##TYPE TYPE; ) \ struct stb__st_##TYPE { \ FIELDS \ STB_(N,_hashpair) *table; \ unsigned int mask; \ int count, limit; \ int deleted; \ \ int delete_threshhold; \ int grow_threshhold; \ int shrink_threshhold; \ unsigned char alloced, has_empty, has_del; \ VALUE ev; VALUE dv; \ }; \ \ static unsigned int STB_(N, hash)(KEY k) \ { \ HASH \ } \ \ PREFIX int STB__(N, init)(TYPE *h, int count) \ { \ int i; \ if (count < 4) count = 4; \ h->limit = count; \ h->count = 0; \ h->mask = count-1; \ h->deleted = 0; \ h->grow_threshhold = (int) (count * LOAD_FACTOR); \ h->has_empty = h->has_del = 0; \ h->alloced = 0; \ if (count <= 64) \ h->shrink_threshhold = 0; \ else \ h->shrink_threshhold = (int) (count * (LOAD_FACTOR/2.25)); \ h->delete_threshhold = (int) (count * (1-LOAD_FACTOR)/2); \ h->table = (STB_(N,_hashpair)*) malloc(sizeof(h->table[0]) * count); \ if (h->table == NULL) return 0; \ /* ideally this gets turned into a memset32 automatically */ \ for (i=0; i < count; ++i) \ h->table[i].k = EMPTY; \ return 1; \ } \ \ PREFIX int STB__(N, memory_usage)(TYPE *h) \ { \ return sizeof(*h) + h->limit * sizeof(h->table[0]); \ } \ \ PREFIX TYPE * STB__(N, create)(void) \ { \ TYPE *h = (TYPE *) malloc(sizeof(*h)); \ if (h) { \ if (STB__(N, init)(h, 16)) \ h->alloced = 1; \ else { free(h); h=NULL; } \ } \ return h; \ } \ \ PREFIX void STB__(N, destroy)(TYPE *a) \ { \ int i; \ for (i=0; i < a->limit; ++i) \ if (!CCOMPARE(a->table[i].k,EMPTY) && !CCOMPARE(a->table[i].k, DEL)) \ DISPOSE(a->table[i].k); \ free(a->table); \ if (a->alloced) \ free(a); \ } \ \ static void STB_(N, rehash)(TYPE *a, int count); \ \ PREFIX int STB__(N,get_flag)(TYPE *a, KEY k, VALUE *v) \ { \ unsigned int h = STB_(N, hash)(k); \ unsigned int n = h & a->mask, s; \ if (CCOMPARE(k,EMPTY)){ if (a->has_empty) *v = a->ev; return a->has_empty;}\ if (CCOMPARE(k,DEL)) { if (a->has_del ) *v = a->dv; return a->has_del; }\ if (CCOMPARE(a->table[n].k,EMPTY)) return 0; \ SAFE(if (!CCOMPARE(a->table[n].k,DEL))) \ if (VCOMPARE(a->table[n].k,k)) { *v = a->table[n].v; return 1; } \ s = stb_rehash(h) | 1; \ for(;;) { \ n = (n + s) & a->mask; \ if (CCOMPARE(a->table[n].k,EMPTY)) return 0; \ SAFE(if (CCOMPARE(a->table[n].k,DEL)) continue;) \ if (VCOMPARE(a->table[n].k,k)) \ { *v = a->table[n].v; return 1; } \ } \ } \ \ HASVNULL( \ PREFIX VALUE STB__(N,get)(TYPE *a, KEY k) \ { \ VALUE v; \ if (STB__(N,get_flag)(a,k,&v)) return v; \ else return VNULL; \ } \ ) \ \ PREFIX int STB__(N,getkey)(TYPE *a, KEY k, KEY *kout) \ { \ unsigned int h = STB_(N, hash)(k); \ unsigned int n = h & a->mask, s; \ if (CCOMPARE(k,EMPTY)||CCOMPARE(k,DEL)) return 0; \ if (CCOMPARE(a->table[n].k,EMPTY)) return 0; \ SAFE(if (!CCOMPARE(a->table[n].k,DEL))) \ if (VCOMPARE(a->table[n].k,k)) { *kout = a->table[n].k; return 1; } \ s = stb_rehash(h) | 1; \ for(;;) { \ n = (n + s) & a->mask; \ if (CCOMPARE(a->table[n].k,EMPTY)) return 0; \ SAFE(if (CCOMPARE(a->table[n].k,DEL)) continue;) \ if (VCOMPARE(a->table[n].k,k)) \ { *kout = a->table[n].k; return 1; } \ } \ } \ \ static int STB_(N,addset)(TYPE *a, KEY k, VALUE v, \ int allow_new, int allow_old, int copy) \ { \ unsigned int h = STB_(N, hash)(k); \ unsigned int n = h & a->mask; \ int b = -1; \ if (CCOMPARE(k,EMPTY)) { \ if (a->has_empty ? allow_old : allow_new) { \ n=a->has_empty; a->ev = v; a->has_empty = 1; return !n; \ } else return 0; \ } \ if (CCOMPARE(k,DEL)) { \ if (a->has_del ? allow_old : allow_new) { \ n=a->has_del; a->dv = v; a->has_del = 1; return !n; \ } else return 0; \ } \ if (!CCOMPARE(a->table[n].k, EMPTY)) { \ unsigned int s; \ if (CCOMPARE(a->table[n].k, DEL)) \ b = n; \ else if (VCOMPARE(a->table[n].k,k)) { \ if (allow_old) \ a->table[n].v = v; \ return !allow_new; \ } \ s = stb_rehash(h) | 1; \ for(;;) { \ n = (n + s) & a->mask; \ if (CCOMPARE(a->table[n].k, EMPTY)) break; \ if (CCOMPARE(a->table[n].k, DEL)) { \ if (b < 0) b = n; \ } else if (VCOMPARE(a->table[n].k,k)) { \ if (allow_old) \ a->table[n].v = v; \ return !allow_new; \ } \ } \ } \ if (!allow_new) return 0; \ if (b < 0) b = n; else --a->deleted; \ a->table[b].k = copy ? COPY(k) : k; \ a->table[b].v = v; \ ++a->count; \ if (a->count > a->grow_threshhold) \ STB_(N,rehash)(a, a->limit*2); \ return 1; \ } \ \ PREFIX int STB__(N, set)(TYPE *a, KEY k, VALUE v){return STB_(N,addset)(a,k,v,1,1,1);}\ PREFIX int STB__(N, add)(TYPE *a, KEY k, VALUE v){return STB_(N,addset)(a,k,v,1,0,1);}\ PREFIX int STB__(N, update)(TYPE*a,KEY k,VALUE v){return STB_(N,addset)(a,k,v,0,1,1);}\ \ PREFIX int STB__(N, remove)(TYPE *a, KEY k, VALUE *v) \ { \ unsigned int h = STB_(N, hash)(k); \ unsigned int n = h & a->mask, s; \ if (CCOMPARE(k,EMPTY)) { if (a->has_empty) { if(v)*v = a->ev; a->has_empty=0; return 1; } return 0; } \ if (CCOMPARE(k,DEL)) { if (a->has_del ) { if(v)*v = a->dv; a->has_del =0; return 1; } return 0; } \ if (CCOMPARE(a->table[n].k,EMPTY)) return 0; \ if (SAFE(CCOMPARE(a->table[n].k,DEL) || ) !VCOMPARE(a->table[n].k,k)) { \ s = stb_rehash(h) | 1; \ for(;;) { \ n = (n + s) & a->mask; \ if (CCOMPARE(a->table[n].k,EMPTY)) return 0; \ SAFE(if (CCOMPARE(a->table[n].k, DEL)) continue;) \ if (VCOMPARE(a->table[n].k,k)) break; \ } \ } \ DISPOSE(a->table[n].k); \ a->table[n].k = DEL; \ --a->count; \ ++a->deleted; \ if (v != NULL) \ *v = a->table[n].v; \ if (a->count < a->shrink_threshhold) \ STB_(N, rehash)(a, a->limit >> 1); \ else if (a->deleted > a->delete_threshhold) \ STB_(N, rehash)(a, a->limit); \ return 1; \ } \ \ PREFIX TYPE * STB__(NC, copy)(TYPE *a) \ { \ int i; \ TYPE *h = (TYPE *) malloc(sizeof(*h)); \ if (!h) return NULL; \ if (!STB__(N, init)(h, a->limit)) { free(h); return NULL; } \ h->count = a->count; \ h->deleted = a->deleted; \ h->alloced = 1; \ h->ev = a->ev; h->dv = a->dv; \ h->has_empty = a->has_empty; h->has_del = a->has_del; \ memcpy(h->table, a->table, h->limit * sizeof(h->table[0])); \ for (i=0; i < a->limit; ++i) \ if (!CCOMPARE(h->table[i].k,EMPTY) && !CCOMPARE(h->table[i].k,DEL)) \ h->table[i].k = COPY(h->table[i].k); \ return h; \ } \ \ static void STB_(N, rehash)(TYPE *a, int count) \ { \ int i; \ TYPE b; \ STB__(N, init)(&b, count); \ for (i=0; i < a->limit; ++i) \ if (!CCOMPARE(a->table[i].k,EMPTY) && !CCOMPARE(a->table[i].k,DEL)) \ STB_(N,addset)(&b, a->table[i].k, a->table[i].v,1,1,0); \ free(a->table); \ a->table = b.table; \ a->mask = b.mask; \ a->count = b.count; \ a->limit = b.limit; \ a->deleted = b.deleted; \ a->delete_threshhold = b.delete_threshhold; \ a->grow_threshhold = b.grow_threshhold; \ a->shrink_threshhold = b.shrink_threshhold; \ } #define STB_equal(a,b) ((a) == (b)) #define stb_define_hash(TYPE,N,KEY,EMPTY,DEL,HASH,VALUE) \ stb_define_hash_base(STB_noprefix, TYPE,STB_nofields,N,NC,0.85f, \ KEY,EMPTY,DEL,STB_nocopy,STB_nodelete,STB_nosafe, \ STB_equal,STB_equal,HASH, \ VALUE,STB_nonullvalue,0) #define stb_define_hash_vnull(TYPE,N,KEY,EMPTY,DEL,HASH,VALUE,VNULL) \ stb_define_hash_base(STB_noprefix, TYPE,STB_nofields,N,NC,0.85f, \ KEY,EMPTY,DEL,STB_nocopy,STB_nodelete,STB_nosafe, \ STB_equal,STB_equal,HASH, \ VALUE,STB_nullvalue,VNULL) ////////////////////////////////////////////////////////////////////////////// // // stb_ptrmap // // An stb_ptrmap data structure is an O(1) hash table between pointers. One // application is to let you store "extra" data associated with pointers, // which is why it was originally called stb_extra. stb_declare_hash(STB_EXTERN, stb_ptrmap, stb_ptrmap_, void *, void *) stb_declare_hash(STB_EXTERN, stb_idict, stb_idict_, stb_int32, stb_int32) stb_declare_hash(STB_EXTERN, stb_uidict, stbi_uidict_, stb_uint32, stb_uint32) STB_EXTERN void stb_ptrmap_delete(stb_ptrmap *e, void (*free_func)(void *)); STB_EXTERN stb_ptrmap *stb_ptrmap_new(void); STB_EXTERN stb_idict * stb_idict_new_size(int size); STB_EXTERN void stb_idict_remove_all(stb_idict *e); STB_EXTERN void stb_uidict_reset(stb_uidict *e); #ifdef STB_DEFINE #define STB_EMPTY ((void *) 2) #define STB_EDEL ((void *) 6) stb_define_hash_base(STB_noprefix,stb_ptrmap, STB_nofields, stb_ptrmap_,stb_ptrmap_,0.85f, void *,STB_EMPTY,STB_EDEL,STB_nocopy,STB_nodelete,STB_nosafe, STB_equal,STB_equal,return stb_hashptr(k);, void *,STB_nullvalue,NULL) stb_ptrmap *stb_ptrmap_new(void) { return stb_ptrmap_create(); } void stb_ptrmap_delete(stb_ptrmap *e, void (*free_func)(void *)) { int i; if (free_func) for (i=0; i < e->limit; ++i) if (e->table[i].k != STB_EMPTY && e->table[i].k != STB_EDEL) { if (free_func == free) free(e->table[i].v); // allow STB_MALLOC_WRAPPER to operate else free_func(e->table[i].v); } stb_ptrmap_destroy(e); } // extra fields needed for stua_dict #define STB_IEMPTY ((int) 1) #define STB_IDEL ((int) 3) stb_define_hash_base(STB_noprefix, stb_idict, short type; short gc; STB_nofields, stb_idict_,stb_idict_,0.95f, stb_int32,STB_IEMPTY,STB_IDEL,STB_nocopy,STB_nodelete,STB_nosafe, STB_equal,STB_equal, return stb_rehash_improved(k);,stb_int32,STB_nonullvalue,0) stb_idict * stb_idict_new_size(int size) { stb_idict *e = (stb_idict *) malloc(sizeof(*e)); if (e) { if (!stb_is_pow2(size)) size = 1 << stb_log2_ceil(size); stb_idict_init(e, size); e->alloced = 1; } return e; } void stb_idict_remove_all(stb_idict *e) { int n; for (n=0; n < e->limit; ++n) e->table[n].k = STB_IEMPTY; e->has_empty = e->has_del = 0; e->count = 0; e->deleted = 0; } stb_define_hash_base(STB_noprefix, stb_uidict, STB_nofields, stb_uidict_,stb_uidict_,0.85f, stb_int32,0xffffffff,0xfffffffe,STB_nocopy,STB_nodelete,STB_nosafe, STB_equal,STB_equal, return stb_rehash_improved(k);,stb_uint32,STB_nonullvalue,0) void stb_uidict_reset(stb_uidict *e) { int n; for (n=0; n < e->limit; ++n) e->table[n].k = 0xffffffff; e->has_empty = e->has_del = 0; e->count = 0; e->deleted = 0; } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_sparse_ptr_matrix // // An stb_ptrmap data structure is an O(1) hash table storing an arbitrary // block of data for a given pair of pointers. // // If create=0, returns typedef struct stb__st_stb_spmatrix stb_spmatrix; STB_EXTERN stb_spmatrix * stb_sparse_ptr_matrix_new(int val_size); STB_EXTERN void stb_sparse_ptr_matrix_free(stb_spmatrix *z); STB_EXTERN void * stb_sparse_ptr_matrix_get(stb_spmatrix *z, void *a, void *b, int create); #ifdef STB_DEFINE typedef struct { void *a; void *b; } stb__ptrpair; static stb__ptrpair stb__ptrpair_empty = { (void *) 1, (void *) 1 }; static stb__ptrpair stb__ptrpair_del = { (void *) 2, (void *) 2 }; #define STB__equal_ptrpair(x,y) ((x).a == (y).a && (x).b == (y).b) stb_define_hash_base(STB_noprefix, stb_spmatrix, int val_size; void *arena;, stb__spmatrix_,stb__spmatrix_, 0.85, stb__ptrpair, stb__ptrpair_empty, stb__ptrpair_del, STB_nocopy, STB_nodelete, STB_nosafe, STB__equal_ptrpair, STB__equal_ptrpair, return stb_rehash(stb_hashptr(k.a))+stb_hashptr(k.b);, void *, STB_nullvalue, 0) stb_spmatrix *stb_sparse_ptr_matrix_new(int val_size) { stb_spmatrix *m = stb__spmatrix_create(); if (m) m->val_size = val_size; if (m) m->arena = stb_malloc_global(1); return m; } void stb_sparse_ptr_matrix_free(stb_spmatrix *z) { if (z->arena) stb_free(z->arena); stb__spmatrix_destroy(z); } void *stb_sparse_ptr_matrix_get(stb_spmatrix *z, void *a, void *b, int create) { stb__ptrpair t = { a,b }; void *data = stb__spmatrix_get(z, t); if (!data && create) { data = stb_malloc_raw(z->arena, z->val_size); if (!data) return NULL; memset(data, 0, z->val_size); stb__spmatrix_add(z, t, data); } return data; } #endif ////////////////////////////////////////////////////////////////////////////// // // SDICT: Hash Table for Strings (symbol table) // // if "use_arena=1", then strings will be copied // into blocks and never freed until the sdict is freed; // otherwise they're malloc()ed and free()d on the fly. // (specify use_arena=1 if you never stb_sdict_remove) stb_declare_hash(STB_EXTERN, stb_sdict, stb_sdict_, char *, void *) STB_EXTERN stb_sdict * stb_sdict_new(int use_arena); STB_EXTERN stb_sdict * stb_sdict_copy(stb_sdict*); STB_EXTERN void stb_sdict_delete(stb_sdict *); STB_EXTERN void * stb_sdict_change(stb_sdict *, char *str, void *p); STB_EXTERN int stb_sdict_count(stb_sdict *d); STB_EXTERN int stb_sdict_internal_limit(stb_sdict *d); STB_EXTERN char * stb_sdict_internal_key(stb_sdict *d, int n); STB_EXTERN void * stb_sdict_internal_value(stb_sdict *d, int n); #define stb_sdict_for(d,i,q,z) \ for(i=0; i < stb_sdict_internal_limit(d) ? (q=stb_sdict_internal_key(d,i),z=stb_sdict_internal_value(d,i),1) : 0; ++i) \ if (q==NULL||q==(void *) 1);else // reversed makes macro friendly #ifdef STB_DEFINE // if in same translation unit, for speed, don't call accessors #undef stb_sdict_for #define stb_sdict_for(d,i,q,z) \ for(i=0; i < (d)->limit ? (q=(d)->table[i].k,z=(d)->table[i].v,1) : 0; ++i) \ if (q==NULL||q==(void *) 1);else // reversed makes macro friendly #define STB_DEL ((void *) 1) #define STB_SDEL ((char *) 1) #define stb_sdict__copy(x) \ stb_p_strcpy_s(a->arena ? stb_malloc_string(a->arena, strlen(x)+1) \ : (char *) malloc(strlen(x)+1), strlen(x)+1, x) #define stb_sdict__dispose(x) if (!a->arena) free(x) stb_define_hash_base(STB_noprefix, stb_sdict, void*arena;, stb_sdict_,stb_sdictinternal_, 0.85f, char *, NULL, STB_SDEL, stb_sdict__copy, stb_sdict__dispose, STB_safecompare, !strcmp, STB_equal, return stb_hash(k);, void *, STB_nullvalue, NULL) int stb_sdict_count(stb_sdict *a) { return a->count; } int stb_sdict_internal_limit(stb_sdict *a) { return a->limit; } char* stb_sdict_internal_key(stb_sdict *a, int n) { return a->table[n].k; } void* stb_sdict_internal_value(stb_sdict *a, int n) { return a->table[n].v; } stb_sdict * stb_sdict_new(int use_arena) { stb_sdict *d = stb_sdict_create(); if (d == NULL) return NULL; d->arena = use_arena ? stb_malloc_global(1) : NULL; return d; } stb_sdict* stb_sdict_copy(stb_sdict *old) { stb_sdict *n; void *old_arena = old->arena; void *new_arena = old_arena ? stb_malloc_global(1) : NULL; old->arena = new_arena; n = stb_sdictinternal_copy(old); old->arena = old_arena; if (n) n->arena = new_arena; else if (new_arena) stb_free(new_arena); return n; } void stb_sdict_delete(stb_sdict *d) { if (d->arena) stb_free(d->arena); stb_sdict_destroy(d); } void * stb_sdict_change(stb_sdict *d, char *str, void *p) { void *q = stb_sdict_get(d, str); stb_sdict_set(d, str, p); return q; } #endif ////////////////////////////////////////////////////////////////////////////// // // Instantiated data structures // // This is an attempt to implement a templated data structure. // What you do is define a struct foo, and then include several // pointer fields to struct foo in your struct. Then you call // the instantiator, which creates the functions that implement // the data structure. This requires massive undebuggable #defines, // so we limit the cases where we do this. // // AA tree is an encoding of a 2-3 tree whereas RB trees encode a 2-3-4 tree; // much simpler code due to fewer cases. #define stb__bst_parent(x) x #define stb__bst_noparent(x) #define stb_bst_fields(N) \ *STB_(N,left), *STB_(N,right); \ unsigned char STB_(N,level) #define stb_bst_fields_parent(N) \ *STB_(N,left), *STB_(N,right), *STB_(N,parent); \ unsigned char STB_(N,level) #define STB__level(N,x) ((x) ? (x)->STB_(N,level) : 0) #define stb_bst_base(TYPE, N, TREE, M, compare, PAR) \ \ static int STB_(N,_compare)(TYPE *p, TYPE *q) \ { \ compare \ } \ \ static void STB_(N,setleft)(TYPE *q, TYPE *v) \ { \ q->STB_(N,left) = v; \ PAR(if (v) v->STB_(N,parent) = q;) \ } \ \ static void STB_(N,setright)(TYPE *q, TYPE *v) \ { \ q->STB_(N,right) = v; \ PAR(if (v) v->STB_(N,parent) = q;) \ } \ \ static TYPE *STB_(N,skew)(TYPE *q) \ { \ if (q == NULL) return q; \ if (q->STB_(N,left) \ && q->STB_(N,left)->STB_(N,level) == q->STB_(N,level)) { \ TYPE *p = q->STB_(N,left); \ STB_(N,setleft)(q, p->STB_(N,right)); \ STB_(N,setright)(p, q); \ return p; \ } \ return q; \ } \ \ static TYPE *STB_(N,split)(TYPE *p) \ { \ TYPE *q = p->STB_(N,right); \ if (q && q->STB_(N,right) \ && q->STB_(N,right)->STB_(N,level) == p->STB_(N,level)) { \ STB_(N,setright)(p, q->STB_(N,left)); \ STB_(N,setleft)(q,p); \ ++q->STB_(N,level); \ return q; \ } \ return p; \ } \ \ TYPE *STB__(N,insert)(TYPE *tree, TYPE *item) \ { \ int c; \ if (tree == NULL) { \ item->STB_(N,left) = NULL; \ item->STB_(N,right) = NULL; \ item->STB_(N,level) = 1; \ PAR(item->STB_(N,parent) = NULL;) \ return item; \ } \ c = STB_(N,_compare)(item,tree); \ if (c == 0) { \ if (item != tree) { \ STB_(N,setleft)(item, tree->STB_(N,left)); \ STB_(N,setright)(item, tree->STB_(N,right)); \ item->STB_(N,level) = tree->STB_(N,level); \ PAR(item->STB_(N,parent) = NULL;) \ } \ return item; \ } \ if (c < 0) \ STB_(N,setleft )(tree, STB__(N,insert)(tree->STB_(N,left), item)); \ else \ STB_(N,setright)(tree, STB__(N,insert)(tree->STB_(N,right), item)); \ tree = STB_(N,skew)(tree); \ tree = STB_(N,split)(tree); \ PAR(tree->STB_(N,parent) = NULL;) \ return tree; \ } \ \ TYPE *STB__(N,remove)(TYPE *tree, TYPE *item) \ { \ static TYPE *delnode, *leaf, *restore; \ if (tree == NULL) return NULL; \ leaf = tree; \ if (STB_(N,_compare)(item, tree) < 0) { \ STB_(N,setleft)(tree, STB__(N,remove)(tree->STB_(N,left), item)); \ } else { \ TYPE *r; \ delnode = tree; \ r = STB__(N,remove)(tree->STB_(N,right), item); \ /* maybe move 'leaf' up to this location */ \ if (restore == tree) { tree = leaf; leaf = restore = NULL; } \ STB_(N,setright)(tree,r); \ assert(tree->STB_(N,right) != tree); \ } \ if (tree == leaf) { \ if (delnode == item) { \ tree = tree->STB_(N,right); \ assert(leaf->STB_(N,left) == NULL); \ /* move leaf (the right sibling) up to delnode */ \ STB_(N,setleft )(leaf, item->STB_(N,left )); \ STB_(N,setright)(leaf, item->STB_(N,right)); \ leaf->STB_(N,level) = item->STB_(N,level); \ if (leaf != item) \ restore = delnode; \ } \ delnode = NULL; \ } else { \ if (STB__level(N,tree->STB_(N,left) ) < tree->STB_(N,level)-1 || \ STB__level(N,tree->STB_(N,right)) < tree->STB_(N,level)-1) { \ --tree->STB_(N,level); \ if (STB__level(N,tree->STB_(N,right)) > tree->STB_(N,level)) \ tree->STB_(N,right)->STB_(N,level) = tree->STB_(N,level); \ tree = STB_(N,skew)(tree); \ STB_(N,setright)(tree, STB_(N,skew)(tree->STB_(N,right))); \ if (tree->STB_(N,right)) \ STB_(N,setright)(tree->STB_(N,right), \ STB_(N,skew)(tree->STB_(N,right)->STB_(N,right))); \ tree = STB_(N,split)(tree); \ if (tree->STB_(N,right)) \ STB_(N,setright)(tree, STB_(N,split)(tree->STB_(N,right))); \ } \ } \ PAR(if (tree) tree->STB_(N,parent) = NULL;) \ return tree; \ } \ \ TYPE *STB__(N,last)(TYPE *tree) \ { \ if (tree) \ while (tree->STB_(N,right)) tree = tree->STB_(N,right); \ return tree; \ } \ \ TYPE *STB__(N,first)(TYPE *tree) \ { \ if (tree) \ while (tree->STB_(N,left)) tree = tree->STB_(N,left); \ return tree; \ } \ \ TYPE *STB__(N,next)(TYPE *tree, TYPE *item) \ { \ TYPE *next = NULL; \ if (item->STB_(N,right)) \ return STB__(N,first)(item->STB_(N,right)); \ PAR( \ while(item->STB_(N,parent)) { \ TYPE *up = item->STB_(N,parent); \ if (up->STB_(N,left) == item) return up; \ item = up; \ } \ return NULL; \ ) \ while (tree != item) { \ if (STB_(N,_compare)(item, tree) < 0) { \ next = tree; \ tree = tree->STB_(N,left); \ } else { \ tree = tree->STB_(N,right); \ } \ } \ return next; \ } \ \ TYPE *STB__(N,prev)(TYPE *tree, TYPE *item) \ { \ TYPE *next = NULL; \ if (item->STB_(N,left)) \ return STB__(N,last)(item->STB_(N,left)); \ PAR( \ while(item->STB_(N,parent)) { \ TYPE *up = item->STB_(N,parent); \ if (up->STB_(N,right) == item) return up; \ item = up; \ } \ return NULL; \ ) \ while (tree != item) { \ if (STB_(N,_compare)(item, tree) < 0) { \ tree = tree->STB_(N,left); \ } else { \ next = tree; \ tree = tree->STB_(N,right); \ } \ } \ return next; \ } \ \ STB__DEBUG( \ void STB__(N,_validate)(TYPE *tree, int root) \ { \ if (tree == NULL) return; \ PAR(if(root) assert(tree->STB_(N,parent) == NULL);) \ assert(STB__level(N,tree->STB_(N,left) ) == tree->STB_(N,level)-1); \ assert(STB__level(N,tree->STB_(N,right)) <= tree->STB_(N,level)); \ assert(STB__level(N,tree->STB_(N,right)) >= tree->STB_(N,level)-1); \ if (tree->STB_(N,right)) { \ assert(STB__level(N,tree->STB_(N,right)->STB_(N,right)) \ != tree->STB_(N,level)); \ PAR(assert(tree->STB_(N,right)->STB_(N,parent) == tree);) \ } \ PAR(if(tree->STB_(N,left)) assert(tree->STB_(N,left)->STB_(N,parent) == tree);) \ STB__(N,_validate)(tree->STB_(N,left) ,0); \ STB__(N,_validate)(tree->STB_(N,right),0); \ } \ ) \ \ typedef struct \ { \ TYPE *root; \ } TREE; \ \ void STB__(M,Insert)(TREE *tree, TYPE *item) \ { tree->root = STB__(N,insert)(tree->root, item); } \ void STB__(M,Remove)(TREE *tree, TYPE *item) \ { tree->root = STB__(N,remove)(tree->root, item); } \ TYPE *STB__(M,Next)(TREE *tree, TYPE *item) \ { return STB__(N,next)(tree->root, item); } \ TYPE *STB__(M,Prev)(TREE *tree, TYPE *item) \ { return STB__(N,prev)(tree->root, item); } \ TYPE *STB__(M,First)(TREE *tree) { return STB__(N,first)(tree->root); } \ TYPE *STB__(M,Last) (TREE *tree) { return STB__(N,last) (tree->root); } \ void STB__(M,Init)(TREE *tree) { tree->root = NULL; } #define stb_bst_find(N,tree,fcompare) \ { \ int c; \ while (tree != NULL) { \ fcompare \ if (c == 0) return tree; \ if (c < 0) tree = tree->STB_(N,left); \ else tree = tree->STB_(N,right); \ } \ return NULL; \ } #define stb_bst_raw(TYPE,N,TREE,M,vfield,VTYPE,compare,PAR) \ stb_bst_base(TYPE,N,TREE,M, \ VTYPE a = p->vfield; VTYPE b = q->vfield; return (compare);, PAR ) \ \ TYPE *STB__(N,find)(TYPE *tree, VTYPE a) \ stb_bst_find(N,tree,VTYPE b = tree->vfield; c = (compare);) \ TYPE *STB__(M,Find)(TREE *tree, VTYPE a) \ { return STB__(N,find)(tree->root, a); } #define stb_bst(TYPE,N,TREE,M,vfield,VTYPE,compare) \ stb_bst_raw(TYPE,N,TREE,M,vfield,VTYPE,compare,stb__bst_noparent) #define stb_bst_parent(TYPE,N,TREE,M,vfield,VTYPE,compare) \ stb_bst_raw(TYPE,N,TREE,M,vfield,VTYPE,compare,stb__bst_parent) ////////////////////////////////////////////////////////////////////////////// // // Pointer Nulling // // This lets you automatically NULL dangling pointers to "registered" // objects. Note that you have to make sure you call the appropriate // functions when you free or realloc blocks of memory that contain // pointers or pointer targets. stb.h can automatically do this for // stb_arr, or for all frees/reallocs if it's wrapping them. // #ifdef STB_NPTR STB_EXTERN void stb_nptr_set(void *address_of_pointer, void *value_to_write); STB_EXTERN void stb_nptr_didset(void *address_of_pointer); STB_EXTERN void stb_nptr_didfree(void *address_being_freed, int len); STB_EXTERN void stb_nptr_free(void *address_being_freed, int len); STB_EXTERN void stb_nptr_didrealloc(void *new_address, void *old_address, int len); STB_EXTERN void stb_nptr_recache(void); // recache all known pointers // do this after pointer sets outside your control, slow #ifdef STB_DEFINE // for fast updating on free/realloc, we need to be able to find // all the objects (pointers and targets) within a given block; // this precludes hashing // we use a three-level hierarchy of memory to minimize storage: // level 1: 65536 pointers to stb__memory_node (always uses 256 KB) // level 2: each stb__memory_node represents a 64K block of memory // with 256 stb__memory_leafs (worst case 64MB) // level 3: each stb__memory_leaf represents 256 bytes of memory // using a list of target locations and a list of pointers // (which are hopefully fairly short normally!) // this approach won't work in 64-bit, which has a much larger address // space. need to redesign #define STB__NPTR_ROOT_LOG2 16 #define STB__NPTR_ROOT_NUM (1 << STB__NPTR_ROOT_LOG2) #define STB__NPTR_ROOT_SHIFT (32 - STB__NPTR_ROOT_LOG2) #define STB__NPTR_NODE_LOG2 5 #define STB__NPTR_NODE_NUM (1 << STB__NPTR_NODE_LOG2) #define STB__NPTR_NODE_MASK (STB__NPTR_NODE_NUM-1) #define STB__NPTR_NODE_SHIFT (STB__NPTR_ROOT_SHIFT - STB__NPTR_NODE_LOG2) #define STB__NPTR_NODE_OFFSET(x) (((x) >> STB__NPTR_NODE_SHIFT) & STB__NPTR_NODE_MASK) typedef struct stb__st_nptr { void *ptr; // address of actual pointer struct stb__st_nptr *next; // next pointer with same target struct stb__st_nptr **prev; // prev pointer with same target, address of 'next' field (or first) struct stb__st_nptr *next_in_block; } stb__nptr; typedef struct stb__st_nptr_target { void *ptr; // address of target stb__nptr *first; // address of first nptr pointing to this struct stb__st_nptr_target *next_in_block; } stb__nptr_target; typedef struct { stb__nptr *pointers; stb__nptr_target *targets; } stb__memory_leaf; typedef struct { stb__memory_leaf *children[STB__NPTR_NODE_NUM]; } stb__memory_node; stb__memory_node *stb__memtab_root[STB__NPTR_ROOT_NUM]; static stb__memory_leaf *stb__nptr_find_leaf(void *mem) { stb_uint32 address = (stb_uint32) mem; stb__memory_node *z = stb__memtab_root[address >> STB__NPTR_ROOT_SHIFT]; if (z) return z->children[STB__NPTR_NODE_OFFSET(address)]; else return NULL; } static void * stb__nptr_alloc(int size) { return stb__realloc_raw(0,size); } static void stb__nptr_free(void *p) { stb__realloc_raw(p,0); } static stb__memory_leaf *stb__nptr_make_leaf(void *mem) { stb_uint32 address = (stb_uint32) mem; stb__memory_node *z = stb__memtab_root[address >> STB__NPTR_ROOT_SHIFT]; stb__memory_leaf *f; if (!z) { int i; z = (stb__memory_node *) stb__nptr_alloc(sizeof(*stb__memtab_root[0])); stb__memtab_root[address >> STB__NPTR_ROOT_SHIFT] = z; for (i=0; i < 256; ++i) z->children[i] = 0; } f = (stb__memory_leaf *) stb__nptr_alloc(sizeof(*f)); z->children[STB__NPTR_NODE_OFFSET(address)] = f; f->pointers = NULL; f->targets = NULL; return f; } static stb__nptr_target *stb__nptr_find_target(void *target, int force) { stb__memory_leaf *p = stb__nptr_find_leaf(target); if (p) { stb__nptr_target *t = p->targets; while (t) { if (t->ptr == target) return t; t = t->next_in_block; } } if (force) { stb__nptr_target *t = (stb__nptr_target*) stb__nptr_alloc(sizeof(*t)); if (!p) p = stb__nptr_make_leaf(target); t->ptr = target; t->first = NULL; t->next_in_block = p->targets; p->targets = t; return t; } else return NULL; } static stb__nptr *stb__nptr_find_pointer(void *ptr, int force) { stb__memory_leaf *p = stb__nptr_find_leaf(ptr); if (p) { stb__nptr *t = p->pointers; while (t) { if (t->ptr == ptr) return t; t = t->next_in_block; } } if (force) { stb__nptr *t = (stb__nptr *) stb__nptr_alloc(sizeof(*t)); if (!p) p = stb__nptr_make_leaf(ptr); t->ptr = ptr; t->next = NULL; t->prev = NULL; t->next_in_block = p->pointers; p->pointers = t; return t; } else return NULL; } void stb_nptr_set(void *address_of_pointer, void *value_to_write) { if (*(void **)address_of_pointer != value_to_write) { *(void **) address_of_pointer = value_to_write; stb_nptr_didset(address_of_pointer); } } void stb_nptr_didset(void *address_of_pointer) { // first unlink from old chain void *new_address; stb__nptr *p = stb__nptr_find_pointer(address_of_pointer, 1); // force building if doesn't exist if (p->prev) { // if p->prev is NULL, we just built it, or it was NULL *(p->prev) = p->next; if (p->next) p->next->prev = p->prev; } // now add to new chain new_address = *(void **)address_of_pointer; if (new_address != NULL) { stb__nptr_target *t = stb__nptr_find_target(new_address, 1); p->next = t->first; if (p->next) p->next->prev = &p->next; p->prev = &t->first; t->first = p; } else { p->prev = NULL; p->next = NULL; } } void stb__nptr_block(void *address, int len, void (*function)(stb__memory_leaf *f, int datum, void *start, void *end), int datum) { void *end_address = (void *) ((char *) address + len - 1); stb__memory_node *n; stb_uint32 start = (stb_uint32) address; stb_uint32 end = start + len - 1; int b0 = start >> STB__NPTR_ROOT_SHIFT; int b1 = end >> STB__NPTR_ROOT_SHIFT; int b=b0,i,e0,e1; e0 = STB__NPTR_NODE_OFFSET(start); if (datum <= 0) { // first block n = stb__memtab_root[b0]; if (n) { if (b0 != b1) e1 = STB__NPTR_NODE_NUM-1; else e1 = STB__NPTR_NODE_OFFSET(end); for (i=e0; i <= e1; ++i) if (n->children[i]) function(n->children[i], datum, address, end_address); } if (b1 > b0) { // blocks other than the first and last block for (b=b0+1; b < b1; ++b) { n = stb__memtab_root[b]; if (n) for (i=0; i <= STB__NPTR_NODE_NUM-1; ++i) if (n->children[i]) function(n->children[i], datum, address, end_address); } // last block n = stb__memtab_root[b1]; if (n) { e1 = STB__NPTR_NODE_OFFSET(end); for (i=0; i <= e1; ++i) if (n->children[i]) function(n->children[i], datum, address, end_address); } } } else { if (b1 > b0) { // last block n = stb__memtab_root[b1]; if (n) { e1 = STB__NPTR_NODE_OFFSET(end); for (i=e1; i >= 0; --i) if (n->children[i]) function(n->children[i], datum, address, end_address); } // blocks other than the first and last block for (b=b1-1; b > b0; --b) { n = stb__memtab_root[b]; if (n) for (i=STB__NPTR_NODE_NUM-1; i >= 0; --i) if (n->children[i]) function(n->children[i], datum, address, end_address); } } // first block n = stb__memtab_root[b0]; if (n) { if (b0 != b1) e1 = STB__NPTR_NODE_NUM-1; else e1 = STB__NPTR_NODE_OFFSET(end); for (i=e1; i >= e0; --i) if (n->children[i]) function(n->children[i], datum, address, end_address); } } } static void stb__nptr_delete_pointers(stb__memory_leaf *f, int offset, void *start, void *end) { stb__nptr **p = &f->pointers; while (*p) { stb__nptr *n = *p; if (n->ptr >= start && n->ptr <= end) { // unlink if (n->prev) { *(n->prev) = n->next; if (n->next) n->next->prev = n->prev; } *p = n->next_in_block; stb__nptr_free(n); } else p = &(n->next_in_block); } } static void stb__nptr_delete_targets(stb__memory_leaf *f, int offset, void *start, void *end) { stb__nptr_target **p = &f->targets; while (*p) { stb__nptr_target *n = *p; if (n->ptr >= start && n->ptr <= end) { // null pointers stb__nptr *z = n->first; while (z) { stb__nptr *y = z->next; z->prev = NULL; z->next = NULL; *(void **) z->ptr = NULL; z = y; } // unlink this target *p = n->next_in_block; stb__nptr_free(n); } else p = &(n->next_in_block); } } void stb_nptr_didfree(void *address_being_freed, int len) { // step one: delete all pointers in this block stb__nptr_block(address_being_freed, len, stb__nptr_delete_pointers, 0); // step two: NULL all pointers to this block; do this second to avoid NULLing deleted pointers stb__nptr_block(address_being_freed, len, stb__nptr_delete_targets, 0); } void stb_nptr_free(void *address_being_freed, int len) { free(address_being_freed); stb_nptr_didfree(address_being_freed, len); } static void stb__nptr_move_targets(stb__memory_leaf *f, int offset, void *start, void *end) { stb__nptr_target **t = &f->targets; while (*t) { stb__nptr_target *n = *t; if (n->ptr >= start && n->ptr <= end) { stb__nptr *z; stb__memory_leaf *f; // unlink n *t = n->next_in_block; // update n to new address n->ptr = (void *) ((char *) n->ptr + offset); f = stb__nptr_find_leaf(n->ptr); if (!f) f = stb__nptr_make_leaf(n->ptr); n->next_in_block = f->targets; f->targets = n; // now go through all pointers and make them point here z = n->first; while (z) { *(void**) z->ptr = n->ptr; z = z->next; } } else t = &(n->next_in_block); } } static void stb__nptr_move_pointers(stb__memory_leaf *f, int offset, void *start, void *end) { stb__nptr **p = &f->pointers; while (*p) { stb__nptr *n = *p; if (n->ptr >= start && n->ptr <= end) { // unlink *p = n->next_in_block; n->ptr = (void *) ((int) n->ptr + offset); // move to new block f = stb__nptr_find_leaf(n->ptr); if (!f) f = stb__nptr_make_leaf(n->ptr); n->next_in_block = f->pointers; f->pointers = n; } else p = &(n->next_in_block); } } void stb_nptr_realloc(void *new_address, void *old_address, int len) { if (new_address == old_address) return; // have to move the pointers first, because moving the targets // requires writing to the pointers-to-the-targets, and if some of those moved too, // we need to make sure we don't write to the old memory // step one: move all pointers within the block stb__nptr_block(old_address, len, stb__nptr_move_pointers, (char *) new_address - (char *) old_address); // step two: move all targets within the block stb__nptr_block(old_address, len, stb__nptr_move_targets, (char *) new_address - (char *) old_address); } void stb_nptr_move(void *new_address, void *old_address) { stb_nptr_realloc(new_address, old_address, 1); } void stb_nptr_recache(void) { int i,j; for (i=0; i < STB__NPTR_ROOT_NUM; ++i) if (stb__memtab_root[i]) for (j=0; j < STB__NPTR_NODE_NUM; ++j) if (stb__memtab_root[i]->children[j]) { stb__nptr *p = stb__memtab_root[i]->children[j]->pointers; while (p) { stb_nptr_didset(p->ptr); p = p->next_in_block; } } } #endif // STB_DEFINE #endif // STB_NPTR ////////////////////////////////////////////////////////////////////////////// // // File Processing // #ifdef _WIN32 #define stb_rename(x,y) _wrename((const wchar_t *)stb__from_utf8(x), (const wchar_t *)stb__from_utf8_alt(y)) #else #define stb_rename rename #endif STB_EXTERN void stb_fput_varlen64(FILE *f, stb_uint64 v); STB_EXTERN stb_uint64 stb_fget_varlen64(FILE *f); STB_EXTERN int stb_size_varlen64(stb_uint64 v); #define stb_filec (char *) stb_file #define stb_fileu (unsigned char *) stb_file STB_EXTERN void * stb_file(char *filename, size_t *length); STB_EXTERN void * stb_file_max(char *filename, size_t *length); STB_EXTERN size_t stb_filelen(FILE *f); STB_EXTERN int stb_filewrite(char *filename, void *data, size_t length); STB_EXTERN int stb_filewritestr(char *filename, char *data); STB_EXTERN char ** stb_stringfile(char *filename, int *len); STB_EXTERN char ** stb_stringfile_trimmed(char *name, int *len, char comm); STB_EXTERN char * stb_fgets(char *buffer, int buflen, FILE *f); STB_EXTERN char * stb_fgets_malloc(FILE *f); STB_EXTERN int stb_fexists(char *filename); STB_EXTERN int stb_fcmp(char *s1, char *s2); STB_EXTERN int stb_feq(char *s1, char *s2); STB_EXTERN time_t stb_ftimestamp(char *filename); STB_EXTERN int stb_fullpath(char *abs, int abs_size, char *rel); STB_EXTERN FILE * stb_fopen(char *filename, const char *mode); STB_EXTERN int stb_fclose(FILE *f, int keep); enum { stb_keep_no = 0, stb_keep_yes = 1, stb_keep_if_different = 2, }; STB_EXTERN int stb_copyfile(char *src, char *dest); STB_EXTERN void stb_fput_varlen64(FILE *f, stb_uint64 v); STB_EXTERN stb_uint64 stb_fget_varlen64(FILE *f); STB_EXTERN int stb_size_varlen64(stb_uint64 v); STB_EXTERN void stb_fwrite32(FILE *f, stb_uint32 datum); STB_EXTERN void stb_fput_varlen (FILE *f, int v); STB_EXTERN void stb_fput_varlenu(FILE *f, unsigned int v); STB_EXTERN int stb_fget_varlen (FILE *f); STB_EXTERN stb_uint stb_fget_varlenu(FILE *f); STB_EXTERN void stb_fput_ranged (FILE *f, int v, int b, stb_uint n); STB_EXTERN int stb_fget_ranged (FILE *f, int b, stb_uint n); STB_EXTERN int stb_size_varlen (int v); STB_EXTERN int stb_size_varlenu(unsigned int v); STB_EXTERN int stb_size_ranged (int b, stb_uint n); STB_EXTERN int stb_fread(void *data, size_t len, size_t count, void *f); STB_EXTERN int stb_fwrite(void *data, size_t len, size_t count, void *f); #if 0 typedef struct { FILE *base_file; char *buffer; int buffer_size; int buffer_off; int buffer_left; } STBF; STB_EXTERN STBF *stb_tfopen(char *filename, char *mode); STB_EXTERN int stb_tfread(void *data, size_t len, size_t count, STBF *f); STB_EXTERN int stb_tfwrite(void *data, size_t len, size_t count, STBF *f); #endif #ifdef STB_DEFINE #if 0 STBF *stb_tfopen(char *filename, char *mode) { STBF *z; FILE *f = stb_p_fopen(filename, mode); if (!f) return NULL; z = (STBF *) malloc(sizeof(*z)); if (!z) { fclose(f); return NULL; } z->base_file = f; if (!strcmp(mode, "rb") || !strcmp(mode, "wb")) { z->buffer_size = 4096; z->buffer_off = z->buffer_size; z->buffer_left = 0; z->buffer = malloc(z->buffer_size); if (!z->buffer) { free(z); fclose(f); return NULL; } } else { z->buffer = 0; z->buffer_size = 0; z->buffer_left = 0; } return z; } int stb_tfread(void *data, size_t len, size_t count, STBF *f) { int total = len*count, done=0; if (!total) return 0; if (total <= z->buffer_left) { memcpy(data, z->buffer + z->buffer_off, total); z->buffer_off += total; z->buffer_left -= total; return count; } else { char *out = (char *) data; // consume all buffered data memcpy(data, z->buffer + z->buffer_off, z->buffer_left); done = z->buffer_left; out += z->buffer_left; z->buffer_left=0; if (total-done > (z->buffer_size >> 1)) { done += fread(out } } } #endif void stb_fwrite32(FILE *f, stb_uint32 x) { fwrite(&x, 4, 1, f); } #if defined(_WIN32) #define stb__stat _stat #else #define stb__stat stat #endif int stb_fexists(char *filename) { struct stb__stat buf; return stb__windows( _wstat((const wchar_t *)stb__from_utf8(filename), &buf), stat(filename,&buf) ) == 0; } time_t stb_ftimestamp(char *filename) { struct stb__stat buf; if (stb__windows( _wstat((const wchar_t *)stb__from_utf8(filename), &buf), stat(filename,&buf) ) == 0) { return buf.st_mtime; } else { return 0; } } size_t stb_filelen(FILE *f) { long len, pos; pos = ftell(f); fseek(f, 0, SEEK_END); len = ftell(f); fseek(f, pos, SEEK_SET); return (size_t) len; } void *stb_file(char *filename, size_t *length) { FILE *f = stb__fopen(filename, "rb"); char *buffer; size_t len, len2; if (!f) return NULL; len = stb_filelen(f); buffer = (char *) malloc(len+2); // nul + extra len2 = fread(buffer, 1, len, f); if (len2 == len) { if (length) *length = len; buffer[len] = 0; } else { free(buffer); buffer = NULL; } fclose(f); return buffer; } int stb_filewrite(char *filename, void *data, size_t length) { FILE *f = stb_fopen(filename, "wb"); if (f) { unsigned char *data_ptr = (unsigned char *) data; size_t remaining = length; while (remaining > 0) { size_t len2 = remaining > 65536 ? 65536 : remaining; size_t len3 = fwrite(data_ptr, 1, len2, f); if (len2 != len3) { fprintf(stderr, "Failed while writing %s\n", filename); break; } remaining -= len2; data_ptr += len2; } stb_fclose(f, stb_keep_if_different); } return f != NULL; } int stb_filewritestr(char *filename, char *data) { return stb_filewrite(filename, data, strlen(data)); } void * stb_file_max(char *filename, size_t *length) { FILE *f = stb__fopen(filename, "rb"); char *buffer; size_t len, maxlen; if (!f) return NULL; maxlen = *length; buffer = (char *) malloc(maxlen+1); len = fread(buffer, 1, maxlen, f); buffer[len] = 0; fclose(f); *length = len; return buffer; } char ** stb_stringfile(char *filename, int *plen) { FILE *f = stb__fopen(filename, "rb"); char *buffer, **list=NULL, *s; size_t len, count, i; if (!f) return NULL; len = stb_filelen(f); buffer = (char *) malloc(len+1); len = fread(buffer, 1, len, f); buffer[len] = 0; fclose(f); // two passes through: first time count lines, second time set them for (i=0; i < 2; ++i) { s = buffer; if (i == 1) list[0] = s; count = 1; while (*s) { if (*s == '\n' || *s == '\r') { // detect if both cr & lf are together int crlf = (s[0] + s[1]) == ('\n' + '\r'); if (i == 1) *s = 0; if (crlf) ++s; if (s[1]) { // it's not over yet if (i == 1) list[count] = s+1; ++count; } } ++s; } if (i == 0) { list = (char **) malloc(sizeof(*list) * (count+1) + len+1); if (!list) return NULL; list[count] = 0; // recopy the file so there's just a single allocation to free memcpy(&list[count+1], buffer, len+1); free(buffer); buffer = (char *) &list[count+1]; if (plen) *plen = (int) count; } } return list; } char ** stb_stringfile_trimmed(char *name, int *len, char comment) { int i,n,o=0; char **s = stb_stringfile(name, &n); if (s == NULL) return NULL; for (i=0; i < n; ++i) { char *p = stb_skipwhite(s[i]); if (*p && *p != comment) s[o++] = p; } s[o] = NULL; if (len) *len = o; return s; } char * stb_fgets(char *buffer, int buflen, FILE *f) { char *p; buffer[0] = 0; p = fgets(buffer, buflen, f); if (p) { int n = (int) (strlen(p)-1); if (n >= 0) if (p[n] == '\n') p[n] = 0; } return p; } char * stb_fgets_malloc(FILE *f) { // avoid reallocing for small strings char quick_buffer[800]; quick_buffer[sizeof(quick_buffer)-2] = 0; if (!fgets(quick_buffer, sizeof(quick_buffer), f)) return NULL; if (quick_buffer[sizeof(quick_buffer)-2] == 0) { size_t n = strlen(quick_buffer); if (n > 0 && quick_buffer[n-1] == '\n') quick_buffer[n-1] = 0; return stb_p_strdup(quick_buffer); } else { char *p; char *a = stb_p_strdup(quick_buffer); size_t len = sizeof(quick_buffer)-1; while (!feof(f)) { if (a[len-1] == '\n') break; a = (char *) realloc(a, len*2); p = &a[len]; p[len-2] = 0; if (!fgets(p, (int) len, f)) break; if (p[len-2] == 0) { len += strlen(p); break; } len = len + (len-1); } if (a[len-1] == '\n') a[len-1] = 0; return a; } } int stb_fullpath(char *abs, int abs_size, char *rel) { #ifdef _WIN32 return _fullpath(abs, rel, abs_size) != NULL; #else if (rel[0] == '/' || rel[0] == '~') { if ((int) strlen(rel) >= abs_size) return 0; stb_p_strcpy_s(abs,65536,rel); return STB_TRUE; } else { int n; getcwd(abs, abs_size); n = strlen(abs); if (n+(int) strlen(rel)+2 <= abs_size) { abs[n] = '/'; stb_p_strcpy_s(abs+n+1, 65536,rel); return STB_TRUE; } else { return STB_FALSE; } } #endif } static int stb_fcmp_core(FILE *f, FILE *g) { char buf1[1024],buf2[1024]; int n1,n2, res=0; while (1) { n1 = (int) fread(buf1, 1, sizeof(buf1), f); n2 = (int) fread(buf2, 1, sizeof(buf2), g); res = memcmp(buf1,buf2,stb_min(n1,n2)); if (res) break; if (n1 != n2) { res = n1 < n2 ? -1 : 1; break; } if (n1 == 0) break; } fclose(f); fclose(g); return res; } int stb_fcmp(char *s1, char *s2) { FILE *f = stb__fopen(s1, "rb"); FILE *g = stb__fopen(s2, "rb"); if (f == NULL || g == NULL) { if (f) fclose(f); if (g) { fclose(g); return STB_TRUE; } return f != NULL; } return stb_fcmp_core(f,g); } int stb_feq(char *s1, char *s2) { FILE *f = stb__fopen(s1, "rb"); FILE *g = stb__fopen(s2, "rb"); if (f == NULL || g == NULL) { if (f) fclose(f); if (g) fclose(g); return f == g; } // feq is faster because it shortcuts if they're different length if (stb_filelen(f) != stb_filelen(g)) { fclose(f); fclose(g); return 0; } return !stb_fcmp_core(f,g); } static stb_ptrmap *stb__files; typedef struct { char *temp_name; char *name; int errors; } stb__file_data; static FILE *stb__open_temp_file(char *temp_name, char *src_name, const char *mode) { size_t p; #ifdef _MSC_VER int j; #endif FILE *f; // try to generate a temporary file in the same directory p = strlen(src_name)-1; while (p > 0 && src_name[p] != '/' && src_name[p] != '\\' && src_name[p] != ':' && src_name[p] != '~') --p; ++p; memcpy(temp_name, src_name, p); #ifdef _MSC_VER // try multiple times to make a temp file... just in // case some other process makes the name first for (j=0; j < 32; ++j) { stb_p_strcpy_s(temp_name+p, 65536, "stmpXXXXXX"); if (!stb_p_mktemp(temp_name)) return 0; f = stb_p_fopen(temp_name, mode); if (f != NULL) break; } #else { stb_p_strcpy_s(temp_name+p, 65536, "stmpXXXXXX"); #ifdef __MINGW32__ int fd = open(stb_p_mktemp(temp_name), O_RDWR); #else int fd = mkstemp(temp_name); #endif if (fd == -1) return NULL; f = fdopen(fd, mode); if (f == NULL) { unlink(temp_name); close(fd); return NULL; } } #endif return f; } FILE * stb_fopen(char *filename, const char *mode) { FILE *f; char name_full[4096]; char temp_full[sizeof(name_full) + 12]; // @TODO: if the file doesn't exist, we can also use the fastpath here if (mode[0] != 'w' && !strchr(mode, '+')) return stb__fopen(filename, mode); // save away the full path to the file so if the program // changes the cwd everything still works right! unix has // better ways to do this, but we have to work in windows name_full[0] = '\0'; // stb_fullpath reads name_full[0] if (stb_fullpath(name_full, sizeof(name_full), filename)==0) return 0; f = stb__open_temp_file(temp_full, name_full, mode); if (f != NULL) { stb__file_data *d = (stb__file_data *) malloc(sizeof(*d)); if (!d) { assert(0); /* NOTREACHED */fclose(f); return NULL; } if (stb__files == NULL) stb__files = stb_ptrmap_create(); d->temp_name = stb_p_strdup(temp_full); d->name = stb_p_strdup(name_full); d->errors = 0; stb_ptrmap_add(stb__files, f, d); return f; } return NULL; } int stb_fclose(FILE *f, int keep) { stb__file_data *d; int ok = STB_FALSE; if (f == NULL) return 0; if (ferror(f)) keep = stb_keep_no; fclose(f); if (stb__files && stb_ptrmap_remove(stb__files, f, (void **) &d)) { if (stb__files->count == 0) { stb_ptrmap_destroy(stb__files); stb__files = NULL; } } else return STB_TRUE; // not special if (keep == stb_keep_if_different) { // check if the files are identical if (stb_feq(d->name, d->temp_name)) { keep = stb_keep_no; ok = STB_TRUE; // report success if no change } } if (keep == stb_keep_no) { remove(d->temp_name); } else { if (!stb_fexists(d->name)) { // old file doesn't exist, so just move the new file over it stb_rename(d->temp_name, d->name); } else { // don't delete the old file yet in case there are troubles! First rename it! char preserved_old_file[4096]; // generate a temp filename in the same directory (also creates it, which we don't need) FILE *dummy = stb__open_temp_file(preserved_old_file, d->name, "wb"); if (dummy != NULL) { // we don't actually want the open file fclose(dummy); // discard what we just created remove(preserved_old_file); // if this fails, there's nothing we can do, and following logic handles it as best as possible anyway // move the existing file to the preserved name if (0 != stb_rename(d->name, preserved_old_file)) { // 0 on success // failed, state is: // filename -> old file // tempname -> new file // keep tempname around so we don't lose data } else { // state is: // preserved -> old file // tempname -> new file // move the new file to the old name if (0 == stb_rename(d->temp_name, d->name)) { // state is: // preserved -> old file // filename -> new file ok = STB_TRUE; // 'filename -> new file' has always been the goal, so clean up remove(preserved_old_file); // nothing to be done if it fails } else { // couldn't rename, so try renaming preserved file back // state is: // preserved -> old file // tempname -> new file stb_rename(preserved_old_file, d->name); // if the rename failed, there's nothing more we can do } } } else { // we couldn't get a temp filename. do this the naive way; the worst case failure here // leaves the filename pointing to nothing and the new file as a tempfile remove(d->name); stb_rename(d->temp_name, d->name); } } } free(d->temp_name); free(d->name); free(d); return ok; } int stb_copyfile(char *src, char *dest) { char raw_buffer[1024]; char *buffer; int buf_size = 65536; FILE *f, *g; // if file already exists at destination, do nothing if (stb_feq(src, dest)) return STB_TRUE; // open file f = stb__fopen(src, "rb"); if (f == NULL) return STB_FALSE; // open file for writing g = stb__fopen(dest, "wb"); if (g == NULL) { fclose(f); return STB_FALSE; } buffer = (char *) malloc(buf_size); if (buffer == NULL) { buffer = raw_buffer; buf_size = sizeof(raw_buffer); } while (!feof(f)) { size_t n = fread(buffer, 1, buf_size, f); if (n != 0) fwrite(buffer, 1, n, g); } fclose(f); if (buffer != raw_buffer) free(buffer); fclose(g); return STB_TRUE; } // varlen: // v' = (v >> 31) + (v < 0 ? ~v : v)<<1; // small abs(v) => small v' // output v as big endian v'+k for v' <= k: // 1 byte : v' <= 0x00000080 ( -64 <= v < 64) 7 bits // 2 bytes: v' <= 0x00004000 (-8192 <= v < 8192) 14 bits // 3 bytes: v' <= 0x00200000 21 bits // 4 bytes: v' <= 0x10000000 28 bits // the number of most significant 1-bits in the first byte // equals the number of bytes after the first #define stb__varlen_xform(v) (v<0 ? (~v << 1)+1 : (v << 1)) int stb_size_varlen(int v) { return stb_size_varlenu(stb__varlen_xform(v)); } int stb_size_varlenu(unsigned int v) { if (v < 0x00000080) return 1; if (v < 0x00004000) return 2; if (v < 0x00200000) return 3; if (v < 0x10000000) return 4; return 5; } void stb_fput_varlen(FILE *f, int v) { stb_fput_varlenu(f, stb__varlen_xform(v)); } void stb_fput_varlenu(FILE *f, unsigned int z) { if (z >= 0x10000000) fputc(0xF0,f); if (z >= 0x00200000) fputc((z < 0x10000000 ? 0xE0 : 0)+(z>>24),f); if (z >= 0x00004000) fputc((z < 0x00200000 ? 0xC0 : 0)+(z>>16),f); if (z >= 0x00000080) fputc((z < 0x00004000 ? 0x80 : 0)+(z>> 8),f); fputc(z,f); } #define stb_fgetc(f) ((unsigned char) fgetc(f)) int stb_fget_varlen(FILE *f) { unsigned int z = stb_fget_varlenu(f); return (z & 1) ? ~(z>>1) : (z>>1); } unsigned int stb_fget_varlenu(FILE *f) { unsigned int z; unsigned char d; d = stb_fgetc(f); if (d >= 0x80) { if (d >= 0xc0) { if (d >= 0xe0) { if (d == 0xf0) z = stb_fgetc(f) << 24; else z = (d - 0xe0) << 24; z += stb_fgetc(f) << 16; } else z = (d - 0xc0) << 16; z += stb_fgetc(f) << 8; } else z = (d - 0x80) << 8; z += stb_fgetc(f); } else z = d; return z; } stb_uint64 stb_fget_varlen64(FILE *f) { stb_uint64 z; unsigned char d; d = stb_fgetc(f); if (d >= 0x80) { if (d >= 0xc0) { if (d >= 0xe0) { if (d >= 0xf0) { if (d >= 0xf8) { if (d >= 0xfc) { if (d >= 0xfe) { if (d >= 0xff) z = (stb_uint64) stb_fgetc(f) << 56; else z = (stb_uint64) (d - 0xfe) << 56; z |= (stb_uint64) stb_fgetc(f) << 48; } else z = (stb_uint64) (d - 0xfc) << 48; z |= (stb_uint64) stb_fgetc(f) << 40; } else z = (stb_uint64) (d - 0xf8) << 40; z |= (stb_uint64) stb_fgetc(f) << 32; } else z = (stb_uint64) (d - 0xf0) << 32; z |= (stb_uint) stb_fgetc(f) << 24; } else z = (stb_uint) (d - 0xe0) << 24; z |= (stb_uint) stb_fgetc(f) << 16; } else z = (stb_uint) (d - 0xc0) << 16; z |= (stb_uint) stb_fgetc(f) << 8; } else z = (stb_uint) (d - 0x80) << 8; z |= stb_fgetc(f); } else z = d; return (z & 1) ? ~(z >> 1) : (z >> 1); } int stb_size_varlen64(stb_uint64 v) { if (v < 0x00000080) return 1; if (v < 0x00004000) return 2; if (v < 0x00200000) return 3; if (v < 0x10000000) return 4; if (v < STB_IMM_UINT64(0x0000000800000000)) return 5; if (v < STB_IMM_UINT64(0x0000040000000000)) return 6; if (v < STB_IMM_UINT64(0x0002000000000000)) return 7; if (v < STB_IMM_UINT64(0x0100000000000000)) return 8; return 9; } void stb_fput_varlen64(FILE *f, stb_uint64 v) { stb_uint64 z = stb__varlen_xform(v); int first=1; if (z >= STB_IMM_UINT64(0x100000000000000)) { fputc(0xff,f); first=0; } if (z >= STB_IMM_UINT64(0x02000000000000)) fputc((first ? 0xFE : 0)+(char)(z>>56),f), first=0; if (z >= STB_IMM_UINT64(0x00040000000000)) fputc((first ? 0xFC : 0)+(char)(z>>48),f), first=0; if (z >= STB_IMM_UINT64(0x00000800000000)) fputc((first ? 0xF8 : 0)+(char)(z>>40),f), first=0; if (z >= STB_IMM_UINT64(0x00000010000000)) fputc((first ? 0xF0 : 0)+(char)(z>>32),f), first=0; if (z >= STB_IMM_UINT64(0x00000000200000)) fputc((first ? 0xE0 : 0)+(char)(z>>24),f), first=0; if (z >= STB_IMM_UINT64(0x00000000004000)) fputc((first ? 0xC0 : 0)+(char)(z>>16),f), first=0; if (z >= STB_IMM_UINT64(0x00000000000080)) fputc((first ? 0x80 : 0)+(char)(z>> 8),f), first=0; fputc((char)z,f); } void stb_fput_ranged(FILE *f, int v, int b, stb_uint n) { v -= b; if (n <= (1 << 31)) assert((stb_uint) v < n); if (n > (1 << 24)) fputc(v >> 24, f); if (n > (1 << 16)) fputc(v >> 16, f); if (n > (1 << 8)) fputc(v >> 8, f); fputc(v,f); } int stb_fget_ranged(FILE *f, int b, stb_uint n) { unsigned int v=0; if (n > (1 << 24)) v += stb_fgetc(f) << 24; if (n > (1 << 16)) v += stb_fgetc(f) << 16; if (n > (1 << 8)) v += stb_fgetc(f) << 8; v += stb_fgetc(f); return b+v; } int stb_size_ranged(int b, stb_uint n) { if (n > (1 << 24)) return 4; if (n > (1 << 16)) return 3; if (n > (1 << 8)) return 2; return 1; } void stb_fput_string(FILE *f, char *s) { size_t len = strlen(s); stb_fput_varlenu(f, (unsigned int) len); fwrite(s, 1, len, f); } // inverse of the above algorithm char *stb_fget_string(FILE *f, void *p) { char *s; int len = stb_fget_varlenu(f); if (len > 4096) return NULL; s = p ? stb_malloc_string(p, len+1) : (char *) malloc(len+1); fread(s, 1, len, f); s[len] = 0; return s; } char *stb_strdup(char *str, void *pool) { size_t len = strlen(str); char *p = stb_malloc_string(pool, len+1); stb_p_strcpy_s(p, len+1, str); return p; } // strip the trailing '/' or '\\' from a directory so we can refer to it // as a file for _stat() char *stb_strip_final_slash(char *t) { if (t[0]) { char *z = t + strlen(t) - 1; // *z is the last character if (*z == '\\' || *z == '/') if (z != t+2 || t[1] != ':') // but don't strip it if it's e.g. "c:/" *z = 0; if (*z == '\\') *z = '/'; // canonicalize to make sure it matches db } return t; } char *stb_strip_final_slash_regardless(char *t) { if (t[0]) { char *z = t + strlen(t) - 1; // *z is the last character if (*z == '\\' || *z == '/') *z = 0; if (*z == '\\') *z = '/'; // canonicalize to make sure it matches db } return t; } #endif ////////////////////////////////////////////////////////////////////////////// // // Options parsing // STB_EXTERN char **stb_getopt_param(int *argc, char **argv, char *param); STB_EXTERN char **stb_getopt(int *argc, char **argv); STB_EXTERN void stb_getopt_free(char **opts); #ifdef STB_DEFINE void stb_getopt_free(char **opts) { int i; char ** o2 = opts; for (i=0; i < stb_arr_len(o2); ++i) free(o2[i]); stb_arr_free(o2); } char **stb_getopt(int *argc, char **argv) { return stb_getopt_param(argc, argv, (char*) ""); } char **stb_getopt_param(int *argc, char **argv, char *param) { char ** opts=NULL; int i,j=1; for (i=1; i < *argc; ++i) { if (argv[i][0] != '-') { argv[j++] = argv[i]; } else { if (argv[i][1] == 0) { // plain - == don't parse further options ++i; while (i < *argc) argv[j++] = argv[i++]; break; } else if (argv[i][1] == '-') { // copy argument through including initial '-' for clarity stb_arr_push(opts, stb_p_strdup(argv[i])); } else { int k; char *q = argv[i]; // traverse options list for (k=1; q[k]; ++k) { char *s; if (strchr(param, q[k])) { // does it take a parameter? char *t = &q[k+1], z = q[k]; size_t len=0; if (*t == 0) { if (i == *argc-1) { // takes a parameter, but none found *argc = 0; stb_getopt_free(opts); return NULL; } t = argv[++i]; } else k += (int) strlen(t); len = strlen(t); s = (char *) malloc(len+2); if (!s) return NULL; s[0] = z; stb_p_strcpy_s(s+1, len+2, t); } else { // no parameter s = (char *) malloc(2); if (!s) return NULL; s[0] = q[k]; s[1] = 0; } stb_arr_push(opts, s); } } } } stb_arr_push(opts, NULL); *argc = j; return opts; } #endif ////////////////////////////////////////////////////////////////////////////// // // Portable directory reading // STB_EXTERN char **stb_readdir_files (char *dir); STB_EXTERN char **stb_readdir_files_mask(char *dir, char *wild); STB_EXTERN char **stb_readdir_subdirs(char *dir); STB_EXTERN char **stb_readdir_subdirs_mask(char *dir, char *wild); STB_EXTERN void stb_readdir_free (char **files); STB_EXTERN char **stb_readdir_recursive(char *dir, char *filespec); STB_EXTERN void stb_delete_directory_recursive(char *dir); #ifdef STB_DEFINE #ifdef _MSC_VER #include <io.h> #else #include <unistd.h> #include <dirent.h> #endif void stb_readdir_free(char **files) { char **f2 = files; int i; for (i=0; i < stb_arr_len(f2); ++i) free(f2[i]); stb_arr_free(f2); } static int isdotdirname(char *name) { if (name[0] == '.') return (name[1] == '.') ? !name[2] : !name[1]; return 0; } STB_EXTERN int stb_wildmatchi(char *expr, char *candidate); static char **readdir_raw(char *dir, int return_subdirs, char *mask) { char **results = NULL; char buffer[4096], with_slash[4096]; size_t n; #ifdef WIN32 stb__wchar *ws; struct _wfinddata_t data; #ifdef _WIN64 const intptr_t none = -1; intptr_t z; #else const long none = -1; long z; #endif #else // !WIN32 const DIR *none = NULL; DIR *z; #endif n = stb_strscpy(buffer,dir,sizeof(buffer)); if (!n || n >= sizeof(buffer)) return NULL; stb_fixpath(buffer); if (n > 0 && (buffer[n-1] != '/')) { buffer[n++] = '/'; } buffer[n] = 0; if (!stb_strscpy(with_slash,buffer,sizeof(with_slash))) return NULL; #ifdef WIN32 if (!stb_strscpy(buffer+n,"*.*",sizeof(buffer)-n)) return NULL; ws = stb__from_utf8(buffer); z = _wfindfirst((wchar_t *)ws, &data); #else z = opendir(dir); #endif if (z != none) { int nonempty = STB_TRUE; #ifndef WIN32 struct dirent *data = readdir(z); nonempty = (data != NULL); #endif if (nonempty) { do { int is_subdir; #ifdef WIN32 char *name = stb__to_utf8((stb__wchar *)data.name); if (name == NULL) { fprintf(stderr, "%s to convert '%S' to %s!\n", "Unable", data.name, "utf8"); continue; } is_subdir = !!(data.attrib & _A_SUBDIR); #else char *name = data->d_name; if (!stb_strscpy(buffer+n,name,sizeof(buffer)-n)) break; // Could follow DT_LNK, but would need to check for recursive links. is_subdir = !!(data->d_type & DT_DIR); #endif if (is_subdir == return_subdirs) { if (!is_subdir || !isdotdirname(name)) { if (!mask || stb_wildmatchi(mask, name)) { char buffer[4096],*p=buffer; if ( stb_snprintf(buffer, sizeof(buffer), "%s%s", with_slash, name) < 0 ) break; if (buffer[0] == '.' && buffer[1] == '/') p = buffer+2; stb_arr_push(results, stb_p_strdup(p)); } } } } #ifdef WIN32 while (0 == _wfindnext(z, &data)); #else while ((data = readdir(z)) != NULL); #endif } #ifdef WIN32 _findclose(z); #else closedir(z); #endif } return results; } char **stb_readdir_files (char *dir) { return readdir_raw(dir, 0, NULL); } char **stb_readdir_subdirs(char *dir) { return readdir_raw(dir, 1, NULL); } char **stb_readdir_files_mask(char *dir, char *wild) { return readdir_raw(dir, 0, wild); } char **stb_readdir_subdirs_mask(char *dir, char *wild) { return readdir_raw(dir, 1, wild); } int stb__rec_max=0x7fffffff; static char **stb_readdir_rec(char **sofar, char *dir, char *filespec) { char **files; char ** dirs; char **p; if (stb_arr_len(sofar) >= stb__rec_max) return sofar; files = stb_readdir_files_mask(dir, filespec); stb_arr_for(p, files) { stb_arr_push(sofar, stb_p_strdup(*p)); if (stb_arr_len(sofar) >= stb__rec_max) break; } stb_readdir_free(files); if (stb_arr_len(sofar) >= stb__rec_max) return sofar; dirs = stb_readdir_subdirs(dir); stb_arr_for(p, dirs) sofar = stb_readdir_rec(sofar, *p, filespec); stb_readdir_free(dirs); return sofar; } char **stb_readdir_recursive(char *dir, char *filespec) { return stb_readdir_rec(NULL, dir, filespec); } void stb_delete_directory_recursive(char *dir) { char **list = stb_readdir_subdirs(dir); int i; for (i=0; i < stb_arr_len(list); ++i) stb_delete_directory_recursive(list[i]); stb_arr_free(list); list = stb_readdir_files(dir); for (i=0; i < stb_arr_len(list); ++i) if (!remove(list[i])) { // on windows, try again after making it writeable; don't ALWAYS // do this first since that would be slow in the normal case #ifdef _MSC_VER _chmod(list[i], _S_IWRITE); remove(list[i]); #endif } stb_arr_free(list); stb__windows(_rmdir,rmdir)(dir); } #endif ////////////////////////////////////////////////////////////////////////////// // // construct trees from filenames; useful for cmirror summaries typedef struct stb_dirtree2 stb_dirtree2; struct stb_dirtree2 { stb_dirtree2 **subdirs; // make convenient for stb_summarize_tree int num_subdir; float weight; // actual data char *fullpath; char *relpath; char **files; }; STB_EXTERN stb_dirtree2 *stb_dirtree2_from_files_relative(char *src, char **filelist, int count); STB_EXTERN stb_dirtree2 *stb_dirtree2_from_files(char **filelist, int count); STB_EXTERN int stb_dir_is_prefix(char *dir, int dirlen, char *file); #ifdef STB_DEFINE int stb_dir_is_prefix(char *dir, int dirlen, char *file) { if (dirlen == 0) return STB_TRUE; if (stb_strnicmp(dir, file, dirlen)) return STB_FALSE; if (file[dirlen] == '/' || file[dirlen] == '\\') return STB_TRUE; return STB_FALSE; } stb_dirtree2 *stb_dirtree2_from_files_relative(char *src, char **filelist, int count) { char buffer1[1024]; int i; int dlen = (int) strlen(src), elen; stb_dirtree2 *d; char ** descendents = NULL; char ** files = NULL; char *s; if (!count) return NULL; // first find all the ones that belong here... note this is will take O(NM) with N files and M subdirs for (i=0; i < count; ++i) { if (stb_dir_is_prefix(src, dlen, filelist[i])) { stb_arr_push(descendents, filelist[i]); } } if (descendents == NULL) return NULL; elen = dlen; // skip a leading slash if (elen == 0 && (descendents[0][0] == '/' || descendents[0][0] == '\\')) ++elen; else if (elen) ++elen; // now extract all the ones that have their root here for (i=0; i < stb_arr_len(descendents);) { if (!stb_strchr2(descendents[i]+elen, '/', '\\')) { stb_arr_push(files, descendents[i]); descendents[i] = descendents[stb_arr_len(descendents)-1]; stb_arr_pop(descendents); } else ++i; } // now create a record d = (stb_dirtree2 *) malloc(sizeof(*d)); d->files = files; d->subdirs = NULL; d->fullpath = stb_p_strdup(src); s = stb_strrchr2(d->fullpath, '/', '\\'); if (s) ++s; else s = d->fullpath; d->relpath = s; // now create the children qsort(descendents, stb_arr_len(descendents), sizeof(char *), stb_qsort_stricmp(0)); buffer1[0] = 0; for (i=0; i < stb_arr_len(descendents); ++i) { char buffer2[1024]; char *s = descendents[i] + elen, *t; t = stb_strchr2(s, '/', '\\'); assert(t); stb_strncpy(buffer2, descendents[i], (int) (t-descendents[i]+1)); if (stb_stricmp(buffer1, buffer2)) { stb_dirtree2 *t = stb_dirtree2_from_files_relative(buffer2, descendents, stb_arr_len(descendents)); assert(t != NULL); stb_p_strcpy_s(buffer1, sizeof(buffer1), buffer2); stb_arr_push(d->subdirs, t); } } d->num_subdir = stb_arr_len(d->subdirs); d->weight = 0; return d; } stb_dirtree2 *stb_dirtree2_from_files(char **filelist, int count) { return stb_dirtree2_from_files_relative((char*) "", filelist, count); } #endif ////////////////////////////////////////////////////////////////////////////// // // Checksums: CRC-32, ADLER32, SHA-1 // // CRC-32 and ADLER32 allow streaming blocks // SHA-1 requires either a complete buffer, max size 2^32 - 73 // or it can checksum directly from a file, max 2^61 #define STB_ADLER32_SEED 1 #define STB_CRC32_SEED 0 // note that we logical NOT this in the code STB_EXTERN stb_uint stb_adler32(stb_uint adler32, stb_uchar *buffer, stb_uint buflen); STB_EXTERN stb_uint stb_crc32_block(stb_uint crc32, stb_uchar *buffer, stb_uint len); STB_EXTERN stb_uint stb_crc32(unsigned char *buffer, stb_uint len); STB_EXTERN void stb_sha1( unsigned char output[20], unsigned char *buffer, unsigned int len); STB_EXTERN int stb_sha1_file(unsigned char output[20], char *file); STB_EXTERN void stb_sha1_readable(char display[27], unsigned char sha[20]); #ifdef STB_DEFINE stb_uint stb_crc32_block(stb_uint crc, unsigned char *buffer, stb_uint len) { static stb_uint crc_table[256]; stb_uint i,j,s; crc = ~crc; if (crc_table[1] == 0) for(i=0; i < 256; i++) { for (s=i, j=0; j < 8; ++j) s = (s >> 1) ^ (s & 1 ? 0xedb88320 : 0); crc_table[i] = s; } for (i=0; i < len; ++i) crc = (crc >> 8) ^ crc_table[buffer[i] ^ (crc & 0xff)]; return ~crc; } stb_uint stb_crc32(unsigned char *buffer, stb_uint len) { return stb_crc32_block(0, buffer, len); } stb_uint stb_adler32(stb_uint adler32, stb_uchar *buffer, stb_uint buflen) { const unsigned long ADLER_MOD = 65521; unsigned long s1 = adler32 & 0xffff, s2 = adler32 >> 16; unsigned long blocklen, i; blocklen = buflen % 5552; while (buflen) { for (i=0; i + 7 < blocklen; i += 8) { s1 += buffer[0], s2 += s1; s1 += buffer[1], s2 += s1; s1 += buffer[2], s2 += s1; s1 += buffer[3], s2 += s1; s1 += buffer[4], s2 += s1; s1 += buffer[5], s2 += s1; s1 += buffer[6], s2 += s1; s1 += buffer[7], s2 += s1; buffer += 8; } for (; i < blocklen; ++i) s1 += *buffer++, s2 += s1; s1 %= ADLER_MOD, s2 %= ADLER_MOD; buflen -= blocklen; blocklen = 5552; } return (s2 << 16) + s1; } static void stb__sha1(stb_uchar *chunk, stb_uint h[5]) { int i; stb_uint a,b,c,d,e; stb_uint w[80]; for (i=0; i < 16; ++i) w[i] = stb_big32(&chunk[i*4]); for (i=16; i < 80; ++i) { stb_uint t; t = w[i-3] ^ w[i-8] ^ w[i-14] ^ w[i-16]; w[i] = (t + t) | (t >> 31); } a = h[0]; b = h[1]; c = h[2]; d = h[3]; e = h[4]; #define STB__SHA1(k,f) \ { \ stb_uint temp = (a << 5) + (a >> 27) + (f) + e + (k) + w[i]; \ e = d; \ d = c; \ c = (b << 30) + (b >> 2); \ b = a; \ a = temp; \ } i=0; for (; i < 20; ++i) STB__SHA1(0x5a827999, d ^ (b & (c ^ d)) ); for (; i < 40; ++i) STB__SHA1(0x6ed9eba1, b ^ c ^ d ); for (; i < 60; ++i) STB__SHA1(0x8f1bbcdc, (b & c) + (d & (b ^ c)) ); for (; i < 80; ++i) STB__SHA1(0xca62c1d6, b ^ c ^ d ); #undef STB__SHA1 h[0] += a; h[1] += b; h[2] += c; h[3] += d; h[4] += e; } void stb_sha1(stb_uchar output[20], stb_uchar *buffer, stb_uint len) { unsigned char final_block[128]; stb_uint end_start, final_len, j; int i; stb_uint h[5]; h[0] = 0x67452301; h[1] = 0xefcdab89; h[2] = 0x98badcfe; h[3] = 0x10325476; h[4] = 0xc3d2e1f0; // we need to write padding to the last one or two // blocks, so build those first into 'final_block' // we have to write one special byte, plus the 8-byte length // compute the block where the data runs out end_start = len & ~63; // compute the earliest we can encode the length if (((len+9) & ~63) == end_start) { // it all fits in one block, so fill a second-to-last block end_start -= 64; } final_len = end_start + 128; // now we need to copy the data in assert(end_start + 128 >= len+9); assert(end_start < len || len < 64-9); j = 0; if (end_start > len) j = (stb_uint) - (int) end_start; for (; end_start + j < len; ++j) final_block[j] = buffer[end_start + j]; final_block[j++] = 0x80; while (j < 128-5) // 5 byte length, so write 4 extra padding bytes final_block[j++] = 0; // big-endian size final_block[j++] = len >> 29; final_block[j++] = len >> 21; final_block[j++] = len >> 13; final_block[j++] = len >> 5; final_block[j++] = len << 3; assert(j == 128 && end_start + j == final_len); for (j=0; j < final_len; j += 64) { // 512-bit chunks if (j+64 >= end_start+64) stb__sha1(&final_block[j - end_start], h); else stb__sha1(&buffer[j], h); } for (i=0; i < 5; ++i) { output[i*4 + 0] = h[i] >> 24; output[i*4 + 1] = h[i] >> 16; output[i*4 + 2] = h[i] >> 8; output[i*4 + 3] = h[i] >> 0; } } #ifdef _MSC_VER int stb_sha1_file(stb_uchar output[20], char *file) { int i; stb_uint64 length=0; unsigned char buffer[128]; FILE *f = stb__fopen(file, "rb"); stb_uint h[5]; if (f == NULL) return 0; // file not found h[0] = 0x67452301; h[1] = 0xefcdab89; h[2] = 0x98badcfe; h[3] = 0x10325476; h[4] = 0xc3d2e1f0; for(;;) { size_t n = fread(buffer, 1, 64, f); if (n == 64) { stb__sha1(buffer, h); length += n; } else { int block = 64; length += n; buffer[n++] = 0x80; // if there isn't enough room for the length, double the block if (n + 8 > 64) block = 128; // pad to end memset(buffer+n, 0, block-8-n); i = block - 8; buffer[i++] = (stb_uchar) (length >> 53); buffer[i++] = (stb_uchar) (length >> 45); buffer[i++] = (stb_uchar) (length >> 37); buffer[i++] = (stb_uchar) (length >> 29); buffer[i++] = (stb_uchar) (length >> 21); buffer[i++] = (stb_uchar) (length >> 13); buffer[i++] = (stb_uchar) (length >> 5); buffer[i++] = (stb_uchar) (length << 3); assert(i == block); stb__sha1(buffer, h); if (block == 128) stb__sha1(buffer+64, h); else assert(block == 64); break; } } fclose(f); for (i=0; i < 5; ++i) { output[i*4 + 0] = h[i] >> 24; output[i*4 + 1] = h[i] >> 16; output[i*4 + 2] = h[i] >> 8; output[i*4 + 3] = h[i] >> 0; } return 1; } #endif // _MSC_VER // client can truncate this wherever they like void stb_sha1_readable(char display[27], unsigned char sha[20]) { char encoding[65] = "0123456789abcdefghijklmnopqrstuv" "wxyzABCDEFGHIJKLMNOPQRSTUVWXYZ%$"; int num_bits = 0, acc=0; int i=0,o=0; while (o < 26) { int v; // expand the accumulator if (num_bits < 6) { assert(i != 20); acc += sha[i++] << num_bits; num_bits += 8; } v = acc & ((1 << 6) - 1); display[o++] = encoding[v]; acc >>= 6; num_bits -= 6; } assert(num_bits == 20*8 - 26*6); display[o++] = encoding[acc]; } #endif // STB_DEFINE /////////////////////////////////////////////////////////// // // simplified WINDOWS registry interface... hopefully // we'll never actually use this? #if defined(_WIN32) STB_EXTERN void * stb_reg_open(const char *mode, const char *where); // mode: "rHKLM" or "rHKCU" or "w.." STB_EXTERN void stb_reg_close(void *reg); STB_EXTERN int stb_reg_read(void *zreg, const char *str, void *data, unsigned long len); STB_EXTERN int stb_reg_read_string(void *zreg, const char *str, char *data, int len); STB_EXTERN void stb_reg_write(void *zreg, const char *str, const void *data, unsigned long len); STB_EXTERN void stb_reg_write_string(void *zreg, const char *str, const char *data); #if defined(STB_DEFINE) && !defined(STB_NO_REGISTRY) #define STB_HAS_REGISTRY #ifndef _WINDOWS_ #define HKEY void * STB_EXTERN __declspec(dllimport) long __stdcall RegCloseKey ( HKEY hKey ); STB_EXTERN __declspec(dllimport) long __stdcall RegCreateKeyExA ( HKEY hKey, const char * lpSubKey, int Reserved, char * lpClass, int dwOptions, int samDesired, void *lpSecurityAttributes, HKEY * phkResult, int * lpdwDisposition ); STB_EXTERN __declspec(dllimport) long __stdcall RegDeleteKeyA ( HKEY hKey, const char * lpSubKey ); STB_EXTERN __declspec(dllimport) long __stdcall RegQueryValueExA ( HKEY hKey, const char * lpValueName, int * lpReserved, unsigned long * lpType, unsigned char * lpData, unsigned long * lpcbData ); STB_EXTERN __declspec(dllimport) long __stdcall RegSetValueExA ( HKEY hKey, const char * lpValueName, int Reserved, int dwType, const unsigned char* lpData, int cbData ); STB_EXTERN __declspec(dllimport) long __stdcall RegOpenKeyExA ( HKEY hKey, const char * lpSubKey, int ulOptions, int samDesired, HKEY * phkResult ); #endif // _WINDOWS_ #define STB__REG_OPTION_NON_VOLATILE 0 #define STB__REG_KEY_ALL_ACCESS 0x000f003f #define STB__REG_KEY_READ 0x00020019 #ifdef _M_AMD64 #define STB__HKEY_CURRENT_USER 0x80000001ull #define STB__HKEY_LOCAL_MACHINE 0x80000002ull #else #define STB__HKEY_CURRENT_USER 0x80000001 #define STB__HKEY_LOCAL_MACHINE 0x80000002 #endif void *stb_reg_open(const char *mode, const char *where) { long res; HKEY base; HKEY zreg; if (!stb_stricmp(mode+1, "cu") || !stb_stricmp(mode+1, "hkcu")) base = (HKEY) STB__HKEY_CURRENT_USER; else if (!stb_stricmp(mode+1, "lm") || !stb_stricmp(mode+1, "hklm")) base = (HKEY) STB__HKEY_LOCAL_MACHINE; else return NULL; if (mode[0] == 'r') res = RegOpenKeyExA(base, where, 0, STB__REG_KEY_READ, &zreg); else if (mode[0] == 'w') res = RegCreateKeyExA(base, where, 0, NULL, STB__REG_OPTION_NON_VOLATILE, STB__REG_KEY_ALL_ACCESS, NULL, &zreg, NULL); else return NULL; return res ? NULL : zreg; } void stb_reg_close(void *reg) { RegCloseKey((HKEY) reg); } #define STB__REG_SZ 1 #define STB__REG_BINARY 3 #define STB__REG_DWORD 4 int stb_reg_read(void *zreg, const char *str, void *data, unsigned long len) { unsigned long type; unsigned long alen = len; if (0 == RegQueryValueExA((HKEY) zreg, str, 0, &type, (unsigned char *) data, &len)) if (type == STB__REG_BINARY || type == STB__REG_SZ || type == STB__REG_DWORD) { if (len < alen) *((char *) data + len) = 0; return 1; } return 0; } void stb_reg_write(void *zreg, const char *str, const void *data, unsigned long len) { if (zreg) RegSetValueExA((HKEY) zreg, str, 0, STB__REG_BINARY, (const unsigned char *) data, len); } int stb_reg_read_string(void *zreg, const char *str, char *data, int len) { if (!stb_reg_read(zreg, str, data, len)) return 0; data[len-1] = 0; // force a 0 at the end of the string no matter what return 1; } void stb_reg_write_string(void *zreg, const char *str, const char *data) { if (zreg) RegSetValueExA((HKEY) zreg, str, 0, STB__REG_SZ, (const unsigned char *) data, (int) strlen(data)+1); } #endif // STB_DEFINE #endif // _WIN32 ////////////////////////////////////////////////////////////////////////////// // // stb_cfg - This is like the registry, but the config info // is all stored in plain old files where we can // backup and restore them easily. The LOCATION of // the config files is gotten from... the registry! #ifndef STB_NO_STB_STRINGS typedef struct stb_cfg_st stb_cfg; STB_EXTERN stb_cfg * stb_cfg_open(char *config, const char *mode); // mode = "r", "w" STB_EXTERN void stb_cfg_close(stb_cfg *cfg); STB_EXTERN int stb_cfg_read(stb_cfg *cfg, char *key, void *value, int len); STB_EXTERN void stb_cfg_write(stb_cfg *cfg, char *key, void *value, int len); STB_EXTERN int stb_cfg_read_string(stb_cfg *cfg, char *key, char *value, int len); STB_EXTERN void stb_cfg_write_string(stb_cfg *cfg, char *key, char *value); STB_EXTERN int stb_cfg_delete(stb_cfg *cfg, char *key); STB_EXTERN void stb_cfg_set_directory(char *dir); #ifdef STB_DEFINE typedef struct { char *key; void *value; int value_len; } stb__cfg_item; struct stb_cfg_st { stb__cfg_item *data; char *loaded_file; // this needs to be freed FILE *f; // write the data to this file on close }; static const char *stb__cfg_sig = "sTbCoNfIg!\0\0"; static char stb__cfg_dir[512]; STB_EXTERN void stb_cfg_set_directory(char *dir) { stb_p_strcpy_s(stb__cfg_dir, sizeof(stb__cfg_dir), dir); } STB_EXTERN stb_cfg * stb_cfg_open(char *config, const char *mode) { size_t len; stb_cfg *z; char file[512]; if (mode[0] != 'r' && mode[0] != 'w') return NULL; if (!stb__cfg_dir[0]) { #ifdef _WIN32 stb_p_strcpy_s(stb__cfg_dir, sizeof(stb__cfg_dir), "c:/stb"); #else strcpy(stb__cfg_dir, "~/.stbconfig"); #endif #ifdef STB_HAS_REGISTRY { void *reg = stb_reg_open("rHKLM", "Software\\SilverSpaceship\\stb"); if (reg) { stb_reg_read_string(reg, "config_dir", stb__cfg_dir, sizeof(stb__cfg_dir)); stb_reg_close(reg); } } #endif } stb_p_sprintf(file stb_p_size(sizeof(file)), "%s/%s.cfg", stb__cfg_dir, config); z = (stb_cfg *) stb_malloc(0, sizeof(*z)); z->data = NULL; z->loaded_file = stb_filec(file, &len); if (z->loaded_file) { char *s = z->loaded_file; if (!memcmp(s, stb__cfg_sig, 12)) { char *s = z->loaded_file + 12; while (s < z->loaded_file + len) { stb__cfg_item a; int n = *(stb_int16 *) s; a.key = s+2; s = s+2 + n; a.value_len = *(int *) s; s += 4; a.value = s; s += a.value_len; stb_arr_push(z->data, a); } assert(s == z->loaded_file + len); } } if (mode[0] == 'w') z->f = stb_p_fopen(file, "wb"); else z->f = NULL; return z; } void stb_cfg_close(stb_cfg *z) { if (z->f) { int i; // write the file out fwrite(stb__cfg_sig, 12, 1, z->f); for (i=0; i < stb_arr_len(z->data); ++i) { stb_int16 n = (stb_int16) strlen(z->data[i].key)+1; fwrite(&n, 2, 1, z->f); fwrite(z->data[i].key, n, 1, z->f); fwrite(&z->data[i].value_len, 4, 1, z->f); fwrite(z->data[i].value, z->data[i].value_len, 1, z->f); } fclose(z->f); } stb_arr_free(z->data); stb_free(z); } int stb_cfg_read(stb_cfg *z, char *key, void *value, int len) { int i; for (i=0; i < stb_arr_len(z->data); ++i) { if (!stb_stricmp(z->data[i].key, key)) { int n = stb_min(len, z->data[i].value_len); memcpy(value, z->data[i].value, n); if (n < len) *((char *) value + n) = 0; return 1; } } return 0; } void stb_cfg_write(stb_cfg *z, char *key, void *value, int len) { int i; for (i=0; i < stb_arr_len(z->data); ++i) if (!stb_stricmp(z->data[i].key, key)) break; if (i == stb_arr_len(z->data)) { stb__cfg_item p; p.key = stb_strdup(key, z); p.value = NULL; p.value_len = 0; stb_arr_push(z->data, p); } z->data[i].value = stb_malloc(z, len); z->data[i].value_len = len; memcpy(z->data[i].value, value, len); } int stb_cfg_delete(stb_cfg *z, char *key) { int i; for (i=0; i < stb_arr_len(z->data); ++i) if (!stb_stricmp(z->data[i].key, key)) { stb_arr_fastdelete(z->data, i); return 1; } return 0; } int stb_cfg_read_string(stb_cfg *z, char *key, char *value, int len) { if (!stb_cfg_read(z, key, value, len)) return 0; value[len-1] = 0; return 1; } void stb_cfg_write_string(stb_cfg *z, char *key, char *value) { stb_cfg_write(z, key, value, (int) strlen(value)+1); } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_dirtree - load a description of a directory tree // uses a cache and stat()s the directories for changes // MUCH faster on NTFS, _wrong_ on FAT32, so should // ignore the db on FAT32 #ifdef _WIN32 typedef struct { char * path; // full path from passed-in root time_t last_modified; int num_files; int flag; } stb_dirtree_dir; typedef struct { char *name; // name relative to path int dir; // index into dirs[] array stb_int64 size; // size, max 4GB time_t last_modified; int flag; } stb_dirtree_file; typedef struct { stb_dirtree_dir *dirs; stb_dirtree_file *files; // internal use void * string_pool; // used to free data en masse } stb_dirtree; extern void stb_dirtree_free ( stb_dirtree *d ); extern stb_dirtree *stb_dirtree_get ( char *dir); extern stb_dirtree *stb_dirtree_get_dir ( char *dir, char *cache_dir); extern stb_dirtree *stb_dirtree_get_with_file ( char *dir, char *cache_file); // get a list of all the files recursively underneath 'dir' // // cache_file is used to store a copy of the directory tree to speed up // later calls. It must be unique to 'dir' and the current working // directory! Otherwise who knows what will happen (a good solution // is to put it _in_ dir, but this API doesn't force that). // // Also, it might be possible to break this if you have two different processes // do a call to stb_dirtree_get() with the same cache file at about the same // time, but I _think_ it might just work. // i needed to build an identical data structure representing the state of // a mirrored copy WITHOUT bothering to rescan it (i.e. we're mirroring to // it WITHOUT scanning it, e.g. it's over the net), so this requires access // to all of the innards. extern void stb_dirtree_db_add_dir(stb_dirtree *active, char *path, time_t last); extern void stb_dirtree_db_add_file(stb_dirtree *active, char *name, int dir, stb_int64 size, time_t last); extern void stb_dirtree_db_read(stb_dirtree *target, char *filename, char *dir); extern void stb_dirtree_db_write(stb_dirtree *target, char *filename, char *dir); #ifdef STB_DEFINE static void stb__dirtree_add_dir(char *path, time_t last, stb_dirtree *active) { stb_dirtree_dir d; d.last_modified = last; d.num_files = 0; d.path = stb_strdup(path, active->string_pool); stb_arr_push(active->dirs, d); } static void stb__dirtree_add_file(char *name, int dir, stb_int64 size, time_t last, stb_dirtree *active) { stb_dirtree_file f; f.dir = dir; f.size = size; f.last_modified = last; f.name = stb_strdup(name, active->string_pool); ++active->dirs[dir].num_files; stb_arr_push(active->files, f); } // version 02 supports > 4GB files static char stb__signature[12] = { 's', 'T', 'b', 'D', 'i', 'R', 't', 'R', 'e', 'E', '0', '2' }; static void stb__dirtree_save_db(char *filename, stb_dirtree *data, char *root) { int i, num_dirs_final=0, num_files_final; char *info = root ? root : (char*)""; int *remap; FILE *f = stb_p_fopen(filename, "wb"); if (!f) return; fwrite(stb__signature, sizeof(stb__signature), 1, f); fwrite(info, strlen(info)+1, 1, f); // need to be slightly tricky and not write out NULLed directories, nor the root // build remapping table of all dirs we'll be writing out remap = (int *) malloc(sizeof(remap[0]) * stb_arr_len(data->dirs)); for (i=0; i < stb_arr_len(data->dirs); ++i) { if (data->dirs[i].path == NULL || (root && 0==stb_stricmp(data->dirs[i].path, root))) { remap[i] = -1; } else { remap[i] = num_dirs_final++; } } fwrite(&num_dirs_final, 4, 1, f); for (i=0; i < stb_arr_len(data->dirs); ++i) { if (remap[i] >= 0) { fwrite(&data->dirs[i].last_modified, 4, 1, f); stb_fput_string(f, data->dirs[i].path); } } num_files_final = 0; for (i=0; i < stb_arr_len(data->files); ++i) if (remap[data->files[i].dir] >= 0 && data->files[i].name) ++num_files_final; fwrite(&num_files_final, 4, 1, f); for (i=0; i < stb_arr_len(data->files); ++i) { if (remap[data->files[i].dir] >= 0 && data->files[i].name) { stb_fput_ranged(f, remap[data->files[i].dir], 0, num_dirs_final); stb_fput_varlen64(f, data->files[i].size); fwrite(&data->files[i].last_modified, 4, 1, f); stb_fput_string(f, data->files[i].name); } } fclose(f); } // note: stomps any existing data, rather than appending static void stb__dirtree_load_db(char *filename, stb_dirtree *data, char *dir) { char sig[2048]; int i,n; FILE *f = stb_p_fopen(filename, "rb"); if (!f) return; data->string_pool = stb_malloc(0,1); fread(sig, sizeof(stb__signature), 1, f); if (memcmp(stb__signature, sig, sizeof(stb__signature))) { fclose(f); return; } if (!fread(sig, strlen(dir)+1, 1, f)) { fclose(f); return; } if (stb_stricmp(sig,dir)) { fclose(f); return; } // we can just read them straight in, because they're guaranteed to be valid fread(&n, 4, 1, f); stb_arr_setlen(data->dirs, n); for(i=0; i < stb_arr_len(data->dirs); ++i) { fread(&data->dirs[i].last_modified, 4, 1, f); data->dirs[i].path = stb_fget_string(f, data->string_pool); if (data->dirs[i].path == NULL) goto bail; } fread(&n, 4, 1, f); stb_arr_setlen(data->files, n); for (i=0; i < stb_arr_len(data->files); ++i) { data->files[i].dir = stb_fget_ranged(f, 0, stb_arr_len(data->dirs)); data->files[i].size = stb_fget_varlen64(f); fread(&data->files[i].last_modified, 4, 1, f); data->files[i].name = stb_fget_string(f, data->string_pool); if (data->files[i].name == NULL) goto bail; } if (0) { bail: stb_arr_free(data->dirs); stb_arr_free(data->files); } fclose(f); } FILE *hlog; static int stb__dircount, stb__dircount_mask, stb__showfile; static void stb__dirtree_scandir(char *path, time_t last_time, stb_dirtree *active) { // this is dumb depth first; theoretically it might be faster // to fully traverse each directory before visiting its children, // but it's complicated and didn't seem like a gain in the test app int n; struct _wfinddatai64_t c_file; long hFile; stb__wchar full_path[1024]; int has_slash; if (stb__showfile) printf("<"); has_slash = (path[0] && path[strlen(path)-1] == '/'); // @TODO: do this concatenation without using swprintf to avoid this mess: #if (defined(_MSC_VER) && _MSC_VER < 1400) // || (defined(__clang__)) // confusingly, Windows Kits\10 needs to go down this path?!? // except now it doesn't, I don't know what changed if (has_slash) swprintf(full_path, L"%s*", stb__from_utf8(path)); else swprintf(full_path, L"%s/*", stb__from_utf8(path)); #else if (has_slash) swprintf((wchar_t *) full_path, (size_t) 1024, L"%s*", (wchar_t *) stb__from_utf8(path)); else swprintf((wchar_t *) full_path, (size_t) 1024, L"%s/*", (wchar_t *) stb__from_utf8(path)); #endif // it's possible this directory is already present: that means it was in the // cache, but its parent wasn't... in that case, we're done with it if (stb__showfile) printf("C[%d]", stb_arr_len(active->dirs)); for (n=0; n < stb_arr_len(active->dirs); ++n) if (0 == stb_stricmp(active->dirs[n].path, path)) { if (stb__showfile) printf("D"); return; } if (stb__showfile) printf("E"); // otherwise, we need to add it stb__dirtree_add_dir(path, last_time, active); n = stb_arr_lastn(active->dirs); if (stb__showfile) printf("["); if( (hFile = (long) _wfindfirsti64( (wchar_t *) full_path, &c_file )) != -1L ) { do { if (stb__showfile) printf(")"); if (c_file.attrib & _A_SUBDIR) { // ignore subdirectories starting with '.', e.g. "." and ".." if (c_file.name[0] != '.') { char *new_path = (char *) full_path; char *temp = stb__to_utf8((stb__wchar *) c_file.name); if (has_slash) stb_p_sprintf(new_path stb_p_size(sizeof(full_path)), "%s%s", path, temp); else stb_p_sprintf(new_path stb_p_size(sizeof(full_path)), "%s/%s", path, temp); if (stb__dircount_mask) { ++stb__dircount; if (!(stb__dircount & stb__dircount_mask)) { char dummy_path[128], *pad; stb_strncpy(dummy_path, new_path, sizeof(dummy_path)-1); if (strlen(dummy_path) > 96) { stb_p_strcpy_s(dummy_path+96/2-1,128, "..."); stb_p_strcpy_s(dummy_path+96/2+2,128, new_path + strlen(new_path)-96/2+2); } pad = dummy_path + strlen(dummy_path); while (pad < dummy_path+98) *pad++ = ' '; *pad = 0; printf("%s\r", dummy_path); #if 0 if (hlog == 0) { hlog = stb_p_fopen("c:/x/temp.log", "w"); fprintf(hlog, "%s\n", dummy_path); } #endif } } stb__dirtree_scandir(new_path, c_file.time_write, active); } } else { char *temp = stb__to_utf8((stb__wchar *) c_file.name); stb__dirtree_add_file(temp, n, c_file.size, c_file.time_write, active); } if (stb__showfile) printf("("); } while( _wfindnexti64( hFile, &c_file ) == 0 ); if (stb__showfile) printf("]"); _findclose( hFile ); } if (stb__showfile) printf(">\n"); } // scan the database and see if it's all valid static int stb__dirtree_update_db(stb_dirtree *db, stb_dirtree *active) { int changes_detected = STB_FALSE; int i; int *remap; int *rescan=NULL; remap = (int *) malloc(sizeof(remap[0]) * stb_arr_len(db->dirs)); memset(remap, 0, sizeof(remap[0]) * stb_arr_len(db->dirs)); rescan = NULL; for (i=0; i < stb_arr_len(db->dirs); ++i) { struct _stat info; if (stb__dircount_mask) { ++stb__dircount; if (!(stb__dircount & stb__dircount_mask)) { printf("."); } } if (0 == _stat(db->dirs[i].path, &info)) { if (info.st_mode & _S_IFDIR) { // it's still a directory, as expected int n = abs((int) (info.st_mtime - db->dirs[i].last_modified)); if (n > 1 && n != 3600) { // the 3600 is a hack because sometimes this jumps for no apparent reason, even when no time zone or DST issues are at play // it's changed! force a rescan // we don't want to scan it until we've stat()d its // subdirs, though, so we queue it if (stb__showfile) printf("Changed: %s - %08x:%08x\n", db->dirs[i].path, (unsigned int) db->dirs[i].last_modified, (unsigned int) info.st_mtime); stb_arr_push(rescan, i); // update the last_mod time db->dirs[i].last_modified = info.st_mtime; // ignore existing files in this dir remap[i] = -1; changes_detected = STB_TRUE; } else { // it hasn't changed, just copy it through unchanged stb__dirtree_add_dir(db->dirs[i].path, db->dirs[i].last_modified, active); remap[i] = stb_arr_lastn(active->dirs); } } else { // this path used to refer to a directory, but now it's a file! // assume that the parent directory is going to be forced to rescan anyway goto delete_entry; } } else { delete_entry: // directory no longer exists, so don't copy it // we don't free it because it's in the string pool now db->dirs[i].path = NULL; remap[i] = -1; changes_detected = STB_TRUE; } } // at this point, we have: // // <rescan> holds a list of directory indices that need to be scanned due to being out of date // <remap> holds the directory index in <active> for each dir in <db>, if it exists; -1 if not // directories in <rescan> are not in <active> yet // so we can go ahead and remap all the known files right now for (i=0; i < stb_arr_len(db->files); ++i) { int dir = db->files[i].dir; if (remap[dir] >= 0) { stb__dirtree_add_file(db->files[i].name, remap[dir], db->files[i].size, db->files[i].last_modified, active); } } // at this point we're done with db->files, and done with remap free(remap); // now scan those directories using the standard scan for (i=0; i < stb_arr_len(rescan); ++i) { int z = rescan[i]; stb__dirtree_scandir(db->dirs[z].path, db->dirs[z].last_modified, active); } stb_arr_free(rescan); return changes_detected; } static void stb__dirtree_free_raw(stb_dirtree *d) { stb_free(d->string_pool); stb_arr_free(d->dirs); stb_arr_free(d->files); } stb_dirtree *stb_dirtree_get_with_file(char *dir, char *cache_file) { stb_dirtree *output = (stb_dirtree *) malloc(sizeof(*output)); stb_dirtree db,active; int prev_dir_count, cache_mismatch; char *stripped_dir; // store the directory name without a trailing '/' or '\\' // load the database of last-known state on disk db.string_pool = NULL; db.files = NULL; db.dirs = NULL; stripped_dir = stb_strip_final_slash(stb_p_strdup(dir)); if (cache_file != NULL) stb__dirtree_load_db(cache_file, &db, stripped_dir); else if (stb__showfile) printf("No cache file\n"); active.files = NULL; active.dirs = NULL; active.string_pool = stb_malloc(0,1); // @TODO: share string pools between both? // check all the directories in the database; make note if // anything we scanned had changed, and rescan those things cache_mismatch = stb__dirtree_update_db(&db, &active); // check the root tree prev_dir_count = stb_arr_len(active.dirs); // record how many directories we've seen stb__dirtree_scandir(stripped_dir, 0, &active); // no last_modified time available for root if (stb__dircount_mask) printf(" \r"); // done with the DB; write it back out if any changes, i.e. either // 1. any inconsistency found between cached information and actual disk // or 2. if scanning the root found any new directories--which we detect because // more than one directory got added to the active db during that scan if (cache_mismatch || stb_arr_len(active.dirs) > prev_dir_count+1) stb__dirtree_save_db(cache_file, &active, stripped_dir); free(stripped_dir); stb__dirtree_free_raw(&db); *output = active; return output; } stb_dirtree *stb_dirtree_get_dir(char *dir, char *cache_dir) { int i; stb_uint8 sha[20]; char dir_lower[1024]; char cache_file[1024],*s; if (cache_dir == NULL) return stb_dirtree_get_with_file(dir, NULL); stb_p_strcpy_s(dir_lower, sizeof(dir_lower), dir); stb_tolower(dir_lower); stb_sha1(sha, (unsigned char *) dir_lower, (unsigned int) strlen(dir_lower)); stb_p_strcpy_s(cache_file, sizeof(cache_file), cache_dir); s = cache_file + strlen(cache_file); if (s[-1] != '/' && s[-1] != '\\') *s++ = '/'; stb_p_strcpy_s(s, sizeof(cache_file), "dirtree_"); s += strlen(s); for (i=0; i < 8; ++i) { char *hex = (char*)"0123456789abcdef"; stb_uint z = sha[i]; *s++ = hex[z >> 4]; *s++ = hex[z & 15]; } stb_p_strcpy_s(s, sizeof(cache_file), ".bin"); return stb_dirtree_get_with_file(dir, cache_file); } stb_dirtree *stb_dirtree_get(char *dir) { char cache_dir[256]; stb_p_strcpy_s(cache_dir, sizeof(cache_dir), "c:/bindata"); #ifdef STB_HAS_REGISTRY { void *reg = stb_reg_open("rHKLM", "Software\\SilverSpaceship\\stb"); if (reg) { stb_reg_read(reg, "dirtree", cache_dir, sizeof(cache_dir)); stb_reg_close(reg); } } #endif return stb_dirtree_get_dir(dir, cache_dir); } void stb_dirtree_free(stb_dirtree *d) { stb__dirtree_free_raw(d); free(d); } void stb_dirtree_db_add_dir(stb_dirtree *active, char *path, time_t last) { stb__dirtree_add_dir(path, last, active); } void stb_dirtree_db_add_file(stb_dirtree *active, char *name, int dir, stb_int64 size, time_t last) { stb__dirtree_add_file(name, dir, size, last, active); } void stb_dirtree_db_read(stb_dirtree *target, char *filename, char *dir) { char *s = stb_strip_final_slash(stb_p_strdup(dir)); target->dirs = 0; target->files = 0; target->string_pool = 0; stb__dirtree_load_db(filename, target, s); free(s); } void stb_dirtree_db_write(stb_dirtree *target, char *filename, char *dir) { stb__dirtree_save_db(filename, target, 0); // don't strip out any directories } #endif // STB_DEFINE #endif // _WIN32 #endif // STB_NO_STB_STRINGS ////////////////////////////////////////////////////////////////////////////// // // STB_MALLOC_WRAPPER // // you can use the wrapper functions with your own malloc wrapper, // or define STB_MALLOC_WRAPPER project-wide to have // malloc/free/realloc/strdup all get vectored to it // this has too many very specific error messages you could google for and find in stb.h, // so don't use it if they don't want any stb.h-identifiable strings #if defined(STB_DEFINE) && !defined(STB_NO_STB_STRINGS) typedef struct { void *p; char *file; int line; size_t size; } stb_malloc_record; #ifndef STB_MALLOC_HISTORY_COUNT #define STB_MALLOC_HISTORY_COUNT 50 // 800 bytes #endif stb_malloc_record *stb__allocations; static int stb__alloc_size, stb__alloc_limit, stb__alloc_mask; int stb__alloc_count; stb_malloc_record stb__alloc_history[STB_MALLOC_HISTORY_COUNT]; int stb__history_pos; static int stb__hashfind(void *p) { stb_uint32 h = stb_hashptr(p); int s,n = h & stb__alloc_mask; if (stb__allocations[n].p == p) return n; s = stb_rehash(h)|1; for(;;) { if (stb__allocations[n].p == NULL) return -1; n = (n+s) & stb__alloc_mask; if (stb__allocations[n].p == p) return n; } } size_t stb_wrapper_allocsize(void *p) { int n = stb__hashfind(p); if (n < 0) return 0; return stb__allocations[n].size; } static int stb__historyfind(void *p) { int n = stb__history_pos; int i; for (i=0; i < STB_MALLOC_HISTORY_COUNT; ++i) { if (--n < 0) n = STB_MALLOC_HISTORY_COUNT-1; if (stb__alloc_history[n].p == p) return n; } return -1; } static void stb__add_alloc(void *p, size_t sz, char *file, int line); static void stb__grow_alloc(void) { int i,old_num = stb__alloc_size; stb_malloc_record *old = stb__allocations; if (stb__alloc_size == 0) stb__alloc_size = 64; else stb__alloc_size *= 2; stb__allocations = (stb_malloc_record *) stb__realloc_raw(NULL, stb__alloc_size * sizeof(stb__allocations[0])); if (stb__allocations == NULL) stb_fatal("Internal error: couldn't grow malloc wrapper table"); memset(stb__allocations, 0, stb__alloc_size * sizeof(stb__allocations[0])); stb__alloc_limit = (stb__alloc_size*3)>>2; stb__alloc_mask = stb__alloc_size-1; stb__alloc_count = 0; for (i=0; i < old_num; ++i) if (old[i].p > STB_DEL) { stb__add_alloc(old[i].p, old[i].size, old[i].file, old[i].line); assert(stb__hashfind(old[i].p) >= 0); } for (i=0; i < old_num; ++i) if (old[i].p > STB_DEL) assert(stb__hashfind(old[i].p) >= 0); stb__realloc_raw(old, 0); } static void stb__add_alloc(void *p, size_t sz, char *file, int line) { stb_uint32 h; int n; if (stb__alloc_count >= stb__alloc_limit) stb__grow_alloc(); h = stb_hashptr(p); n = h & stb__alloc_mask; if (stb__allocations[n].p > STB_DEL) { int s = stb_rehash(h)|1; do { n = (n+s) & stb__alloc_mask; } while (stb__allocations[n].p > STB_DEL); } assert(stb__allocations[n].p == NULL || stb__allocations[n].p == STB_DEL); stb__allocations[n].p = p; stb__allocations[n].size = sz; stb__allocations[n].line = line; stb__allocations[n].file = file; ++stb__alloc_count; } static void stb__remove_alloc(int n, char *file, int line) { stb__alloc_history[stb__history_pos] = stb__allocations[n]; stb__alloc_history[stb__history_pos].file = file; stb__alloc_history[stb__history_pos].line = line; if (++stb__history_pos == STB_MALLOC_HISTORY_COUNT) stb__history_pos = 0; stb__allocations[n].p = STB_DEL; --stb__alloc_count; } void stb_wrapper_malloc(void *p, size_t sz, char *file, int line) { if (!p) return; stb__add_alloc(p,sz,file,line); } void stb_wrapper_free(void *p, char *file, int line) { int n; if (p == NULL) return; n = stb__hashfind(p); if (n >= 0) stb__remove_alloc(n, file, line); else { // tried to free something we hadn't allocated! n = stb__historyfind(p); assert(0); /* NOTREACHED */ if (n >= 0) stb_fatal("Attempted to free %d-byte block %p at %s:%d previously freed/realloced at %s:%d", stb__alloc_history[n].size, p, file, line, stb__alloc_history[n].file, stb__alloc_history[n].line); else stb_fatal("Attempted to free unknown block %p at %s:%d", p, file,line); } } void stb_wrapper_check(void *p) { int n; if (p == NULL) return; n = stb__hashfind(p); if (n >= 0) return; for (n=0; n < stb__alloc_size; ++n) if (stb__allocations[n].p == p) stb_fatal("Internal error: pointer %p was allocated, but hash search failed", p); // tried to free something that wasn't allocated! n = stb__historyfind(p); if (n >= 0) stb_fatal("Checked %d-byte block %p previously freed/realloced at %s:%d", stb__alloc_history[n].size, p, stb__alloc_history[n].file, stb__alloc_history[n].line); stb_fatal("Checked unknown block %p"); } void stb_wrapper_realloc(void *p, void *q, size_t sz, char *file, int line) { int n; if (p == NULL) { stb_wrapper_malloc(q, sz, file, line); return; } if (q == NULL) return; // nothing happened n = stb__hashfind(p); if (n == -1) { // tried to free something we hadn't allocated! // this is weird, though, because we got past the realloc! n = stb__historyfind(p); assert(0); /* NOTREACHED */ if (n >= 0) stb_fatal("Attempted to realloc %d-byte block %p at %s:%d previously freed/realloced at %s:%d", stb__alloc_history[n].size, p, file, line, stb__alloc_history[n].file, stb__alloc_history[n].line); else stb_fatal("Attempted to realloc unknown block %p at %s:%d", p, file,line); } else { if (q == p) { stb__allocations[n].size = sz; stb__allocations[n].file = file; stb__allocations[n].line = line; } else { stb__remove_alloc(n, file, line); stb__add_alloc(q,sz,file,line); } } } void stb_wrapper_listall(void (*func)(void *ptr, size_t sz, char *file, int line)) { int i; for (i=0; i < stb__alloc_size; ++i) if (stb__allocations[i].p > STB_DEL) func(stb__allocations[i].p , stb__allocations[i].size, stb__allocations[i].file, stb__allocations[i].line); } void stb_wrapper_dump(char *filename) { int i; FILE *f = stb_p_fopen(filename, "w"); if (!f) return; for (i=0; i < stb__alloc_size; ++i) if (stb__allocations[i].p > STB_DEL) fprintf(f, "%p %7d - %4d %s\n", stb__allocations[i].p , (int) stb__allocations[i].size, stb__allocations[i].line, stb__allocations[i].file); } #endif // STB_DEFINE ////////////////////////////////////////////////////////////////////////////// // // stb_pointer_set // // // For data structures that support querying by key, data structure // classes always hand-wave away the issue of what to do if two entries // have the same key: basically, store a linked list of all the nodes // which have the same key (a LISP-style list). // // The thing is, it's not that trivial. If you have an O(log n) // lookup data structure, but then n/4 items have the same value, // you don't want to spend O(n) time scanning that list when // deleting an item if you already have a pointer to the item. // (You have to spend O(n) time enumerating all the items with // a given key, sure, and you can't accelerate deleting a particular // item if you only have the key, not a pointer to the item.) // // I'm going to call this data structure, whatever it turns out to // be, a "pointer set", because we don't store any associated data for // items in this data structure, we just answer the question of // whether an item is in it or not (it's effectively one bit per pointer). // Technically they don't have to be pointers; you could cast ints // to (void *) if you want, but you can't store 0 or 1 because of the // hash table. // // Since the fastest data structure we might want to add support for // identical-keys to is a hash table with O(1)-ish lookup time, // that means that the conceptual "linked list of all items with // the same indexed value" that we build needs to have the same // performance; that way when we index a table we think is arbitrary // ints, but in fact half of them are 0, we don't get screwed. // // Therefore, it needs to be a hash table, at least when it gets // large. On the other hand, when the data has totally arbitrary ints // or floats, there won't be many collisions, and we'll have tons of // 1-item bitmaps. That will be grossly inefficient as hash tables; // trade-off; the hash table is reasonably efficient per-item when // it's large, but not when it's small. So we need to do something // Judy-like and use different strategies depending on the size. // // Like Judy, we'll use the bottom bit to encode the strategy: // // bottom bits: // 00 - direct pointer // 01 - 4-item bucket (16 bytes, no length, NULLs) // 10 - N-item array // 11 - hash table typedef struct stb_ps stb_ps; STB_EXTERN int stb_ps_find (stb_ps *ps, void *value); STB_EXTERN stb_ps * stb_ps_add (stb_ps *ps, void *value); STB_EXTERN stb_ps * stb_ps_remove(stb_ps *ps, void *value); STB_EXTERN stb_ps * stb_ps_remove_any(stb_ps *ps, void **value); STB_EXTERN void stb_ps_delete(stb_ps *ps); STB_EXTERN int stb_ps_count (stb_ps *ps); STB_EXTERN stb_ps * stb_ps_copy (stb_ps *ps); STB_EXTERN int stb_ps_subset(stb_ps *bigger, stb_ps *smaller); STB_EXTERN int stb_ps_eq (stb_ps *p0, stb_ps *p1); STB_EXTERN void ** stb_ps_getlist (stb_ps *ps, int *count); STB_EXTERN int stb_ps_writelist(stb_ps *ps, void **list, int size ); // enum and fastlist don't allocate storage, but you must consume the // list before there's any chance the data structure gets screwed up; STB_EXTERN int stb_ps_enum (stb_ps *ps, void *data, int (*func)(void *value, void*data) ); STB_EXTERN void ** stb_ps_fastlist(stb_ps *ps, int *count); // result: // returns a list, *count is the length of that list, // but some entries of the list may be invalid; // test with 'stb_ps_fastlist_valid(x)' #define stb_ps_fastlist_valid(x) ((stb_uinta) (x) > 1) #ifdef STB_DEFINE enum { STB_ps_direct = 0, STB_ps_bucket = 1, STB_ps_array = 2, STB_ps_hash = 3, }; #define STB_BUCKET_SIZE 4 typedef struct { void *p[STB_BUCKET_SIZE]; } stb_ps_bucket; #define GetBucket(p) ((stb_ps_bucket *) ((char *) (p) - STB_ps_bucket)) #define EncodeBucket(p) ((stb_ps *) ((char *) (p) + STB_ps_bucket)) static void stb_bucket_free(stb_ps_bucket *b) { free(b); } static stb_ps_bucket *stb_bucket_create2(void *v0, void *v1) { stb_ps_bucket *b = (stb_ps_bucket*) malloc(sizeof(*b)); b->p[0] = v0; b->p[1] = v1; b->p[2] = NULL; b->p[3] = NULL; return b; } static stb_ps_bucket * stb_bucket_create3(void **v) { stb_ps_bucket *b = (stb_ps_bucket*) malloc(sizeof(*b)); b->p[0] = v[0]; b->p[1] = v[1]; b->p[2] = v[2]; b->p[3] = NULL; return b; } // could use stb_arr, but this will save us memory typedef struct { int count; void *p[1]; } stb_ps_array; #define GetArray(p) ((stb_ps_array *) ((char *) (p) - STB_ps_array)) #define EncodeArray(p) ((stb_ps *) ((char *) (p) + STB_ps_array)) static int stb_ps_array_max = 13; typedef struct { int size, mask; int count, count_deletes; int grow_threshhold; int shrink_threshhold; int rehash_threshhold; int any_offset; void *table[1]; } stb_ps_hash; #define GetHash(p) ((stb_ps_hash *) ((char *) (p) - STB_ps_hash)) #define EncodeHash(p) ((stb_ps *) ((char *) (p) + STB_ps_hash)) #define stb_ps_empty(v) (((stb_uint32) v) <= 1) static stb_ps_hash *stb_ps_makehash(int size, int old_size, void **old_data) { int i; stb_ps_hash *h = (stb_ps_hash *) malloc(sizeof(*h) + (size-1) * sizeof(h->table[0])); assert(stb_is_pow2(size)); h->size = size; h->mask = size-1; h->shrink_threshhold = (int) (0.3f * size); h-> grow_threshhold = (int) (0.8f * size); h->rehash_threshhold = (int) (0.9f * size); h->count = 0; h->count_deletes = 0; h->any_offset = 0; memset(h->table, 0, size * sizeof(h->table[0])); for (i=0; i < old_size; ++i) if (!stb_ps_empty((size_t)old_data[i])) stb_ps_add(EncodeHash(h), old_data[i]); return h; } void stb_ps_delete(stb_ps *ps) { switch (3 & (int)(size_t) ps) { case STB_ps_direct: break; case STB_ps_bucket: stb_bucket_free(GetBucket(ps)); break; case STB_ps_array : free(GetArray(ps)); break; case STB_ps_hash : free(GetHash(ps)); break; } } stb_ps *stb_ps_copy(stb_ps *ps) { int i; // not a switch: order based on expected performance/power-law distribution switch (3 & (int)(size_t) ps) { case STB_ps_direct: return ps; case STB_ps_bucket: { stb_ps_bucket *n = (stb_ps_bucket *) malloc(sizeof(*n)); *n = *GetBucket(ps); return EncodeBucket(n); } case STB_ps_array: { stb_ps_array *a = GetArray(ps); stb_ps_array *n = (stb_ps_array *) malloc(sizeof(*n) + stb_ps_array_max * sizeof(n->p[0])); n->count = a->count; for (i=0; i < a->count; ++i) n->p[i] = a->p[i]; return EncodeArray(n); } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); stb_ps_hash *n = stb_ps_makehash(h->size, h->size, h->table); return EncodeHash(n); } } assert(0); /* NOTREACHED */ return NULL; } int stb_ps_find(stb_ps *ps, void *value) { int i, code = 3 & (int)(size_t) ps; assert((3 & (int)(size_t) value) == STB_ps_direct); assert(stb_ps_fastlist_valid(value)); // not a switch: order based on expected performance/power-law distribution if (code == STB_ps_direct) return value == ps; if (code == STB_ps_bucket) { stb_ps_bucket *b = GetBucket(ps); assert(STB_BUCKET_SIZE == 4); if (b->p[0] == value || b->p[1] == value || b->p[2] == value || b->p[3] == value) return STB_TRUE; return STB_FALSE; } if (code == STB_ps_array) { stb_ps_array *a = GetArray(ps); for (i=0; i < a->count; ++i) if (a->p[i] == value) return STB_TRUE; return STB_FALSE; } else { stb_ps_hash *h = GetHash(ps); stb_uint32 hash = stb_hashptr(value); stb_uint32 s, n = hash & h->mask; void **t = h->table; if (t[n] == value) return STB_TRUE; if (t[n] == NULL) return STB_FALSE; s = stb_rehash(hash) | 1; do { n = (n + s) & h->mask; if (t[n] == value) return STB_TRUE; } while (t[n] != NULL); return STB_FALSE; } } stb_ps * stb_ps_add (stb_ps *ps, void *value) { #ifdef STB_DEBUG assert(!stb_ps_find(ps,value)); #endif if (value == NULL) return ps; // ignore NULL adds to avoid bad breakage assert((3 & (int)(size_t) value) == STB_ps_direct); assert(stb_ps_fastlist_valid(value)); assert(value != STB_DEL); // STB_DEL is less likely switch (3 & (int)(size_t) ps) { case STB_ps_direct: if (ps == NULL) return (stb_ps *) value; return EncodeBucket(stb_bucket_create2(ps,value)); case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); stb_ps_array *a; assert(STB_BUCKET_SIZE == 4); if (b->p[0] == NULL) { b->p[0] = value; return ps; } if (b->p[1] == NULL) { b->p[1] = value; return ps; } if (b->p[2] == NULL) { b->p[2] = value; return ps; } if (b->p[3] == NULL) { b->p[3] = value; return ps; } a = (stb_ps_array *) malloc(sizeof(*a) + 7 * sizeof(a->p[0])); // 8 slots, must be 2^k memcpy(a->p, b, sizeof(*b)); a->p[4] = value; a->count = 5; stb_bucket_free(b); return EncodeArray(a); } case STB_ps_array: { stb_ps_array *a = GetArray(ps); if (a->count == stb_ps_array_max) { // promote from array to hash stb_ps_hash *h = stb_ps_makehash(2 << stb_log2_ceil(a->count), a->count, a->p); free(a); return stb_ps_add(EncodeHash(h), value); } // do we need to resize the array? the array doubles in size when it // crosses a power-of-two if ((a->count & (a->count-1))==0) { int newsize = a->count*2; // clamp newsize to max if: // 1. it's larger than max // 2. newsize*1.5 is larger than max (to avoid extra resizing) if (newsize + a->count > stb_ps_array_max) newsize = stb_ps_array_max; a = (stb_ps_array *) realloc(a, sizeof(*a) + (newsize-1) * sizeof(a->p[0])); } a->p[a->count++] = value; return EncodeArray(a); } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); stb_uint32 hash = stb_hashptr(value); stb_uint32 n = hash & h->mask; void **t = h->table; // find first NULL or STB_DEL entry if (!stb_ps_empty((size_t)t[n])) { stb_uint32 s = stb_rehash(hash) | 1; do { n = (n + s) & h->mask; } while (!stb_ps_empty((size_t)t[n])); } if (t[n] == STB_DEL) -- h->count_deletes; t[n] = value; ++ h->count; if (h->count == h->grow_threshhold) { stb_ps_hash *h2 = stb_ps_makehash(h->size*2, h->size, t); free(h); return EncodeHash(h2); } if (h->count + h->count_deletes == h->rehash_threshhold) { stb_ps_hash *h2 = stb_ps_makehash(h->size, h->size, t); free(h); return EncodeHash(h2); } return ps; } } return NULL; /* NOTREACHED */ } stb_ps *stb_ps_remove(stb_ps *ps, void *value) { #ifdef STB_DEBUG assert(stb_ps_find(ps, value)); #endif assert((3 & (int)(size_t) value) == STB_ps_direct); if (value == NULL) return ps; // ignore NULL removes to avoid bad breakage switch (3 & (int)(size_t) ps) { case STB_ps_direct: return ps == value ? NULL : ps; case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); int count=0; assert(STB_BUCKET_SIZE == 4); if (b->p[0] == value) b->p[0] = NULL; else count += (b->p[0] != NULL); if (b->p[1] == value) b->p[1] = NULL; else count += (b->p[1] != NULL); if (b->p[2] == value) b->p[2] = NULL; else count += (b->p[2] != NULL); if (b->p[3] == value) b->p[3] = NULL; else count += (b->p[3] != NULL); if (count == 1) { // shrink bucket at size 1 value = b->p[0]; if (value == NULL) value = b->p[1]; if (value == NULL) value = b->p[2]; if (value == NULL) value = b->p[3]; assert(value != NULL); stb_bucket_free(b); return (stb_ps *) value; // return STB_ps_direct of value } return ps; } case STB_ps_array: { stb_ps_array *a = GetArray(ps); int i; for (i=0; i < a->count; ++i) { if (a->p[i] == value) { a->p[i] = a->p[--a->count]; if (a->count == 3) { // shrink to bucket! stb_ps_bucket *b = stb_bucket_create3(a->p); free(a); return EncodeBucket(b); } return ps; } } return ps; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); stb_uint32 hash = stb_hashptr(value); stb_uint32 s, n = hash & h->mask; void **t = h->table; if (t[n] != value) { s = stb_rehash(hash) | 1; do { n = (n + s) & h->mask; } while (t[n] != value); } t[n] = STB_DEL; -- h->count; ++ h->count_deletes; // should we shrink down to an array? if (h->count < stb_ps_array_max) { int n = 1 << stb_log2_floor(stb_ps_array_max); if (h->count < n) { stb_ps_array *a = (stb_ps_array *) malloc(sizeof(*a) + (n-1) * sizeof(a->p[0])); int i,j=0; for (i=0; i < h->size; ++i) if (!stb_ps_empty((size_t)t[i])) a->p[j++] = t[i]; assert(j == h->count); a->count = j; free(h); return EncodeArray(a); } } if (h->count == h->shrink_threshhold) { stb_ps_hash *h2 = stb_ps_makehash(h->size >> 1, h->size, t); free(h); return EncodeHash(h2); } return ps; } } return ps; /* NOTREACHED */ } stb_ps *stb_ps_remove_any(stb_ps *ps, void **value) { assert(ps != NULL); switch (3 & (int)(size_t) ps) { case STB_ps_direct: *value = ps; return NULL; case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); int count=0, slast=0, last=0; assert(STB_BUCKET_SIZE == 4); if (b->p[0]) { ++count; last = 0; } if (b->p[1]) { ++count; slast = last; last = 1; } if (b->p[2]) { ++count; slast = last; last = 2; } if (b->p[3]) { ++count; slast = last; last = 3; } *value = b->p[last]; b->p[last] = 0; if (count == 2) { void *leftover = b->p[slast]; // second to last stb_bucket_free(b); return (stb_ps *) leftover; } return ps; } case STB_ps_array: { stb_ps_array *a = GetArray(ps); *value = a->p[a->count-1]; if (a->count == 4) return stb_ps_remove(ps, *value); --a->count; return ps; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); void **t = h->table; stb_uint32 n = h->any_offset; while (stb_ps_empty((size_t)t[n])) n = (n + 1) & h->mask; *value = t[n]; h->any_offset = (n+1) & h->mask; // check if we need to skip down to the previous type if (h->count-1 < stb_ps_array_max || h->count-1 == h->shrink_threshhold) return stb_ps_remove(ps, *value); t[n] = STB_DEL; -- h->count; ++ h->count_deletes; return ps; } } return ps; /* NOTREACHED */ } void ** stb_ps_getlist(stb_ps *ps, int *count) { int i,n=0; void **p = NULL; switch (3 & (int)(size_t) ps) { case STB_ps_direct: if (ps == NULL) { *count = 0; return NULL; } p = (void **) malloc(sizeof(*p) * 1); p[0] = ps; *count = 1; return p; case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); p = (void **) malloc(sizeof(*p) * STB_BUCKET_SIZE); for (i=0; i < STB_BUCKET_SIZE; ++i) if (b->p[i] != NULL) p[n++] = b->p[i]; break; } case STB_ps_array: { stb_ps_array *a = GetArray(ps); p = (void **) malloc(sizeof(*p) * a->count); memcpy(p, a->p, sizeof(*p) * a->count); *count = a->count; return p; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); p = (void **) malloc(sizeof(*p) * h->count); for (i=0; i < h->size; ++i) if (!stb_ps_empty((size_t)h->table[i])) p[n++] = h->table[i]; break; } } *count = n; return p; } int stb_ps_writelist(stb_ps *ps, void **list, int size ) { int i,n=0; switch (3 & (int)(size_t) ps) { case STB_ps_direct: if (ps == NULL || size <= 0) return 0; list[0] = ps; return 1; case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); for (i=0; i < STB_BUCKET_SIZE; ++i) if (b->p[i] != NULL && n < size) list[n++] = b->p[i]; return n; } case STB_ps_array: { stb_ps_array *a = GetArray(ps); n = stb_min(size, a->count); memcpy(list, a->p, sizeof(*list) * n); return n; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); if (size <= 0) return 0; for (i=0; i < h->count; ++i) { if (!stb_ps_empty((size_t)h->table[i])) { list[n++] = h->table[i]; if (n == size) break; } } return n; } } return 0; /* NOTREACHED */ } int stb_ps_enum(stb_ps *ps, void *data, int (*func)(void *value, void *data)) { int i; switch (3 & (int)(size_t) ps) { case STB_ps_direct: if (ps == NULL) return STB_TRUE; return func(ps, data); case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); for (i=0; i < STB_BUCKET_SIZE; ++i) if (b->p[i] != NULL) if (!func(b->p[i], data)) return STB_FALSE; return STB_TRUE; } case STB_ps_array: { stb_ps_array *a = GetArray(ps); for (i=0; i < a->count; ++i) if (!func(a->p[i], data)) return STB_FALSE; return STB_TRUE; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); for (i=0; i < h->count; ++i) if (!stb_ps_empty((size_t)h->table[i])) if (!func(h->table[i], data)) return STB_FALSE; return STB_TRUE; } } return STB_TRUE; /* NOTREACHED */ } int stb_ps_count (stb_ps *ps) { switch (3 & (int)(size_t) ps) { case STB_ps_direct: return ps != NULL; case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); return (b->p[0] != NULL) + (b->p[1] != NULL) + (b->p[2] != NULL) + (b->p[3] != NULL); } case STB_ps_array: { stb_ps_array *a = GetArray(ps); return a->count; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); return h->count; } } return 0; } void ** stb_ps_fastlist(stb_ps *ps, int *count) { static void *storage; switch (3 & (int)(size_t) ps) { case STB_ps_direct: if (ps == NULL) { *count = 0; return NULL; } storage = ps; *count = 1; return &storage; case STB_ps_bucket: { stb_ps_bucket *b = GetBucket(ps); *count = STB_BUCKET_SIZE; return b->p; } case STB_ps_array: { stb_ps_array *a = GetArray(ps); *count = a->count; return a->p; } case STB_ps_hash: { stb_ps_hash *h = GetHash(ps); *count = h->size; return h->table; } } return NULL; /* NOTREACHED */ } int stb_ps_subset(stb_ps *bigger, stb_ps *smaller) { int i, listlen; void **list = stb_ps_fastlist(smaller, &listlen); for(i=0; i < listlen; ++i) if (stb_ps_fastlist_valid(list[i])) if (!stb_ps_find(bigger, list[i])) return 0; return 1; } int stb_ps_eq(stb_ps *p0, stb_ps *p1) { if (stb_ps_count(p0) != stb_ps_count(p1)) return 0; return stb_ps_subset(p0, p1); } #undef GetBucket #undef GetArray #undef GetHash #undef EncodeBucket #undef EncodeArray #undef EncodeHash #endif ////////////////////////////////////////////////////////////////////////////// // // Random Numbers via Meresenne Twister or LCG // STB_EXTERN unsigned int stb_srandLCG(unsigned int seed); STB_EXTERN unsigned int stb_randLCG(void); STB_EXTERN double stb_frandLCG(void); STB_EXTERN void stb_srand(unsigned int seed); STB_EXTERN unsigned int stb_rand(void); STB_EXTERN double stb_frand(void); STB_EXTERN void stb_shuffle(void *p, size_t n, size_t sz, unsigned int seed); STB_EXTERN void stb_reverse(void *p, size_t n, size_t sz); STB_EXTERN unsigned int stb_randLCG_explicit(unsigned int seed); #define stb_rand_define(x,y) \ \ unsigned int x(void) \ { \ static unsigned int stb__rand = y; \ stb__rand = stb__rand * 2147001325 + 715136305; /* BCPL */ \ return 0x31415926 ^ ((stb__rand >> 16) + (stb__rand << 16)); \ } #ifdef STB_DEFINE unsigned int stb_randLCG_explicit(unsigned int seed) { return seed * 2147001325 + 715136305; } static unsigned int stb__rand_seed=0; unsigned int stb_srandLCG(unsigned int seed) { unsigned int previous = stb__rand_seed; stb__rand_seed = seed; return previous; } unsigned int stb_randLCG(void) { stb__rand_seed = stb__rand_seed * 2147001325 + 715136305; // BCPL generator // shuffle non-random bits to the middle, and xor to decorrelate with seed return 0x31415926 ^ ((stb__rand_seed >> 16) + (stb__rand_seed << 16)); } double stb_frandLCG(void) { return stb_randLCG() / ((double) (1 << 16) * (1 << 16)); } void stb_shuffle(void *p, size_t n, size_t sz, unsigned int seed) { char *a; unsigned int old_seed; int i; if (seed) old_seed = stb_srandLCG(seed); a = (char *) p + (n-1) * sz; for (i=(int) n; i > 1; --i) { int j = stb_randLCG() % i; stb_swap(a, (char *) p + j * sz, sz); a -= sz; } if (seed) stb_srandLCG(old_seed); } void stb_reverse(void *p, size_t n, size_t sz) { size_t i,j = n-1; for (i=0; i < j; ++i,--j) { stb_swap((char *) p + i * sz, (char *) p + j * sz, sz); } } // public domain Mersenne Twister by Michael Brundage #define STB__MT_LEN 624 int stb__mt_index = STB__MT_LEN*sizeof(int)+1; unsigned int stb__mt_buffer[STB__MT_LEN]; void stb_srand(unsigned int seed) { int i; stb__mt_buffer[0]= seed & 0xffffffffUL; for (i=1 ; i < STB__MT_LEN; ++i) stb__mt_buffer[i] = (1812433253UL * (stb__mt_buffer[i-1] ^ (stb__mt_buffer[i-1] >> 30)) + i); stb__mt_index = STB__MT_LEN*sizeof(unsigned int); } #define STB__MT_IA 397 #define STB__MT_IB (STB__MT_LEN - STB__MT_IA) #define STB__UPPER_MASK 0x80000000 #define STB__LOWER_MASK 0x7FFFFFFF #define STB__MATRIX_A 0x9908B0DF #define STB__TWIST(b,i,j) ((b)[i] & STB__UPPER_MASK) | ((b)[j] & STB__LOWER_MASK) #define STB__MAGIC(s) (((s)&1)*STB__MATRIX_A) unsigned int stb_rand() { unsigned int * b = stb__mt_buffer; int idx = stb__mt_index; unsigned int s,r; int i; if (idx >= STB__MT_LEN*sizeof(unsigned int)) { if (idx > STB__MT_LEN*sizeof(unsigned int)) stb_srand(0); idx = 0; i = 0; for (; i < STB__MT_IB; i++) { s = STB__TWIST(b, i, i+1); b[i] = b[i + STB__MT_IA] ^ (s >> 1) ^ STB__MAGIC(s); } for (; i < STB__MT_LEN-1; i++) { s = STB__TWIST(b, i, i+1); b[i] = b[i - STB__MT_IB] ^ (s >> 1) ^ STB__MAGIC(s); } s = STB__TWIST(b, STB__MT_LEN-1, 0); b[STB__MT_LEN-1] = b[STB__MT_IA-1] ^ (s >> 1) ^ STB__MAGIC(s); } stb__mt_index = idx + sizeof(unsigned int); r = *(unsigned int *)((unsigned char *)b + idx); r ^= (r >> 11); r ^= (r << 7) & 0x9D2C5680; r ^= (r << 15) & 0xEFC60000; r ^= (r >> 18); return r; } double stb_frand(void) { return stb_rand() / ((double) (1 << 16) * (1 << 16)); } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_dupe // // stb_dupe is a duplicate-finding system for very, very large data // structures--large enough that sorting is too slow, but not so large // that we can't keep all the data in memory. using it works as follows: // // 1. create an stb_dupe: // provide a hash function // provide an equality function // provide an estimate for the size // optionally provide a comparison function // // 2. traverse your data, 'adding' pointers to the stb_dupe // // 3. finish and ask for duplicates // // the stb_dupe will discard its intermediate data and build // a collection of sorted lists of duplicates, with non-duplicate // entries omitted entirely // // // Implementation strategy: // // while collecting the N items, we keep a hash table of approximate // size sqrt(N). (if you tell use the N up front, the hash table is // just that size exactly) // // each entry in the hash table is just an stb__arr of pointers (no need // to use stb_ps, because we don't need to delete from these) // // for step 3, for each entry in the hash table, we apply stb_dupe to it // recursively. once the size gets small enough (or doesn't decrease // significantly), we switch to either using qsort() on the comparison // function, or else we just do the icky N^2 gather typedef struct stb_dupe stb_dupe; typedef int (*stb_compare_func)(void *a, void *b); typedef int (*stb_hash_func)(void *a, unsigned int seed); STB_EXTERN void stb_dupe_free(stb_dupe *sd); STB_EXTERN stb_dupe *stb_dupe_create(stb_hash_func hash, stb_compare_func eq, int size, stb_compare_func ineq); STB_EXTERN void stb_dupe_add(stb_dupe *sd, void *item); STB_EXTERN void stb_dupe_finish(stb_dupe *sd); STB_EXTERN int stb_dupe_numsets(stb_dupe *sd); STB_EXTERN void **stb_dupe_set(stb_dupe *sd, int num); STB_EXTERN int stb_dupe_set_count(stb_dupe *sd, int num); struct stb_dupe { void ***hash_table; int hash_size; int size_log2; int population; int hash_shift; stb_hash_func hash; stb_compare_func eq; stb_compare_func ineq; void ***dupes; }; #ifdef STB_DEFINE int stb_dupe_numsets(stb_dupe *sd) { assert(sd->hash_table == NULL); return stb_arr_len(sd->dupes); } void **stb_dupe_set(stb_dupe *sd, int num) { assert(sd->hash_table == NULL); return sd->dupes[num]; } int stb_dupe_set_count(stb_dupe *sd, int num) { assert(sd->hash_table == NULL); return stb_arr_len(sd->dupes[num]); } stb_dupe *stb_dupe_create(stb_hash_func hash, stb_compare_func eq, int size, stb_compare_func ineq) { int i, hsize; stb_dupe *sd = (stb_dupe *) malloc(sizeof(*sd)); sd->size_log2 = 4; hsize = 1 << sd->size_log2; while (hsize * hsize < size) { ++sd->size_log2; hsize *= 2; } sd->hash = hash; sd->eq = eq; sd->ineq = ineq; sd->hash_shift = 0; sd->population = 0; sd->hash_size = hsize; sd->hash_table = (void ***) malloc(sizeof(*sd->hash_table) * hsize); for (i=0; i < hsize; ++i) sd->hash_table[i] = NULL; sd->dupes = NULL; return sd; } void stb_dupe_add(stb_dupe *sd, void *item) { stb_uint32 hash = sd->hash(item, sd->hash_shift); int z = hash & (sd->hash_size-1); stb_arr_push(sd->hash_table[z], item); ++sd->population; } void stb_dupe_free(stb_dupe *sd) { int i; for (i=0; i < stb_arr_len(sd->dupes); ++i) if (sd->dupes[i]) stb_arr_free(sd->dupes[i]); stb_arr_free(sd->dupes); free(sd); } static stb_compare_func stb__compare; static int stb__dupe_compare(const void *a, const void *b) { void *p = *(void **) a; void *q = *(void **) b; return stb__compare(p,q); } void stb_dupe_finish(stb_dupe *sd) { int i,j,k; assert(sd->dupes == NULL); for (i=0; i < sd->hash_size; ++i) { void ** list = sd->hash_table[i]; if (list != NULL) { int n = stb_arr_len(list); // @TODO: measure to find good numbers instead of just making them up! int thresh = (sd->ineq ? 200 : 20); // if n is large enough to be worth it, and n is smaller than // before (so we can guarantee we'll use a smaller hash table); // and there are enough hash bits left, assuming full 32-bit hash if (n > thresh && n < (sd->population >> 3) && sd->hash_shift + sd->size_log2*2 < 32) { // recursively process this row using stb_dupe, O(N log log N) stb_dupe *d = stb_dupe_create(sd->hash, sd->eq, n, sd->ineq); d->hash_shift = stb_randLCG_explicit(sd->hash_shift); for (j=0; j < n; ++j) stb_dupe_add(d, list[j]); stb_arr_free(sd->hash_table[i]); stb_dupe_finish(d); for (j=0; j < stb_arr_len(d->dupes); ++j) { stb_arr_push(sd->dupes, d->dupes[j]); d->dupes[j] = NULL; // take over ownership } stb_dupe_free(d); } else if (sd->ineq) { // process this row using qsort(), O(N log N) stb__compare = sd->ineq; qsort(list, n, sizeof(list[0]), stb__dupe_compare); // find equal subsequences of the list for (j=0; j < n-1; ) { // find a subsequence from j..k for (k=j; k < n; ++k) // only use ineq so eq can be left undefined if (sd->ineq(list[j], list[k])) break; // k is the first one not in the subsequence if (k-j > 1) { void **mylist = NULL; stb_arr_setlen(mylist, k-j); memcpy(mylist, list+j, sizeof(list[j]) * (k-j)); stb_arr_push(sd->dupes, mylist); } j = k; } stb_arr_free(sd->hash_table[i]); } else { // process this row using eq(), O(N^2) for (j=0; j < n; ++j) { if (list[j] != NULL) { void **output = NULL; for (k=j+1; k < n; ++k) { if (sd->eq(list[j], list[k])) { if (output == NULL) stb_arr_push(output, list[j]); stb_arr_push(output, list[k]); list[k] = NULL; } } list[j] = NULL; if (output) stb_arr_push(sd->dupes, output); } } stb_arr_free(sd->hash_table[i]); } } } free(sd->hash_table); sd->hash_table = NULL; } #endif ////////////////////////////////////////////////////////////////////////////// // // templatized Sort routine // // This is an attempt to implement a templated sorting algorithm. // To use it, you have to explicitly instantiate it as a _function_, // then you call that function. This allows the comparison to be inlined, // giving the sort similar performance to C++ sorts. // // It implements quicksort with three-way-median partitioning (generally // well-behaved), with a final insertion sort pass. // // When you define the compare expression, you should assume you have // elements of your array pointed to by 'a' and 'b', and perform the comparison // on those. OR you can use one or more statements; first say '0;', then // write whatever code you want, and compute the result into a variable 'c'. #define stb_declare_sort(FUNCNAME, TYPE) \ void FUNCNAME(TYPE *p, int n) #define stb_define_sort(FUNCNAME,TYPE,COMPARE) \ stb__define_sort( void, FUNCNAME,TYPE,COMPARE) #define stb_define_sort_static(FUNCNAME,TYPE,COMPARE) \ stb__define_sort(static void, FUNCNAME,TYPE,COMPARE) #define stb__define_sort(MODE, FUNCNAME, TYPE, COMPARE) \ \ static void STB_(FUNCNAME,_ins_sort)(TYPE *p, int n) \ { \ int i,j; \ for (i=1; i < n; ++i) { \ TYPE t = p[i], *a = &t; \ j = i; \ while (j > 0) { \ TYPE *b = &p[j-1]; \ int c = COMPARE; \ if (!c) break; \ p[j] = p[j-1]; \ --j; \ } \ if (i != j) \ p[j] = t; \ } \ } \ \ static void STB_(FUNCNAME,_quicksort)(TYPE *p, int n) \ { \ /* threshold for transitioning to insertion sort */ \ while (n > 12) { \ TYPE *a,*b,t; \ int c01,c12,c,m,i,j; \ \ /* compute median of three */ \ m = n >> 1; \ a = &p[0]; \ b = &p[m]; \ c = COMPARE; \ c01 = c; \ a = &p[m]; \ b = &p[n-1]; \ c = COMPARE; \ c12 = c; \ /* if 0 >= mid >= end, or 0 < mid < end, then use mid */ \ if (c01 != c12) { \ /* otherwise, we'll need to swap something else to middle */ \ int z; \ a = &p[0]; \ b = &p[n-1]; \ c = COMPARE; \ /* 0>mid && mid<n: 0>n => n; 0<n => 0 */ \ /* 0<mid && mid>n: 0>n => 0; 0<n => n */ \ z = (c == c12) ? 0 : n-1; \ t = p[z]; \ p[z] = p[m]; \ p[m] = t; \ } \ /* now p[m] is the median-of-three */ \ /* swap it to the beginning so it won't move around */ \ t = p[0]; \ p[0] = p[m]; \ p[m] = t; \ \ /* partition loop */ \ i=1; \ j=n-1; \ for(;;) { \ /* handling of equality is crucial here */ \ /* for sentinels & efficiency with duplicates */ \ b = &p[0]; \ for (;;++i) { \ a=&p[i]; \ c = COMPARE; \ if (!c) break; \ } \ a = &p[0]; \ for (;;--j) { \ b=&p[j]; \ c = COMPARE; \ if (!c) break; \ } \ /* make sure we haven't crossed */ \ if (i >= j) break; \ t = p[i]; \ p[i] = p[j]; \ p[j] = t; \ \ ++i; \ --j; \ } \ /* recurse on smaller side, iterate on larger */ \ if (j < (n-i)) { \ STB_(FUNCNAME,_quicksort)(p,j); \ p = p+i; \ n = n-i; \ } else { \ STB_(FUNCNAME,_quicksort)(p+i, n-i); \ n = j; \ } \ } \ } \ \ MODE FUNCNAME(TYPE *p, int n) \ { \ STB_(FUNCNAME, _quicksort)(p, n); \ STB_(FUNCNAME, _ins_sort)(p, n); \ } \ ////////////////////////////////////////////////////////////////////////////// // // stb_bitset an array of booleans indexed by integers // typedef stb_uint32 stb_bitset; STB_EXTERN stb_bitset *stb_bitset_new(int value, int len); #define stb_bitset_clearall(arr,len) (memset(arr, 0, 4 * (len))) #define stb_bitset_setall(arr,len) (memset(arr, 255, 4 * (len))) #define stb_bitset_setbit(arr,n) ((arr)[(n) >> 5] |= (1 << (n & 31))) #define stb_bitset_clearbit(arr,n) ((arr)[(n) >> 5] &= ~(1 << (n & 31))) #define stb_bitset_testbit(arr,n) ((arr)[(n) >> 5] & (1 << (n & 31))) STB_EXTERN stb_bitset *stb_bitset_union(stb_bitset *p0, stb_bitset *p1, int len); STB_EXTERN int *stb_bitset_getlist(stb_bitset *out, int start, int end); STB_EXTERN int stb_bitset_eq(stb_bitset *p0, stb_bitset *p1, int len); STB_EXTERN int stb_bitset_disjoint(stb_bitset *p0, stb_bitset *p1, int len); STB_EXTERN int stb_bitset_disjoint_0(stb_bitset *p0, stb_bitset *p1, int len); STB_EXTERN int stb_bitset_subset(stb_bitset *bigger, stb_bitset *smaller, int len); STB_EXTERN int stb_bitset_unioneq_changed(stb_bitset *p0, stb_bitset *p1, int len); #ifdef STB_DEFINE int stb_bitset_eq(stb_bitset *p0, stb_bitset *p1, int len) { int i; for (i=0; i < len; ++i) if (p0[i] != p1[i]) return 0; return 1; } int stb_bitset_disjoint(stb_bitset *p0, stb_bitset *p1, int len) { int i; for (i=0; i < len; ++i) if (p0[i] & p1[i]) return 0; return 1; } int stb_bitset_disjoint_0(stb_bitset *p0, stb_bitset *p1, int len) { int i; for (i=0; i < len; ++i) if ((p0[i] | p1[i]) != 0xffffffff) return 0; return 1; } int stb_bitset_subset(stb_bitset *bigger, stb_bitset *smaller, int len) { int i; for (i=0; i < len; ++i) if ((bigger[i] & smaller[i]) != smaller[i]) return 0; return 1; } stb_bitset *stb_bitset_union(stb_bitset *p0, stb_bitset *p1, int len) { int i; stb_bitset *d = (stb_bitset *) malloc(sizeof(*d) * len); for (i=0; i < len; ++i) d[i] = p0[i] | p1[i]; return d; } int stb_bitset_unioneq_changed(stb_bitset *p0, stb_bitset *p1, int len) { int i, changed=0; for (i=0; i < len; ++i) { stb_bitset d = p0[i] | p1[i]; if (d != p0[i]) { p0[i] = d; changed = 1; } } return changed; } stb_bitset *stb_bitset_new(int value, int len) { int i; stb_bitset *d = (stb_bitset *) malloc(sizeof(*d) * len); if (value) value = 0xffffffff; for (i=0; i < len; ++i) d[i] = value; return d; } int *stb_bitset_getlist(stb_bitset *out, int start, int end) { int *list = NULL; int i; for (i=start; i < end; ++i) if (stb_bitset_testbit(out, i)) stb_arr_push(list, i); return list; } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_wordwrap quality word-wrapping for fixed-width fonts // STB_EXTERN int stb_wordwrap(int *pairs, int pair_max, int count, char *str); STB_EXTERN int *stb_wordwrapalloc(int count, char *str); #ifdef STB_DEFINE int stb_wordwrap(int *pairs, int pair_max, int count, char *str) { int n=0,i=0, start=0,nonwhite=0; if (pairs == NULL) pair_max = 0x7ffffff0; else pair_max *= 2; // parse for(;;) { int s=i; // first whitespace char; last nonwhite+1 int w; // word start // accept whitespace while (isspace(str[i])) { if (str[i] == '\n' || str[i] == '\r') { if (str[i] + str[i+1] == '\n' + '\r') ++i; if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = s-start; n += 2; nonwhite=0; start = i+1; s = start; } ++i; } if (i >= start+count) { // we've gone off the end using whitespace if (nonwhite) { if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = s-start; n += 2; start = s = i; nonwhite=0; } else { // output all the whitespace while (i >= start+count) { if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = count; n += 2; start += count; } s = start; } } if (str[i] == 0) break; // now scan out a word and see if it fits w = i; while (str[i] && !isspace(str[i])) { ++i; } // wrapped? if (i > start + count) { // huge? if (i-s <= count) { if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = s-start; n += 2; start = w; } else { // This word is longer than one line. If we wrap it onto N lines // there are leftover chars. do those chars fit on the cur line? // But if we have leading whitespace, we force it to start here. if ((w-start) + ((i-w) % count) <= count || !nonwhite) { // output a full line if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = count; n += 2; start += count; w = start; } else { // output a partial line, trimming trailing whitespace if (s != start) { if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = s-start; n += 2; start = w; } } // now output full lines as needed while (start + count <= i) { if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = count; n += 2; start += count; } } } nonwhite=1; } if (start < i) { if (n >= pair_max) return -1; if (pairs) pairs[n] = start, pairs[n+1] = i-start; n += 2; } return n>>1; } int *stb_wordwrapalloc(int count, char *str) { int n = stb_wordwrap(NULL,0,count,str); int *z = NULL; stb_arr_setlen(z, n*2); stb_wordwrap(z, n, count, str); return z; } #endif ////////////////////////////////////////////////////////////////////////////// // // stb_match: wildcards and regexping // STB_EXTERN int stb_wildmatch (char *expr, char *candidate); STB_EXTERN int stb_wildmatchi(char *expr, char *candidate); STB_EXTERN int stb_wildfind (char *expr, char *candidate); STB_EXTERN int stb_wildfindi (char *expr, char *candidate); STB_EXTERN int stb_regex(char *regex, char *candidate); typedef struct stb_matcher stb_matcher; STB_EXTERN stb_matcher *stb_regex_matcher(char *regex); STB_EXTERN int stb_matcher_match(stb_matcher *m, char *str); STB_EXTERN int stb_matcher_find(stb_matcher *m, char *str); STB_EXTERN void stb_matcher_free(stb_matcher *f); STB_EXTERN stb_matcher *stb_lex_matcher(void); STB_EXTERN int stb_lex_item(stb_matcher *m, const char *str, int result); STB_EXTERN int stb_lex_item_wild(stb_matcher *matcher, const char *regex, int result); STB_EXTERN int stb_lex(stb_matcher *m, char *str, int *len); #ifdef STB_DEFINE static int stb__match_qstring(char *candidate, char *qstring, int qlen, int insensitive) { int i; if (insensitive) { for (i=0; i < qlen; ++i) if (qstring[i] == '?') { if (!candidate[i]) return 0; } else if (tolower(qstring[i]) != tolower(candidate[i])) return 0; } else { for (i=0; i < qlen; ++i) if (qstring[i] == '?') { if (!candidate[i]) return 0; } else if (qstring[i] != candidate[i]) return 0; } return 1; } static int stb__find_qstring(char *candidate, char *qstring, int qlen, int insensitive) { char c; int offset=0; while (*qstring == '?') { ++qstring; --qlen; ++candidate; if (qlen == 0) return 0; if (*candidate == 0) return -1; } c = *qstring++; --qlen; if (insensitive) c = tolower(c); while (candidate[offset]) { if (c == (insensitive ? tolower(candidate[offset]) : candidate[offset])) if (stb__match_qstring(candidate+offset+1, qstring, qlen, insensitive)) return offset; ++offset; } return -1; } int stb__wildmatch_raw2(char *expr, char *candidate, int search, int insensitive) { int where=0; int start = -1; if (!search) { // parse to first '*' if (*expr != '*') start = 0; while (*expr != '*') { if (!*expr) return *candidate == 0 ? 0 : -1; if (*expr == '?') { if (!*candidate) return -1; } else { if (insensitive) { if (tolower(*candidate) != tolower(*expr)) return -1; } else if (*candidate != *expr) return -1; } ++candidate, ++expr, ++where; } } else { // 0-length search string if (!*expr) return 0; } assert(search || *expr == '*'); if (!search) ++expr; // implicit '*' at this point while (*expr) { int o=0; // combine redundant * characters while (expr[0] == '*') ++expr; // ok, at this point, expr[-1] == '*', // and expr[0] != '*' if (!expr[0]) return start >= 0 ? start : 0; // now find next '*' o = 0; while (expr[o] != '*') { if (expr[o] == 0) break; ++o; } // if no '*', scan to end, then match at end if (expr[o] == 0 && !search) { int z; for (z=0; z < o; ++z) if (candidate[z] == 0) return -1; while (candidate[z]) ++z; // ok, now check if they match if (stb__match_qstring(candidate+z-o, expr, o, insensitive)) return start >= 0 ? start : 0; return -1; } else { // if yes '*', then do stb__find_qmatch on the intervening chars int n = stb__find_qstring(candidate, expr, o, insensitive); if (n < 0) return -1; if (start < 0) start = where + n; expr += o; candidate += n+o; } if (*expr == 0) { assert(search); return start; } assert(*expr == '*'); ++expr; } return start >= 0 ? start : 0; } int stb__wildmatch_raw(char *expr, char *candidate, int search, int insensitive) { char buffer[256]; // handle multiple search strings char *s = strchr(expr, ';'); char *last = expr; while (s) { int z; // need to allow for non-writeable strings... assume they're small if (s - last < 256) { stb_strncpy(buffer, last, (int) (s-last+1)); buffer[s-last] = 0; z = stb__wildmatch_raw2(buffer, candidate, search, insensitive); } else { *s = 0; z = stb__wildmatch_raw2(last, candidate, search, insensitive); *s = ';'; } if (z >= 0) return z; last = s+1; s = strchr(last, ';'); } return stb__wildmatch_raw2(last, candidate, search, insensitive); } int stb_wildmatch(char *expr, char *candidate) { return stb__wildmatch_raw(expr, candidate, 0,0) >= 0; } int stb_wildmatchi(char *expr, char *candidate) { return stb__wildmatch_raw(expr, candidate, 0,1) >= 0; } int stb_wildfind(char *expr, char *candidate) { return stb__wildmatch_raw(expr, candidate, 1,0); } int stb_wildfindi(char *expr, char *candidate) { return stb__wildmatch_raw(expr, candidate, 1,1); } typedef struct { stb_int16 transition[256]; } stb_dfa; // an NFA node represents a state you're in; it then has // an arbitrary number of edges dangling off of it // note this isn't utf8-y typedef struct { stb_int16 match; // character/set to match stb_uint16 node; // output node to go to } stb_nfa_edge; typedef struct { stb_int16 goal; // does reaching this win the prize? stb_uint8 active; // is this in the active list stb_nfa_edge *out; stb_uint16 *eps; // list of epsilon closures } stb_nfa_node; #define STB__DFA_UNDEF -1 #define STB__DFA_GOAL -2 #define STB__DFA_END -3 #define STB__DFA_MGOAL -4 #define STB__DFA_VALID 0 #define STB__NFA_STOP_GOAL -1 // compiled regexp struct stb_matcher { stb_uint16 start_node; stb_int16 dfa_start; stb_uint32 *charset; int num_charset; int match_start; stb_nfa_node *nodes; int does_lex; // dfa matcher stb_dfa * dfa; stb_uint32 * dfa_mapping; stb_int16 * dfa_result; int num_words_per_dfa; }; static int stb__add_node(stb_matcher *matcher) { stb_nfa_node z; z.active = 0; z.eps = 0; z.goal = 0; z.out = 0; stb_arr_push(matcher->nodes, z); return stb_arr_len(matcher->nodes)-1; } static void stb__add_epsilon(stb_matcher *matcher, int from, int to) { assert(from != to); if (matcher->nodes[from].eps == NULL) stb_arr_malloc((void **) &matcher->nodes[from].eps, matcher); stb_arr_push(matcher->nodes[from].eps, to); } static void stb__add_edge(stb_matcher *matcher, int from, int to, int type) { stb_nfa_edge z = { (stb_int16)type, (stb_uint16)to }; if (matcher->nodes[from].out == NULL) stb_arr_malloc((void **) &matcher->nodes[from].out, matcher); stb_arr_push(matcher->nodes[from].out, z); } static char *stb__reg_parse_alt(stb_matcher *m, int s, char *r, stb_uint16 *e); static char *stb__reg_parse(stb_matcher *matcher, int start, char *regex, stb_uint16 *end) { int n; int last_start = -1; stb_uint16 last_end = start; while (*regex) { switch (*regex) { case '(': last_start = last_end; regex = stb__reg_parse_alt(matcher, last_end, regex+1, &last_end); if (regex == NULL || *regex != ')') return NULL; ++regex; break; case '|': case ')': *end = last_end; return regex; case '?': if (last_start < 0) return NULL; stb__add_epsilon(matcher, last_start, last_end); ++regex; break; case '*': if (last_start < 0) return NULL; stb__add_epsilon(matcher, last_start, last_end); // fall through case '+': if (last_start < 0) return NULL; stb__add_epsilon(matcher, last_end, last_start); // prevent links back to last_end from chaining to last_start n = stb__add_node(matcher); stb__add_epsilon(matcher, last_end, n); last_end = n; ++regex; break; case '{': // not supported! // @TODO: given {n,m}, clone last_start to last_end m times, // and include epsilons from start to first m-n blocks return NULL; case '\\': ++regex; if (!*regex) return NULL; // fallthrough default: // match exactly this character n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, *regex); last_start = last_end; last_end = n; ++regex; break; case '$': n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, '\n'); last_start = last_end; last_end = n; ++regex; break; case '.': n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, -1); last_start = last_end; last_end = n; ++regex; break; case '[': { stb_uint8 flags[256]; int invert = 0,z; ++regex; if (matcher->num_charset == 0) { matcher->charset = (stb_uint *) stb_malloc(matcher, sizeof(*matcher->charset) * 256); memset(matcher->charset, 0, sizeof(*matcher->charset) * 256); } memset(flags,0,sizeof(flags)); // leading ^ is special if (*regex == '^') ++regex, invert = 1; // leading ] is special if (*regex == ']') { flags[(int) ']'] = 1; ++regex; } while (*regex != ']') { stb_uint a; if (!*regex) return NULL; a = *regex++; if (regex[0] == '-' && regex[1] != ']') { stb_uint i,b = regex[1]; regex += 2; if (b == 0) return NULL; if (a > b) return NULL; for (i=a; i <= b; ++i) flags[i] = 1; } else flags[a] = 1; } ++regex; if (invert) { int i; for (i=0; i < 256; ++i) flags[i] = 1-flags[i]; } // now check if any existing charset matches for (z=0; z < matcher->num_charset; ++z) { int i, k[2] = { 0, 1 << z}; for (i=0; i < 256; ++i) { unsigned int f = k[flags[i]]; if ((matcher->charset[i] & k[1]) != f) break; } if (i == 256) break; } if (z == matcher->num_charset) { int i; ++matcher->num_charset; if (matcher->num_charset > 32) { assert(0); /* NOTREACHED */ return NULL; // too many charsets, oops } for (i=0; i < 256; ++i) if (flags[i]) matcher->charset[i] |= (1 << z); } n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, -2 - z); last_start = last_end; last_end = n; break; } } } *end = last_end; return regex; } static char *stb__reg_parse_alt(stb_matcher *matcher, int start, char *regex, stb_uint16 *end) { stb_uint16 last_end = start; stb_uint16 main_end; int head, tail; head = stb__add_node(matcher); stb__add_epsilon(matcher, start, head); regex = stb__reg_parse(matcher, head, regex, &last_end); if (regex == NULL) return NULL; if (*regex == 0 || *regex == ')') { *end = last_end; return regex; } main_end = last_end; tail = stb__add_node(matcher); stb__add_epsilon(matcher, last_end, tail); // start alternatives from the same starting node; use epsilon // transitions to combine their endings while(*regex && *regex != ')') { assert(*regex == '|'); head = stb__add_node(matcher); stb__add_epsilon(matcher, start, head); regex = stb__reg_parse(matcher, head, regex+1, &last_end); if (regex == NULL) return NULL; stb__add_epsilon(matcher, last_end, tail); } *end = tail; return regex; } static char *stb__wild_parse(stb_matcher *matcher, int start, char *str, stb_uint16 *end) { int n; stb_uint16 last_end; last_end = stb__add_node(matcher); stb__add_epsilon(matcher, start, last_end); while (*str) { switch (*str) { // fallthrough default: // match exactly this character n = stb__add_node(matcher); if (toupper(*str) == tolower(*str)) { stb__add_edge(matcher, last_end, n, *str); } else { stb__add_edge(matcher, last_end, n, tolower(*str)); stb__add_edge(matcher, last_end, n, toupper(*str)); } last_end = n; ++str; break; case '?': n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, -1); last_end = n; ++str; break; case '*': n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, -1); stb__add_epsilon(matcher, last_end, n); stb__add_epsilon(matcher, n, last_end); last_end = n; ++str; break; } } // now require end of string to match n = stb__add_node(matcher); stb__add_edge(matcher, last_end, n, 0); last_end = n; *end = last_end; return str; } static int stb__opt(stb_matcher *m, int n) { for(;;) { stb_nfa_node *p = &m->nodes[n]; if (p->goal) return n; if (stb_arr_len(p->out)) return n; if (stb_arr_len(p->eps) != 1) return n; n = p->eps[0]; } } static void stb__optimize(stb_matcher *m) { // if the target of any edge is a node with exactly // one out-epsilon, shorten it int i,j; for (i=0; i < stb_arr_len(m->nodes); ++i) { stb_nfa_node *p = &m->nodes[i]; for (j=0; j < stb_arr_len(p->out); ++j) p->out[j].node = stb__opt(m,p->out[j].node); for (j=0; j < stb_arr_len(p->eps); ++j) p->eps[j] = stb__opt(m,p->eps[j] ); } m->start_node = stb__opt(m,m->start_node); } void stb_matcher_free(stb_matcher *f) { stb_free(f); } static stb_matcher *stb__alloc_matcher(void) { stb_matcher *matcher = (stb_matcher *) stb_malloc(0,sizeof(*matcher)); matcher->start_node = 0; stb_arr_malloc((void **) &matcher->nodes, matcher); matcher->num_charset = 0; matcher->match_start = 0; matcher->does_lex = 0; matcher->dfa_start = STB__DFA_UNDEF; stb_arr_malloc((void **) &matcher->dfa, matcher); stb_arr_malloc((void **) &matcher->dfa_mapping, matcher); stb_arr_malloc((void **) &matcher->dfa_result, matcher); stb__add_node(matcher); return matcher; } static void stb__lex_reset(stb_matcher *matcher) { // flush cached dfa data stb_arr_setlen(matcher->dfa, 0); stb_arr_setlen(matcher->dfa_mapping, 0); stb_arr_setlen(matcher->dfa_result, 0); matcher->dfa_start = STB__DFA_UNDEF; } stb_matcher *stb_regex_matcher(char *regex) { char *z; stb_uint16 end; stb_matcher *matcher = stb__alloc_matcher(); if (*regex == '^') { matcher->match_start = 1; ++regex; } z = stb__reg_parse_alt(matcher, matcher->start_node, regex, &end); if (!z || *z) { stb_free(matcher); return NULL; } ((matcher->nodes)[(int) end]).goal = STB__NFA_STOP_GOAL; return matcher; } stb_matcher *stb_lex_matcher(void) { stb_matcher *matcher = stb__alloc_matcher(); matcher->match_start = 1; matcher->does_lex = 1; return matcher; } int stb_lex_item(stb_matcher *matcher, const char *regex, int result) { char *z; stb_uint16 end; z = stb__reg_parse_alt(matcher, matcher->start_node, (char*) regex, &end); if (z == NULL) return 0; stb__lex_reset(matcher); matcher->nodes[(int) end].goal = result; return 1; } int stb_lex_item_wild(stb_matcher *matcher, const char *regex, int result) { char *z; stb_uint16 end; z = stb__wild_parse(matcher, matcher->start_node, (char*) regex, &end); if (z == NULL) return 0; stb__lex_reset(matcher); matcher->nodes[(int) end].goal = result; return 1; } static void stb__clear(stb_matcher *m, stb_uint16 *list) { int i; for (i=0; i < stb_arr_len(list); ++i) m->nodes[(int) list[i]].active = 0; } static int stb__clear_goalcheck(stb_matcher *m, stb_uint16 *list) { int i, t=0; for (i=0; i < stb_arr_len(list); ++i) { t += m->nodes[(int) list[i]].goal; m->nodes[(int) list[i]].active = 0; } return t; } static stb_uint16 * stb__add_if_inactive(stb_matcher *m, stb_uint16 *list, int n) { if (!m->nodes[n].active) { stb_arr_push(list, n); m->nodes[n].active = 1; } return list; } static stb_uint16 * stb__eps_closure(stb_matcher *m, stb_uint16 *list) { int i,n = stb_arr_len(list); for(i=0; i < n; ++i) { stb_uint16 *e = m->nodes[(int) list[i]].eps; if (e) { int j,k = stb_arr_len(e); for (j=0; j < k; ++j) list = stb__add_if_inactive(m, list, e[j]); n = stb_arr_len(list); } } return list; } int stb_matcher_match(stb_matcher *m, char *str) { int result = 0; int i,j,y,z; stb_uint16 *previous = NULL; stb_uint16 *current = NULL; stb_uint16 *temp; stb_arr_setsize(previous, 4); stb_arr_setsize(current, 4); previous = stb__add_if_inactive(m, previous, m->start_node); previous = stb__eps_closure(m,previous); stb__clear(m, previous); while (*str && stb_arr_len(previous)) { y = stb_arr_len(previous); for (i=0; i < y; ++i) { stb_nfa_node *n = &m->nodes[(int) previous[i]]; z = stb_arr_len(n->out); for (j=0; j < z; ++j) { if (n->out[j].match >= 0) { if (n->out[j].match == *str) current = stb__add_if_inactive(m, current, n->out[j].node); } else if (n->out[j].match == -1) { if (*str != '\n') current = stb__add_if_inactive(m, current, n->out[j].node); } else if (n->out[j].match < -1) { int z = -n->out[j].match - 2; if (m->charset[(stb_uint8) *str] & (1 << z)) current = stb__add_if_inactive(m, current, n->out[j].node); } } } stb_arr_setlen(previous, 0); temp = previous; previous = current; current = temp; previous = stb__eps_closure(m,previous); stb__clear(m, previous); ++str; } // transition to pick up a '$' at the end y = stb_arr_len(previous); for (i=0; i < y; ++i) m->nodes[(int) previous[i]].active = 1; for (i=0; i < y; ++i) { stb_nfa_node *n = &m->nodes[(int) previous[i]]; z = stb_arr_len(n->out); for (j=0; j < z; ++j) { if (n->out[j].match == '\n') current = stb__add_if_inactive(m, current, n->out[j].node); } } previous = stb__eps_closure(m,previous); stb__clear(m, previous); y = stb_arr_len(previous); for (i=0; i < y; ++i) if (m->nodes[(int) previous[i]].goal) result = 1; stb_arr_free(previous); stb_arr_free(current); return result && *str == 0; } stb_int16 stb__get_dfa_node(stb_matcher *m, stb_uint16 *list) { stb_uint16 node; stb_uint32 data[8], *state, *newstate; int i,j,n; state = (stb_uint32 *) stb_temp(data, m->num_words_per_dfa * 4); memset(state, 0, m->num_words_per_dfa*4); n = stb_arr_len(list); for (i=0; i < n; ++i) { int x = list[i]; state[x >> 5] |= 1 << (x & 31); } // @TODO use a hash table n = stb_arr_len(m->dfa_mapping); i=j=0; for(; j < n; ++i, j += m->num_words_per_dfa) { // @TODO special case for <= 32 if (!memcmp(state, m->dfa_mapping + j, m->num_words_per_dfa*4)) { node = i; goto done; } } assert(stb_arr_len(m->dfa) == i); node = i; newstate = stb_arr_addn(m->dfa_mapping, m->num_words_per_dfa); memcpy(newstate, state, m->num_words_per_dfa*4); // set all transitions to 'unknown' stb_arr_add(m->dfa); memset(m->dfa[i].transition, -1, sizeof(m->dfa[i].transition)); if (m->does_lex) { int result = -1; n = stb_arr_len(list); for (i=0; i < n; ++i) { if (m->nodes[(int) list[i]].goal > result) result = m->nodes[(int) list[i]].goal; } stb_arr_push(m->dfa_result, result); } done: stb_tempfree(data, state); return node; } static int stb__matcher_dfa(stb_matcher *m, char *str_c, int *len) { stb_uint8 *str = (stb_uint8 *) str_c; stb_int16 node,prevnode; stb_dfa *trans; int match_length = 0; stb_int16 match_result=0; if (m->dfa_start == STB__DFA_UNDEF) { stb_uint16 *list; m->num_words_per_dfa = (stb_arr_len(m->nodes)+31) >> 5; stb__optimize(m); list = stb__add_if_inactive(m, NULL, m->start_node); list = stb__eps_closure(m,list); if (m->does_lex) { m->dfa_start = stb__get_dfa_node(m,list); stb__clear(m, list); // DON'T allow start state to be a goal state! // this allows people to specify regexes that can match 0 // characters without them actually matching (also we don't // check _before_ advancing anyway if (m->dfa_start <= STB__DFA_MGOAL) m->dfa_start = -(m->dfa_start - STB__DFA_MGOAL); } else { if (stb__clear_goalcheck(m, list)) m->dfa_start = STB__DFA_GOAL; else m->dfa_start = stb__get_dfa_node(m,list); } stb_arr_free(list); } prevnode = STB__DFA_UNDEF; node = m->dfa_start; trans = m->dfa; if (m->dfa_start == STB__DFA_GOAL) return 1; for(;;) { assert(node >= STB__DFA_VALID); // fast inner DFA loop; especially if STB__DFA_VALID is 0 do { prevnode = node; node = trans[node].transition[*str++]; } while (node >= STB__DFA_VALID); assert(node >= STB__DFA_MGOAL - stb_arr_len(m->dfa)); assert(node < stb_arr_len(m->dfa)); // special case for lex: need _longest_ match, so notice goal // state without stopping if (node <= STB__DFA_MGOAL) { match_length = (int) (str - (stb_uint8 *) str_c); node = -(node - STB__DFA_MGOAL); match_result = node; continue; } // slow NFA->DFA conversion // or we hit the goal or the end of the string, but those // can only happen once per search... if (node == STB__DFA_UNDEF) { // build a list -- @TODO special case <= 32 states // heck, use a more compact data structure for <= 16 and <= 8 ?! // @TODO keep states/newstates around instead of reallocating them stb_uint16 *states = NULL; stb_uint16 *newstates = NULL; int i,j,y,z; stb_uint32 *flags = &m->dfa_mapping[prevnode * m->num_words_per_dfa]; assert(prevnode != STB__DFA_UNDEF); stb_arr_setsize(states, 4); stb_arr_setsize(newstates,4); for (j=0; j < m->num_words_per_dfa; ++j) { for (i=0; i < 32; ++i) { if (*flags & (1 << i)) stb_arr_push(states, j*32+i); } ++flags; } // states is now the states we were in in the previous node; // so now we can compute what node it transitions to on str[-1] y = stb_arr_len(states); for (i=0; i < y; ++i) { stb_nfa_node *n = &m->nodes[(int) states[i]]; z = stb_arr_len(n->out); for (j=0; j < z; ++j) { if (n->out[j].match >= 0) { if (n->out[j].match == str[-1] || (str[-1] == 0 && n->out[j].match == '\n')) newstates = stb__add_if_inactive(m, newstates, n->out[j].node); } else if (n->out[j].match == -1) { if (str[-1] != '\n' && str[-1]) newstates = stb__add_if_inactive(m, newstates, n->out[j].node); } else if (n->out[j].match < -1) { int z = -n->out[j].match - 2; if (m->charset[str[-1]] & (1 << z)) newstates = stb__add_if_inactive(m, newstates, n->out[j].node); } } } // AND add in the start state! if (!m->match_start || (str[-1] == '\n' && !m->does_lex)) newstates = stb__add_if_inactive(m, newstates, m->start_node); // AND epsilon close it newstates = stb__eps_closure(m, newstates); // if it's a goal state, then that's all there is to it if (stb__clear_goalcheck(m, newstates)) { if (m->does_lex) { match_length = (int) (str - (stb_uint8 *) str_c); node = stb__get_dfa_node(m,newstates); match_result = node; node = -node + STB__DFA_MGOAL; trans = m->dfa; // could have gotten realloc()ed } else node = STB__DFA_GOAL; } else if (str[-1] == 0 || stb_arr_len(newstates) == 0) { node = STB__DFA_END; } else { node = stb__get_dfa_node(m,newstates); trans = m->dfa; // could have gotten realloc()ed } trans[prevnode].transition[str[-1]] = node; if (node <= STB__DFA_MGOAL) node = -(node - STB__DFA_MGOAL); stb_arr_free(newstates); stb_arr_free(states); } if (node == STB__DFA_GOAL) { return 1; } if (node == STB__DFA_END) { if (m->does_lex) { if (match_result) { if (len) *len = match_length; return m->dfa_result[(int) match_result]; } } return 0; } assert(node != STB__DFA_UNDEF); } } int stb_matcher_find(stb_matcher *m, char *str) { assert(m->does_lex == 0); return stb__matcher_dfa(m, str, NULL); } int stb_lex(stb_matcher *m, char *str, int *len) { assert(m->does_lex); return stb__matcher_dfa(m, str, len); } #ifdef STB_PERFECT_HASH int stb_regex(char *regex, char *str) { static stb_perfect p; static stb_matcher ** matchers; static char ** regexps; static char ** regexp_cache; static unsigned short *mapping; int z = stb_perfect_hash(&p, (int)(size_t) regex); if (z >= 0) { if (strcmp(regex, regexp_cache[(int) mapping[z]])) { int i = mapping[z]; stb_matcher_free(matchers[i]); free(regexp_cache[i]); regexps[i] = regex; regexp_cache[i] = stb_p_strdup(regex); matchers[i] = stb_regex_matcher(regex); } } else { int i,n; if (regex == NULL) { for (i=0; i < stb_arr_len(matchers); ++i) { stb_matcher_free(matchers[i]); free(regexp_cache[i]); } stb_arr_free(matchers); stb_arr_free(regexps); stb_arr_free(regexp_cache); stb_perfect_destroy(&p); free(mapping); mapping = NULL; return -1; } stb_arr_push(regexps, regex); stb_arr_push(regexp_cache, stb_p_strdup(regex)); stb_arr_push(matchers, stb_regex_matcher(regex)); stb_perfect_destroy(&p); n = stb_perfect_create(&p, (unsigned int *) (char **) regexps, stb_arr_len(regexps)); mapping = (unsigned short *) realloc(mapping, n * sizeof(*mapping)); for (i=0; i < stb_arr_len(regexps); ++i) mapping[stb_perfect_hash(&p, (int)(size_t) regexps[i])] = i; z = stb_perfect_hash(&p, (int)(size_t) regex); } return stb_matcher_find(matchers[(int) mapping[z]], str); } #endif #endif // STB_DEFINE #if 0 ////////////////////////////////////////////////////////////////////////////// // // C source-code introspection // // runtime structure typedef struct { char *name; char *type; // base type char *comment; // content of comment field int size; // size of base type int offset; // field offset int arrcount[8]; // array sizes; -1 = pointer indirection; 0 = end of list } stb_info_field; typedef struct { char *structname; int size; int num_fields; stb_info_field *fields; } stb_info_struct; extern stb_info_struct stb_introspect_output[]; // STB_EXTERN void stb_introspect_precompiled(stb_info_struct *compiled); STB_EXTERN void stb__introspect(char *path, char *file); #define stb_introspect_ship() stb__introspect(NULL, NULL, stb__introspect_output) #ifdef STB_SHIP #define stb_introspect() stb_introspect_ship() #define stb_introspect_path(p) stb_introspect_ship() #else // bootstrapping: define stb_introspect() (or 'path') the first time #define stb_introspect() stb__introspect(NULL, __FILE__, NULL) #define stb_introspect_auto() stb__introspect(NULL, __FILE__, stb__introspect_output) #define stb_introspect_path(p) stb__introspect(p, __FILE__, NULL) #define stb_introspect_path(p) stb__introspect(p, __FILE__, NULL) #endif #ifdef STB_DEFINE #ifndef STB_INTROSPECT_CPP #ifdef __cplusplus #define STB_INTROSPECT_CPP 1 #else #define STB_INTROSPECT_CPP 0 #endif #endif void stb_introspect_precompiled(stb_info_struct *compiled) { } static void stb__introspect_filename(char *buffer, char *path) { #if STB_INTROSPECT_CPP stb_p_sprintf(buffer stb_p_size(9999), "%s/stb_introspect.cpp", path); #else stb_p_sprintf(buffer stb_p_size(9999), "%s/stb_introspect.c", path); #endif } static void stb__introspect_compute(char *path, char *file) { int i; char ** include_list = NULL; char ** introspect_list = NULL; FILE *f; f = stb_p_fopen(file, "w"); if (!f) return; fputs("// if you get compiler errors, change the following 0 to a 1:\n", f); fputs("#define STB_INTROSPECT_INVALID 0\n\n", f); fputs("// this will force the code to compile, and force the introspector\n", f); fputs("// to run and then exit, allowing you to recompile\n\n\n", f); fputs("#include \"stb.h\"\n\n",f ); fputs("#if STB_INTROSPECT_INVALID\n", f); fputs(" stb_info_struct stb__introspect_output[] = { (void *) 1 }\n", f); fputs("#else\n\n", f); for (i=0; i < stb_arr_len(include_list); ++i) fprintf(f, " #include \"%s\"\n", include_list[i]); fputs(" stb_info_struct stb__introspect_output[] =\n{\n", f); for (i=0; i < stb_arr_len(introspect_list); ++i) fprintf(f, " stb_introspect_%s,\n", introspect_list[i]); fputs(" };\n", f); fputs("#endif\n", f); fclose(f); } static stb_info_struct *stb__introspect_info; #ifndef STB_SHIP #endif void stb__introspect(char *path, char *file, stb_info_struct *compiled) { static int first=1; if (!first) return; first=0; stb__introspect_info = compiled; #ifndef STB_SHIP if (path || file) { int bail_flag = compiled && compiled[0].structname == (void *) 1; int needs_building = bail_flag; struct stb__stat st; char buffer[1024], buffer2[1024]; if (!path) { stb_splitpath(buffer, file, STB_PATH); path = buffer; } // bail if the source path doesn't exist if (!stb_fexists(path)) return; stb__introspect_filename(buffer2, path); // get source/include files timestamps, compare to output-file timestamp; // if mismatched, regenerate if (stb__stat(buffer2, &st)) needs_building = STB_TRUE; { // find any file that contains an introspection command and is newer // if needs_building is already true, we don't need to do this test, // but we still need these arrays, so go ahead and get them char **all[3]; all[0] = stb_readdir_files_mask(path, "*.h"); all[1] = stb_readdir_files_mask(path, "*.c"); all[2] = stb_readdir_files_mask(path, "*.cpp"); int i,j; if (needs_building) { for (j=0; j < 3; ++j) { for (i=0; i < stb_arr_len(all[j]); ++i) { struct stb__stat st2; if (!stb__stat(all[j][i], &st2)) { if (st.st_mtime < st2.st_mtime) { char *z = stb_filec(all[j][i], NULL); int found=STB_FALSE; while (y) { y = strstr(y, "//si"); if (y && isspace(y[4])) { found = STB_TRUE; break; } } needs_building = STB_TRUE; goto done; } } } } done:; } char *z = stb_filec(all[i], NULL), *y = z; int found=STB_FALSE; while (y) { y = strstr(y, "//si"); if (y && isspace(y[4])) { found = STB_TRUE; break; } } if (found) stb_arr_push(introspect_h, stb_p_strdup(all[i])); free(z); } } stb_readdir_free(all); if (!needs_building) { for (i=0; i < stb_arr_len(introspect_h); ++i) { struct stb__stat st2; if (!stb__stat(introspect_h[i], &st2)) if (st.st_mtime < st2.st_mtime) needs_building = STB_TRUE; } } if (needs_building) { stb__introspect_compute(path, buffer2); } } } #endif } #endif #endif #ifdef STB_INTROSPECT // compile-time code-generator #define INTROSPECT(x) int main(int argc, char **argv) { stb__introspect(__FILE__); return 0; } #define FILE(x) void stb__introspect(char *filename) { char *file = stb_file(filename, NULL); char *s = file, *t, **p; char *out_name = "stb_introspect.c"; char *out_path; STB_ARR(char) filelist = NULL; int i,n; if (!file) stb_fatal("Couldn't open %s", filename); out_path = stb_splitpathdup(filename, STB_PATH); // search for the macros while (*s) { char buffer[256]; while (*s && !isupper(*s)) ++s; s = stb_strtok_invert(buffer, s, "ABCDEFGHIJKLMNOPQRSTUVWXYZ"); s = stb_skipwhite(s); if (*s == '(') { ++s; t = strchr(s, ')'); if (t == NULL) stb_fatal("Error parsing %s", filename); } } } #endif ////////////////////////////////////////////////////////////////////////////// // // STB-C sliding-window dictionary compression // // This uses a DEFLATE-style sliding window, but no bitwise entropy. // Everything is on byte boundaries, so you could then apply a byte-wise // entropy code, though that's nowhere near as effective. // // An STB-C stream begins with a 16-byte header: // 4 bytes: 0x57 0xBC 0x00 0x00 // 8 bytes: big-endian size of decompressed data, 64-bits // 4 bytes: big-endian size of window (how far back decompressor may need) // // The following symbols appear in the stream (these were determined ad hoc, // not by analysis): // // [dict] 00000100 yyyyyyyy yyyyyyyy yyyyyyyy xxxxxxxx xxxxxxxx // [END] 00000101 11111010 cccccccc cccccccc cccccccc cccccccc // [dict] 00000110 yyyyyyyy yyyyyyyy yyyyyyyy xxxxxxxx // [literals] 00000111 zzzzzzzz zzzzzzzz // [literals] 00001zzz zzzzzzzz // [dict] 00010yyy yyyyyyyy yyyyyyyy xxxxxxxx xxxxxxxx // [dict] 00011yyy yyyyyyyy yyyyyyyy xxxxxxxx // [literals] 001zzzzz // [dict] 01yyyyyy yyyyyyyy xxxxxxxx // [dict] 1xxxxxxx yyyyyyyy // // xxxxxxxx: match length - 1 // yyyyyyyy: backwards distance - 1 // zzzzzzzz: num literals - 1 // cccccccc: adler32 checksum of decompressed data // (all big-endian) STB_EXTERN stb_uint stb_decompress_length(stb_uchar *input); STB_EXTERN stb_uint stb_decompress(stb_uchar *out,stb_uchar *in,stb_uint len); STB_EXTERN stb_uint stb_compress (stb_uchar *out,stb_uchar *in,stb_uint len); STB_EXTERN void stb_compress_window(int z); STB_EXTERN void stb_compress_hashsize(unsigned int z); STB_EXTERN int stb_compress_tofile(char *filename, char *in, stb_uint len); STB_EXTERN int stb_compress_intofile(FILE *f, char *input, stb_uint len); STB_EXTERN char *stb_decompress_fromfile(char *filename, stb_uint *len); STB_EXTERN int stb_compress_stream_start(FILE *f); STB_EXTERN void stb_compress_stream_end(int close); STB_EXTERN void stb_write(char *data, int data_len); #ifdef STB_DEFINE stb_uint stb_decompress_length(stb_uchar *input) { return (input[8] << 24) + (input[9] << 16) + (input[10] << 8) + input[11]; } //////////////////// decompressor /////////////////////// // simple implementation that just writes whole thing into big block static unsigned char *stb__barrier; static unsigned char *stb__barrier2; static unsigned char *stb__barrier3; static unsigned char *stb__barrier4; static stb_uchar *stb__dout; static void stb__match(stb_uchar *data, stb_uint length) { // INVERSE of memmove... write each byte before copying the next... assert (stb__dout + length <= stb__barrier); if (stb__dout + length > stb__barrier) { stb__dout += length; return; } if (data < stb__barrier4) { stb__dout = stb__barrier+1; return; } while (length--) *stb__dout++ = *data++; } static void stb__lit(stb_uchar *data, stb_uint length) { assert (stb__dout + length <= stb__barrier); if (stb__dout + length > stb__barrier) { stb__dout += length; return; } if (data < stb__barrier2) { stb__dout = stb__barrier+1; return; } memcpy(stb__dout, data, length); stb__dout += length; } #define stb__in2(x) ((i[x] << 8) + i[(x)+1]) #define stb__in3(x) ((i[x] << 16) + stb__in2((x)+1)) #define stb__in4(x) ((i[x] << 24) + stb__in3((x)+1)) static stb_uchar *stb_decompress_token(stb_uchar *i) { if (*i >= 0x20) { // use fewer if's for cases that expand small if (*i >= 0x80) stb__match(stb__dout-i[1]-1, i[0] - 0x80 + 1), i += 2; else if (*i >= 0x40) stb__match(stb__dout-(stb__in2(0) - 0x4000 + 1), i[2]+1), i += 3; else /* *i >= 0x20 */ stb__lit(i+1, i[0] - 0x20 + 1), i += 1 + (i[0] - 0x20 + 1); } else { // more ifs for cases that expand large, since overhead is amortized if (*i >= 0x18) stb__match(stb__dout-(stb__in3(0) - 0x180000 + 1), i[3]+1), i += 4; else if (*i >= 0x10) stb__match(stb__dout-(stb__in3(0) - 0x100000 + 1), stb__in2(3)+1), i += 5; else if (*i >= 0x08) stb__lit(i+2, stb__in2(0) - 0x0800 + 1), i += 2 + (stb__in2(0) - 0x0800 + 1); else if (*i == 0x07) stb__lit(i+3, stb__in2(1) + 1), i += 3 + (stb__in2(1) + 1); else if (*i == 0x06) stb__match(stb__dout-(stb__in3(1)+1), i[4]+1), i += 5; else if (*i == 0x04) stb__match(stb__dout-(stb__in3(1)+1), stb__in2(4)+1), i += 6; } return i; } stb_uint stb_decompress(stb_uchar *output, stb_uchar *i, stb_uint length) { stb_uint olen; if (stb__in4(0) != 0x57bC0000) return 0; if (stb__in4(4) != 0) return 0; // error! stream is > 4GB olen = stb_decompress_length(i); stb__barrier2 = i; stb__barrier3 = i+length; stb__barrier = output + olen; stb__barrier4 = output; i += 16; stb__dout = output; while (1) { stb_uchar *old_i = i; i = stb_decompress_token(i); if (i == old_i) { if (*i == 0x05 && i[1] == 0xfa) { assert(stb__dout == output + olen); if (stb__dout != output + olen) return 0; if (stb_adler32(1, output, olen) != (stb_uint) stb__in4(2)) return 0; return olen; } else { assert(0); /* NOTREACHED */ return 0; } } assert(stb__dout <= output + olen); if (stb__dout > output + olen) return 0; } } char *stb_decompress_fromfile(char *filename, unsigned int *len) { unsigned int n; char *q; unsigned char *p; FILE *f = stb_p_fopen(filename, "rb"); if (f == NULL) return NULL; fseek(f, 0, SEEK_END); n = ftell(f); fseek(f, 0, SEEK_SET); p = (unsigned char * ) malloc(n); if (p == NULL) return NULL; fread(p, 1, n, f); fclose(f); if (p == NULL) return NULL; if (p[0] != 0x57 || p[1] != 0xBc || p[2] || p[3]) { free(p); return NULL; } q = (char *) malloc(stb_decompress_length(p)+1); if (!q) { free(p); return NULL; } *len = stb_decompress((unsigned char *) q, p, n); if (*len) q[*len] = 0; free(p); return q; } #if 0 // streaming decompressor static struct { stb__uchar *in_buffer; stb__uchar *match; stb__uint pending_literals; stb__uint pending_match; } xx; static void stb__match(stb_uchar *data, stb_uint length) { // INVERSE of memmove... write each byte before copying the next... assert (stb__dout + length <= stb__barrier); if (stb__dout + length > stb__barrier) { stb__dout += length; return; } if (data < stb__barrier2) { stb__dout = stb__barrier+1; return; } while (length--) *stb__dout++ = *data++; } static void stb__lit(stb_uchar *data, stb_uint length) { assert (stb__dout + length <= stb__barrier); if (stb__dout + length > stb__barrier) { stb__dout += length; return; } if (data < stb__barrier2) { stb__dout = stb__barrier+1; return; } memcpy(stb__dout, data, length); stb__dout += length; } static void sx_match(stb_uchar *data, stb_uint length) { xx.match = data; xx.pending_match = length; } static void sx_lit(stb_uchar *data, stb_uint length) { xx.pending_lit = length; } static int stb_decompress_token_state(void) { stb__uchar *i = xx.in_buffer; if (*i >= 0x20) { // use fewer if's for cases that expand small if (*i >= 0x80) sx_match(stb__dout-i[1]-1, i[0] - 0x80 + 1), i += 2; else if (*i >= 0x40) sx_match(stb__dout-(stb__in2(0) - 0x4000 + 1), i[2]+1), i += 3; else /* *i >= 0x20 */ sx_lit(i+1, i[0] - 0x20 + 1), i += 1; } else { // more ifs for cases that expand large, since overhead is amortized if (*i >= 0x18) sx_match(stb__dout-(stb__in3(0) - 0x180000 + 1), i[3]+1), i += 4; else if (*i >= 0x10) sx_match(stb__dout-(stb__in3(0) - 0x100000 + 1), stb__in2(3)+1), i += 5; else if (*i >= 0x08) sx_lit(i+2, stb__in2(0) - 0x0800 + 1), i += 2; else if (*i == 0x07) sx_lit(i+3, stb__in2(1) + 1), i += 3; else if (*i == 0x06) sx_match(stb__dout-(stb__in3(1)+1), i[4]+1), i += 5; else if (*i == 0x04) sx_match(stb__dout-(stb__in3(1)+1), stb__in2(4)+1), i += 6; else return 0; } xx.in_buffer = i; return 1; } #endif //////////////////// compressor /////////////////////// static unsigned int stb_matchlen(stb_uchar *m1, stb_uchar *m2, stb_uint maxlen) { stb_uint i; for (i=0; i < maxlen; ++i) if (m1[i] != m2[i]) return i; return i; } // simple implementation that just takes the source data in a big block static stb_uchar *stb__out; static FILE *stb__outfile; static stb_uint stb__outbytes; static void stb__write(unsigned char v) { fputc(v, stb__outfile); ++stb__outbytes; } #define stb_out(v) (stb__out ? (void)(*stb__out++ = (stb_uchar) (v)) : stb__write((stb_uchar) (v))) static void stb_out2(stb_uint v) { stb_out(v >> 8); stb_out(v); } static void stb_out3(stb_uint v) { stb_out(v >> 16); stb_out(v >> 8); stb_out(v); } static void stb_out4(stb_uint v) { stb_out(v >> 24); stb_out(v >> 16); stb_out(v >> 8 ); stb_out(v); } static void outliterals(stb_uchar *in, ptrdiff_t numlit) { while (numlit > 65536) { outliterals(in,65536); in += 65536; numlit -= 65536; } if (numlit == 0) ; else if (numlit <= 32) stb_out (0x000020 + (stb_uint) numlit-1); else if (numlit <= 2048) stb_out2(0x000800 + (stb_uint) numlit-1); else /* numlit <= 65536) */ stb_out3(0x070000 + (stb_uint) numlit-1); if (stb__out) { memcpy(stb__out,in,numlit); stb__out += numlit; } else fwrite(in, 1, numlit, stb__outfile); } static int stb__window = 0x40000; // 256K void stb_compress_window(int z) { if (z >= 0x1000000) z = 0x1000000; // limit of implementation if (z < 0x100) z = 0x100; // insanely small stb__window = z; } static int stb_not_crap(int best, int dist) { return ((best > 2 && dist <= 0x00100) || (best > 5 && dist <= 0x04000) || (best > 7 && dist <= 0x80000)); } static stb_uint stb__hashsize = 32768; void stb_compress_hashsize(unsigned int y) { unsigned int z = 1024; while (z < y) z <<= 1; stb__hashsize = z >> 2; // pass in bytes, store #pointers } // note that you can play with the hashing functions all you // want without needing to change the decompressor #define stb__hc(q,h,c) (((h) << 7) + ((h) >> 25) + q[c]) #define stb__hc2(q,h,c,d) (((h) << 14) + ((h) >> 18) + (q[c] << 7) + q[d]) #define stb__hc3(q,c,d,e) ((q[c] << 14) + (q[d] << 7) + q[e]) static stb_uint32 stb__running_adler; static int stb_compress_chunk(stb_uchar *history, stb_uchar *start, stb_uchar *end, int length, int *pending_literals, stb_uchar **chash, stb_uint mask) { int window = stb__window; stb_uint match_max; stb_uchar *lit_start = start - *pending_literals; stb_uchar *q = start; #define STB__SCRAMBLE(h) (((h) + ((h) >> 16)) & mask) // stop short of the end so we don't scan off the end doing // the hashing; this means we won't compress the last few bytes // unless they were part of something longer while (q < start+length && q+12 < end) { int m; stb_uint h1,h2,h3,h4, h; stb_uchar *t; int best = 2, dist=0; if (q+65536 > end) match_max = (stb_uint) (end-q); else match_max = 65536u; #define stb__nc(b,d) ((d) <= window && ((b) > 9 || stb_not_crap(b,d))) #define STB__TRY(t,p) /* avoid retrying a match we already tried */ \ if (p ? dist != (int) (q-t) : 1) \ if ((m = (int) stb_matchlen(t, q, match_max)) > best)\ if (stb__nc(m,(int) (q-(t)))) \ best = m, dist = (int) (q - (t)) // rather than search for all matches, only try 4 candidate locations, // chosen based on 4 different hash functions of different lengths. // this strategy is inspired by LZO; hashing is unrolled here using the // 'hc' macro h = stb__hc3(q,0, 1, 2); h1 = STB__SCRAMBLE(h); t = chash[h1]; if (t) STB__TRY(t,0); h = stb__hc2(q,h, 3, 4); h2 = STB__SCRAMBLE(h); h = stb__hc2(q,h, 5, 6); t = chash[h2]; if (t) STB__TRY(t,1); h = stb__hc2(q,h, 7, 8); h3 = STB__SCRAMBLE(h); h = stb__hc2(q,h, 9,10); t = chash[h3]; if (t) STB__TRY(t,1); h = stb__hc2(q,h,11,12); h4 = STB__SCRAMBLE(h); t = chash[h4]; if (t) STB__TRY(t,1); // because we use a shared hash table, can only update it // _after_ we've probed all of them chash[h1] = chash[h2] = chash[h3] = chash[h4] = q; if (best > 2) assert(dist > 0); // see if our best match qualifies if (best < 3) { // fast path literals ++q; } else if (best > 2 && best <= 0x80 && dist <= 0x100) { outliterals(lit_start, q-lit_start); lit_start = (q += best); stb_out(0x80 + best-1); stb_out(dist-1); } else if (best > 5 && best <= 0x100 && dist <= 0x4000) { outliterals(lit_start, q-lit_start); lit_start = (q += best); stb_out2(0x4000 + dist-1); stb_out(best-1); } else if (best > 7 && best <= 0x100 && dist <= 0x80000) { outliterals(lit_start, q-lit_start); lit_start = (q += best); stb_out3(0x180000 + dist-1); stb_out(best-1); } else if (best > 8 && best <= 0x10000 && dist <= 0x80000) { outliterals(lit_start, q-lit_start); lit_start = (q += best); stb_out3(0x100000 + dist-1); stb_out2(best-1); } else if (best > 9 && dist <= 0x1000000) { if (best > 65536) best = 65536; outliterals(lit_start, q-lit_start); lit_start = (q += best); if (best <= 0x100) { stb_out(0x06); stb_out3(dist-1); stb_out(best-1); } else { stb_out(0x04); stb_out3(dist-1); stb_out2(best-1); } } else { // fallback literals if no match was a balanced tradeoff ++q; } } // if we didn't get all the way, add the rest to literals if (q-start < length) q = start+length; // the literals are everything from lit_start to q *pending_literals = (int) (q - lit_start); stb__running_adler = stb_adler32(stb__running_adler, start, (int) (q - start)); return (int) (q - start); } static int stb_compress_inner(stb_uchar *input, stb_uint length) { int literals = 0; stb_uint len,i; stb_uchar **chash; chash = (stb_uchar**) malloc(stb__hashsize * sizeof(stb_uchar*)); if (chash == NULL) return 0; // failure for (i=0; i < stb__hashsize; ++i) chash[i] = NULL; // stream signature stb_out(0x57); stb_out(0xbc); stb_out2(0); stb_out4(0); // 64-bit length requires 32-bit leading 0 stb_out4(length); stb_out4(stb__window); stb__running_adler = 1; len = stb_compress_chunk(input, input, input+length, length, &literals, chash, stb__hashsize-1); assert(len == length); outliterals(input+length - literals, literals); free(chash); stb_out2(0x05fa); // end opcode stb_out4(stb__running_adler); return 1; // success } stb_uint stb_compress(stb_uchar *out, stb_uchar *input, stb_uint length) { stb__out = out; stb__outfile = NULL; stb_compress_inner(input, length); return (stb_uint) (stb__out - out); } int stb_compress_tofile(char *filename, char *input, unsigned int length) { //int maxlen = length + 512 + (length >> 2); // total guess //char *buffer = (char *) malloc(maxlen); //int blen = stb_compress((stb_uchar*)buffer, (stb_uchar*)input, length); stb__out = NULL; stb__outfile = stb_p_fopen(filename, "wb"); if (!stb__outfile) return 0; stb__outbytes = 0; if (!stb_compress_inner((stb_uchar*)input, length)) return 0; fclose(stb__outfile); return stb__outbytes; } int stb_compress_intofile(FILE *f, char *input, unsigned int length) { //int maxlen = length + 512 + (length >> 2); // total guess //char *buffer = (char*)malloc(maxlen); //int blen = stb_compress((stb_uchar*)buffer, (stb_uchar*)input, length); stb__out = NULL; stb__outfile = f; if (!stb__outfile) return 0; stb__outbytes = 0; if (!stb_compress_inner((stb_uchar*)input, length)) return 0; return stb__outbytes; } ////////////////////// streaming I/O version ///////////////////// static size_t stb_out_backpatch_id(void) { if (stb__out) return (size_t) stb__out; else return ftell(stb__outfile); } static void stb_out_backpatch(size_t id, stb_uint value) { stb_uchar data[4] = { (stb_uchar)(value >> 24), (stb_uchar)(value >> 16), (stb_uchar)(value >> 8), (stb_uchar)(value) }; if (stb__out) { memcpy((void *) id, data, 4); } else { stb_uint where = ftell(stb__outfile); fseek(stb__outfile, (long) id, SEEK_SET); fwrite(data, 4, 1, stb__outfile); fseek(stb__outfile, where, SEEK_SET); } } // ok, the wraparound buffer was a total failure. let's instead // use a copying-in-place buffer, which lets us share the code. // This is way less efficient but it'll do for now. static struct { stb_uchar *buffer; int size; // physical size of buffer in bytes int valid; // amount of valid data in bytes int start; // bytes of data already output int window; int fsize; int pending_literals; // bytes not-quite output but counted in start int length_id; stb_uint total_bytes; stb_uchar **chash; stb_uint hashmask; } xtb; static int stb_compress_streaming_start(void) { stb_uint i; xtb.size = stb__window * 3; xtb.buffer = (stb_uchar*)malloc(xtb.size); if (!xtb.buffer) return 0; xtb.chash = (stb_uchar**)malloc(sizeof(*xtb.chash) * stb__hashsize); if (!xtb.chash) { free(xtb.buffer); return 0; } for (i=0; i < stb__hashsize; ++i) xtb.chash[i] = NULL; xtb.hashmask = stb__hashsize-1; xtb.valid = 0; xtb.start = 0; xtb.window = stb__window; xtb.fsize = stb__window; xtb.pending_literals = 0; xtb.total_bytes = 0; // stream signature stb_out(0x57); stb_out(0xbc); stb_out2(0); stb_out4(0); // 64-bit length requires 32-bit leading 0 xtb.length_id = (int) stb_out_backpatch_id(); stb_out4(0); // we don't know the output length yet stb_out4(stb__window); stb__running_adler = 1; return 1; } static int stb_compress_streaming_end(void) { // flush out any remaining data stb_compress_chunk(xtb.buffer, xtb.buffer+xtb.start, xtb.buffer+xtb.valid, xtb.valid-xtb.start, &xtb.pending_literals, xtb.chash, xtb.hashmask); // write out pending literals outliterals(xtb.buffer + xtb.valid - xtb.pending_literals, xtb.pending_literals); stb_out2(0x05fa); // end opcode stb_out4(stb__running_adler); stb_out_backpatch(xtb.length_id, xtb.total_bytes); free(xtb.buffer); free(xtb.chash); return 1; } void stb_write(char *data, int data_len) { stb_uint i; // @TODO: fast path for filling the buffer and doing nothing else // if (xtb.valid + data_len < xtb.size) xtb.total_bytes += data_len; while (data_len) { // fill buffer if (xtb.valid < xtb.size) { int amt = xtb.size - xtb.valid; if (data_len < amt) amt = data_len; memcpy(xtb.buffer + xtb.valid, data, amt); data_len -= amt; data += amt; xtb.valid += amt; } if (xtb.valid < xtb.size) return; // at this point, the buffer is full // if we can process some data, go for it; make sure // we leave an 'fsize's worth of data, though if (xtb.start + xtb.fsize < xtb.valid) { int amount = (xtb.valid - xtb.fsize) - xtb.start; int n; assert(amount > 0); n = stb_compress_chunk(xtb.buffer, xtb.buffer + xtb.start, xtb.buffer + xtb.valid, amount, &xtb.pending_literals, xtb.chash, xtb.hashmask); xtb.start += n; } assert(xtb.start + xtb.fsize >= xtb.valid); // at this point, our future size is too small, so we // need to flush some history. we, in fact, flush exactly // one window's worth of history { int flush = xtb.window; assert(xtb.start >= flush); assert(xtb.valid >= flush); // if 'pending literals' extends back into the shift region, // write them out if (xtb.start - xtb.pending_literals < flush) { outliterals(xtb.buffer + xtb.start - xtb.pending_literals, xtb.pending_literals); xtb.pending_literals = 0; } // now shift the window memmove(xtb.buffer, xtb.buffer + flush, xtb.valid - flush); xtb.start -= flush; xtb.valid -= flush; for (i=0; i <= xtb.hashmask; ++i) if (xtb.chash[i] < xtb.buffer + flush) xtb.chash[i] = NULL; else xtb.chash[i] -= flush; } // and now that we've made room for more data, go back to the top } } int stb_compress_stream_start(FILE *f) { stb__out = NULL; stb__outfile = f; if (f == NULL) return 0; if (!stb_compress_streaming_start()) return 0; return 1; } void stb_compress_stream_end(int close) { stb_compress_streaming_end(); if (close && stb__outfile) { fclose(stb__outfile); } } #endif // STB_DEFINE ////////////////////////////////////////////////////////////////////////////// // // File abstraction... tired of not having this... we can write // compressors to be layers over these that auto-close their children. typedef struct stbfile { int (*getbyte)(struct stbfile *); // -1 on EOF unsigned int (*getdata)(struct stbfile *, void *block, unsigned int len); int (*putbyte)(struct stbfile *, int byte); unsigned int (*putdata)(struct stbfile *, void *block, unsigned int len); unsigned int (*size)(struct stbfile *); unsigned int (*tell)(struct stbfile *); void (*backpatch)(struct stbfile *, unsigned int tell, void *block, unsigned int len); void (*close)(struct stbfile *); FILE *f; // file to fread/fwrite unsigned char *buffer; // input/output buffer unsigned char *indata, *inend; // input buffer union { int various; void *ptr; }; } stbfile; STB_EXTERN unsigned int stb_getc(stbfile *f); // read STB_EXTERN int stb_putc(stbfile *f, int ch); // write STB_EXTERN unsigned int stb_getdata(stbfile *f, void *buffer, unsigned int len); // read STB_EXTERN unsigned int stb_putdata(stbfile *f, void *buffer, unsigned int len); // write STB_EXTERN unsigned int stb_tell(stbfile *f); // read STB_EXTERN unsigned int stb_size(stbfile *f); // read/write STB_EXTERN void stb_backpatch(stbfile *f, unsigned int tell, void *buffer, unsigned int len); // write #ifdef STB_DEFINE unsigned int stb_getc(stbfile *f) { return f->getbyte(f); } int stb_putc(stbfile *f, int ch) { return f->putbyte(f, ch); } unsigned int stb_getdata(stbfile *f, void *buffer, unsigned int len) { return f->getdata(f, buffer, len); } unsigned int stb_putdata(stbfile *f, void *buffer, unsigned int len) { return f->putdata(f, buffer, len); } void stb_close(stbfile *f) { f->close(f); free(f); } unsigned int stb_tell(stbfile *f) { return f->tell(f); } unsigned int stb_size(stbfile *f) { return f->size(f); } void stb_backpatch(stbfile *f, unsigned int tell, void *buffer, unsigned int len) { f->backpatch(f,tell,buffer,len); } // FILE * implementation static int stb__fgetbyte(stbfile *f) { return fgetc(f->f); } static int stb__fputbyte(stbfile *f, int ch) { return fputc(ch, f->f)==0; } static unsigned int stb__fgetdata(stbfile *f, void *buffer, unsigned int len) { return (unsigned int) fread(buffer,1,len,f->f); } static unsigned int stb__fputdata(stbfile *f, void *buffer, unsigned int len) { return (unsigned int) fwrite(buffer,1,len,f->f); } static unsigned int stb__fsize(stbfile *f) { return (unsigned int) stb_filelen(f->f); } static unsigned int stb__ftell(stbfile *f) { return (unsigned int) ftell(f->f); } static void stb__fbackpatch(stbfile *f, unsigned int where, void *buffer, unsigned int len) { fseek(f->f, where, SEEK_SET); fwrite(buffer, 1, len, f->f); fseek(f->f, 0, SEEK_END); } static void stb__fclose(stbfile *f) { fclose(f->f); } stbfile *stb_openf(FILE *f) { stbfile m = { stb__fgetbyte, stb__fgetdata, stb__fputbyte, stb__fputdata, stb__fsize, stb__ftell, stb__fbackpatch, stb__fclose, 0,0,0, }; stbfile *z = (stbfile *) malloc(sizeof(*z)); if (z) { *z = m; z->f = f; } return z; } static int stb__nogetbyte(stbfile *f) { assert(0); return -1; } static unsigned int stb__nogetdata(stbfile *f, void *buffer, unsigned int len) { assert(0); return 0; } static int stb__noputbyte(stbfile *f, int ch) { assert(0); return 0; } static unsigned int stb__noputdata(stbfile *f, void *buffer, unsigned int len) { assert(0); return 0; } static void stb__nobackpatch(stbfile *f, unsigned int where, void *buffer, unsigned int len) { assert(0); } static int stb__bgetbyte(stbfile *s) { if (s->indata < s->inend) return *s->indata++; else return -1; } static unsigned int stb__bgetdata(stbfile *s, void *buffer, unsigned int len) { if (s->indata + len > s->inend) len = (unsigned int) (s->inend - s->indata); memcpy(buffer, s->indata, len); s->indata += len; return len; } static unsigned int stb__bsize(stbfile *s) { return (unsigned int) (s->inend - s->buffer); } static unsigned int stb__btell(stbfile *s) { return (unsigned int) (s->indata - s->buffer); } static void stb__bclose(stbfile *s) { if (s->various) free(s->buffer); } stbfile *stb_open_inbuffer(void *buffer, unsigned int len) { stbfile m = { stb__bgetbyte, stb__bgetdata, stb__noputbyte, stb__noputdata, stb__bsize, stb__btell, stb__nobackpatch, stb__bclose }; stbfile *z = (stbfile *) malloc(sizeof(*z)); if (z) { *z = m; z->buffer = (unsigned char *) buffer; z->indata = z->buffer; z->inend = z->indata + len; } return z; } stbfile *stb_open_inbuffer_free(void *buffer, unsigned int len) { stbfile *z = stb_open_inbuffer(buffer, len); if (z) z->various = 1; // free return z; } #ifndef STB_VERSION // if we've been cut-and-pasted elsewhere, you get a limited // version of stb_open, without the 'k' flag and utf8 support static void stb__fclose2(stbfile *f) { fclose(f->f); } stbfile *stb_open(char *filename, char *mode) { FILE *f = stb_p_fopen(filename, mode); stbfile *s; if (f == NULL) return NULL; s = stb_openf(f); if (s) s->close = stb__fclose2; return s; } #else // the full version depends on some code in stb.h; this // also includes the memory buffer output format implemented with stb_arr static void stb__fclose2(stbfile *f) { stb_fclose(f->f, f->various); } stbfile *stb_open(char *filename, char *mode) { FILE *f = stb_fopen(filename, mode[0] == 'k' ? mode+1 : mode); stbfile *s; if (f == NULL) return NULL; s = stb_openf(f); if (s) { s->close = stb__fclose2; s->various = mode[0] == 'k' ? stb_keep_if_different : stb_keep_yes; } return s; } static int stb__aputbyte(stbfile *f, int ch) { stb_arr_push(f->buffer, ch); return 1; } static unsigned int stb__aputdata(stbfile *f, void *data, unsigned int len) { memcpy(stb_arr_addn(f->buffer, (int) len), data, len); return len; } static unsigned int stb__asize(stbfile *f) { return stb_arr_len(f->buffer); } static void stb__abackpatch(stbfile *f, unsigned int where, void *data, unsigned int len) { memcpy(f->buffer+where, data, len); } static void stb__aclose(stbfile *f) { *(unsigned char **) f->ptr = f->buffer; } stbfile *stb_open_outbuffer(unsigned char **update_on_close) { stbfile m = { stb__nogetbyte, stb__nogetdata, stb__aputbyte, stb__aputdata, stb__asize, stb__asize, stb__abackpatch, stb__aclose }; stbfile *z = (stbfile *) malloc(sizeof(*z)); if (z) { z->ptr = update_on_close; *z = m; } return z; } #endif #endif ////////////////////////////////////////////////////////////////////////////// // // Arithmetic coder... based on cbloom's notes on the subject, should be // less code than a huffman code. typedef struct { unsigned int range_low; unsigned int range_high; unsigned int code, range; // decode int buffered_u8; int pending_ffs; stbfile *output; } stb_arith; STB_EXTERN void stb_arith_init_encode(stb_arith *a, stbfile *out); STB_EXTERN void stb_arith_init_decode(stb_arith *a, stbfile *in); STB_EXTERN stbfile *stb_arith_encode_close(stb_arith *a); STB_EXTERN stbfile *stb_arith_decode_close(stb_arith *a); STB_EXTERN void stb_arith_encode(stb_arith *a, unsigned int totalfreq, unsigned int freq, unsigned int cumfreq); STB_EXTERN void stb_arith_encode_log2(stb_arith *a, unsigned int totalfreq2, unsigned int freq, unsigned int cumfreq); STB_EXTERN unsigned int stb_arith_decode_value(stb_arith *a, unsigned int totalfreq); STB_EXTERN void stb_arith_decode_advance(stb_arith *a, unsigned int totalfreq, unsigned int freq, unsigned int cumfreq); STB_EXTERN unsigned int stb_arith_decode_value_log2(stb_arith *a, unsigned int totalfreq2); STB_EXTERN void stb_arith_decode_advance_log2(stb_arith *a, unsigned int totalfreq2, unsigned int freq, unsigned int cumfreq); STB_EXTERN void stb_arith_encode_byte(stb_arith *a, int byte); STB_EXTERN int stb_arith_decode_byte(stb_arith *a); // this is a memory-inefficient way of doing things, but it's // fast(?) and simple typedef struct { unsigned short cumfreq; unsigned short samples; } stb_arith_symstate_item; typedef struct { int num_sym; unsigned int pow2; int countdown; stb_arith_symstate_item data[1]; } stb_arith_symstate; #ifdef STB_DEFINE void stb_arith_init_encode(stb_arith *a, stbfile *out) { a->range_low = 0; a->range_high = 0xffffffff; a->pending_ffs = -1; // means no buffered character currently, to speed up normal case a->output = out; } static void stb__arith_carry(stb_arith *a) { int i; assert(a->pending_ffs != -1); // can't carry with no data stb_putc(a->output, a->buffered_u8); for (i=0; i < a->pending_ffs; ++i) stb_putc(a->output, 0); } static void stb__arith_putbyte(stb_arith *a, int byte) { if (a->pending_ffs) { if (a->pending_ffs == -1) { // means no buffered data; encoded for fast path efficiency if (byte == 0xff) stb_putc(a->output, byte); // just write it immediately else { a->buffered_u8 = byte; a->pending_ffs = 0; } } else if (byte == 0xff) { ++a->pending_ffs; } else { int i; stb_putc(a->output, a->buffered_u8); for (i=0; i < a->pending_ffs; ++i) stb_putc(a->output, 0xff); } } else if (byte == 0xff) { ++a->pending_ffs; } else { // fast path stb_putc(a->output, a->buffered_u8); a->buffered_u8 = byte; } } static void stb__arith_flush(stb_arith *a) { if (a->pending_ffs >= 0) { int i; stb_putc(a->output, a->buffered_u8); for (i=0; i < a->pending_ffs; ++i) stb_putc(a->output, 0xff); } } static void stb__renorm_encoder(stb_arith *a) { stb__arith_putbyte(a, a->range_low >> 24); a->range_low <<= 8; a->range_high = (a->range_high << 8) | 0xff; } static void stb__renorm_decoder(stb_arith *a) { int c = stb_getc(a->output); a->code = (a->code << 8) + (c >= 0 ? c : 0); // if EOF, insert 0 } void stb_arith_encode(stb_arith *a, unsigned int totalfreq, unsigned int freq, unsigned int cumfreq) { unsigned int range = a->range_high - a->range_low; unsigned int old = a->range_low; range /= totalfreq; a->range_low += range * cumfreq; a->range_high = a->range_low + range*freq; if (a->range_low < old) stb__arith_carry(a); while (a->range_high - a->range_low < 0x1000000) stb__renorm_encoder(a); } void stb_arith_encode_log2(stb_arith *a, unsigned int totalfreq2, unsigned int freq, unsigned int cumfreq) { unsigned int range = a->range_high - a->range_low; unsigned int old = a->range_low; range >>= totalfreq2; a->range_low += range * cumfreq; a->range_high = a->range_low + range*freq; if (a->range_low < old) stb__arith_carry(a); while (a->range_high - a->range_low < 0x1000000) stb__renorm_encoder(a); } unsigned int stb_arith_decode_value(stb_arith *a, unsigned int totalfreq) { unsigned int freqsize = a->range / totalfreq; unsigned int z = a->code / freqsize; return z >= totalfreq ? totalfreq-1 : z; } void stb_arith_decode_advance(stb_arith *a, unsigned int totalfreq, unsigned int freq, unsigned int cumfreq) { unsigned int freqsize = a->range / totalfreq; // @OPTIMIZE, share with above divide somehow? a->code -= freqsize * cumfreq; a->range = freqsize * freq; while (a->range < 0x1000000) stb__renorm_decoder(a); } unsigned int stb_arith_decode_value_log2(stb_arith *a, unsigned int totalfreq2) { unsigned int freqsize = a->range >> totalfreq2; unsigned int z = a->code / freqsize; return z >= (1U<<totalfreq2) ? (1U<<totalfreq2)-1 : z; } void stb_arith_decode_advance_log2(stb_arith *a, unsigned int totalfreq2, unsigned int freq, unsigned int cumfreq) { unsigned int freqsize = a->range >> totalfreq2; a->code -= freqsize * cumfreq; a->range = freqsize * freq; while (a->range < 0x1000000) stb__renorm_decoder(a); } stbfile *stb_arith_encode_close(stb_arith *a) { // put exactly as many bytes as we'll read, so we can turn on/off arithmetic coding in a stream stb__arith_putbyte(a, a->range_low >> 24); stb__arith_putbyte(a, a->range_low >> 16); stb__arith_putbyte(a, a->range_low >> 8); stb__arith_putbyte(a, a->range_low >> 0); stb__arith_flush(a); return a->output; } stbfile *stb_arith_decode_close(stb_arith *a) { return a->output; } #endif ////////////////////////////////////////////////////////////////////////////// // // Threads // #ifndef _WIN32 #ifdef STB_THREADS #error "threads not implemented except for Windows" #endif #endif // call this function to free any global variables for memory testing STB_EXTERN void stb_thread_cleanup(void); typedef void * (*stb_thread_func)(void *); // do not rely on these types, this is an implementation detail. // compare against STB_THREAD_NULL and ST_SEMAPHORE_NULL typedef void *stb_thread; typedef void *stb_semaphore; typedef void *stb_mutex; typedef struct stb__sync *stb_sync; #define STB_SEMAPHORE_NULL NULL #define STB_THREAD_NULL NULL #define STB_MUTEX_NULL NULL #define STB_SYNC_NULL NULL // get the number of processors (limited to those in the affinity mask for this process). STB_EXTERN int stb_processor_count(void); // force to run on a single core -- needed for RDTSC to work, e.g. for iprof STB_EXTERN void stb_force_uniprocessor(void); // stb_work functions: queue up work to be done by some worker threads // set number of threads to serve the queue; you can change this on the fly, // but if you decrease it, it won't decrease until things currently on the // queue are finished STB_EXTERN void stb_work_numthreads(int n); // set maximum number of units in the queue; you can only set this BEFORE running any work functions STB_EXTERN int stb_work_maxunits(int n); // enqueue some work to be done (can do this from any thread, or even from a piece of work); // return value of f is stored in *return_code if non-NULL STB_EXTERN int stb_work(stb_thread_func f, void *d, volatile void **return_code); // as above, but stb_sync_reach is called on 'rel' after work is complete STB_EXTERN int stb_work_reach(stb_thread_func f, void *d, volatile void **return_code, stb_sync rel); // necessary to call this when using volatile to order writes/reads STB_EXTERN void stb_barrier(void); // support for independent queues with their own threads typedef struct stb__workqueue stb_workqueue; STB_EXTERN stb_workqueue*stb_workq_new(int numthreads, int max_units); STB_EXTERN stb_workqueue*stb_workq_new_flags(int numthreads, int max_units, int no_add_mutex, int no_remove_mutex); STB_EXTERN void stb_workq_delete(stb_workqueue *q); STB_EXTERN void stb_workq_numthreads(stb_workqueue *q, int n); STB_EXTERN int stb_workq(stb_workqueue *q, stb_thread_func f, void *d, volatile void **return_code); STB_EXTERN int stb_workq_reach(stb_workqueue *q, stb_thread_func f, void *d, volatile void **return_code, stb_sync rel); STB_EXTERN int stb_workq_length(stb_workqueue *q); STB_EXTERN stb_thread stb_create_thread (stb_thread_func f, void *d); STB_EXTERN stb_thread stb_create_thread2(stb_thread_func f, void *d, volatile void **return_code, stb_semaphore rel); STB_EXTERN void stb_destroy_thread(stb_thread t); STB_EXTERN stb_semaphore stb_sem_new(int max_val); STB_EXTERN stb_semaphore stb_sem_new_extra(int max_val, int start_val); STB_EXTERN void stb_sem_delete (stb_semaphore s); STB_EXTERN void stb_sem_waitfor(stb_semaphore s); STB_EXTERN void stb_sem_release(stb_semaphore s); STB_EXTERN stb_mutex stb_mutex_new(void); STB_EXTERN void stb_mutex_delete(stb_mutex m); STB_EXTERN void stb_mutex_begin(stb_mutex m); STB_EXTERN void stb_mutex_end(stb_mutex m); STB_EXTERN stb_sync stb_sync_new(void); STB_EXTERN void stb_sync_delete(stb_sync s); STB_EXTERN int stb_sync_set_target(stb_sync s, int count); STB_EXTERN void stb_sync_reach_and_wait(stb_sync s); // wait for 'target' reachers STB_EXTERN int stb_sync_reach(stb_sync s); typedef struct stb__threadqueue stb_threadqueue; #define STB_THREADQ_DYNAMIC 0 STB_EXTERN stb_threadqueue *stb_threadq_new(int item_size, int num_items, int many_add, int many_remove); STB_EXTERN void stb_threadq_delete(stb_threadqueue *tq); STB_EXTERN int stb_threadq_get(stb_threadqueue *tq, void *output); STB_EXTERN void stb_threadq_get_block(stb_threadqueue *tq, void *output); STB_EXTERN int stb_threadq_add(stb_threadqueue *tq, void *input); // can return FALSE if STB_THREADQ_DYNAMIC and attempt to grow fails STB_EXTERN int stb_threadq_add_block(stb_threadqueue *tq, void *input); #ifdef STB_THREADS #ifdef STB_DEFINE typedef struct { stb_thread_func f; void *d; volatile void **return_val; stb_semaphore sem; } stb__thread; // this is initialized along all possible paths to create threads, therefore // it's always initialized before any other threads are create, therefore // it's free of races AS LONG AS you only create threads through stb_* static stb_mutex stb__threadmutex, stb__workmutex; static void stb__threadmutex_init(void) { if (stb__threadmutex == STB_SEMAPHORE_NULL) { stb__threadmutex = stb_mutex_new(); stb__workmutex = stb_mutex_new(); } } #ifdef STB_THREAD_TEST volatile float stb__t1=1, stb__t2; static void stb__wait(int n) { float z = 0; int i; for (i=0; i < n; ++i) z += 1 / (stb__t1+i); stb__t2 = z; } #else #define stb__wait(x) #endif #ifdef _WIN32 // avoid including windows.h -- note that our definitions aren't // exactly the same (we don't define the security descriptor struct) // so if you want to include windows.h, make sure you do it first. #include <process.h> #ifndef _WINDOWS_ // check windows.h guard #define STB__IMPORT STB_EXTERN __declspec(dllimport) #define STB__DW unsigned long STB__IMPORT int __stdcall TerminateThread(void *, STB__DW); STB__IMPORT void * __stdcall CreateSemaphoreA(void *sec, long,long,char*); STB__IMPORT int __stdcall CloseHandle(void *); STB__IMPORT STB__DW __stdcall WaitForSingleObject(void *, STB__DW); STB__IMPORT int __stdcall ReleaseSemaphore(void *, long, long *); STB__IMPORT void __stdcall Sleep(STB__DW); #endif // necessary to call this when using volatile to order writes/reads void stb_barrier(void) { #ifdef MemoryBarrier MemoryBarrier(); #else long temp; __asm xchg temp,eax; #endif } static void stb__thread_run(void *t) { void *res; stb__thread info = * (stb__thread *) t; free(t); res = info.f(info.d); if (info.return_val) *info.return_val = res; if (info.sem != STB_SEMAPHORE_NULL) stb_sem_release(info.sem); } static stb_thread stb_create_thread_raw(stb_thread_func f, void *d, volatile void **return_code, stb_semaphore rel) { #ifdef _MT #if defined(STB_FASTMALLOC) && !defined(STB_FASTMALLOC_ITS_OKAY_I_ONLY_MALLOC_IN_ONE_THREAD) stb_fatal("Error! Cannot use STB_FASTMALLOC with threads.\n"); return STB_THREAD_NULL; #else unsigned long id; stb__thread *data = (stb__thread *) malloc(sizeof(*data)); if (!data) return NULL; stb__threadmutex_init(); data->f = f; data->d = d; data->return_val = return_code; data->sem = rel; id = _beginthread(stb__thread_run, 0, data); if (id == -1) return NULL; return (void *) id; #endif #else #ifdef STB_NO_STB_STRINGS stb_fatal("Invalid compilation"); #else stb_fatal("Must compile mult-threaded to use stb_thread/stb_work."); #endif return NULL; #endif } // trivial win32 wrappers void stb_destroy_thread(stb_thread t) { TerminateThread(t,0); } stb_semaphore stb_sem_new(int maxv) {return CreateSemaphoreA(NULL,0,maxv,NULL); } stb_semaphore stb_sem_new_extra(int maxv,int start){return CreateSemaphoreA(NULL,start,maxv,NULL); } void stb_sem_delete(stb_semaphore s) { if (s != NULL) CloseHandle(s); } void stb_sem_waitfor(stb_semaphore s) { WaitForSingleObject(s, 0xffffffff); } // INFINITE void stb_sem_release(stb_semaphore s) { ReleaseSemaphore(s,1,NULL); } static void stb__thread_sleep(int ms) { Sleep(ms); } #ifndef _WINDOWS_ STB__IMPORT int __stdcall GetProcessAffinityMask(void *, STB__DW *, STB__DW *); STB__IMPORT void * __stdcall GetCurrentProcess(void); STB__IMPORT int __stdcall SetProcessAffinityMask(void *, STB__DW); #endif int stb_processor_count(void) { unsigned long proc,sys; GetProcessAffinityMask(GetCurrentProcess(), &proc, &sys); return stb_bitcount(proc); } void stb_force_uniprocessor(void) { unsigned long proc,sys; GetProcessAffinityMask(GetCurrentProcess(), &proc, &sys); if (stb_bitcount(proc) > 1) { int z; for (z=0; z < 32; ++z) if (proc & (1 << z)) break; if (z < 32) { proc = 1 << z; SetProcessAffinityMask(GetCurrentProcess(), proc); } } } #ifdef _WINDOWS_ #define STB_MUTEX_NATIVE void *stb_mutex_new(void) { CRITICAL_SECTION *p = (CRITICAL_SECTION *) malloc(sizeof(*p)); if (p) #if _WIN32_WINNT >= 0x0500 InitializeCriticalSectionAndSpinCount(p, 500); #else InitializeCriticalSection(p); #endif return p; } void stb_mutex_delete(void *p) { if (p) { DeleteCriticalSection((CRITICAL_SECTION *) p); free(p); } } void stb_mutex_begin(void *p) { stb__wait(500); if (p) EnterCriticalSection((CRITICAL_SECTION *) p); } void stb_mutex_end(void *p) { if (p) LeaveCriticalSection((CRITICAL_SECTION *) p); stb__wait(500); } #endif // _WINDOWS_ #if 0 // for future reference, // InterlockedCompareExchange for x86: int cas64_mp(void * dest, void * xcmp, void * xxchg) { __asm { mov esi, [xxchg] ; exchange mov ebx, [esi + 0] mov ecx, [esi + 4] mov esi, [xcmp] ; comparand mov eax, [esi + 0] mov edx, [esi + 4] mov edi, [dest] ; destination lock cmpxchg8b [edi] jz yyyy; mov [esi + 0], eax; mov [esi + 4], edx; yyyy: xor eax, eax; setz al; }; inline unsigned __int64 _InterlockedCompareExchange64(volatile unsigned __int64 *dest ,unsigned __int64 exchange ,unsigned __int64 comperand) { //value returned in eax::edx __asm { lea esi,comperand; lea edi,exchange; mov eax,[esi]; mov edx,4[esi]; mov ebx,[edi]; mov ecx,4[edi]; mov esi,dest; lock CMPXCHG8B [esi]; } #endif // #if 0 #endif // _WIN32 stb_thread stb_create_thread2(stb_thread_func f, void *d, volatile void **return_code, stb_semaphore rel) { return stb_create_thread_raw(f,d,return_code,rel); } stb_thread stb_create_thread(stb_thread_func f, void *d) { return stb_create_thread2(f,d,NULL,STB_SEMAPHORE_NULL); } // mutex implemented by wrapping semaphore #ifndef STB_MUTEX_NATIVE stb_mutex stb_mutex_new(void) { return stb_sem_new_extra(1,1); } void stb_mutex_delete(stb_mutex m) { stb_sem_delete (m); } void stb_mutex_begin(stb_mutex m) { stb__wait(500); if (m) stb_sem_waitfor(m); } void stb_mutex_end(stb_mutex m) { if (m) stb_sem_release(m); stb__wait(500); } #endif // thread merge operation struct stb__sync { int target; // target number of threads to hit it int sofar; // total threads that hit it int waiting; // total threads waiting stb_mutex start; // mutex to prevent starting again before finishing previous stb_mutex mutex; // mutex while tweaking state stb_semaphore release; // semaphore wake up waiting threads // we have to wake them up one at a time, rather than using a single release // call, because win32 semaphores don't let you dynamically change the max count! }; stb_sync stb_sync_new(void) { stb_sync s = (stb_sync) malloc(sizeof(*s)); if (!s) return s; s->target = s->sofar = s->waiting = 0; s->mutex = stb_mutex_new(); s->start = stb_mutex_new(); s->release = stb_sem_new(1); if (s->mutex == STB_MUTEX_NULL || s->release == STB_SEMAPHORE_NULL || s->start == STB_MUTEX_NULL) { stb_mutex_delete(s->mutex); stb_mutex_delete(s->mutex); stb_sem_delete(s->release); free(s); return NULL; } return s; } void stb_sync_delete(stb_sync s) { if (s->waiting) { // it's bad to delete while there are threads waiting! // shall we wait for them to reach, or just bail? just bail assert(0); } stb_mutex_delete(s->mutex); stb_mutex_delete(s->release); free(s); } int stb_sync_set_target(stb_sync s, int count) { // don't allow setting a target until the last one is fully released; // note that this can lead to inefficient pipelining, and maybe we'd // be better off ping-ponging between two internal syncs? // I tried seeing how often this happened using TryEnterCriticalSection // and could _never_ get it to happen in imv(stb), even with more threads // than processors. So who knows! stb_mutex_begin(s->start); // this mutex is pointless, since it's not valid for threads // to call reach() before anyone calls set_target() anyway stb_mutex_begin(s->mutex); assert(s->target == 0); // enforced by start mutex s->target = count; s->sofar = 0; s->waiting = 0; stb_mutex_end(s->mutex); return STB_TRUE; } void stb__sync_release(stb_sync s) { if (s->waiting) stb_sem_release(s->release); else { s->target = 0; stb_mutex_end(s->start); } } int stb_sync_reach(stb_sync s) { int n; stb_mutex_begin(s->mutex); assert(s->sofar < s->target); n = ++s->sofar; // record this value to avoid possible race if we did 'return s->sofar'; if (s->sofar == s->target) stb__sync_release(s); stb_mutex_end(s->mutex); return n; } void stb_sync_reach_and_wait(stb_sync s) { stb_mutex_begin(s->mutex); assert(s->sofar < s->target); ++s->sofar; if (s->sofar == s->target) { stb__sync_release(s); stb_mutex_end(s->mutex); } else { ++s->waiting; // we're waiting, so one more waiter stb_mutex_end(s->mutex); // release the mutex to other threads stb_sem_waitfor(s->release); // wait for merge completion stb_mutex_begin(s->mutex); // on merge completion, grab the mutex --s->waiting; // we're done waiting stb__sync_release(s); // restart the next waiter stb_mutex_end(s->mutex); // and now we're done // this ends the same as the first case, but it's a lot // clearer to understand without sharing the code } } struct stb__threadqueue { stb_mutex add, remove; stb_semaphore nonempty, nonfull; int head_blockers; // number of threads blocking--used to know whether to release(avail) int tail_blockers; int head, tail, array_size, growable; int item_size; char *data; }; static int stb__tq_wrap(volatile stb_threadqueue *z, int p) { if (p == z->array_size) return p - z->array_size; else return p; } int stb__threadq_get_raw(stb_threadqueue *tq2, void *output, int block) { volatile stb_threadqueue *tq = (volatile stb_threadqueue *) tq2; if (tq->head == tq->tail && !block) return 0; stb_mutex_begin(tq->remove); while (tq->head == tq->tail) { if (!block) { stb_mutex_end(tq->remove); return 0; } ++tq->head_blockers; stb_mutex_end(tq->remove); stb_sem_waitfor(tq->nonempty); stb_mutex_begin(tq->remove); --tq->head_blockers; } memcpy(output, tq->data + tq->head*tq->item_size, tq->item_size); stb_barrier(); tq->head = stb__tq_wrap(tq, tq->head+1); stb_sem_release(tq->nonfull); if (tq->head_blockers) // can't check if actually non-empty due to race? stb_sem_release(tq->nonempty); // if there are other blockers, wake one stb_mutex_end(tq->remove); return STB_TRUE; } int stb__threadq_grow(volatile stb_threadqueue *tq) { int n; char *p; assert(tq->remove != STB_MUTEX_NULL); // must have this to allow growth! stb_mutex_begin(tq->remove); n = tq->array_size * 2; p = (char *) realloc(tq->data, n * tq->item_size); if (p == NULL) { stb_mutex_end(tq->remove); stb_mutex_end(tq->add); return STB_FALSE; } if (tq->tail < tq->head) { memcpy(p + tq->array_size * tq->item_size, p, tq->tail * tq->item_size); tq->tail += tq->array_size; } tq->data = p; tq->array_size = n; stb_mutex_end(tq->remove); return STB_TRUE; } int stb__threadq_add_raw(stb_threadqueue *tq2, void *input, int block) { int tail,pos; volatile stb_threadqueue *tq = (volatile stb_threadqueue *) tq2; stb_mutex_begin(tq->add); for(;;) { pos = tq->tail; tail = stb__tq_wrap(tq, pos+1); if (tail != tq->head) break; // full if (tq->growable) { if (!stb__threadq_grow(tq)) { stb_mutex_end(tq->add); return STB_FALSE; // out of memory } } else if (!block) { stb_mutex_end(tq->add); return STB_FALSE; } else { ++tq->tail_blockers; stb_mutex_end(tq->add); stb_sem_waitfor(tq->nonfull); stb_mutex_begin(tq->add); --tq->tail_blockers; } } memcpy(tq->data + tq->item_size * pos, input, tq->item_size); stb_barrier(); tq->tail = tail; stb_sem_release(tq->nonempty); if (tq->tail_blockers) // can't check if actually non-full due to race? stb_sem_release(tq->nonfull); stb_mutex_end(tq->add); return STB_TRUE; } int stb_threadq_length(stb_threadqueue *tq2) { int a,b,n; volatile stb_threadqueue *tq = (volatile stb_threadqueue *) tq2; stb_mutex_begin(tq->add); a = tq->head; b = tq->tail; n = tq->array_size; stb_mutex_end(tq->add); if (a > b) b += n; return b-a; } int stb_threadq_get(stb_threadqueue *tq, void *output) { return stb__threadq_get_raw(tq, output, STB_FALSE); } void stb_threadq_get_block(stb_threadqueue *tq, void *output) { stb__threadq_get_raw(tq, output, STB_TRUE); } int stb_threadq_add(stb_threadqueue *tq, void *input) { return stb__threadq_add_raw(tq, input, STB_FALSE); } int stb_threadq_add_block(stb_threadqueue *tq, void *input) { return stb__threadq_add_raw(tq, input, STB_TRUE); } void stb_threadq_delete(stb_threadqueue *tq) { if (tq) { free(tq->data); stb_mutex_delete(tq->add); stb_mutex_delete(tq->remove); stb_sem_delete(tq->nonempty); stb_sem_delete(tq->nonfull); free(tq); } } #define STB_THREADQUEUE_DYNAMIC 0 stb_threadqueue *stb_threadq_new(int item_size, int num_items, int many_add, int many_remove) { int error=0; stb_threadqueue *tq = (stb_threadqueue *) malloc(sizeof(*tq)); if (tq == NULL) return NULL; if (num_items == STB_THREADQUEUE_DYNAMIC) { tq->growable = STB_TRUE; num_items = 32; } else tq->growable = STB_FALSE; tq->item_size = item_size; tq->array_size = num_items+1; tq->add = tq->remove = STB_MUTEX_NULL; tq->nonempty = tq->nonfull = STB_SEMAPHORE_NULL; tq->data = NULL; if (many_add) { tq->add = stb_mutex_new(); if (tq->add == STB_MUTEX_NULL) goto error; } if (many_remove || tq->growable) { tq->remove = stb_mutex_new(); if (tq->remove == STB_MUTEX_NULL) goto error; } tq->nonempty = stb_sem_new(1); if (tq->nonempty == STB_SEMAPHORE_NULL) goto error; tq->nonfull = stb_sem_new(1); if (tq->nonfull == STB_SEMAPHORE_NULL) goto error; tq->data = (char *) malloc(tq->item_size * tq->array_size); if (tq->data == NULL) goto error; tq->head = tq->tail = 0; tq->head_blockers = tq->tail_blockers = 0; return tq; error: stb_threadq_delete(tq); return NULL; } typedef struct { stb_thread_func f; void *d; volatile void **retval; stb_sync sync; } stb__workinfo; //static volatile stb__workinfo *stb__work; struct stb__workqueue { int numthreads; stb_threadqueue *tq; }; static stb_workqueue *stb__work_global; static void *stb__thread_workloop(void *p) { volatile stb_workqueue *q = (volatile stb_workqueue *) p; for(;;) { void *z; stb__workinfo w; stb_threadq_get_block(q->tq, &w); if (w.f == NULL) // null work is a signal to end the thread return NULL; z = w.f(w.d); if (w.retval) { stb_barrier(); *w.retval = z; } if (w.sync != STB_SYNC_NULL) stb_sync_reach(w.sync); } } stb_workqueue *stb_workq_new(int num_threads, int max_units) { return stb_workq_new_flags(num_threads, max_units, 0,0); } stb_workqueue *stb_workq_new_flags(int numthreads, int max_units, int no_add_mutex, int no_remove_mutex) { stb_workqueue *q = (stb_workqueue *) malloc(sizeof(*q)); if (q == NULL) return NULL; q->tq = stb_threadq_new(sizeof(stb__workinfo), max_units, !no_add_mutex, !no_remove_mutex); if (q->tq == NULL) { free(q); return NULL; } q->numthreads = 0; stb_workq_numthreads(q, numthreads); return q; } void stb_workq_delete(stb_workqueue *q) { while (stb_workq_length(q) != 0) stb__thread_sleep(1); stb_threadq_delete(q->tq); free(q); } static int stb__work_maxitems = STB_THREADQUEUE_DYNAMIC; static void stb_work_init(int num_threads) { if (stb__work_global == NULL) { stb__threadmutex_init(); stb_mutex_begin(stb__workmutex); stb_barrier(); if (*(stb_workqueue * volatile *) &stb__work_global == NULL) stb__work_global = stb_workq_new(num_threads, stb__work_maxitems); stb_mutex_end(stb__workmutex); } } static int stb__work_raw(stb_workqueue *q, stb_thread_func f, void *d, volatile void **return_code, stb_sync rel) { stb__workinfo w; if (q == NULL) { stb_work_init(1); q = stb__work_global; } w.f = f; w.d = d; w.retval = return_code; w.sync = rel; return stb_threadq_add(q->tq, &w); } int stb_workq_length(stb_workqueue *q) { return stb_threadq_length(q->tq); } int stb_workq(stb_workqueue *q, stb_thread_func f, void *d, volatile void **return_code) { if (f == NULL) return 0; return stb_workq_reach(q, f, d, return_code, NULL); } int stb_workq_reach(stb_workqueue *q, stb_thread_func f, void *d, volatile void **return_code, stb_sync rel) { if (f == NULL) return 0; return stb__work_raw(q, f, d, return_code, rel); } static void stb__workq_numthreads(stb_workqueue *q, int n) { while (q->numthreads < n) { stb_create_thread(stb__thread_workloop, q); ++q->numthreads; } while (q->numthreads > n) { stb__work_raw(q, NULL, NULL, NULL, NULL); --q->numthreads; } } void stb_workq_numthreads(stb_workqueue *q, int n) { stb_mutex_begin(stb__threadmutex); stb__workq_numthreads(q,n); stb_mutex_end(stb__threadmutex); } int stb_work_maxunits(int n) { if (stb__work_global == NULL) { stb__work_maxitems = n; stb_work_init(1); } return stb__work_maxitems; } int stb_work(stb_thread_func f, void *d, volatile void **return_code) { return stb_workq(stb__work_global, f,d,return_code); } int stb_work_reach(stb_thread_func f, void *d, volatile void **return_code, stb_sync rel) { return stb_workq_reach(stb__work_global, f,d,return_code,rel); } void stb_work_numthreads(int n) { if (stb__work_global == NULL) stb_work_init(n); else stb_workq_numthreads(stb__work_global, n); } #endif // STB_DEFINE ////////////////////////////////////////////////////////////////////////////// // // Background disk I/O // // #define STB_BGIO_READ_ALL (-1) STB_EXTERN int stb_bgio_read (char *filename, int offset, int len, stb_uchar **result, int *olen); STB_EXTERN int stb_bgio_readf (FILE *f , int offset, int len, stb_uchar **result, int *olen); STB_EXTERN int stb_bgio_read_to (char *filename, int offset, int len, stb_uchar *buffer, int *olen); STB_EXTERN int stb_bgio_readf_to(FILE *f , int offset, int len, stb_uchar *buffer, int *olen); typedef struct { int have_data; int is_valid; int is_dir; time_t filetime; stb_int64 filesize; } stb_bgstat; STB_EXTERN int stb_bgio_stat (char *filename, stb_bgstat *result); #ifdef STB_DEFINE static stb_workqueue *stb__diskio; static stb_mutex stb__diskio_mutex; void stb_thread_cleanup(void) { if (stb__work_global) stb_workq_delete(stb__work_global); stb__work_global = NULL; if (stb__threadmutex) stb_mutex_delete(stb__threadmutex); stb__threadmutex = NULL; if (stb__workmutex) stb_mutex_delete(stb__workmutex); stb__workmutex = NULL; if (stb__diskio) stb_workq_delete(stb__diskio); stb__diskio = NULL; if (stb__diskio_mutex)stb_mutex_delete(stb__diskio_mutex);stb__diskio_mutex= NULL; } typedef struct { char *filename; FILE *f; int offset; int len; stb_bgstat *stat_out; stb_uchar *output; stb_uchar **result; int *len_output; int *flag; } stb__disk_command; #define STB__MAX_DISK_COMMAND 100 static stb__disk_command stb__dc_queue[STB__MAX_DISK_COMMAND]; static int stb__dc_offset; void stb__io_init(void) { if (!stb__diskio) { stb__threadmutex_init(); stb_mutex_begin(stb__threadmutex); stb_barrier(); if (*(stb_thread * volatile *) &stb__diskio == NULL) { stb__diskio_mutex = stb_mutex_new(); // use many threads so OS can try to schedule seeks stb__diskio = stb_workq_new_flags(16,STB__MAX_DISK_COMMAND,STB_FALSE,STB_FALSE); } stb_mutex_end(stb__threadmutex); } } static void * stb__io_error(stb__disk_command *dc) { if (dc->len_output) *dc->len_output = 0; if (dc->result) *dc->result = NULL; if (dc->flag) *dc->flag = -1; return NULL; } static void * stb__io_task(void *p) { stb__disk_command *dc = (stb__disk_command *) p; int len; FILE *f; stb_uchar *buf; if (dc->stat_out) { struct _stati64 s; if (!_stati64(dc->filename, &s)) { dc->stat_out->filesize = s.st_size; dc->stat_out->filetime = s.st_mtime; dc->stat_out->is_dir = s.st_mode & _S_IFDIR; dc->stat_out->is_valid = (s.st_mode & _S_IFREG) || dc->stat_out->is_dir; } else dc->stat_out->is_valid = 0; stb_barrier(); dc->stat_out->have_data = 1; free(dc->filename); return 0; } if (dc->f) { #ifdef WIN32 f = _fdopen(_dup(_fileno(dc->f)), "rb"); #else f = fdopen(dup(fileno(dc->f)), "rb"); #endif if (!f) return stb__io_error(dc); } else { f = fopen(dc->filename, "rb"); free(dc->filename); if (!f) return stb__io_error(dc); } len = dc->len; if (len < 0) { fseek(f, 0, SEEK_END); len = ftell(f) - dc->offset; } if (fseek(f, dc->offset, SEEK_SET)) { fclose(f); return stb__io_error(dc); } if (dc->output) buf = dc->output; else { buf = (stb_uchar *) malloc(len); if (buf == NULL) { fclose(f); return stb__io_error(dc); } } len = fread(buf, 1, len, f); fclose(f); if (dc->len_output) *dc->len_output = len; if (dc->result) *dc->result = buf; if (dc->flag) *dc->flag = 1; return NULL; } int stb__io_add(char *fname, FILE *f, int off, int len, stb_uchar *out, stb_uchar **result, int *olen, int *flag, stb_bgstat *stat) { int res; stb__io_init(); // do memory allocation outside of mutex if (fname) fname = stb_p_strdup(fname); stb_mutex_begin(stb__diskio_mutex); { stb__disk_command *dc = &stb__dc_queue[stb__dc_offset]; dc->filename = fname; dc->f = f; dc->offset = off; dc->len = len; dc->output = out; dc->result = result; dc->len_output = olen; dc->flag = flag; dc->stat_out = stat; res = stb_workq(stb__diskio, stb__io_task, dc, NULL); if (res) stb__dc_offset = (stb__dc_offset + 1 == STB__MAX_DISK_COMMAND ? 0 : stb__dc_offset+1); } stb_mutex_end(stb__diskio_mutex); return res; } int stb_bgio_read(char *filename, int offset, int len, stb_uchar **result, int *olen) { return stb__io_add(filename,NULL,offset,len,NULL,result,olen,NULL,NULL); } int stb_bgio_readf(FILE *f, int offset, int len, stb_uchar **result, int *olen) { return stb__io_add(NULL,f,offset,len,NULL,result,olen,NULL,NULL); } int stb_bgio_read_to(char *filename, int offset, int len, stb_uchar *buffer, int *olen) { return stb__io_add(filename,NULL,offset,len,buffer,NULL,olen,NULL,NULL); } int stb_bgio_readf_to(FILE *f, int offset, int len, stb_uchar *buffer, int *olen) { return stb__io_add(NULL,f,offset,len,buffer,NULL,olen,NULL,NULL); } STB_EXTERN int stb_bgio_stat (char *filename, stb_bgstat *result) { result->have_data = 0; return stb__io_add(filename,NULL,0,0,0,NULL,0,NULL, result); } #endif #endif ////////////////////////////////////////////////////////////////////////////// // // Fast malloc implementation // // This is a clone of TCMalloc, but without the thread support. // 1. large objects are allocated directly, page-aligned // 2. small objects are allocated in homogeonous heaps, 0 overhead // // We keep an allocation table for pages a la TCMalloc. This would // require 4MB for the entire address space, but we only allocate // the parts that are in use. The overhead from using homogenous heaps // everywhere is 3MB. (That is, if you allocate 1 object of each size, // you'll use 3MB.) #if defined(STB_DEFINE) && ((defined(_WIN32) && !defined(_M_AMD64)) || defined(STB_FASTMALLOC)) #ifdef _WIN32 #ifndef _WINDOWS_ #ifndef STB__IMPORT #define STB__IMPORT STB_EXTERN __declspec(dllimport) #define STB__DW unsigned long #endif STB__IMPORT void * __stdcall VirtualAlloc(void *p, unsigned long size, unsigned long type, unsigned long protect); STB__IMPORT int __stdcall VirtualFree(void *p, unsigned long size, unsigned long freetype); #endif #define stb__alloc_pages_raw(x) (stb_uint32) VirtualAlloc(NULL, (x), 0x3000, 0x04) #define stb__dealloc_pages_raw(p) VirtualFree((void *) p, 0, 0x8000) #else #error "Platform not currently supported" #endif typedef struct stb__span { int start, len; struct stb__span *next, *prev; void *first_free; unsigned short list; // 1..256 free; 257..511 sizeclass; 0=large block short allocations; // # outstanding allocations for sizeclass } stb__span; // 24 static stb__span **stb__span_for_page; static int stb__firstpage, stb__lastpage; static void stb__update_page_range(int first, int last) { stb__span **sfp; int i, f,l; if (first >= stb__firstpage && last <= stb__lastpage) return; if (stb__span_for_page == NULL) { f = first; l = f+stb_max(last-f, 16384); l = stb_min(l, 1<<20); } else if (last > stb__lastpage) { f = stb__firstpage; l = f + (stb__lastpage - f) * 2; l = stb_clamp(last, l,1<<20); } else { l = stb__lastpage; f = l - (l - stb__firstpage) * 2; f = stb_clamp(f, 0,first); } sfp = (stb__span **) stb__alloc_pages_raw(sizeof(void *) * (l-f)); for (i=f; i < stb__firstpage; ++i) sfp[i - f] = NULL; for ( ; i < stb__lastpage ; ++i) sfp[i - f] = stb__span_for_page[i - stb__firstpage]; for ( ; i < l ; ++i) sfp[i - f] = NULL; if (stb__span_for_page) stb__dealloc_pages_raw(stb__span_for_page); stb__firstpage = f; stb__lastpage = l; stb__span_for_page = sfp; } static stb__span *stb__span_free=NULL; static stb__span *stb__span_first, *stb__span_end; static stb__span *stb__span_alloc(void) { stb__span *s = stb__span_free; if (s) stb__span_free = s->next; else { if (!stb__span_first) { stb__span_first = (stb__span *) stb__alloc_pages_raw(65536); if (stb__span_first == NULL) return NULL; stb__span_end = stb__span_first + (65536 / sizeof(stb__span)); } s = stb__span_first++; if (stb__span_first == stb__span_end) stb__span_first = NULL; } return s; } static stb__span *stb__spanlist[512]; static void stb__spanlist_unlink(stb__span *s) { if (s->prev) s->prev->next = s->next; else { int n = s->list; assert(stb__spanlist[n] == s); stb__spanlist[n] = s->next; } if (s->next) s->next->prev = s->prev; s->next = s->prev = NULL; s->list = 0; } static void stb__spanlist_add(int n, stb__span *s) { s->list = n; s->next = stb__spanlist[n]; s->prev = NULL; stb__spanlist[n] = s; if (s->next) s->next->prev = s; } #define stb__page_shift 12 #define stb__page_size (1 << stb__page_shift) #define stb__page_number(x) ((x) >> stb__page_shift) #define stb__page_address(x) ((x) << stb__page_shift) static void stb__set_span_for_page(stb__span *s) { int i; for (i=0; i < s->len; ++i) stb__span_for_page[s->start + i - stb__firstpage] = s; } static stb__span *stb__coalesce(stb__span *a, stb__span *b) { assert(a->start + a->len == b->start); if (a->list) stb__spanlist_unlink(a); if (b->list) stb__spanlist_unlink(b); a->len += b->len; b->len = 0; b->next = stb__span_free; stb__span_free = b; stb__set_span_for_page(a); return a; } static void stb__free_span(stb__span *s) { stb__span *n = NULL; if (s->start > stb__firstpage) { n = stb__span_for_page[s->start-1 - stb__firstpage]; if (n && n->allocations == -2 && n->start + n->len == s->start) s = stb__coalesce(n,s); } if (s->start + s->len < stb__lastpage) { n = stb__span_for_page[s->start + s->len - stb__firstpage]; if (n && n->allocations == -2 && s->start + s->len == n->start) s = stb__coalesce(s,n); } s->allocations = -2; stb__spanlist_add(s->len > 256 ? 256 : s->len, s); } static stb__span *stb__alloc_pages(int num) { stb__span *s = stb__span_alloc(); int p; if (!s) return NULL; p = stb__alloc_pages_raw(num << stb__page_shift); if (p == 0) { s->next = stb__span_free; stb__span_free = s; return 0; } assert(stb__page_address(stb__page_number(p)) == p); p = stb__page_number(p); stb__update_page_range(p, p+num); s->start = p; s->len = num; s->next = NULL; s->prev = NULL; stb__set_span_for_page(s); return s; } static stb__span *stb__alloc_span(int pagecount) { int i; stb__span *p = NULL; for(i=pagecount; i < 256; ++i) if (stb__spanlist[i]) { p = stb__spanlist[i]; break; } if (!p) { p = stb__spanlist[256]; while (p && p->len < pagecount) p = p->next; } if (!p) { p = stb__alloc_pages(pagecount < 16 ? 16 : pagecount); if (p == NULL) return 0; } else stb__spanlist_unlink(p); if (p->len > pagecount) { stb__span *q = stb__span_alloc(); if (q) { q->start = p->start + pagecount; q->len = p->len - pagecount; p->len = pagecount; for (i=0; i < q->len; ++i) stb__span_for_page[q->start+i - stb__firstpage] = q; stb__spanlist_add(q->len > 256 ? 256 : q->len, q); } } return p; } #define STB__MAX_SMALL_SIZE 32768 #define STB__MAX_SIZE_CLASSES 256 static unsigned char stb__class_base[32]; static unsigned char stb__class_shift[32]; static unsigned char stb__pages_for_class[STB__MAX_SIZE_CLASSES]; static int stb__size_for_class[STB__MAX_SIZE_CLASSES]; stb__span *stb__get_nonempty_sizeclass(int c) { int s = c + 256, i, size, tsize; // remap to span-list index char *z; void *q; stb__span *p = stb__spanlist[s]; if (p) { if (p->first_free) return p; // fast path: it's in the first one in list for (p=p->next; p; p=p->next) if (p->first_free) { // move to front for future queries stb__spanlist_unlink(p); stb__spanlist_add(s, p); return p; } } // no non-empty ones, so allocate a new one p = stb__alloc_span(stb__pages_for_class[c]); if (!p) return NULL; // create the free list up front size = stb__size_for_class[c]; tsize = stb__pages_for_class[c] << stb__page_shift; i = 0; z = (char *) stb__page_address(p->start); q = NULL; while (i + size <= tsize) { * (void **) z = q; q = z; z += size; i += size; } p->first_free = q; p->allocations = 0; stb__spanlist_add(s,p); return p; } static int stb__sizeclass(size_t sz) { int z = stb_log2_floor(sz); // -1 below to group e.g. 13,14,15,16 correctly return stb__class_base[z] + ((sz-1) >> stb__class_shift[z]); } static void stb__init_sizeclass(void) { int i, size, overhead; int align_shift = 2; // allow 4-byte and 12-byte blocks as well, vs. TCMalloc int next_class = 1; int last_log = 0; for (i = 0; i < align_shift; i++) { stb__class_base [i] = next_class; stb__class_shift[i] = align_shift; } for (size = 1 << align_shift; size <= STB__MAX_SMALL_SIZE; size += 1 << align_shift) { i = stb_log2_floor(size); if (i > last_log) { if (size == 16) ++align_shift; // switch from 4-byte to 8-byte alignment else if (size >= 128 && align_shift < 8) ++align_shift; stb__class_base[i] = next_class - ((size-1) >> align_shift); stb__class_shift[i] = align_shift; last_log = i; } stb__size_for_class[next_class++] = size; } for (i=1; i <= STB__MAX_SMALL_SIZE; ++i) assert(i <= stb__size_for_class[stb__sizeclass(i)]); overhead = 0; for (i = 1; i < next_class; i++) { int s = stb__size_for_class[i]; size = stb__page_size; while (size % s > size >> 3) size += stb__page_size; stb__pages_for_class[i] = (unsigned char) (size >> stb__page_shift); overhead += size; } assert(overhead < (4 << 20)); // make sure it's under 4MB of overhead } #ifdef STB_DEBUG #define stb__smemset(a,b,c) memset((void *) a, b, c) #elif defined(STB_FASTMALLOC_INIT) #define stb__smemset(a,b,c) memset((void *) a, b, c) #else #define stb__smemset(a,b,c) #endif void *stb_smalloc(size_t sz) { stb__span *s; if (sz == 0) return NULL; if (stb__size_for_class[1] == 0) stb__init_sizeclass(); if (sz > STB__MAX_SMALL_SIZE) { s = stb__alloc_span((sz + stb__page_size - 1) >> stb__page_shift); if (s == NULL) return NULL; s->list = 0; s->next = s->prev = NULL; s->allocations = -32767; stb__smemset(stb__page_address(s->start), 0xcd, (sz+3)&~3); return (void *) stb__page_address(s->start); } else { void *p; int c = stb__sizeclass(sz); s = stb__spanlist[256+c]; if (!s || !s->first_free) s = stb__get_nonempty_sizeclass(c); if (s == NULL) return NULL; p = s->first_free; s->first_free = * (void **) p; ++s->allocations; stb__smemset(p,0xcd, sz); return p; } } int stb_ssize(void *p) { stb__span *s; if (p == NULL) return 0; s = stb__span_for_page[stb__page_number((stb_uint) p) - stb__firstpage]; if (s->list >= 256) { return stb__size_for_class[s->list - 256]; } else { assert(s->list == 0); return s->len << stb__page_shift; } } void stb_sfree(void *p) { stb__span *s; if (p == NULL) return; s = stb__span_for_page[stb__page_number((stb_uint) p) - stb__firstpage]; if (s->list >= 256) { stb__smemset(p, 0xfe, stb__size_for_class[s->list-256]); * (void **) p = s->first_free; s->first_free = p; if (--s->allocations == 0) { stb__spanlist_unlink(s); stb__free_span(s); } } else { assert(s->list == 0); stb__smemset(p, 0xfe, stb_ssize(p)); stb__free_span(s); } } void *stb_srealloc(void *p, size_t sz) { size_t cur_size; if (p == NULL) return stb_smalloc(sz); if (sz == 0) { stb_sfree(p); return NULL; } cur_size = stb_ssize(p); if (sz > cur_size || sz <= (cur_size >> 1)) { void *q; if (sz > cur_size && sz < (cur_size << 1)) sz = cur_size << 1; q = stb_smalloc(sz); if (q == NULL) return NULL; memcpy(q, p, sz < cur_size ? sz : cur_size); stb_sfree(p); return q; } return p; } void *stb_scalloc(size_t n, size_t sz) { void *p; if (n == 0 || sz == 0) return NULL; if (stb_log2_ceil(n) + stb_log2_ceil(n) >= 32) return NULL; p = stb_smalloc(n*sz); if (p) memset(p, 0, n*sz); return p; } char *stb_sstrdup(char *s) { int n = strlen(s); char *p = (char *) stb_smalloc(n+1); if (p) stb_p_strcpy_s(p,n+1,s); return p; } #endif // STB_DEFINE ////////////////////////////////////////////////////////////////////////////// // // Source code constants // // This is a trivial system to let you specify constants in source code, // then while running you can change the constants. // // Note that you can't wrap the #defines, because we need to know their // names. So we provide a pre-wrapped version without 'STB_' for convenience; // to request it, #define STB_CONVENIENT_H, yielding: // KI -- integer // KU -- unsigned integer // KF -- float // KD -- double // KS -- string constant // // Defaults to functioning in debug build, not in release builds. // To force on, define STB_ALWAYS_H #ifdef STB_CONVENIENT_H #define KI(x) STB_I(x) #define KU(x) STB_UI(x) #define KF(x) STB_F(x) #define KD(x) STB_D(x) #define KS(x) STB_S(x) #endif STB_EXTERN void stb_source_path(char *str); #ifdef STB_DEFINE char *stb__source_path; void stb_source_path(char *path) { stb__source_path = path; } char *stb__get_sourcefile_path(char *file) { static char filebuf[512]; if (stb__source_path) { stb_p_sprintf(filebuf stb_p_size(sizeof(filebuf)), "%s/%s", stb__source_path, file); if (stb_fexists(filebuf)) return filebuf; } if (stb_fexists(file)) return file; stb_p_sprintf(filebuf stb_p_size(sizeof(filebuf)), "../%s", file); if (!stb_fexists(filebuf)) return filebuf; return file; } #endif #define STB_F(x) ((float) STB_H(x)) #define STB_UI(x) ((unsigned int) STB_I(x)) #if !defined(STB_DEBUG) && !defined(STB_ALWAYS_H) #define STB_D(x) ((double) (x)) #define STB_I(x) ((int) (x)) #define STB_S(x) ((char *) (x)) #else #define STB_D(x) stb__double_constant(__FILE__, __LINE__-1, (x)) #define STB_I(x) stb__int_constant(__FILE__, __LINE__-1, (x)) #define STB_S(x) stb__string_constant(__FILE__, __LINE__-1, (x)) STB_EXTERN double stb__double_constant(char *file, int line, double x); STB_EXTERN int stb__int_constant(char *file, int line, int x); STB_EXTERN char * stb__string_constant(char *file, int line, char *str); #ifdef STB_DEFINE enum { STB__CTYPE_int, STB__CTYPE_uint, STB__CTYPE_float, STB__CTYPE_double, STB__CTYPE_string, }; typedef struct { int line; int type; union { int ival; double dval; char *sval; }; } stb__Entry; typedef struct { stb__Entry *entries; char *filename; time_t timestamp; char **file_data; int file_len; unsigned short *line_index; } stb__FileEntry; static void stb__constant_parse(stb__FileEntry *f, int i) { char *s; int n; if (!stb_arr_valid(f->entries, i)) return; n = f->entries[i].line; if (n >= f->file_len) return; s = f->file_data[n]; switch (f->entries[i].type) { case STB__CTYPE_float: while (*s) { if (!strncmp(s, "STB_D(", 6)) { s+=6; goto matched_float; } if (!strncmp(s, "STB_F(", 6)) { s+=6; goto matched_float; } if (!strncmp(s, "KD(", 3)) { s+=3; goto matched_float; } if (!strncmp(s, "KF(", 3)) { s+=3; goto matched_float; } ++s; } break; matched_float: f->entries[i].dval = strtod(s, NULL); break; case STB__CTYPE_int: while (*s) { if (!strncmp(s, "STB_I(", 6)) { s+=6; goto matched_int; } if (!strncmp(s, "STB_UI(", 7)) { s+=7; goto matched_int; } if (!strncmp(s, "KI(", 3)) { s+=3; goto matched_int; } if (!strncmp(s, "KU(", 3)) { s+=3; goto matched_int; } ++s; } break; matched_int: { int neg=0; s = stb_skipwhite(s); while (*s == '-') { neg = !neg; s = stb_skipwhite(s+1); } // handle '- - 5', pointlessly if (s[0] == '0' && tolower(s[1]) == 'x') f->entries[i].ival = strtol(s, NULL, 16); else if (s[0] == '0') f->entries[i].ival = strtol(s, NULL, 8); else f->entries[i].ival = strtol(s, NULL, 10); if (neg) f->entries[i].ival = -f->entries[i].ival; break; } case STB__CTYPE_string: // @TODO break; } } static stb_sdict *stb__constant_file_hash; stb__Entry *stb__constant_get_entry(char *filename, int line, int type) { int i; stb__FileEntry *f; if (stb__constant_file_hash == NULL) stb__constant_file_hash = stb_sdict_new(STB_TRUE); f = (stb__FileEntry*) stb_sdict_get(stb__constant_file_hash, filename); if (f == NULL) { char *s = stb__get_sourcefile_path(filename); if (s == NULL || !stb_fexists(s)) return 0; f = (stb__FileEntry *) malloc(sizeof(*f)); f->timestamp = stb_ftimestamp(s); f->file_data = stb_stringfile(s, &f->file_len); f->filename = stb_p_strdup(s); // cache the full path f->entries = NULL; f->line_index = 0; stb_arr_setlen(f->line_index, f->file_len); memset(f->line_index, 0xff, stb_arr_storage(f->line_index)); } else { time_t t = stb_ftimestamp(f->filename); if (f->timestamp != t) { f->timestamp = t; free(f->file_data); f->file_data = stb_stringfile(f->filename, &f->file_len); stb_arr_setlen(f->line_index, f->file_len); for (i=0; i < stb_arr_len(f->entries); ++i) stb__constant_parse(f, i); } } if (line >= f->file_len) return 0; if (f->line_index[line] >= stb_arr_len(f->entries)) { // need a new entry int n = stb_arr_len(f->entries); stb__Entry e; e.line = line; if (line < f->file_len) f->line_index[line] = n; e.type = type; stb_arr_push(f->entries, e); stb__constant_parse(f, n); } return f->entries + f->line_index[line]; } double stb__double_constant(char *file, int line, double x) { stb__Entry *e = stb__constant_get_entry(file, line, STB__CTYPE_float); if (!e) return x; return e->dval; } int stb__int_constant(char *file, int line, int x) { stb__Entry *e = stb__constant_get_entry(file, line, STB__CTYPE_int); if (!e) return x; return e->ival; } char * stb__string_constant(char *file, int line, char *x) { stb__Entry *e = stb__constant_get_entry(file, line, STB__CTYPE_string); if (!e) return x; return e->sval; } #endif // STB_DEFINE #endif // !STB_DEBUG && !STB_ALWAYS_H #undef STB_EXTERN #endif // STB_INCLUDE_STB_H /* ------------------------------------------------------------------------------ This software is available under 2 licenses -- choose whichever you prefer. ------------------------------------------------------------------------------ ALTERNATIVE A - MIT License Copyright (c) 2017 Sean Barrett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ ALTERNATIVE B - Public Domain (www.unlicense.org) This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ */
orochi/stb
deprecated/stb.h
C++
mit
417,564
/* stb_image - v1.35 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c when you control the images you're loading no warranty implied; use at your own risk QUICK NOTES: Primarily of interest to game developers and other people who can avoid problematic images and only need the trivial interface JPEG baseline (no JPEG progressive) PNG 8-bit-per-channel only TGA (not sure what subset, if a subset) BMP non-1bpp, non-RLE PSD (composited view only, no extra channels) GIF (*comp always reports as 4-channel) HDR (radiance rgbE format) PIC (Softimage PIC) - decode from memory or through FILE (define STBI_NO_STDIO to remove code) - decode from arbitrary I/O callbacks - overridable dequantizing-IDCT, YCbCr-to-RGB conversion (define STBI_SIMD) Latest revisions: 1.35 (2014-05-27) warnings, bugfixes, TGA optimization, etc 1.34 (unknown ) warning fix 1.33 (2011-07-14) minor fixes suggested by Dave Moore 1.32 (2011-07-13) info support for all filetypes (SpartanJ) 1.31 (2011-06-19) a few more leak fixes, bug in PNG handling (SpartanJ) 1.30 (2011-06-11) added ability to load files via io callbacks (Ben Wenger) 1.29 (2010-08-16) various warning fixes from Aurelien Pocheville 1.28 (2010-08-01) fix bug in GIF palette transparency (SpartanJ) See end of file for full revision history. TODO: stbi_info support for BMP,PSD,HDR,PIC ============================ Contributors ========================= Image formats Bug fixes & warning fixes Sean Barrett (jpeg, png, bmp) Marc LeBlanc Nicolas Schulz (hdr, psd) Christpher Lloyd Jonathan Dummer (tga) Dave Moore Jean-Marc Lienher (gif) Won Chun Tom Seddon (pic) the Horde3D community Thatcher Ulrich (psd) Janez Zemva Jonathan Blow Laurent Gomila Extensions, features Aruelien Pocheville Jetro Lauha (stbi_info) Ryamond Barbiero James "moose2000" Brown (iPhone PNG) David Woo Ben "Disch" Wenger (io callbacks) Roy Eltham Martin "SpartanJ" Golini Luke Graham Thomas Ruf John Bartholomew Optimizations & bugfixes Ken Hamada Fabian "ryg" Giesen Cort Stratton Arseny Kapoulkine Blazej Dariusz Roszkowski Thibault Reuille If your name should be here but Paul Du Bois isn't let Sean know. Guillaume George */ #ifndef STBI_INCLUDE_STB_IMAGE_H #define STBI_INCLUDE_STB_IMAGE_H // To get a header file for this, either cut and paste the header, // or create stb_image.h, #define STBI_HEADER_FILE_ONLY, and // then include stb_image.c from it. //// begin header file //////////////////////////////////////////////////// // // Limitations: // - no jpeg progressive support // - non-HDR formats support 8-bit samples only (jpeg, png) // - no delayed line count (jpeg) -- IJG doesn't support either // - no 1-bit BMP // - GIF always returns *comp=4 // // Basic usage (see HDR discussion below): // int x,y,n; // unsigned char *data = stbi_load(filename, &x, &y, &n, 0); // // ... process data if not NULL ... // // ... x = width, y = height, n = # 8-bit components per pixel ... // // ... replace '0' with '1'..'4' to force that many components per pixel // // ... but 'n' will always be the number that it would have been if you said 0 // stbi_image_free(data) // // Standard parameters: // int *x -- outputs image width in pixels // int *y -- outputs image height in pixels // int *comp -- outputs # of image components in image file // int req_comp -- if non-zero, # of image components requested in result // // The return value from an image loader is an 'unsigned char *' which points // to the pixel data. The pixel data consists of *y scanlines of *x pixels, // with each pixel consisting of N interleaved 8-bit components; the first // pixel pointed to is top-left-most in the image. There is no padding between // image scanlines or between pixels, regardless of format. The number of // components N is 'req_comp' if req_comp is non-zero, or *comp otherwise. // If req_comp is non-zero, *comp has the number of components that _would_ // have been output otherwise. E.g. if you set req_comp to 4, you will always // get RGBA output, but you can check *comp to easily see if it's opaque. // // An output image with N components has the following components interleaved // in this order in each pixel: // // N=#comp components // 1 grey // 2 grey, alpha // 3 red, green, blue // 4 red, green, blue, alpha // // If image loading fails for any reason, the return value will be NULL, // and *x, *y, *comp will be unchanged. The function stbi_failure_reason() // can be queried for an extremely brief, end-user unfriendly explanation // of why the load failed. Define STBI_NO_FAILURE_STRINGS to avoid // compiling these strings at all, and STBI_FAILURE_USERMSG to get slightly // more user-friendly ones. // // Paletted PNG, BMP, GIF, and PIC images are automatically depalettized. // // =========================================================================== // // iPhone PNG support: // // By default we convert iphone-formatted PNGs back to RGB; nominally they // would silently load as BGR, except the existing code should have just // failed on such iPhone PNGs. But you can disable this conversion by // by calling stbi_convert_iphone_png_to_rgb(0), in which case // you will always just get the native iphone "format" through. // // Call stbi_set_unpremultiply_on_load(1) as well to force a divide per // pixel to remove any premultiplied alpha *only* if the image file explicitly // says there's premultiplied data (currently only happens in iPhone images, // and only if iPhone convert-to-rgb processing is on). // // =========================================================================== // // HDR image support (disable by defining STBI_NO_HDR) // // stb_image now supports loading HDR images in general, and currently // the Radiance .HDR file format, although the support is provided // generically. You can still load any file through the existing interface; // if you attempt to load an HDR file, it will be automatically remapped to // LDR, assuming gamma 2.2 and an arbitrary scale factor defaulting to 1; // both of these constants can be reconfigured through this interface: // // stbi_hdr_to_ldr_gamma(2.2f); // stbi_hdr_to_ldr_scale(1.0f); // // (note, do not use _inverse_ constants; stbi_image will invert them // appropriately). // // Additionally, there is a new, parallel interface for loading files as // (linear) floats to preserve the full dynamic range: // // float *data = stbi_loadf(filename, &x, &y, &n, 0); // // If you load LDR images through this interface, those images will // be promoted to floating point values, run through the inverse of // constants corresponding to the above: // // stbi_ldr_to_hdr_scale(1.0f); // stbi_ldr_to_hdr_gamma(2.2f); // // Finally, given a filename (or an open file or memory block--see header // file for details) containing image data, you can query for the "most // appropriate" interface to use (that is, whether the image is HDR or // not), using: // // stbi_is_hdr(char *filename); // // =========================================================================== // // I/O callbacks // // I/O callbacks allow you to read from arbitrary sources, like packaged // files or some other source. Data read from callbacks are processed // through a small internal buffer (currently 128 bytes) to try to reduce // overhead. // // The three functions you must define are "read" (reads some bytes of data), // "skip" (skips some bytes of data), "eof" (reports if the stream is at the end). #ifndef STBI_NO_STDIO #if defined(_MSC_VER) && _MSC_VER >= 1400 #define _CRT_SECURE_NO_WARNINGS // suppress warnings about fopen() #pragma warning(push) #pragma warning(disable:4996) // suppress even more warnings about fopen() #endif #include <stdio.h> #endif // STBI_NO_STDIO #define STBI_VERSION 1 enum { STBI_default = 0, // only used for req_comp STBI_grey = 1, STBI_grey_alpha = 2, STBI_rgb = 3, STBI_rgb_alpha = 4 }; typedef unsigned char stbi_uc; #ifdef __cplusplus extern "C" { #endif ////////////////////////////////////////////////////////////////////////////// // // PRIMARY API - works on images of any type // // // load image by filename, open file, or memory buffer // extern stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); #ifndef STBI_NO_STDIO extern stbi_uc *stbi_load (char const *filename, int *x, int *y, int *comp, int req_comp); extern stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); // for stbi_load_from_file, file pointer is left pointing immediately after image #endif typedef struct { int (*read) (void *user,char *data,int size); // fill 'data' with 'size' bytes. return number of bytes actually read void (*skip) (void *user,int n); // skip the next 'n' bytes, or 'unget' the last -n bytes if negative int (*eof) (void *user); // returns nonzero if we are at end of file/data } stbi_io_callbacks; extern stbi_uc *stbi_load_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp); #ifndef STBI_NO_HDR extern float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp); #ifndef STBI_NO_STDIO extern float *stbi_loadf (char const *filename, int *x, int *y, int *comp, int req_comp); extern float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *comp, int req_comp); #endif extern float *stbi_loadf_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp); extern void stbi_hdr_to_ldr_gamma(float gamma); extern void stbi_hdr_to_ldr_scale(float scale); extern void stbi_ldr_to_hdr_gamma(float gamma); extern void stbi_ldr_to_hdr_scale(float scale); #endif // STBI_NO_HDR // stbi_is_hdr is always defined extern int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user); extern int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len); #ifndef STBI_NO_STDIO extern int stbi_is_hdr (char const *filename); extern int stbi_is_hdr_from_file(FILE *f); #endif // STBI_NO_STDIO // get a VERY brief reason for failure // NOT THREADSAFE extern const char *stbi_failure_reason (void); // free the loaded image -- this is just free() extern void stbi_image_free (void *retval_from_stbi_load); // get image dimensions & components without fully decoding extern int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp); extern int stbi_info_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp); #ifndef STBI_NO_STDIO extern int stbi_info (char const *filename, int *x, int *y, int *comp); extern int stbi_info_from_file (FILE *f, int *x, int *y, int *comp); #endif // for image formats that explicitly notate that they have premultiplied alpha, // we just return the colors as stored in the file. set this flag to force // unpremultiplication. results are undefined if the unpremultiply overflow. extern void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply); // indicate whether we should process iphone images back to canonical format, // or just pass them through "as-is" extern void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert); // ZLIB client - used by PNG, available for other purposes extern char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen); extern char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header); extern char *stbi_zlib_decode_malloc(const char *buffer, int len, int *outlen); extern int stbi_zlib_decode_buffer(char *obuffer, int olen, const char *ibuffer, int ilen); extern char *stbi_zlib_decode_noheader_malloc(const char *buffer, int len, int *outlen); extern int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen); // define faster low-level operations (typically SIMD support) #ifdef STBI_SIMD typedef void (*stbi_idct_8x8)(stbi_uc *out, int out_stride, short data[64], unsigned short *dequantize); // compute an integer IDCT on "input" // input[x] = data[x] * dequantize[x] // write results to 'out': 64 samples, each run of 8 spaced by 'out_stride' // CLAMP results to 0..255 typedef void (*stbi_YCbCr_to_RGB_run)(stbi_uc *output, stbi_uc const *y, stbi_uc const *cb, stbi_uc const *cr, int count, int step); // compute a conversion from YCbCr to RGB // 'count' pixels // write pixels to 'output'; each pixel is 'step' bytes (either 3 or 4; if 4, write '255' as 4th), order R,G,B // y: Y input channel // cb: Cb input channel; scale/biased to be 0..255 // cr: Cr input channel; scale/biased to be 0..255 extern void stbi_install_idct(stbi_idct_8x8 func); extern void stbi_install_YCbCr_to_RGB(stbi_YCbCr_to_RGB_run func); #endif // STBI_SIMD #ifdef __cplusplus } #endif // // //// end header file ///////////////////////////////////////////////////// #endif // STBI_INCLUDE_STB_IMAGE_H #ifndef STBI_HEADER_FILE_ONLY #ifndef STBI_NO_HDR #include <math.h> // ldexp #include <string.h> // strcmp, strtok #endif #ifndef STBI_NO_STDIO #include <stdio.h> #endif #include <stdlib.h> #include <memory.h> #include <assert.h> #include <stdarg.h> #include <stddef.h> // ptrdiff_t on osx #ifndef _MSC_VER #ifdef __cplusplus #define stbi_inline inline #else #define stbi_inline #endif #else #define stbi_inline __forceinline #endif #ifdef _MSC_VER typedef unsigned char stbi__uint8; typedef unsigned short stbi__uint16; typedef signed short stbi__int16; typedef unsigned int stbi__uint32; typedef signed int stbi__int32; #else #include <stdint.h> typedef uint8_t stbi__uint8; typedef uint16_t stbi__uint16; typedef int16_t stbi__int16; typedef uint32_t stbi__uint32; typedef int32_t stbi__int32; #endif // should produce compiler error if size is wrong typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1]; #ifdef _MSC_VER #define STBI_NOTUSED(v) (void)(v) #else #define STBI_NOTUSED(v) (void)sizeof(v) #endif #ifdef _MSC_VER #define STBI_HAS_LROTL #endif #ifdef STBI_HAS_LROTL #define stbi_lrot(x,y) _lrotl(x,y) #else #define stbi_lrot(x,y) (((x) << (y)) | ((x) >> (32 - (y)))) #endif /////////////////////////////////////////////// // // stbi struct and start_xxx functions // stbi structure is our basic context used by all images, so it // contains all the IO context, plus some basic image information typedef struct { stbi__uint32 img_x, img_y; int img_n, img_out_n; stbi_io_callbacks io; void *io_user_data; int read_from_callbacks; int buflen; stbi__uint8 buffer_start[128]; stbi__uint8 *img_buffer, *img_buffer_end; stbi__uint8 *img_buffer_original; } stbi; static void refill_buffer(stbi *s); // initialize a memory-decode context static void start_mem(stbi *s, stbi__uint8 const *buffer, int len) { s->io.read = NULL; s->read_from_callbacks = 0; s->img_buffer = s->img_buffer_original = (stbi__uint8 *) buffer; s->img_buffer_end = (stbi__uint8 *) buffer+len; } // initialize a callback-based context static void start_callbacks(stbi *s, stbi_io_callbacks *c, void *user) { s->io = *c; s->io_user_data = user; s->buflen = sizeof(s->buffer_start); s->read_from_callbacks = 1; s->img_buffer_original = s->buffer_start; refill_buffer(s); } #ifndef STBI_NO_STDIO static int stdio_read(void *user, char *data, int size) { return (int) fread(data,1,size,(FILE*) user); } static void stdio_skip(void *user, int n) { fseek((FILE*) user, n, SEEK_CUR); } static int stdio_eof(void *user) { return feof((FILE*) user); } static stbi_io_callbacks stbi_stdio_callbacks = { stdio_read, stdio_skip, stdio_eof, }; static void start_file(stbi *s, FILE *f) { start_callbacks(s, &stbi_stdio_callbacks, (void *) f); } //static void stop_file(stbi *s) { } #endif // !STBI_NO_STDIO static void stbi_rewind(stbi *s) { // conceptually rewind SHOULD rewind to the beginning of the stream, // but we just rewind to the beginning of the initial buffer, because // we only use it after doing 'test', which only ever looks at at most 92 bytes s->img_buffer = s->img_buffer_original; } static int stbi_jpeg_test(stbi *s); static stbi_uc *stbi_jpeg_load(stbi *s, int *x, int *y, int *comp, int req_comp); static int stbi_jpeg_info(stbi *s, int *x, int *y, int *comp); static int stbi_png_test(stbi *s); static stbi_uc *stbi_png_load(stbi *s, int *x, int *y, int *comp, int req_comp); static int stbi_png_info(stbi *s, int *x, int *y, int *comp); static int stbi_bmp_test(stbi *s); static stbi_uc *stbi_bmp_load(stbi *s, int *x, int *y, int *comp, int req_comp); static int stbi_tga_test(stbi *s); static stbi_uc *stbi_tga_load(stbi *s, int *x, int *y, int *comp, int req_comp); static int stbi_tga_info(stbi *s, int *x, int *y, int *comp); static int stbi_psd_test(stbi *s); static stbi_uc *stbi_psd_load(stbi *s, int *x, int *y, int *comp, int req_comp); #ifndef STBI_NO_HDR static int stbi_hdr_test(stbi *s); static float *stbi_hdr_load(stbi *s, int *x, int *y, int *comp, int req_comp); #endif static int stbi_pic_test(stbi *s); static stbi_uc *stbi_pic_load(stbi *s, int *x, int *y, int *comp, int req_comp); static int stbi_gif_test(stbi *s); static stbi_uc *stbi_gif_load(stbi *s, int *x, int *y, int *comp, int req_comp); static int stbi_gif_info(stbi *s, int *x, int *y, int *comp); // this is not threadsafe static const char *failure_reason; const char *stbi_failure_reason(void) { return failure_reason; } static int e(const char *str) { failure_reason = str; return 0; } // e - error // epf - error returning pointer to float // epuc - error returning pointer to unsigned char #ifdef STBI_NO_FAILURE_STRINGS #define e(x,y) 0 #elif defined(STBI_FAILURE_USERMSG) #define e(x,y) e(y) #else #define e(x,y) e(x) #endif #define epf(x,y) ((float *) (e(x,y)?NULL:NULL)) #define epuc(x,y) ((unsigned char *) (e(x,y)?NULL:NULL)) void stbi_image_free(void *retval_from_stbi_load) { free(retval_from_stbi_load); } #ifndef STBI_NO_HDR static float *ldr_to_hdr(stbi_uc *data, int x, int y, int comp); static stbi_uc *hdr_to_ldr(float *data, int x, int y, int comp); #endif static unsigned char *stbi_load_main(stbi *s, int *x, int *y, int *comp, int req_comp) { if (stbi_jpeg_test(s)) return stbi_jpeg_load(s,x,y,comp,req_comp); if (stbi_png_test(s)) return stbi_png_load(s,x,y,comp,req_comp); if (stbi_bmp_test(s)) return stbi_bmp_load(s,x,y,comp,req_comp); if (stbi_gif_test(s)) return stbi_gif_load(s,x,y,comp,req_comp); if (stbi_psd_test(s)) return stbi_psd_load(s,x,y,comp,req_comp); if (stbi_pic_test(s)) return stbi_pic_load(s,x,y,comp,req_comp); #ifndef STBI_NO_HDR if (stbi_hdr_test(s)) { float *hdr = stbi_hdr_load(s, x,y,comp,req_comp); return hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp); } #endif // test tga last because it's a crappy test! if (stbi_tga_test(s)) return stbi_tga_load(s,x,y,comp,req_comp); return epuc("unknown image type", "Image not of any known type, or corrupt"); } #ifndef STBI_NO_STDIO unsigned char *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp) { FILE *f = fopen(filename, "rb"); unsigned char *result; if (!f) return epuc("can't fopen", "Unable to open file"); result = stbi_load_from_file(f,x,y,comp,req_comp); fclose(f); return result; } unsigned char *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) { unsigned char *result; stbi s; start_file(&s,f); result = stbi_load_main(&s,x,y,comp,req_comp); if (result) { // need to 'unget' all the characters in the IO buffer fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR); } return result; } #endif //!STBI_NO_STDIO unsigned char *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) { stbi s; start_mem(&s,buffer,len); return stbi_load_main(&s,x,y,comp,req_comp); } unsigned char *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) { stbi s; start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi_load_main(&s,x,y,comp,req_comp); } #ifndef STBI_NO_HDR float *stbi_loadf_main(stbi *s, int *x, int *y, int *comp, int req_comp) { unsigned char *data; #ifndef STBI_NO_HDR if (stbi_hdr_test(s)) return stbi_hdr_load(s,x,y,comp,req_comp); #endif data = stbi_load_main(s, x, y, comp, req_comp); if (data) return ldr_to_hdr(data, *x, *y, req_comp ? req_comp : *comp); return epf("unknown image type", "Image not of any known type, or corrupt"); } float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) { stbi s; start_mem(&s,buffer,len); return stbi_loadf_main(&s,x,y,comp,req_comp); } float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) { stbi s; start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi_loadf_main(&s,x,y,comp,req_comp); } #ifndef STBI_NO_STDIO float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) { FILE *f = fopen(filename, "rb"); float *result; if (!f) return epf("can't fopen", "Unable to open file"); result = stbi_loadf_from_file(f,x,y,comp,req_comp); fclose(f); return result; } float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp) { stbi s; start_file(&s,f); return stbi_loadf_main(&s,x,y,comp,req_comp); } #endif // !STBI_NO_STDIO #endif // !STBI_NO_HDR // these is-hdr-or-not is defined independent of whether STBI_NO_HDR is // defined, for API simplicity; if STBI_NO_HDR is defined, it always // reports false! int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) { #ifndef STBI_NO_HDR stbi s; start_mem(&s,buffer,len); return stbi_hdr_test(&s); #else STBI_NOTUSED(buffer); STBI_NOTUSED(len); return 0; #endif } #ifndef STBI_NO_STDIO extern int stbi_is_hdr (char const *filename) { FILE *f = fopen(filename, "rb"); int result=0; if (f) { result = stbi_is_hdr_from_file(f); fclose(f); } return result; } extern int stbi_is_hdr_from_file(FILE *f) { #ifndef STBI_NO_HDR stbi s; start_file(&s,f); return stbi_hdr_test(&s); #else return 0; #endif } #endif // !STBI_NO_STDIO extern int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) { #ifndef STBI_NO_HDR stbi s; start_callbacks(&s, (stbi_io_callbacks *) clbk, user); return stbi_hdr_test(&s); #else return 0; #endif } #ifndef STBI_NO_HDR static float h2l_gamma_i=1.0f/2.2f, h2l_scale_i=1.0f; static float l2h_gamma=2.2f, l2h_scale=1.0f; void stbi_hdr_to_ldr_gamma(float gamma) { h2l_gamma_i = 1/gamma; } void stbi_hdr_to_ldr_scale(float scale) { h2l_scale_i = 1/scale; } void stbi_ldr_to_hdr_gamma(float gamma) { l2h_gamma = gamma; } void stbi_ldr_to_hdr_scale(float scale) { l2h_scale = scale; } #endif ////////////////////////////////////////////////////////////////////////////// // // Common code used by all image loaders // enum { SCAN_load=0, SCAN_type, SCAN_header }; static void refill_buffer(stbi *s) { int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen); if (n == 0) { // at end of file, treat same as if from memory, but need to handle case // where s->img_buffer isn't pointing to safe memory, e.g. 0-byte file s->read_from_callbacks = 0; s->img_buffer = s->buffer_start; s->img_buffer_end = s->buffer_start+1; *s->img_buffer = 0; } else { s->img_buffer = s->buffer_start; s->img_buffer_end = s->buffer_start + n; } } stbi_inline static int get8(stbi *s) { if (s->img_buffer < s->img_buffer_end) return *s->img_buffer++; if (s->read_from_callbacks) { refill_buffer(s); return *s->img_buffer++; } return 0; } stbi_inline static int at_eof(stbi *s) { if (s->io.read) { if (!(s->io.eof)(s->io_user_data)) return 0; // if feof() is true, check if buffer = end // special case: we've only got the special 0 character at the end if (s->read_from_callbacks == 0) return 1; } return s->img_buffer >= s->img_buffer_end; } stbi_inline static stbi__uint8 get8u(stbi *s) { return (stbi__uint8) get8(s); } static void skip(stbi *s, int n) { if (s->io.read) { int blen = (int) (s->img_buffer_end - s->img_buffer); if (blen < n) { s->img_buffer = s->img_buffer_end; (s->io.skip)(s->io_user_data, n - blen); return; } } s->img_buffer += n; } static int getn(stbi *s, stbi_uc *buffer, int n) { if (s->io.read) { int blen = (int) (s->img_buffer_end - s->img_buffer); if (blen < n) { int res, count; memcpy(buffer, s->img_buffer, blen); count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen); res = (count == (n-blen)); s->img_buffer = s->img_buffer_end; return res; } } if (s->img_buffer+n <= s->img_buffer_end) { memcpy(buffer, s->img_buffer, n); s->img_buffer += n; return 1; } else return 0; } static int get16(stbi *s) { int z = get8(s); return (z << 8) + get8(s); } static stbi__uint32 get32(stbi *s) { stbi__uint32 z = get16(s); return (z << 16) + get16(s); } static int get16le(stbi *s) { int z = get8(s); return z + (get8(s) << 8); } static stbi__uint32 get32le(stbi *s) { stbi__uint32 z = get16le(s); return z + (get16le(s) << 16); } ////////////////////////////////////////////////////////////////////////////// // // generic converter from built-in img_n to req_comp // individual types do this automatically as much as possible (e.g. jpeg // does all cases internally since it needs to colorspace convert anyway, // and it never has alpha, so very few cases ). png can automatically // interleave an alpha=255 channel, but falls back to this for other cases // // assume data buffer is malloced, so malloc a new one and free that one // only failure mode is malloc failing static stbi__uint8 compute_y(int r, int g, int b) { return (stbi__uint8) (((r*77) + (g*150) + (29*b)) >> 8); } static unsigned char *convert_format(unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y) { int i,j; unsigned char *good; if (req_comp == img_n) return data; assert(req_comp >= 1 && req_comp <= 4); good = (unsigned char *) malloc(req_comp * x * y); if (good == NULL) { free(data); return epuc("outofmem", "Out of memory"); } for (j=0; j < (int) y; ++j) { unsigned char *src = data + j * x * img_n ; unsigned char *dest = good + j * x * req_comp; #define COMBO(a,b) ((a)*8+(b)) #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) // convert source image with img_n components to one with req_comp components; // avoid switch per pixel, so use switch per scanline and massive macros switch (COMBO(img_n, req_comp)) { CASE(1,2) dest[0]=src[0], dest[1]=255; break; CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; CASE(2,1) dest[0]=src[0]; break; CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; CASE(3,1) dest[0]=compute_y(src[0],src[1],src[2]); break; CASE(3,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = 255; break; CASE(4,1) dest[0]=compute_y(src[0],src[1],src[2]); break; CASE(4,2) dest[0]=compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; default: assert(0); } #undef CASE } free(data); return good; } #ifndef STBI_NO_HDR static float *ldr_to_hdr(stbi_uc *data, int x, int y, int comp) { int i,k,n; float *output = (float *) malloc(x * y * comp * sizeof(float)); if (output == NULL) { free(data); return epf("outofmem", "Out of memory"); } // compute number of non-alpha components if (comp & 1) n = comp; else n = comp-1; for (i=0; i < x*y; ++i) { for (k=0; k < n; ++k) { output[i*comp + k] = (float) pow(data[i*comp+k]/255.0f, l2h_gamma) * l2h_scale; } if (k < comp) output[i*comp + k] = data[i*comp+k]/255.0f; } free(data); return output; } #define float2int(x) ((int) (x)) static stbi_uc *hdr_to_ldr(float *data, int x, int y, int comp) { int i,k,n; stbi_uc *output = (stbi_uc *) malloc(x * y * comp); if (output == NULL) { free(data); return epuc("outofmem", "Out of memory"); } // compute number of non-alpha components if (comp & 1) n = comp; else n = comp-1; for (i=0; i < x*y; ++i) { for (k=0; k < n; ++k) { float z = (float) pow(data[i*comp+k]*h2l_scale_i, h2l_gamma_i) * 255 + 0.5f; if (z < 0) z = 0; if (z > 255) z = 255; output[i*comp + k] = (stbi__uint8) float2int(z); } if (k < comp) { float z = data[i*comp+k] * 255 + 0.5f; if (z < 0) z = 0; if (z > 255) z = 255; output[i*comp + k] = (stbi__uint8) float2int(z); } } free(data); return output; } #endif ////////////////////////////////////////////////////////////////////////////// // // "baseline" JPEG/JFIF decoder (not actually fully baseline implementation) // // simple implementation // - channel subsampling of at most 2 in each dimension // - doesn't support delayed output of y-dimension // - simple interface (only one output format: 8-bit interleaved RGB) // - doesn't try to recover corrupt jpegs // - doesn't allow partial loading, loading multiple at once // - still fast on x86 (copying globals into locals doesn't help x86) // - allocates lots of intermediate memory (full size of all components) // - non-interleaved case requires this anyway // - allows good upsampling (see next) // high-quality // - upsampled channels are bilinearly interpolated, even across blocks // - quality integer IDCT derived from IJG's 'slow' // performance // - fast huffman; reasonable integer IDCT // - uses a lot of intermediate memory, could cache poorly // - load http://nothings.org/remote/anemones.jpg 3 times on 2.8Ghz P4 // stb_jpeg: 1.34 seconds (MSVC6, default release build) // stb_jpeg: 1.06 seconds (MSVC6, processor = Pentium Pro) // IJL11.dll: 1.08 seconds (compiled by intel) // IJG 1998: 0.98 seconds (MSVC6, makefile provided by IJG) // IJG 1998: 0.95 seconds (MSVC6, makefile + proc=PPro) // huffman decoding acceleration #define FAST_BITS 9 // larger handles more cases; smaller stomps less cache typedef struct { stbi__uint8 fast[1 << FAST_BITS]; // weirdly, repacking this into AoS is a 10% speed loss, instead of a win stbi__uint16 code[256]; stbi__uint8 values[256]; stbi__uint8 size[257]; unsigned int maxcode[18]; int delta[17]; // old 'firstsymbol' - old 'firstcode' } huffman; typedef struct { #ifdef STBI_SIMD unsigned short dequant2[4][64]; #endif stbi *s; huffman huff_dc[4]; huffman huff_ac[4]; stbi__uint8 dequant[4][64]; // sizes for components, interleaved MCUs int img_h_max, img_v_max; int img_mcu_x, img_mcu_y; int img_mcu_w, img_mcu_h; // definition of jpeg image component struct { int id; int h,v; int tq; int hd,ha; int dc_pred; int x,y,w2,h2; stbi__uint8 *data; void *raw_data; stbi__uint8 *linebuf; } img_comp[4]; stbi__uint32 code_buffer; // jpeg entropy-coded buffer int code_bits; // number of valid bits unsigned char marker; // marker seen while filling entropy buffer int nomore; // flag if we saw a marker so must stop int scan_n, order[4]; int restart_interval, todo; } jpeg; static int build_huffman(huffman *h, int *count) { int i,j,k=0,code; // build size list for each symbol (from JPEG spec) for (i=0; i < 16; ++i) for (j=0; j < count[i]; ++j) h->size[k++] = (stbi__uint8) (i+1); h->size[k] = 0; // compute actual symbols (from jpeg spec) code = 0; k = 0; for(j=1; j <= 16; ++j) { // compute delta to add to code to compute symbol id h->delta[j] = k - code; if (h->size[k] == j) { while (h->size[k] == j) h->code[k++] = (stbi__uint16) (code++); if (code-1 >= (1 << j)) return e("bad code lengths","Corrupt JPEG"); } // compute largest code + 1 for this size, preshifted as needed later h->maxcode[j] = code << (16-j); code <<= 1; } h->maxcode[j] = 0xffffffff; // build non-spec acceleration table; 255 is flag for not-accelerated memset(h->fast, 255, 1 << FAST_BITS); for (i=0; i < k; ++i) { int s = h->size[i]; if (s <= FAST_BITS) { int c = h->code[i] << (FAST_BITS-s); int m = 1 << (FAST_BITS-s); for (j=0; j < m; ++j) { h->fast[c+j] = (stbi__uint8) i; } } } return 1; } static void grow_buffer_unsafe(jpeg *j) { do { int b = j->nomore ? 0 : get8(j->s); if (b == 0xff) { int c = get8(j->s); if (c != 0) { j->marker = (unsigned char) c; j->nomore = 1; return; } } j->code_buffer |= b << (24 - j->code_bits); j->code_bits += 8; } while (j->code_bits <= 24); } // (1 << n) - 1 static stbi__uint32 bmask[17]={0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535}; // decode a jpeg huffman value from the bitstream stbi_inline static int decode(jpeg *j, huffman *h) { unsigned int temp; int c,k; if (j->code_bits < 16) grow_buffer_unsafe(j); // look at the top FAST_BITS and determine what symbol ID it is, // if the code is <= FAST_BITS c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1); k = h->fast[c]; if (k < 255) { int s = h->size[k]; if (s > j->code_bits) return -1; j->code_buffer <<= s; j->code_bits -= s; return h->values[k]; } // naive test is to shift the code_buffer down so k bits are // valid, then test against maxcode. To speed this up, we've // preshifted maxcode left so that it has (16-k) 0s at the // end; in other words, regardless of the number of bits, it // wants to be compared against something shifted to have 16; // that way we don't need to shift inside the loop. temp = j->code_buffer >> 16; for (k=FAST_BITS+1 ; ; ++k) if (temp < h->maxcode[k]) break; if (k == 17) { // error! code not found j->code_bits -= 16; return -1; } if (k > j->code_bits) return -1; // convert the huffman code to the symbol id c = ((j->code_buffer >> (32 - k)) & bmask[k]) + h->delta[k]; assert((((j->code_buffer) >> (32 - h->size[c])) & bmask[h->size[c]]) == h->code[c]); // convert the id to a symbol j->code_bits -= k; j->code_buffer <<= k; return h->values[c]; } // combined JPEG 'receive' and JPEG 'extend', since baseline // always extends everything it receives. stbi_inline static int extend_receive(jpeg *j, int n) { unsigned int m = 1 << (n-1); unsigned int k; if (j->code_bits < n) grow_buffer_unsafe(j); #if 1 k = stbi_lrot(j->code_buffer, n); j->code_buffer = k & ~bmask[n]; k &= bmask[n]; j->code_bits -= n; #else k = (j->code_buffer >> (32 - n)) & bmask[n]; j->code_bits -= n; j->code_buffer <<= n; #endif // the following test is probably a random branch that won't // predict well. I tried to table accelerate it but failed. // maybe it's compiling as a conditional move? if (k < m) return (-1 << n) + k + 1; else return k; } // given a value that's at position X in the zigzag stream, // where does it appear in the 8x8 matrix coded as row-major? static stbi__uint8 dezigzag[64+15] = { 0, 1, 8, 16, 9, 2, 3, 10, 17, 24, 32, 25, 18, 11, 4, 5, 12, 19, 26, 33, 40, 48, 41, 34, 27, 20, 13, 6, 7, 14, 21, 28, 35, 42, 49, 56, 57, 50, 43, 36, 29, 22, 15, 23, 30, 37, 44, 51, 58, 59, 52, 45, 38, 31, 39, 46, 53, 60, 61, 54, 47, 55, 62, 63, // let corrupt input sample past end 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63 }; // decode one 64-entry block-- static int decode_block(jpeg *j, short data[64], huffman *hdc, huffman *hac, int b) { int diff,dc,k; int t = decode(j, hdc); if (t < 0) return e("bad huffman code","Corrupt JPEG"); // 0 all the ac values now so we can do it 32-bits at a time memset(data,0,64*sizeof(data[0])); diff = t ? extend_receive(j, t) : 0; dc = j->img_comp[b].dc_pred + diff; j->img_comp[b].dc_pred = dc; data[0] = (short) dc; // decode AC components, see JPEG spec k = 1; do { int r,s; int rs = decode(j, hac); if (rs < 0) return e("bad huffman code","Corrupt JPEG"); s = rs & 15; r = rs >> 4; if (s == 0) { if (rs != 0xf0) break; // end block k += 16; } else { k += r; // decode into unzigzag'd location data[dezigzag[k++]] = (short) extend_receive(j,s); } } while (k < 64); return 1; } // take a -128..127 value and clamp it and convert to 0..255 stbi_inline static stbi__uint8 clamp(int x) { // trick to use a single test to catch both cases if ((unsigned int) x > 255) { if (x < 0) return 0; if (x > 255) return 255; } return (stbi__uint8) x; } #define f2f(x) (int) (((x) * 4096 + 0.5)) #define fsh(x) ((x) << 12) // derived from jidctint -- DCT_ISLOW #define IDCT_1D(s0,s1,s2,s3,s4,s5,s6,s7) \ int t0,t1,t2,t3,p1,p2,p3,p4,p5,x0,x1,x2,x3; \ p2 = s2; \ p3 = s6; \ p1 = (p2+p3) * f2f(0.5411961f); \ t2 = p1 + p3*f2f(-1.847759065f); \ t3 = p1 + p2*f2f( 0.765366865f); \ p2 = s0; \ p3 = s4; \ t0 = fsh(p2+p3); \ t1 = fsh(p2-p3); \ x0 = t0+t3; \ x3 = t0-t3; \ x1 = t1+t2; \ x2 = t1-t2; \ t0 = s7; \ t1 = s5; \ t2 = s3; \ t3 = s1; \ p3 = t0+t2; \ p4 = t1+t3; \ p1 = t0+t3; \ p2 = t1+t2; \ p5 = (p3+p4)*f2f( 1.175875602f); \ t0 = t0*f2f( 0.298631336f); \ t1 = t1*f2f( 2.053119869f); \ t2 = t2*f2f( 3.072711026f); \ t3 = t3*f2f( 1.501321110f); \ p1 = p5 + p1*f2f(-0.899976223f); \ p2 = p5 + p2*f2f(-2.562915447f); \ p3 = p3*f2f(-1.961570560f); \ p4 = p4*f2f(-0.390180644f); \ t3 += p1+p4; \ t2 += p2+p3; \ t1 += p2+p4; \ t0 += p1+p3; #ifdef STBI_SIMD typedef unsigned short stbi_dequantize_t; #else typedef stbi__uint8 stbi_dequantize_t; #endif // .344 seconds on 3*anemones.jpg static void idct_block(stbi__uint8 *out, int out_stride, short data[64], stbi_dequantize_t *dequantize) { int i,val[64],*v=val; stbi_dequantize_t *dq = dequantize; stbi__uint8 *o; short *d = data; // columns for (i=0; i < 8; ++i,++d,++dq, ++v) { // if all zeroes, shortcut -- this avoids dequantizing 0s and IDCTing if (d[ 8]==0 && d[16]==0 && d[24]==0 && d[32]==0 && d[40]==0 && d[48]==0 && d[56]==0) { // no shortcut 0 seconds // (1|2|3|4|5|6|7)==0 0 seconds // all separate -0.047 seconds // 1 && 2|3 && 4|5 && 6|7: -0.047 seconds int dcterm = d[0] * dq[0] << 2; v[0] = v[8] = v[16] = v[24] = v[32] = v[40] = v[48] = v[56] = dcterm; } else { IDCT_1D(d[ 0]*dq[ 0],d[ 8]*dq[ 8],d[16]*dq[16],d[24]*dq[24], d[32]*dq[32],d[40]*dq[40],d[48]*dq[48],d[56]*dq[56]) // constants scaled things up by 1<<12; let's bring them back // down, but keep 2 extra bits of precision x0 += 512; x1 += 512; x2 += 512; x3 += 512; v[ 0] = (x0+t3) >> 10; v[56] = (x0-t3) >> 10; v[ 8] = (x1+t2) >> 10; v[48] = (x1-t2) >> 10; v[16] = (x2+t1) >> 10; v[40] = (x2-t1) >> 10; v[24] = (x3+t0) >> 10; v[32] = (x3-t0) >> 10; } } for (i=0, v=val, o=out; i < 8; ++i,v+=8,o+=out_stride) { // no fast case since the first 1D IDCT spread components out IDCT_1D(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7]) // constants scaled things up by 1<<12, plus we had 1<<2 from first // loop, plus horizontal and vertical each scale by sqrt(8) so together // we've got an extra 1<<3, so 1<<17 total we need to remove. // so we want to round that, which means adding 0.5 * 1<<17, // aka 65536. Also, we'll end up with -128 to 127 that we want // to encode as 0..255 by adding 128, so we'll add that before the shift x0 += 65536 + (128<<17); x1 += 65536 + (128<<17); x2 += 65536 + (128<<17); x3 += 65536 + (128<<17); // tried computing the shifts into temps, or'ing the temps to see // if any were out of range, but that was slower o[0] = clamp((x0+t3) >> 17); o[7] = clamp((x0-t3) >> 17); o[1] = clamp((x1+t2) >> 17); o[6] = clamp((x1-t2) >> 17); o[2] = clamp((x2+t1) >> 17); o[5] = clamp((x2-t1) >> 17); o[3] = clamp((x3+t0) >> 17); o[4] = clamp((x3-t0) >> 17); } } #ifdef STBI_SIMD static stbi_idct_8x8 stbi_idct_installed = idct_block; void stbi_install_idct(stbi_idct_8x8 func) { stbi_idct_installed = func; } #endif #define MARKER_none 0xff // if there's a pending marker from the entropy stream, return that // otherwise, fetch from the stream and get a marker. if there's no // marker, return 0xff, which is never a valid marker value static stbi__uint8 get_marker(jpeg *j) { stbi__uint8 x; if (j->marker != MARKER_none) { x = j->marker; j->marker = MARKER_none; return x; } x = get8u(j->s); if (x != 0xff) return MARKER_none; while (x == 0xff) x = get8u(j->s); return x; } // in each scan, we'll have scan_n components, and the order // of the components is specified by order[] #define RESTART(x) ((x) >= 0xd0 && (x) <= 0xd7) // after a restart interval, reset the entropy decoder and // the dc prediction static void reset(jpeg *j) { j->code_bits = 0; j->code_buffer = 0; j->nomore = 0; j->img_comp[0].dc_pred = j->img_comp[1].dc_pred = j->img_comp[2].dc_pred = 0; j->marker = MARKER_none; j->todo = j->restart_interval ? j->restart_interval : 0x7fffffff; // no more than 1<<31 MCUs if no restart_interal? that's plenty safe, // since we don't even allow 1<<30 pixels } static int parse_entropy_coded_data(jpeg *z) { reset(z); if (z->scan_n == 1) { int i,j; #ifdef STBI_SIMD __declspec(align(16)) #endif short data[64]; int n = z->order[0]; // non-interleaved data, we just need to process one block at a time, // in trivial scanline order // number of blocks to do just depends on how many actual "pixels" this // component has, independent of interleaved MCU blocking and such int w = (z->img_comp[n].x+7) >> 3; int h = (z->img_comp[n].y+7) >> 3; for (j=0; j < h; ++j) { for (i=0; i < w; ++i) { if (!decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+z->img_comp[n].ha, n)) return 0; #ifdef STBI_SIMD stbi_idct_installed(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data, z->dequant2[z->img_comp[n].tq]); #else idct_block(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data, z->dequant[z->img_comp[n].tq]); #endif // every data block is an MCU, so countdown the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) grow_buffer_unsafe(z); // if it's NOT a restart, then just bail, so we get corrupt data // rather than no data if (!RESTART(z->marker)) return 1; reset(z); } } } } else { // interleaved! int i,j,k,x,y; short data[64]; for (j=0; j < z->img_mcu_y; ++j) { for (i=0; i < z->img_mcu_x; ++i) { // scan an interleaved mcu... process scan_n components in order for (k=0; k < z->scan_n; ++k) { int n = z->order[k]; // scan out an mcu's worth of this component; that's just determined // by the basic H and V specified for the component for (y=0; y < z->img_comp[n].v; ++y) { for (x=0; x < z->img_comp[n].h; ++x) { int x2 = (i*z->img_comp[n].h + x)*8; int y2 = (j*z->img_comp[n].v + y)*8; if (!decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+z->img_comp[n].ha, n)) return 0; #ifdef STBI_SIMD stbi_idct_installed(z->img_comp[n].data+z->img_comp[n].w2*y2+x2, z->img_comp[n].w2, data, z->dequant2[z->img_comp[n].tq]); #else idct_block(z->img_comp[n].data+z->img_comp[n].w2*y2+x2, z->img_comp[n].w2, data, z->dequant[z->img_comp[n].tq]); #endif } } } // after all interleaved components, that's an interleaved MCU, // so now count down the restart interval if (--z->todo <= 0) { if (z->code_bits < 24) grow_buffer_unsafe(z); // if it's NOT a restart, then just bail, so we get corrupt data // rather than no data if (!RESTART(z->marker)) return 1; reset(z); } } } } return 1; } static int process_marker(jpeg *z, int m) { int L; switch (m) { case MARKER_none: // no marker found return e("expected marker","Corrupt JPEG"); case 0xC2: // SOF - progressive return e("progressive jpeg","JPEG format not supported (progressive)"); case 0xDD: // DRI - specify restart interval if (get16(z->s) != 4) return e("bad DRI len","Corrupt JPEG"); z->restart_interval = get16(z->s); return 1; case 0xDB: // DQT - define quantization table L = get16(z->s)-2; while (L > 0) { int q = get8(z->s); int p = q >> 4; int t = q & 15,i; if (p != 0) return e("bad DQT type","Corrupt JPEG"); if (t > 3) return e("bad DQT table","Corrupt JPEG"); for (i=0; i < 64; ++i) z->dequant[t][dezigzag[i]] = get8u(z->s); #ifdef STBI_SIMD for (i=0; i < 64; ++i) z->dequant2[t][i] = z->dequant[t][i]; #endif L -= 65; } return L==0; case 0xC4: // DHT - define huffman table L = get16(z->s)-2; while (L > 0) { stbi__uint8 *v; int sizes[16],i,n=0; int q = get8(z->s); int tc = q >> 4; int th = q & 15; if (tc > 1 || th > 3) return e("bad DHT header","Corrupt JPEG"); for (i=0; i < 16; ++i) { sizes[i] = get8(z->s); n += sizes[i]; } L -= 17; if (tc == 0) { if (!build_huffman(z->huff_dc+th, sizes)) return 0; v = z->huff_dc[th].values; } else { if (!build_huffman(z->huff_ac+th, sizes)) return 0; v = z->huff_ac[th].values; } for (i=0; i < n; ++i) v[i] = get8u(z->s); L -= n; } return L==0; } // check for comment block or APP blocks if ((m >= 0xE0 && m <= 0xEF) || m == 0xFE) { skip(z->s, get16(z->s)-2); return 1; } return 0; } // after we see SOS static int process_scan_header(jpeg *z) { int i; int Ls = get16(z->s); z->scan_n = get8(z->s); if (z->scan_n < 1 || z->scan_n > 4 || z->scan_n > (int) z->s->img_n) return e("bad SOS component count","Corrupt JPEG"); if (Ls != 6+2*z->scan_n) return e("bad SOS len","Corrupt JPEG"); for (i=0; i < z->scan_n; ++i) { int id = get8(z->s), which; int q = get8(z->s); for (which = 0; which < z->s->img_n; ++which) if (z->img_comp[which].id == id) break; if (which == z->s->img_n) return 0; z->img_comp[which].hd = q >> 4; if (z->img_comp[which].hd > 3) return e("bad DC huff","Corrupt JPEG"); z->img_comp[which].ha = q & 15; if (z->img_comp[which].ha > 3) return e("bad AC huff","Corrupt JPEG"); z->order[i] = which; } if (get8(z->s) != 0) return e("bad SOS","Corrupt JPEG"); get8(z->s); // should be 63, but might be 0 if (get8(z->s) != 0) return e("bad SOS","Corrupt JPEG"); return 1; } static int process_frame_header(jpeg *z, int scan) { stbi *s = z->s; int Lf,p,i,q, h_max=1,v_max=1,c; Lf = get16(s); if (Lf < 11) return e("bad SOF len","Corrupt JPEG"); // JPEG p = get8(s); if (p != 8) return e("only 8-bit","JPEG format not supported: 8-bit only"); // JPEG baseline s->img_y = get16(s); if (s->img_y == 0) return e("no header height", "JPEG format not supported: delayed height"); // Legal, but we don't handle it--but neither does IJG s->img_x = get16(s); if (s->img_x == 0) return e("0 width","Corrupt JPEG"); // JPEG requires c = get8(s); if (c != 3 && c != 1) return e("bad component count","Corrupt JPEG"); // JFIF requires s->img_n = c; for (i=0; i < c; ++i) { z->img_comp[i].data = NULL; z->img_comp[i].linebuf = NULL; } if (Lf != 8+3*s->img_n) return e("bad SOF len","Corrupt JPEG"); for (i=0; i < s->img_n; ++i) { z->img_comp[i].id = get8(s); if (z->img_comp[i].id != i+1) // JFIF requires if (z->img_comp[i].id != i) // some version of jpegtran outputs non-JFIF-compliant files! return e("bad component ID","Corrupt JPEG"); q = get8(s); z->img_comp[i].h = (q >> 4); if (!z->img_comp[i].h || z->img_comp[i].h > 4) return e("bad H","Corrupt JPEG"); z->img_comp[i].v = q & 15; if (!z->img_comp[i].v || z->img_comp[i].v > 4) return e("bad V","Corrupt JPEG"); z->img_comp[i].tq = get8(s); if (z->img_comp[i].tq > 3) return e("bad TQ","Corrupt JPEG"); } if (scan != SCAN_load) return 1; if ((1 << 30) / s->img_x / s->img_n < s->img_y) return e("too large", "Image too large to decode"); for (i=0; i < s->img_n; ++i) { if (z->img_comp[i].h > h_max) h_max = z->img_comp[i].h; if (z->img_comp[i].v > v_max) v_max = z->img_comp[i].v; } // compute interleaved mcu info z->img_h_max = h_max; z->img_v_max = v_max; z->img_mcu_w = h_max * 8; z->img_mcu_h = v_max * 8; z->img_mcu_x = (s->img_x + z->img_mcu_w-1) / z->img_mcu_w; z->img_mcu_y = (s->img_y + z->img_mcu_h-1) / z->img_mcu_h; for (i=0; i < s->img_n; ++i) { // number of effective pixels (e.g. for non-interleaved MCU) z->img_comp[i].x = (s->img_x * z->img_comp[i].h + h_max-1) / h_max; z->img_comp[i].y = (s->img_y * z->img_comp[i].v + v_max-1) / v_max; // to simplify generation, we'll allocate enough memory to decode // the bogus oversized data from using interleaved MCUs and their // big blocks (e.g. a 16x16 iMCU on an image of width 33); we won't // discard the extra data until colorspace conversion z->img_comp[i].w2 = z->img_mcu_x * z->img_comp[i].h * 8; z->img_comp[i].h2 = z->img_mcu_y * z->img_comp[i].v * 8; z->img_comp[i].raw_data = malloc(z->img_comp[i].w2 * z->img_comp[i].h2+15); if (z->img_comp[i].raw_data == NULL) { for(--i; i >= 0; --i) { free(z->img_comp[i].raw_data); z->img_comp[i].data = NULL; } return e("outofmem", "Out of memory"); } // align blocks for installable-idct using mmx/sse z->img_comp[i].data = (stbi__uint8*) (((size_t) z->img_comp[i].raw_data + 15) & ~15); z->img_comp[i].linebuf = NULL; } return 1; } // use comparisons since in some cases we handle more than one case (e.g. SOF) #define DNL(x) ((x) == 0xdc) #define SOI(x) ((x) == 0xd8) #define EOI(x) ((x) == 0xd9) #define SOF(x) ((x) == 0xc0 || (x) == 0xc1) #define SOS(x) ((x) == 0xda) static int decode_jpeg_header(jpeg *z, int scan) { int m; z->marker = MARKER_none; // initialize cached marker to empty m = get_marker(z); if (!SOI(m)) return e("no SOI","Corrupt JPEG"); if (scan == SCAN_type) return 1; m = get_marker(z); while (!SOF(m)) { if (!process_marker(z,m)) return 0; m = get_marker(z); while (m == MARKER_none) { // some files have extra padding after their blocks, so ok, we'll scan if (at_eof(z->s)) return e("no SOF", "Corrupt JPEG"); m = get_marker(z); } } if (!process_frame_header(z, scan)) return 0; return 1; } static int decode_jpeg_image(jpeg *j) { int m; j->restart_interval = 0; if (!decode_jpeg_header(j, SCAN_load)) return 0; m = get_marker(j); while (!EOI(m)) { if (SOS(m)) { if (!process_scan_header(j)) return 0; if (!parse_entropy_coded_data(j)) return 0; if (j->marker == MARKER_none ) { // handle 0s at the end of image data from IP Kamera 9060 while (!at_eof(j->s)) { int x = get8(j->s); if (x == 255) { j->marker = get8u(j->s); break; } else if (x != 0) { return 0; } } // if we reach eof without hitting a marker, get_marker() below will fail and we'll eventually return 0 } } else { if (!process_marker(j, m)) return 0; } m = get_marker(j); } return 1; } // static jfif-centered resampling (across block boundaries) typedef stbi__uint8 *(*resample_row_func)(stbi__uint8 *out, stbi__uint8 *in0, stbi__uint8 *in1, int w, int hs); #define div4(x) ((stbi__uint8) ((x) >> 2)) static stbi__uint8 *resample_row_1(stbi__uint8 *out, stbi__uint8 *in_near, stbi__uint8 *in_far, int w, int hs) { STBI_NOTUSED(out); STBI_NOTUSED(in_far); STBI_NOTUSED(w); STBI_NOTUSED(hs); return in_near; } static stbi__uint8* resample_row_v_2(stbi__uint8 *out, stbi__uint8 *in_near, stbi__uint8 *in_far, int w, int hs) { // need to generate two samples vertically for every one in input int i; STBI_NOTUSED(hs); for (i=0; i < w; ++i) out[i] = div4(3*in_near[i] + in_far[i] + 2); return out; } static stbi__uint8* resample_row_h_2(stbi__uint8 *out, stbi__uint8 *in_near, stbi__uint8 *in_far, int w, int hs) { // need to generate two samples horizontally for every one in input int i; stbi__uint8 *input = in_near; if (w == 1) { // if only one sample, can't do any interpolation out[0] = out[1] = input[0]; return out; } out[0] = input[0]; out[1] = div4(input[0]*3 + input[1] + 2); for (i=1; i < w-1; ++i) { int n = 3*input[i]+2; out[i*2+0] = div4(n+input[i-1]); out[i*2+1] = div4(n+input[i+1]); } out[i*2+0] = div4(input[w-2]*3 + input[w-1] + 2); out[i*2+1] = input[w-1]; STBI_NOTUSED(in_far); STBI_NOTUSED(hs); return out; } #define div16(x) ((stbi__uint8) ((x) >> 4)) static stbi__uint8 *resample_row_hv_2(stbi__uint8 *out, stbi__uint8 *in_near, stbi__uint8 *in_far, int w, int hs) { // need to generate 2x2 samples for every one in input int i,t0,t1; if (w == 1) { out[0] = out[1] = div4(3*in_near[0] + in_far[0] + 2); return out; } t1 = 3*in_near[0] + in_far[0]; out[0] = div4(t1+2); for (i=1; i < w; ++i) { t0 = t1; t1 = 3*in_near[i]+in_far[i]; out[i*2-1] = div16(3*t0 + t1 + 8); out[i*2 ] = div16(3*t1 + t0 + 8); } out[w*2-1] = div4(t1+2); STBI_NOTUSED(hs); return out; } static stbi__uint8 *resample_row_generic(stbi__uint8 *out, stbi__uint8 *in_near, stbi__uint8 *in_far, int w, int hs) { // resample with nearest-neighbor int i,j; STBI_NOTUSED(in_far); for (i=0; i < w; ++i) for (j=0; j < hs; ++j) out[i*hs+j] = in_near[i]; return out; } #define float2fixed(x) ((int) ((x) * 65536 + 0.5)) // 0.38 seconds on 3*anemones.jpg (0.25 with processor = Pro) // VC6 without processor=Pro is generating multiple LEAs per multiply! static void YCbCr_to_RGB_row(stbi__uint8 *out, const stbi__uint8 *y, const stbi__uint8 *pcb, const stbi__uint8 *pcr, int count, int step) { int i; for (i=0; i < count; ++i) { int y_fixed = (y[i] << 16) + 32768; // rounding int r,g,b; int cr = pcr[i] - 128; int cb = pcb[i] - 128; r = y_fixed + cr*float2fixed(1.40200f); g = y_fixed - cr*float2fixed(0.71414f) - cb*float2fixed(0.34414f); b = y_fixed + cb*float2fixed(1.77200f); r >>= 16; g >>= 16; b >>= 16; if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; } if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; } if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; } out[0] = (stbi__uint8)r; out[1] = (stbi__uint8)g; out[2] = (stbi__uint8)b; out[3] = 255; out += step; } } #ifdef STBI_SIMD static stbi_YCbCr_to_RGB_run stbi_YCbCr_installed = YCbCr_to_RGB_row; void stbi_install_YCbCr_to_RGB(stbi_YCbCr_to_RGB_run func) { stbi_YCbCr_installed = func; } #endif // clean up the temporary component buffers static void cleanup_jpeg(jpeg *j) { int i; for (i=0; i < j->s->img_n; ++i) { if (j->img_comp[i].data) { free(j->img_comp[i].raw_data); j->img_comp[i].data = NULL; } if (j->img_comp[i].linebuf) { free(j->img_comp[i].linebuf); j->img_comp[i].linebuf = NULL; } } } typedef struct { resample_row_func resample; stbi__uint8 *line0,*line1; int hs,vs; // expansion factor in each axis int w_lores; // horizontal pixels pre-expansion int ystep; // how far through vertical expansion we are int ypos; // which pre-expansion row we're on } stbi_resample; static stbi__uint8 *load_jpeg_image(jpeg *z, int *out_x, int *out_y, int *comp, int req_comp) { int n, decode_n; // validate req_comp if (req_comp < 0 || req_comp > 4) return epuc("bad req_comp", "Internal error"); z->s->img_n = 0; // load a jpeg image from whichever source if (!decode_jpeg_image(z)) { cleanup_jpeg(z); return NULL; } // determine actual number of components to generate n = req_comp ? req_comp : z->s->img_n; if (z->s->img_n == 3 && n < 3) decode_n = 1; else decode_n = z->s->img_n; // resample and color-convert { int k; unsigned int i,j; stbi__uint8 *output; stbi__uint8 *coutput[4]; stbi_resample res_comp[4]; for (k=0; k < decode_n; ++k) { stbi_resample *r = &res_comp[k]; // allocate line buffer big enough for upsampling off the edges // with upsample factor of 4 z->img_comp[k].linebuf = (stbi__uint8 *) malloc(z->s->img_x + 3); if (!z->img_comp[k].linebuf) { cleanup_jpeg(z); return epuc("outofmem", "Out of memory"); } r->hs = z->img_h_max / z->img_comp[k].h; r->vs = z->img_v_max / z->img_comp[k].v; r->ystep = r->vs >> 1; r->w_lores = (z->s->img_x + r->hs-1) / r->hs; r->ypos = 0; r->line0 = r->line1 = z->img_comp[k].data; if (r->hs == 1 && r->vs == 1) r->resample = resample_row_1; else if (r->hs == 1 && r->vs == 2) r->resample = resample_row_v_2; else if (r->hs == 2 && r->vs == 1) r->resample = resample_row_h_2; else if (r->hs == 2 && r->vs == 2) r->resample = resample_row_hv_2; else r->resample = resample_row_generic; } // can't error after this so, this is safe output = (stbi__uint8 *) malloc(n * z->s->img_x * z->s->img_y + 1); if (!output) { cleanup_jpeg(z); return epuc("outofmem", "Out of memory"); } // now go ahead and resample for (j=0; j < z->s->img_y; ++j) { stbi__uint8 *out = output + n * z->s->img_x * j; for (k=0; k < decode_n; ++k) { stbi_resample *r = &res_comp[k]; int y_bot = r->ystep >= (r->vs >> 1); coutput[k] = r->resample(z->img_comp[k].linebuf, y_bot ? r->line1 : r->line0, y_bot ? r->line0 : r->line1, r->w_lores, r->hs); if (++r->ystep >= r->vs) { r->ystep = 0; r->line0 = r->line1; if (++r->ypos < z->img_comp[k].y) r->line1 += z->img_comp[k].w2; } } if (n >= 3) { stbi__uint8 *y = coutput[0]; if (z->s->img_n == 3) { #ifdef STBI_SIMD stbi_YCbCr_installed(out, y, coutput[1], coutput[2], z->s->img_x, n); #else YCbCr_to_RGB_row(out, y, coutput[1], coutput[2], z->s->img_x, n); #endif } else for (i=0; i < z->s->img_x; ++i) { out[0] = out[1] = out[2] = y[i]; out[3] = 255; // not used if n==3 out += n; } } else { stbi__uint8 *y = coutput[0]; if (n == 1) for (i=0; i < z->s->img_x; ++i) out[i] = y[i]; else for (i=0; i < z->s->img_x; ++i) *out++ = y[i], *out++ = 255; } } cleanup_jpeg(z); *out_x = z->s->img_x; *out_y = z->s->img_y; if (comp) *comp = z->s->img_n; // report original components, not output return output; } } static unsigned char *stbi_jpeg_load(stbi *s, int *x, int *y, int *comp, int req_comp) { jpeg j; j.s = s; return load_jpeg_image(&j, x,y,comp,req_comp); } static int stbi_jpeg_test(stbi *s) { int r; jpeg j; j.s = s; r = decode_jpeg_header(&j, SCAN_type); stbi_rewind(s); return r; } static int stbi_jpeg_info_raw(jpeg *j, int *x, int *y, int *comp) { if (!decode_jpeg_header(j, SCAN_header)) { stbi_rewind( j->s ); return 0; } if (x) *x = j->s->img_x; if (y) *y = j->s->img_y; if (comp) *comp = j->s->img_n; return 1; } static int stbi_jpeg_info(stbi *s, int *x, int *y, int *comp) { jpeg j; j.s = s; return stbi_jpeg_info_raw(&j, x, y, comp); } // public domain zlib decode v0.2 Sean Barrett 2006-11-18 // simple implementation // - all input must be provided in an upfront buffer // - all output is written to a single output buffer (can malloc/realloc) // performance // - fast huffman // fast-way is faster to check than jpeg huffman, but slow way is slower #define ZFAST_BITS 9 // accelerate all cases in default tables #define ZFAST_MASK ((1 << ZFAST_BITS) - 1) // zlib-style huffman encoding // (jpegs packs from left, zlib from right, so can't share code) typedef struct { stbi__uint16 fast[1 << ZFAST_BITS]; stbi__uint16 firstcode[16]; int maxcode[17]; stbi__uint16 firstsymbol[16]; stbi__uint8 size[288]; stbi__uint16 value[288]; } zhuffman; stbi_inline static int bitreverse16(int n) { n = ((n & 0xAAAA) >> 1) | ((n & 0x5555) << 1); n = ((n & 0xCCCC) >> 2) | ((n & 0x3333) << 2); n = ((n & 0xF0F0) >> 4) | ((n & 0x0F0F) << 4); n = ((n & 0xFF00) >> 8) | ((n & 0x00FF) << 8); return n; } stbi_inline static int bit_reverse(int v, int bits) { assert(bits <= 16); // to bit reverse n bits, reverse 16 and shift // e.g. 11 bits, bit reverse and shift away 5 return bitreverse16(v) >> (16-bits); } static int zbuild_huffman(zhuffman *z, stbi__uint8 *sizelist, int num) { int i,k=0; int code, next_code[16], sizes[17]; // DEFLATE spec for generating codes memset(sizes, 0, sizeof(sizes)); memset(z->fast, 255, sizeof(z->fast)); for (i=0; i < num; ++i) ++sizes[sizelist[i]]; sizes[0] = 0; for (i=1; i < 16; ++i) assert(sizes[i] <= (1 << i)); code = 0; for (i=1; i < 16; ++i) { next_code[i] = code; z->firstcode[i] = (stbi__uint16) code; z->firstsymbol[i] = (stbi__uint16) k; code = (code + sizes[i]); if (sizes[i]) if (code-1 >= (1 << i)) return e("bad codelengths","Corrupt JPEG"); z->maxcode[i] = code << (16-i); // preshift for inner loop code <<= 1; k += sizes[i]; } z->maxcode[16] = 0x10000; // sentinel for (i=0; i < num; ++i) { int s = sizelist[i]; if (s) { int c = next_code[s] - z->firstcode[s] + z->firstsymbol[s]; z->size[c] = (stbi__uint8)s; z->value[c] = (stbi__uint16)i; if (s <= ZFAST_BITS) { int k = bit_reverse(next_code[s],s); while (k < (1 << ZFAST_BITS)) { z->fast[k] = (stbi__uint16) c; k += (1 << s); } } ++next_code[s]; } } return 1; } // zlib-from-memory implementation for PNG reading // because PNG allows splitting the zlib stream arbitrarily, // and it's annoying structurally to have PNG call ZLIB call PNG, // we require PNG read all the IDATs and combine them into a single // memory buffer typedef struct { stbi__uint8 *zbuffer, *zbuffer_end; int num_bits; stbi__uint32 code_buffer; char *zout; char *zout_start; char *zout_end; int z_expandable; zhuffman z_length, z_distance; } zbuf; stbi_inline static int zget8(zbuf *z) { if (z->zbuffer >= z->zbuffer_end) return 0; return *z->zbuffer++; } static void fill_bits(zbuf *z) { do { assert(z->code_buffer < (1U << z->num_bits)); z->code_buffer |= zget8(z) << z->num_bits; z->num_bits += 8; } while (z->num_bits <= 24); } stbi_inline static unsigned int zreceive(zbuf *z, int n) { unsigned int k; if (z->num_bits < n) fill_bits(z); k = z->code_buffer & ((1 << n) - 1); z->code_buffer >>= n; z->num_bits -= n; return k; } stbi_inline static int zhuffman_decode(zbuf *a, zhuffman *z) { int b,s,k; if (a->num_bits < 16) fill_bits(a); b = z->fast[a->code_buffer & ZFAST_MASK]; if (b < 0xffff) { s = z->size[b]; a->code_buffer >>= s; a->num_bits -= s; return z->value[b]; } // not resolved by fast table, so compute it the slow way // use jpeg approach, which requires MSbits at top k = bit_reverse(a->code_buffer, 16); for (s=ZFAST_BITS+1; ; ++s) if (k < z->maxcode[s]) break; if (s == 16) return -1; // invalid code! // code size is s, so: b = (k >> (16-s)) - z->firstcode[s] + z->firstsymbol[s]; assert(z->size[b] == s); a->code_buffer >>= s; a->num_bits -= s; return z->value[b]; } static int expand(zbuf *z, int n) // need to make room for n bytes { char *q; int cur, limit; if (!z->z_expandable) return e("output buffer limit","Corrupt PNG"); cur = (int) (z->zout - z->zout_start); limit = (int) (z->zout_end - z->zout_start); while (cur + n > limit) limit *= 2; q = (char *) realloc(z->zout_start, limit); if (q == NULL) return e("outofmem", "Out of memory"); z->zout_start = q; z->zout = q + cur; z->zout_end = q + limit; return 1; } static int length_base[31] = { 3,4,5,6,7,8,9,10,11,13, 15,17,19,23,27,31,35,43,51,59, 67,83,99,115,131,163,195,227,258,0,0 }; static int length_extra[31]= { 0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0 }; static int dist_base[32] = { 1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193, 257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0}; static int dist_extra[32] = { 0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13}; static int parse_huffman_block(zbuf *a) { for(;;) { int z = zhuffman_decode(a, &a->z_length); if (z < 256) { if (z < 0) return e("bad huffman code","Corrupt PNG"); // error in huffman codes if (a->zout >= a->zout_end) if (!expand(a, 1)) return 0; *a->zout++ = (char) z; } else { stbi__uint8 *p; int len,dist; if (z == 256) return 1; z -= 257; len = length_base[z]; if (length_extra[z]) len += zreceive(a, length_extra[z]); z = zhuffman_decode(a, &a->z_distance); if (z < 0) return e("bad huffman code","Corrupt PNG"); dist = dist_base[z]; if (dist_extra[z]) dist += zreceive(a, dist_extra[z]); if (a->zout - a->zout_start < dist) return e("bad dist","Corrupt PNG"); if (a->zout + len > a->zout_end) if (!expand(a, len)) return 0; p = (stbi__uint8 *) (a->zout - dist); while (len--) *a->zout++ = *p++; } } } static int compute_huffman_codes(zbuf *a) { static stbi__uint8 length_dezigzag[19] = { 16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15 }; zhuffman z_codelength; stbi__uint8 lencodes[286+32+137];//padding for maximum single op stbi__uint8 codelength_sizes[19]; int i,n; int hlit = zreceive(a,5) + 257; int hdist = zreceive(a,5) + 1; int hclen = zreceive(a,4) + 4; memset(codelength_sizes, 0, sizeof(codelength_sizes)); for (i=0; i < hclen; ++i) { int s = zreceive(a,3); codelength_sizes[length_dezigzag[i]] = (stbi__uint8) s; } if (!zbuild_huffman(&z_codelength, codelength_sizes, 19)) return 0; n = 0; while (n < hlit + hdist) { int c = zhuffman_decode(a, &z_codelength); assert(c >= 0 && c < 19); if (c < 16) lencodes[n++] = (stbi__uint8) c; else if (c == 16) { c = zreceive(a,2)+3; memset(lencodes+n, lencodes[n-1], c); n += c; } else if (c == 17) { c = zreceive(a,3)+3; memset(lencodes+n, 0, c); n += c; } else { assert(c == 18); c = zreceive(a,7)+11; memset(lencodes+n, 0, c); n += c; } } if (n != hlit+hdist) return e("bad codelengths","Corrupt PNG"); if (!zbuild_huffman(&a->z_length, lencodes, hlit)) return 0; if (!zbuild_huffman(&a->z_distance, lencodes+hlit, hdist)) return 0; return 1; } static int parse_uncompressed_block(zbuf *a) { stbi__uint8 header[4]; int len,nlen,k; if (a->num_bits & 7) zreceive(a, a->num_bits & 7); // discard // drain the bit-packed data into header k = 0; while (a->num_bits > 0) { header[k++] = (stbi__uint8) (a->code_buffer & 255); // wtf this warns? a->code_buffer >>= 8; a->num_bits -= 8; } assert(a->num_bits == 0); // now fill header the normal way while (k < 4) header[k++] = (stbi__uint8) zget8(a); len = header[1] * 256 + header[0]; nlen = header[3] * 256 + header[2]; if (nlen != (len ^ 0xffff)) return e("zlib corrupt","Corrupt PNG"); if (a->zbuffer + len > a->zbuffer_end) return e("read past buffer","Corrupt PNG"); if (a->zout + len > a->zout_end) if (!expand(a, len)) return 0; memcpy(a->zout, a->zbuffer, len); a->zbuffer += len; a->zout += len; return 1; } static int parse_zlib_header(zbuf *a) { int cmf = zget8(a); int cm = cmf & 15; /* int cinfo = cmf >> 4; */ int flg = zget8(a); if ((cmf*256+flg) % 31 != 0) return e("bad zlib header","Corrupt PNG"); // zlib spec if (flg & 32) return e("no preset dict","Corrupt PNG"); // preset dictionary not allowed in png if (cm != 8) return e("bad compression","Corrupt PNG"); // DEFLATE required for png // window = 1 << (8 + cinfo)... but who cares, we fully buffer output return 1; } // @TODO: should statically initialize these for optimal thread safety static stbi__uint8 default_length[288], default_distance[32]; static void init_defaults(void) { int i; // use <= to match clearly with spec for (i=0; i <= 143; ++i) default_length[i] = 8; for ( ; i <= 255; ++i) default_length[i] = 9; for ( ; i <= 279; ++i) default_length[i] = 7; for ( ; i <= 287; ++i) default_length[i] = 8; for (i=0; i <= 31; ++i) default_distance[i] = 5; } int stbi_png_partial; // a quick hack to only allow decoding some of a PNG... I should implement real streaming support instead static int parse_zlib(zbuf *a, int parse_header) { int final, type; if (parse_header) if (!parse_zlib_header(a)) return 0; a->num_bits = 0; a->code_buffer = 0; do { final = zreceive(a,1); type = zreceive(a,2); if (type == 0) { if (!parse_uncompressed_block(a)) return 0; } else if (type == 3) { return 0; } else { if (type == 1) { // use fixed code lengths if (!default_distance[31]) init_defaults(); if (!zbuild_huffman(&a->z_length , default_length , 288)) return 0; if (!zbuild_huffman(&a->z_distance, default_distance, 32)) return 0; } else { if (!compute_huffman_codes(a)) return 0; } if (!parse_huffman_block(a)) return 0; } if (stbi_png_partial && a->zout - a->zout_start > 65536) break; } while (!final); return 1; } static int do_zlib(zbuf *a, char *obuf, int olen, int exp, int parse_header) { a->zout_start = obuf; a->zout = obuf; a->zout_end = obuf + olen; a->z_expandable = exp; return parse_zlib(a, parse_header); } char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen) { zbuf a; char *p = (char *) malloc(initial_size); if (p == NULL) return NULL; a.zbuffer = (stbi__uint8 *) buffer; a.zbuffer_end = (stbi__uint8 *) buffer + len; if (do_zlib(&a, p, initial_size, 1, 1)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { free(a.zout_start); return NULL; } } char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) { return stbi_zlib_decode_malloc_guesssize(buffer, len, 16384, outlen); } char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header) { zbuf a; char *p = (char *) malloc(initial_size); if (p == NULL) return NULL; a.zbuffer = (stbi__uint8 *) buffer; a.zbuffer_end = (stbi__uint8 *) buffer + len; if (do_zlib(&a, p, initial_size, 1, parse_header)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { free(a.zout_start); return NULL; } } int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) { zbuf a; a.zbuffer = (stbi__uint8 *) ibuffer; a.zbuffer_end = (stbi__uint8 *) ibuffer + ilen; if (do_zlib(&a, obuffer, olen, 0, 1)) return (int) (a.zout - a.zout_start); else return -1; } char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) { zbuf a; char *p = (char *) malloc(16384); if (p == NULL) return NULL; a.zbuffer = (stbi__uint8 *) buffer; a.zbuffer_end = (stbi__uint8 *) buffer+len; if (do_zlib(&a, p, 16384, 1, 0)) { if (outlen) *outlen = (int) (a.zout - a.zout_start); return a.zout_start; } else { free(a.zout_start); return NULL; } } int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) { zbuf a; a.zbuffer = (stbi__uint8 *) ibuffer; a.zbuffer_end = (stbi__uint8 *) ibuffer + ilen; if (do_zlib(&a, obuffer, olen, 0, 0)) return (int) (a.zout - a.zout_start); else return -1; } // public domain "baseline" PNG decoder v0.10 Sean Barrett 2006-11-18 // simple implementation // - only 8-bit samples // - no CRC checking // - allocates lots of intermediate memory // - avoids problem of streaming data between subsystems // - avoids explicit window management // performance // - uses stb_zlib, a PD zlib implementation with fast huffman decoding typedef struct { stbi__uint32 length; stbi__uint32 type; } chunk; #define PNG_TYPE(a,b,c,d) (((a) << 24) + ((b) << 16) + ((c) << 8) + (d)) static chunk get_chunk_header(stbi *s) { chunk c; c.length = get32(s); c.type = get32(s); return c; } static int check_png_header(stbi *s) { static stbi__uint8 png_sig[8] = { 137,80,78,71,13,10,26,10 }; int i; for (i=0; i < 8; ++i) if (get8u(s) != png_sig[i]) return e("bad png sig","Not a PNG"); return 1; } typedef struct { stbi *s; stbi__uint8 *idata, *expanded, *out; } png; enum { F_none=0, F_sub=1, F_up=2, F_avg=3, F_paeth=4, F_avg_first, F_paeth_first }; static stbi__uint8 first_row_filter[5] = { F_none, F_sub, F_none, F_avg_first, F_paeth_first }; static int paeth(int a, int b, int c) { int p = a + b - c; int pa = abs(p-a); int pb = abs(p-b); int pc = abs(p-c); if (pa <= pb && pa <= pc) return a; if (pb <= pc) return b; return c; } // create the png data from post-deflated data static int create_png_image_raw(png *a, stbi__uint8 *raw, stbi__uint32 raw_len, int out_n, stbi__uint32 x, stbi__uint32 y) { stbi *s = a->s; stbi__uint32 i,j,stride = x*out_n; int k; int img_n = s->img_n; // copy it into a local for later assert(out_n == s->img_n || out_n == s->img_n+1); if (stbi_png_partial) y = 1; a->out = (stbi__uint8 *) malloc(x * y * out_n); if (!a->out) return e("outofmem", "Out of memory"); if (!stbi_png_partial) { if (s->img_x == x && s->img_y == y) { if (raw_len != (img_n * x + 1) * y) return e("not enough pixels","Corrupt PNG"); } else { // interlaced: if (raw_len < (img_n * x + 1) * y) return e("not enough pixels","Corrupt PNG"); } } for (j=0; j < y; ++j) { stbi__uint8 *cur = a->out + stride*j; stbi__uint8 *prior = cur - stride; int filter = *raw++; if (filter > 4) return e("invalid filter","Corrupt PNG"); // if first row, use special filter that doesn't sample previous row if (j == 0) filter = first_row_filter[filter]; // handle first pixel explicitly for (k=0; k < img_n; ++k) { switch (filter) { case F_none : cur[k] = raw[k]; break; case F_sub : cur[k] = raw[k]; break; case F_up : cur[k] = raw[k] + prior[k]; break; case F_avg : cur[k] = raw[k] + (prior[k]>>1); break; case F_paeth : cur[k] = (stbi__uint8) (raw[k] + paeth(0,prior[k],0)); break; case F_avg_first : cur[k] = raw[k]; break; case F_paeth_first: cur[k] = raw[k]; break; } } if (img_n != out_n) cur[img_n] = 255; raw += img_n; cur += out_n; prior += out_n; // this is a little gross, so that we don't switch per-pixel or per-component if (img_n == out_n) { #define CASE(f) \ case f: \ for (i=x-1; i >= 1; --i, raw+=img_n,cur+=img_n,prior+=img_n) \ for (k=0; k < img_n; ++k) switch (filter) { CASE(F_none) cur[k] = raw[k]; break; CASE(F_sub) cur[k] = raw[k] + cur[k-img_n]; break; CASE(F_up) cur[k] = raw[k] + prior[k]; break; CASE(F_avg) cur[k] = raw[k] + ((prior[k] + cur[k-img_n])>>1); break; CASE(F_paeth) cur[k] = (stbi__uint8) (raw[k] + paeth(cur[k-img_n],prior[k],prior[k-img_n])); break; CASE(F_avg_first) cur[k] = raw[k] + (cur[k-img_n] >> 1); break; CASE(F_paeth_first) cur[k] = (stbi__uint8) (raw[k] + paeth(cur[k-img_n],0,0)); break; } #undef CASE } else { assert(img_n+1 == out_n); #define CASE(f) \ case f: \ for (i=x-1; i >= 1; --i, cur[img_n]=255,raw+=img_n,cur+=out_n,prior+=out_n) \ for (k=0; k < img_n; ++k) switch (filter) { CASE(F_none) cur[k] = raw[k]; break; CASE(F_sub) cur[k] = raw[k] + cur[k-out_n]; break; CASE(F_up) cur[k] = raw[k] + prior[k]; break; CASE(F_avg) cur[k] = raw[k] + ((prior[k] + cur[k-out_n])>>1); break; CASE(F_paeth) cur[k] = (stbi__uint8) (raw[k] + paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; CASE(F_avg_first) cur[k] = raw[k] + (cur[k-out_n] >> 1); break; CASE(F_paeth_first) cur[k] = (stbi__uint8) (raw[k] + paeth(cur[k-out_n],0,0)); break; } #undef CASE } } return 1; } static int create_png_image(png *a, stbi__uint8 *raw, stbi__uint32 raw_len, int out_n, int interlaced) { stbi__uint8 *final; int p; int save; if (!interlaced) return create_png_image_raw(a, raw, raw_len, out_n, a->s->img_x, a->s->img_y); save = stbi_png_partial; stbi_png_partial = 0; // de-interlacing final = (stbi__uint8 *) malloc(a->s->img_x * a->s->img_y * out_n); for (p=0; p < 7; ++p) { int xorig[] = { 0,4,0,2,0,1,0 }; int yorig[] = { 0,0,4,0,2,0,1 }; int xspc[] = { 8,8,4,4,2,2,1 }; int yspc[] = { 8,8,8,4,4,2,2 }; int i,j,x,y; // pass1_x[4] = 0, pass1_x[5] = 1, pass1_x[12] = 1 x = (a->s->img_x - xorig[p] + xspc[p]-1) / xspc[p]; y = (a->s->img_y - yorig[p] + yspc[p]-1) / yspc[p]; if (x && y) { if (!create_png_image_raw(a, raw, raw_len, out_n, x, y)) { free(final); return 0; } for (j=0; j < y; ++j) for (i=0; i < x; ++i) memcpy(final + (j*yspc[p]+yorig[p])*a->s->img_x*out_n + (i*xspc[p]+xorig[p])*out_n, a->out + (j*x+i)*out_n, out_n); free(a->out); raw += (x*out_n+1)*y; raw_len -= (x*out_n+1)*y; } } a->out = final; stbi_png_partial = save; return 1; } static int compute_transparency(png *z, stbi__uint8 tc[3], int out_n) { stbi *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi__uint8 *p = z->out; // compute color-based transparency, assuming we've // already got 255 as the alpha value in the output assert(out_n == 2 || out_n == 4); if (out_n == 2) { for (i=0; i < pixel_count; ++i) { p[1] = (p[0] == tc[0] ? 0 : 255); p += 2; } } else { for (i=0; i < pixel_count; ++i) { if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2]) p[3] = 0; p += 4; } } return 1; } static int expand_palette(png *a, stbi__uint8 *palette, int len, int pal_img_n) { stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y; stbi__uint8 *p, *temp_out, *orig = a->out; p = (stbi__uint8 *) malloc(pixel_count * pal_img_n); if (p == NULL) return e("outofmem", "Out of memory"); // between here and free(out) below, exitting would leak temp_out = p; if (pal_img_n == 3) { for (i=0; i < pixel_count; ++i) { int n = orig[i]*4; p[0] = palette[n ]; p[1] = palette[n+1]; p[2] = palette[n+2]; p += 3; } } else { for (i=0; i < pixel_count; ++i) { int n = orig[i]*4; p[0] = palette[n ]; p[1] = palette[n+1]; p[2] = palette[n+2]; p[3] = palette[n+3]; p += 4; } } free(a->out); a->out = temp_out; STBI_NOTUSED(len); return 1; } static int stbi_unpremultiply_on_load = 0; static int stbi_de_iphone_flag = 0; void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) { stbi_unpremultiply_on_load = flag_true_if_should_unpremultiply; } void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) { stbi_de_iphone_flag = flag_true_if_should_convert; } static void stbi_de_iphone(png *z) { stbi *s = z->s; stbi__uint32 i, pixel_count = s->img_x * s->img_y; stbi__uint8 *p = z->out; if (s->img_out_n == 3) { // convert bgr to rgb for (i=0; i < pixel_count; ++i) { stbi__uint8 t = p[0]; p[0] = p[2]; p[2] = t; p += 3; } } else { assert(s->img_out_n == 4); if (stbi_unpremultiply_on_load) { // convert bgr to rgb and unpremultiply for (i=0; i < pixel_count; ++i) { stbi__uint8 a = p[3]; stbi__uint8 t = p[0]; if (a) { p[0] = p[2] * 255 / a; p[1] = p[1] * 255 / a; p[2] = t * 255 / a; } else { p[0] = p[2]; p[2] = t; } p += 4; } } else { // convert bgr to rgb for (i=0; i < pixel_count; ++i) { stbi__uint8 t = p[0]; p[0] = p[2]; p[2] = t; p += 4; } } } } static int parse_png_file(png *z, int scan, int req_comp) { stbi__uint8 palette[1024], pal_img_n=0; stbi__uint8 has_trans=0, tc[3]; stbi__uint32 ioff=0, idata_limit=0, i, pal_len=0; int first=1,k,interlace=0, iphone=0; stbi *s = z->s; z->expanded = NULL; z->idata = NULL; z->out = NULL; if (!check_png_header(s)) return 0; if (scan == SCAN_type) return 1; for (;;) { chunk c = get_chunk_header(s); switch (c.type) { case PNG_TYPE('C','g','B','I'): iphone = stbi_de_iphone_flag; skip(s, c.length); break; case PNG_TYPE('I','H','D','R'): { int depth,color,comp,filter; if (!first) return e("multiple IHDR","Corrupt PNG"); first = 0; if (c.length != 13) return e("bad IHDR len","Corrupt PNG"); s->img_x = get32(s); if (s->img_x > (1 << 24)) return e("too large","Very large image (corrupt?)"); s->img_y = get32(s); if (s->img_y > (1 << 24)) return e("too large","Very large image (corrupt?)"); depth = get8(s); if (depth != 8) return e("8bit only","PNG not supported: 8-bit only"); color = get8(s); if (color > 6) return e("bad ctype","Corrupt PNG"); if (color == 3) pal_img_n = 3; else if (color & 1) return e("bad ctype","Corrupt PNG"); comp = get8(s); if (comp) return e("bad comp method","Corrupt PNG"); filter= get8(s); if (filter) return e("bad filter method","Corrupt PNG"); interlace = get8(s); if (interlace>1) return e("bad interlace method","Corrupt PNG"); if (!s->img_x || !s->img_y) return e("0-pixel image","Corrupt PNG"); if (!pal_img_n) { s->img_n = (color & 2 ? 3 : 1) + (color & 4 ? 1 : 0); if ((1 << 30) / s->img_x / s->img_n < s->img_y) return e("too large", "Image too large to decode"); if (scan == SCAN_header) return 1; } else { // if paletted, then pal_n is our final components, and // img_n is # components to decompress/filter. s->img_n = 1; if ((1 << 30) / s->img_x / 4 < s->img_y) return e("too large","Corrupt PNG"); // if SCAN_header, have to scan to see if we have a tRNS } break; } case PNG_TYPE('P','L','T','E'): { if (first) return e("first not IHDR", "Corrupt PNG"); if (c.length > 256*3) return e("invalid PLTE","Corrupt PNG"); pal_len = c.length / 3; if (pal_len * 3 != c.length) return e("invalid PLTE","Corrupt PNG"); for (i=0; i < pal_len; ++i) { palette[i*4+0] = get8u(s); palette[i*4+1] = get8u(s); palette[i*4+2] = get8u(s); palette[i*4+3] = 255; } break; } case PNG_TYPE('t','R','N','S'): { if (first) return e("first not IHDR", "Corrupt PNG"); if (z->idata) return e("tRNS after IDAT","Corrupt PNG"); if (pal_img_n) { if (scan == SCAN_header) { s->img_n = 4; return 1; } if (pal_len == 0) return e("tRNS before PLTE","Corrupt PNG"); if (c.length > pal_len) return e("bad tRNS len","Corrupt PNG"); pal_img_n = 4; for (i=0; i < c.length; ++i) palette[i*4+3] = get8u(s); } else { if (!(s->img_n & 1)) return e("tRNS with alpha","Corrupt PNG"); if (c.length != (stbi__uint32) s->img_n*2) return e("bad tRNS len","Corrupt PNG"); has_trans = 1; for (k=0; k < s->img_n; ++k) tc[k] = (stbi__uint8) get16(s); // non 8-bit images will be larger } break; } case PNG_TYPE('I','D','A','T'): { if (first) return e("first not IHDR", "Corrupt PNG"); if (pal_img_n && !pal_len) return e("no PLTE","Corrupt PNG"); if (scan == SCAN_header) { s->img_n = pal_img_n; return 1; } if (ioff + c.length > idata_limit) { stbi__uint8 *p; if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096; while (ioff + c.length > idata_limit) idata_limit *= 2; p = (stbi__uint8 *) realloc(z->idata, idata_limit); if (p == NULL) return e("outofmem", "Out of memory"); z->idata = p; } if (!getn(s, z->idata+ioff,c.length)) return e("outofdata","Corrupt PNG"); ioff += c.length; break; } case PNG_TYPE('I','E','N','D'): { stbi__uint32 raw_len; if (first) return e("first not IHDR", "Corrupt PNG"); if (scan != SCAN_load) return 1; if (z->idata == NULL) return e("no IDAT","Corrupt PNG"); z->expanded = (stbi__uint8 *) stbi_zlib_decode_malloc_guesssize_headerflag((char *) z->idata, ioff, 16384, (int *) &raw_len, !iphone); if (z->expanded == NULL) return 0; // zlib should set error free(z->idata); z->idata = NULL; if ((req_comp == s->img_n+1 && req_comp != 3 && !pal_img_n) || has_trans) s->img_out_n = s->img_n+1; else s->img_out_n = s->img_n; if (!create_png_image(z, z->expanded, raw_len, s->img_out_n, interlace)) return 0; if (has_trans) if (!compute_transparency(z, tc, s->img_out_n)) return 0; if (iphone && s->img_out_n > 2) stbi_de_iphone(z); if (pal_img_n) { // pal_img_n == 3 or 4 s->img_n = pal_img_n; // record the actual colors we had s->img_out_n = pal_img_n; if (req_comp >= 3) s->img_out_n = req_comp; if (!expand_palette(z, palette, pal_len, s->img_out_n)) return 0; } free(z->expanded); z->expanded = NULL; return 1; } default: // if critical, fail if (first) return e("first not IHDR", "Corrupt PNG"); if ((c.type & (1 << 29)) == 0) { #ifndef STBI_NO_FAILURE_STRINGS // not threadsafe static char invalid_chunk[] = "XXXX chunk not known"; invalid_chunk[0] = (stbi__uint8) (c.type >> 24); invalid_chunk[1] = (stbi__uint8) (c.type >> 16); invalid_chunk[2] = (stbi__uint8) (c.type >> 8); invalid_chunk[3] = (stbi__uint8) (c.type >> 0); #endif return e(invalid_chunk, "PNG not supported: unknown chunk type"); } skip(s, c.length); break; } // end of chunk, read and skip CRC get32(s); } } static unsigned char *do_png(png *p, int *x, int *y, int *n, int req_comp) { unsigned char *result=NULL; if (req_comp < 0 || req_comp > 4) return epuc("bad req_comp", "Internal error"); if (parse_png_file(p, SCAN_load, req_comp)) { result = p->out; p->out = NULL; if (req_comp && req_comp != p->s->img_out_n) { result = convert_format(result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y); p->s->img_out_n = req_comp; if (result == NULL) return result; } *x = p->s->img_x; *y = p->s->img_y; if (n) *n = p->s->img_n; } free(p->out); p->out = NULL; free(p->expanded); p->expanded = NULL; free(p->idata); p->idata = NULL; return result; } static unsigned char *stbi_png_load(stbi *s, int *x, int *y, int *comp, int req_comp) { png p; p.s = s; return do_png(&p, x,y,comp,req_comp); } static int stbi_png_test(stbi *s) { int r; r = check_png_header(s); stbi_rewind(s); return r; } static int stbi_png_info_raw(png *p, int *x, int *y, int *comp) { if (!parse_png_file(p, SCAN_header, 0)) { stbi_rewind( p->s ); return 0; } if (x) *x = p->s->img_x; if (y) *y = p->s->img_y; if (comp) *comp = p->s->img_n; return 1; } static int stbi_png_info(stbi *s, int *x, int *y, int *comp) { png p; p.s = s; return stbi_png_info_raw(&p, x, y, comp); } // Microsoft/Windows BMP image static int bmp_test(stbi *s) { int sz; if (get8(s) != 'B') return 0; if (get8(s) != 'M') return 0; get32le(s); // discard filesize get16le(s); // discard reserved get16le(s); // discard reserved get32le(s); // discard data offset sz = get32le(s); if (sz == 12 || sz == 40 || sz == 56 || sz == 108) return 1; return 0; } static int stbi_bmp_test(stbi *s) { int r = bmp_test(s); stbi_rewind(s); return r; } // returns 0..31 for the highest set bit static int high_bit(unsigned int z) { int n=0; if (z == 0) return -1; if (z >= 0x10000) n += 16, z >>= 16; if (z >= 0x00100) n += 8, z >>= 8; if (z >= 0x00010) n += 4, z >>= 4; if (z >= 0x00004) n += 2, z >>= 2; if (z >= 0x00002) n += 1, z >>= 1; return n; } static int bitcount(unsigned int a) { a = (a & 0x55555555) + ((a >> 1) & 0x55555555); // max 2 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); // max 4 a = (a + (a >> 4)) & 0x0f0f0f0f; // max 8 per 4, now 8 bits a = (a + (a >> 8)); // max 16 per 8 bits a = (a + (a >> 16)); // max 32 per 8 bits return a & 0xff; } static int shiftsigned(int v, int shift, int bits) { int result; int z=0; if (shift < 0) v <<= -shift; else v >>= shift; result = v; z = bits; while (z < 8) { result += v >> z; z += bits; } return result; } static stbi_uc *bmp_load(stbi *s, int *x, int *y, int *comp, int req_comp) { stbi__uint8 *out; unsigned int mr=0,mg=0,mb=0,ma=0, fake_a=0; stbi_uc pal[256][4]; int psize=0,i,j,compress=0,width; int bpp, flip_vertically, pad, target, offset, hsz; if (get8(s) != 'B' || get8(s) != 'M') return epuc("not BMP", "Corrupt BMP"); get32le(s); // discard filesize get16le(s); // discard reserved get16le(s); // discard reserved offset = get32le(s); hsz = get32le(s); if (hsz != 12 && hsz != 40 && hsz != 56 && hsz != 108) return epuc("unknown BMP", "BMP type not supported: unknown"); if (hsz == 12) { s->img_x = get16le(s); s->img_y = get16le(s); } else { s->img_x = get32le(s); s->img_y = get32le(s); } if (get16le(s) != 1) return epuc("bad BMP", "bad BMP"); bpp = get16le(s); if (bpp == 1) return epuc("monochrome", "BMP type not supported: 1-bit"); flip_vertically = ((int) s->img_y) > 0; s->img_y = abs((int) s->img_y); if (hsz == 12) { if (bpp < 24) psize = (offset - 14 - 24) / 3; } else { compress = get32le(s); if (compress == 1 || compress == 2) return epuc("BMP RLE", "BMP type not supported: RLE"); get32le(s); // discard sizeof get32le(s); // discard hres get32le(s); // discard vres get32le(s); // discard colorsused get32le(s); // discard max important if (hsz == 40 || hsz == 56) { if (hsz == 56) { get32le(s); get32le(s); get32le(s); get32le(s); } if (bpp == 16 || bpp == 32) { mr = mg = mb = 0; if (compress == 0) { if (bpp == 32) { mr = 0xffu << 16; mg = 0xffu << 8; mb = 0xffu << 0; ma = 0xffu << 24; fake_a = 1; // @TODO: check for cases like alpha value is all 0 and switch it to 255 STBI_NOTUSED(fake_a); } else { mr = 31u << 10; mg = 31u << 5; mb = 31u << 0; } } else if (compress == 3) { mr = get32le(s); mg = get32le(s); mb = get32le(s); // not documented, but generated by photoshop and handled by mspaint if (mr == mg && mg == mb) { // ?!?!? return epuc("bad BMP", "bad BMP"); } } else return epuc("bad BMP", "bad BMP"); } } else { assert(hsz == 108); mr = get32le(s); mg = get32le(s); mb = get32le(s); ma = get32le(s); get32le(s); // discard color space for (i=0; i < 12; ++i) get32le(s); // discard color space parameters } if (bpp < 16) psize = (offset - 14 - hsz) >> 2; } s->img_n = ma ? 4 : 3; if (req_comp && req_comp >= 3) // we can directly decode 3 or 4 target = req_comp; else target = s->img_n; // if they want monochrome, we'll post-convert out = (stbi_uc *) malloc(target * s->img_x * s->img_y); if (!out) return epuc("outofmem", "Out of memory"); if (bpp < 16) { int z=0; if (psize == 0 || psize > 256) { free(out); return epuc("invalid", "Corrupt BMP"); } for (i=0; i < psize; ++i) { pal[i][2] = get8u(s); pal[i][1] = get8u(s); pal[i][0] = get8u(s); if (hsz != 12) get8(s); pal[i][3] = 255; } skip(s, offset - 14 - hsz - psize * (hsz == 12 ? 3 : 4)); if (bpp == 4) width = (s->img_x + 1) >> 1; else if (bpp == 8) width = s->img_x; else { free(out); return epuc("bad bpp", "Corrupt BMP"); } pad = (-width)&3; for (j=0; j < (int) s->img_y; ++j) { for (i=0; i < (int) s->img_x; i += 2) { int v=get8(s),v2=0; if (bpp == 4) { v2 = v & 15; v >>= 4; } out[z++] = pal[v][0]; out[z++] = pal[v][1]; out[z++] = pal[v][2]; if (target == 4) out[z++] = 255; if (i+1 == (int) s->img_x) break; v = (bpp == 8) ? get8(s) : v2; out[z++] = pal[v][0]; out[z++] = pal[v][1]; out[z++] = pal[v][2]; if (target == 4) out[z++] = 255; } skip(s, pad); } } else { int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; int z = 0; int easy=0; skip(s, offset - 14 - hsz); if (bpp == 24) width = 3 * s->img_x; else if (bpp == 16) width = 2*s->img_x; else /* bpp = 32 and pad = 0 */ width=0; pad = (-width) & 3; if (bpp == 24) { easy = 1; } else if (bpp == 32) { if (mb == 0xff && mg == 0xff00 && mr == 0x00ff0000 && ma == 0xff000000) easy = 2; } if (!easy) { if (!mr || !mg || !mb) { free(out); return epuc("bad masks", "Corrupt BMP"); } // right shift amt to put high bit in position #7 rshift = high_bit(mr)-7; rcount = bitcount(mr); gshift = high_bit(mg)-7; gcount = bitcount(mg); bshift = high_bit(mb)-7; bcount = bitcount(mb); ashift = high_bit(ma)-7; acount = bitcount(ma); } for (j=0; j < (int) s->img_y; ++j) { if (easy) { for (i=0; i < (int) s->img_x; ++i) { int a; out[z+2] = get8u(s); out[z+1] = get8u(s); out[z+0] = get8u(s); z += 3; a = (easy == 2 ? get8(s) : 255); if (target == 4) out[z++] = (stbi__uint8) a; } } else { for (i=0; i < (int) s->img_x; ++i) { stbi__uint32 v = (stbi__uint32) (bpp == 16 ? get16le(s) : get32le(s)); int a; out[z++] = (stbi__uint8) shiftsigned(v & mr, rshift, rcount); out[z++] = (stbi__uint8) shiftsigned(v & mg, gshift, gcount); out[z++] = (stbi__uint8) shiftsigned(v & mb, bshift, bcount); a = (ma ? shiftsigned(v & ma, ashift, acount) : 255); if (target == 4) out[z++] = (stbi__uint8) a; } } skip(s, pad); } } if (flip_vertically) { stbi_uc t; for (j=0; j < (int) s->img_y>>1; ++j) { stbi_uc *p1 = out + j *s->img_x*target; stbi_uc *p2 = out + (s->img_y-1-j)*s->img_x*target; for (i=0; i < (int) s->img_x*target; ++i) { t = p1[i], p1[i] = p2[i], p2[i] = t; } } } if (req_comp && req_comp != target) { out = convert_format(out, target, req_comp, s->img_x, s->img_y); if (out == NULL) return out; // convert_format frees input on failure } *x = s->img_x; *y = s->img_y; if (comp) *comp = s->img_n; return out; } static stbi_uc *stbi_bmp_load(stbi *s,int *x, int *y, int *comp, int req_comp) { return bmp_load(s, x,y,comp,req_comp); } // Targa Truevision - TGA // by Jonathan Dummer static int tga_info(stbi *s, int *x, int *y, int *comp) { int tga_w, tga_h, tga_comp; int sz; get8u(s); // discard Offset sz = get8u(s); // color type if( sz > 1 ) { stbi_rewind(s); return 0; // only RGB or indexed allowed } sz = get8u(s); // image type // only RGB or grey allowed, +/- RLE if ((sz != 1) && (sz != 2) && (sz != 3) && (sz != 9) && (sz != 10) && (sz != 11)) return 0; skip(s,9); tga_w = get16le(s); if( tga_w < 1 ) { stbi_rewind(s); return 0; // test width } tga_h = get16le(s); if( tga_h < 1 ) { stbi_rewind(s); return 0; // test height } sz = get8(s); // bits per pixel // only RGB or RGBA or grey allowed if ((sz != 8) && (sz != 16) && (sz != 24) && (sz != 32)) { stbi_rewind(s); return 0; } tga_comp = sz; if (x) *x = tga_w; if (y) *y = tga_h; if (comp) *comp = tga_comp / 8; return 1; // seems to have passed everything } int stbi_tga_info(stbi *s, int *x, int *y, int *comp) { return tga_info(s, x, y, comp); } static int tga_test(stbi *s) { int sz; get8u(s); // discard Offset sz = get8u(s); // color type if ( sz > 1 ) return 0; // only RGB or indexed allowed sz = get8u(s); // image type if ( (sz != 1) && (sz != 2) && (sz != 3) && (sz != 9) && (sz != 10) && (sz != 11) ) return 0; // only RGB or grey allowed, +/- RLE get16(s); // discard palette start get16(s); // discard palette length get8(s); // discard bits per palette color entry get16(s); // discard x origin get16(s); // discard y origin if ( get16(s) < 1 ) return 0; // test width if ( get16(s) < 1 ) return 0; // test height sz = get8(s); // bits per pixel if ( (sz != 8) && (sz != 16) && (sz != 24) && (sz != 32) ) return 0; // only RGB or RGBA or grey allowed return 1; // seems to have passed everything } static int stbi_tga_test(stbi *s) { int res = tga_test(s); stbi_rewind(s); return res; } static stbi_uc *tga_load(stbi *s, int *x, int *y, int *comp, int req_comp) { // read in the TGA header stuff int tga_offset = get8u(s); int tga_indexed = get8u(s); int tga_image_type = get8u(s); int tga_is_RLE = 0; int tga_palette_start = get16le(s); int tga_palette_len = get16le(s); int tga_palette_bits = get8u(s); int tga_x_origin = get16le(s); int tga_y_origin = get16le(s); int tga_width = get16le(s); int tga_height = get16le(s); int tga_bits_per_pixel = get8u(s); int tga_comp = tga_bits_per_pixel / 8; int tga_inverted = get8u(s); // image data unsigned char *tga_data; unsigned char *tga_palette = NULL; int i, j; unsigned char raw_data[4]; int RLE_count = 0; int RLE_repeating = 0; int read_next_pixel = 1; // do a tiny bit of precessing if ( tga_image_type >= 8 ) { tga_image_type -= 8; tga_is_RLE = 1; } /* int tga_alpha_bits = tga_inverted & 15; */ tga_inverted = 1 - ((tga_inverted >> 5) & 1); // error check if ( //(tga_indexed) || (tga_width < 1) || (tga_height < 1) || (tga_image_type < 1) || (tga_image_type > 3) || ((tga_bits_per_pixel != 8) && (tga_bits_per_pixel != 16) && (tga_bits_per_pixel != 24) && (tga_bits_per_pixel != 32)) ) { return NULL; // we don't report this as a bad TGA because we don't even know if it's TGA } // If I'm paletted, then I'll use the number of bits from the palette if ( tga_indexed ) { tga_comp = tga_palette_bits / 8; } // tga info *x = tga_width; *y = tga_height; if (comp) *comp = tga_comp; tga_data = (unsigned char*)malloc( tga_width * tga_height * req_comp ); if (!tga_data) return epuc("outofmem", "Out of memory"); // skip to the data's starting position (offset usually = 0) skip(s, tga_offset ); if ( !tga_indexed && !tga_is_RLE) { for (i=0; i < tga_height; ++i) { int y = tga_inverted ? tga_height -i - 1 : i; stbi__uint8 *tga_row = tga_data + y*tga_width*tga_comp; getn(s, tga_row, tga_width * tga_comp); } } else { // do I need to load a palette? if ( tga_indexed) { // any data to skip? (offset usually = 0) skip(s, tga_palette_start ); // load the palette tga_palette = (unsigned char*)malloc( tga_palette_len * tga_palette_bits / 8 ); if (!tga_palette) { free(tga_data); return epuc("outofmem", "Out of memory"); } if (!getn(s, tga_palette, tga_palette_len * tga_palette_bits / 8 )) { free(tga_data); free(tga_palette); return epuc("bad palette", "Corrupt TGA"); } } // load the data for (i=0; i < tga_width * tga_height; ++i) { // if I'm in RLE mode, do I need to get a RLE chunk? if ( tga_is_RLE ) { if ( RLE_count == 0 ) { // yep, get the next byte as a RLE command int RLE_cmd = get8u(s); RLE_count = 1 + (RLE_cmd & 127); RLE_repeating = RLE_cmd >> 7; read_next_pixel = 1; } else if ( !RLE_repeating ) { read_next_pixel = 1; } } else { read_next_pixel = 1; } // OK, if I need to read a pixel, do it now if ( read_next_pixel ) { // load however much data we did have if ( tga_indexed ) { // read in 1 byte, then perform the lookup int pal_idx = get8u(s); if ( pal_idx >= tga_palette_len ) { // invalid index pal_idx = 0; } pal_idx *= tga_bits_per_pixel / 8; for (j = 0; j*8 < tga_bits_per_pixel; ++j) { raw_data[j] = tga_palette[pal_idx+j]; } } else { // read in the data raw for (j = 0; j*8 < tga_bits_per_pixel; ++j) { raw_data[j] = get8u(s); } } // clear the reading flag for the next pixel read_next_pixel = 0; } // end of reading a pixel // copy data for (j = 0; j < tga_comp; ++j) tga_data[i*tga_comp+j] = raw_data[j]; // in case we're in RLE mode, keep counting down --RLE_count; } // do I need to invert the image? if ( tga_inverted ) { for (j = 0; j*2 < tga_height; ++j) { int index1 = j * tga_width * req_comp; int index2 = (tga_height - 1 - j) * tga_width * req_comp; for (i = tga_width * req_comp; i > 0; --i) { unsigned char temp = tga_data[index1]; tga_data[index1] = tga_data[index2]; tga_data[index2] = temp; ++index1; ++index2; } } } // clear my palette, if I had one if ( tga_palette != NULL ) { free( tga_palette ); } } // swap RGB if (tga_comp >= 3) { unsigned char* tga_pixel = tga_data; for (i=0; i < tga_width * tga_height; ++i) { unsigned char temp = tga_pixel[0]; tga_pixel[0] = tga_pixel[2]; tga_pixel[2] = temp; tga_pixel += tga_comp; } } // convert to target component count if (req_comp && req_comp != tga_comp) tga_data = convert_format(tga_data, tga_comp, req_comp, tga_width, tga_height); // the things I do to get rid of an error message, and yet keep // Microsoft's C compilers happy... [8^( tga_palette_start = tga_palette_len = tga_palette_bits = tga_x_origin = tga_y_origin = 0; // OK, done return tga_data; } static stbi_uc *stbi_tga_load(stbi *s, int *x, int *y, int *comp, int req_comp) { return tga_load(s,x,y,comp,req_comp); } // ************************************************************************************************* // Photoshop PSD loader -- PD by Thatcher Ulrich, integration by Nicolas Schulz, tweaked by STB static int psd_test(stbi *s) { if (get32(s) != 0x38425053) return 0; // "8BPS" else return 1; } static int stbi_psd_test(stbi *s) { int r = psd_test(s); stbi_rewind(s); return r; } static stbi_uc *psd_load(stbi *s, int *x, int *y, int *comp, int req_comp) { int pixelCount; int channelCount, compression; int channel, i, count, len; int w,h; stbi__uint8 *out; // Check identifier if (get32(s) != 0x38425053) // "8BPS" return epuc("not PSD", "Corrupt PSD image"); // Check file type version. if (get16(s) != 1) return epuc("wrong version", "Unsupported version of PSD image"); // Skip 6 reserved bytes. skip(s, 6 ); // Read the number of channels (R, G, B, A, etc). channelCount = get16(s); if (channelCount < 0 || channelCount > 16) return epuc("wrong channel count", "Unsupported number of channels in PSD image"); // Read the rows and columns of the image. h = get32(s); w = get32(s); // Make sure the depth is 8 bits. if (get16(s) != 8) return epuc("unsupported bit depth", "PSD bit depth is not 8 bit"); // Make sure the color mode is RGB. // Valid options are: // 0: Bitmap // 1: Grayscale // 2: Indexed color // 3: RGB color // 4: CMYK color // 7: Multichannel // 8: Duotone // 9: Lab color if (get16(s) != 3) return epuc("wrong color format", "PSD is not in RGB color format"); // Skip the Mode Data. (It's the palette for indexed color; other info for other modes.) skip(s,get32(s) ); // Skip the image resources. (resolution, pen tool paths, etc) skip(s, get32(s) ); // Skip the reserved data. skip(s, get32(s) ); // Find out if the data is compressed. // Known values: // 0: no compression // 1: RLE compressed compression = get16(s); if (compression > 1) return epuc("bad compression", "PSD has an unknown compression format"); // Create the destination image. out = (stbi_uc *) malloc(4 * w*h); if (!out) return epuc("outofmem", "Out of memory"); pixelCount = w*h; // Initialize the data to zero. //memset( out, 0, pixelCount * 4 ); // Finally, the image data. if (compression) { // RLE as used by .PSD and .TIFF // Loop until you get the number of unpacked bytes you are expecting: // Read the next source byte into n. // If n is between 0 and 127 inclusive, copy the next n+1 bytes literally. // Else if n is between -127 and -1 inclusive, copy the next byte -n+1 times. // Else if n is 128, noop. // Endloop // The RLE-compressed data is preceeded by a 2-byte data count for each row in the data, // which we're going to just skip. skip(s, h * channelCount * 2 ); // Read the RLE data by channel. for (channel = 0; channel < 4; channel++) { stbi__uint8 *p; p = out+channel; if (channel >= channelCount) { // Fill this channel with default data. for (i = 0; i < pixelCount; i++) *p = (channel == 3 ? 255 : 0), p += 4; } else { // Read the RLE data. count = 0; while (count < pixelCount) { len = get8(s); if (len == 128) { // No-op. } else if (len < 128) { // Copy next len+1 bytes literally. len++; count += len; while (len) { *p = get8u(s); p += 4; len--; } } else if (len > 128) { stbi__uint8 val; // Next -len+1 bytes in the dest are replicated from next source byte. // (Interpret len as a negative 8-bit int.) len ^= 0x0FF; len += 2; val = get8u(s); count += len; while (len) { *p = val; p += 4; len--; } } } } } } else { // We're at the raw image data. It's each channel in order (Red, Green, Blue, Alpha, ...) // where each channel consists of an 8-bit value for each pixel in the image. // Read the data by channel. for (channel = 0; channel < 4; channel++) { stbi__uint8 *p; p = out + channel; if (channel > channelCount) { // Fill this channel with default data. for (i = 0; i < pixelCount; i++) *p = channel == 3 ? 255 : 0, p += 4; } else { // Read the data. for (i = 0; i < pixelCount; i++) *p = get8u(s), p += 4; } } } if (req_comp && req_comp != 4) { out = convert_format(out, 4, req_comp, w, h); if (out == NULL) return out; // convert_format frees input on failure } if (comp) *comp = channelCount; *y = h; *x = w; return out; } static stbi_uc *stbi_psd_load(stbi *s, int *x, int *y, int *comp, int req_comp) { return psd_load(s,x,y,comp,req_comp); } // ************************************************************************************************* // Softimage PIC loader // by Tom Seddon // // See http://softimage.wiki.softimage.com/index.php/INFO:_PIC_file_format // See http://ozviz.wasp.uwa.edu.au/~pbourke/dataformats/softimagepic/ static int pic_is4(stbi *s,const char *str) { int i; for (i=0; i<4; ++i) if (get8(s) != (stbi_uc)str[i]) return 0; return 1; } static int pic_test(stbi *s) { int i; if (!pic_is4(s,"\x53\x80\xF6\x34")) return 0; for(i=0;i<84;++i) get8(s); if (!pic_is4(s,"PICT")) return 0; return 1; } typedef struct { stbi_uc size,type,channel; } pic_packet_t; static stbi_uc *pic_readval(stbi *s, int channel, stbi_uc *dest) { int mask=0x80, i; for (i=0; i<4; ++i, mask>>=1) { if (channel & mask) { if (at_eof(s)) return epuc("bad file","PIC file too short"); dest[i]=get8u(s); } } return dest; } static void pic_copyval(int channel,stbi_uc *dest,const stbi_uc *src) { int mask=0x80,i; for (i=0;i<4; ++i, mask>>=1) if (channel&mask) dest[i]=src[i]; } static stbi_uc *pic_load2(stbi *s,int width,int height,int *comp, stbi_uc *result) { int act_comp=0,num_packets=0,y,chained; pic_packet_t packets[10]; // this will (should...) cater for even some bizarre stuff like having data // for the same channel in multiple packets. do { pic_packet_t *packet; if (num_packets==sizeof(packets)/sizeof(packets[0])) return epuc("bad format","too many packets"); packet = &packets[num_packets++]; chained = get8(s); packet->size = get8u(s); packet->type = get8u(s); packet->channel = get8u(s); act_comp |= packet->channel; if (at_eof(s)) return epuc("bad file","file too short (reading packets)"); if (packet->size != 8) return epuc("bad format","packet isn't 8bpp"); } while (chained); *comp = (act_comp & 0x10 ? 4 : 3); // has alpha channel? for(y=0; y<height; ++y) { int packet_idx; for(packet_idx=0; packet_idx < num_packets; ++packet_idx) { pic_packet_t *packet = &packets[packet_idx]; stbi_uc *dest = result+y*width*4; switch (packet->type) { default: return epuc("bad format","packet has bad compression type"); case 0: {//uncompressed int x; for(x=0;x<width;++x, dest+=4) if (!pic_readval(s,packet->channel,dest)) return 0; break; } case 1://Pure RLE { int left=width, i; while (left>0) { stbi_uc count,value[4]; count=get8u(s); if (at_eof(s)) return epuc("bad file","file too short (pure read count)"); if (count > left) count = (stbi__uint8) left; if (!pic_readval(s,packet->channel,value)) return 0; for(i=0; i<count; ++i,dest+=4) pic_copyval(packet->channel,dest,value); left -= count; } } break; case 2: {//Mixed RLE int left=width; while (left>0) { int count = get8(s), i; if (at_eof(s)) return epuc("bad file","file too short (mixed read count)"); if (count >= 128) { // Repeated stbi_uc value[4]; int i; if (count==128) count = get16(s); else count -= 127; if (count > left) return epuc("bad file","scanline overrun"); if (!pic_readval(s,packet->channel,value)) return 0; for(i=0;i<count;++i, dest += 4) pic_copyval(packet->channel,dest,value); } else { // Raw ++count; if (count>left) return epuc("bad file","scanline overrun"); for(i=0;i<count;++i, dest+=4) if (!pic_readval(s,packet->channel,dest)) return 0; } left-=count; } break; } } } } return result; } static stbi_uc *pic_load(stbi *s,int *px,int *py,int *comp,int req_comp) { stbi_uc *result; int i, x,y; for (i=0; i<92; ++i) get8(s); x = get16(s); y = get16(s); if (at_eof(s)) return epuc("bad file","file too short (pic header)"); if ((1 << 28) / x < y) return epuc("too large", "Image too large to decode"); get32(s); //skip `ratio' get16(s); //skip `fields' get16(s); //skip `pad' // intermediate buffer is RGBA result = (stbi_uc *) malloc(x*y*4); memset(result, 0xff, x*y*4); if (!pic_load2(s,x,y,comp, result)) { free(result); result=0; } *px = x; *py = y; if (req_comp == 0) req_comp = *comp; result=convert_format(result,4,req_comp,x,y); return result; } static int stbi_pic_test(stbi *s) { int r = pic_test(s); stbi_rewind(s); return r; } static stbi_uc *stbi_pic_load(stbi *s, int *x, int *y, int *comp, int req_comp) { return pic_load(s,x,y,comp,req_comp); } // ************************************************************************************************* // GIF loader -- public domain by Jean-Marc Lienher -- simplified/shrunk by stb typedef struct stbi_gif_lzw_struct { stbi__int16 prefix; stbi__uint8 first; stbi__uint8 suffix; } stbi_gif_lzw; typedef struct stbi_gif_struct { int w,h; stbi_uc *out; // output buffer (always 4 components) int flags, bgindex, ratio, transparent, eflags; stbi__uint8 pal[256][4]; stbi__uint8 lpal[256][4]; stbi_gif_lzw codes[4096]; stbi__uint8 *color_table; int parse, step; int lflags; int start_x, start_y; int max_x, max_y; int cur_x, cur_y; int line_size; } stbi_gif; static int gif_test(stbi *s) { int sz; if (get8(s) != 'G' || get8(s) != 'I' || get8(s) != 'F' || get8(s) != '8') return 0; sz = get8(s); if (sz != '9' && sz != '7') return 0; if (get8(s) != 'a') return 0; return 1; } static int stbi_gif_test(stbi *s) { int r = gif_test(s); stbi_rewind(s); return r; } static void stbi_gif_parse_colortable(stbi *s, stbi__uint8 pal[256][4], int num_entries, int transp) { int i; for (i=0; i < num_entries; ++i) { pal[i][2] = get8u(s); pal[i][1] = get8u(s); pal[i][0] = get8u(s); pal[i][3] = transp ? 0 : 255; } } static int stbi_gif_header(stbi *s, stbi_gif *g, int *comp, int is_info) { stbi__uint8 version; if (get8(s) != 'G' || get8(s) != 'I' || get8(s) != 'F' || get8(s) != '8') return e("not GIF", "Corrupt GIF"); version = get8u(s); if (version != '7' && version != '9') return e("not GIF", "Corrupt GIF"); if (get8(s) != 'a') return e("not GIF", "Corrupt GIF"); failure_reason = ""; g->w = get16le(s); g->h = get16le(s); g->flags = get8(s); g->bgindex = get8(s); g->ratio = get8(s); g->transparent = -1; if (comp != 0) *comp = 4; // can't actually tell whether it's 3 or 4 until we parse the comments if (is_info) return 1; if (g->flags & 0x80) stbi_gif_parse_colortable(s,g->pal, 2 << (g->flags & 7), -1); return 1; } static int stbi_gif_info_raw(stbi *s, int *x, int *y, int *comp) { stbi_gif g; if (!stbi_gif_header(s, &g, comp, 1)) { stbi_rewind( s ); return 0; } if (x) *x = g.w; if (y) *y = g.h; return 1; } static void stbi_out_gif_code(stbi_gif *g, stbi__uint16 code) { stbi__uint8 *p, *c; // recurse to decode the prefixes, since the linked-list is backwards, // and working backwards through an interleaved image would be nasty if (g->codes[code].prefix >= 0) stbi_out_gif_code(g, g->codes[code].prefix); if (g->cur_y >= g->max_y) return; p = &g->out[g->cur_x + g->cur_y]; c = &g->color_table[g->codes[code].suffix * 4]; if (c[3] >= 128) { p[0] = c[2]; p[1] = c[1]; p[2] = c[0]; p[3] = c[3]; } g->cur_x += 4; if (g->cur_x >= g->max_x) { g->cur_x = g->start_x; g->cur_y += g->step; while (g->cur_y >= g->max_y && g->parse > 0) { g->step = (1 << g->parse) * g->line_size; g->cur_y = g->start_y + (g->step >> 1); --g->parse; } } } static stbi__uint8 *stbi_process_gif_raster(stbi *s, stbi_gif *g) { stbi__uint8 lzw_cs; stbi__int32 len, code; stbi__uint32 first; stbi__int32 codesize, codemask, avail, oldcode, bits, valid_bits, clear; stbi_gif_lzw *p; lzw_cs = get8u(s); clear = 1 << lzw_cs; first = 1; codesize = lzw_cs + 1; codemask = (1 << codesize) - 1; bits = 0; valid_bits = 0; for (code = 0; code < clear; code++) { g->codes[code].prefix = -1; g->codes[code].first = (stbi__uint8) code; g->codes[code].suffix = (stbi__uint8) code; } // support no starting clear code avail = clear+2; oldcode = -1; len = 0; for(;;) { if (valid_bits < codesize) { if (len == 0) { len = get8(s); // start new block if (len == 0) return g->out; } --len; bits |= (stbi__int32) get8(s) << valid_bits; valid_bits += 8; } else { stbi__int32 code = bits & codemask; bits >>= codesize; valid_bits -= codesize; // @OPTIMIZE: is there some way we can accelerate the non-clear path? if (code == clear) { // clear code codesize = lzw_cs + 1; codemask = (1 << codesize) - 1; avail = clear + 2; oldcode = -1; first = 0; } else if (code == clear + 1) { // end of stream code skip(s, len); while ((len = get8(s)) > 0) skip(s,len); return g->out; } else if (code <= avail) { if (first) return epuc("no clear code", "Corrupt GIF"); if (oldcode >= 0) { p = &g->codes[avail++]; if (avail > 4096) return epuc("too many codes", "Corrupt GIF"); p->prefix = (stbi__int16) oldcode; p->first = g->codes[oldcode].first; p->suffix = (code == avail) ? p->first : g->codes[code].first; } else if (code == avail) return epuc("illegal code in raster", "Corrupt GIF"); stbi_out_gif_code(g, (stbi__uint16) code); if ((avail & codemask) == 0 && avail <= 0x0FFF) { codesize++; codemask = (1 << codesize) - 1; } oldcode = code; } else { return epuc("illegal code in raster", "Corrupt GIF"); } } } } static void stbi_fill_gif_background(stbi_gif *g) { int i; stbi__uint8 *c = g->pal[g->bgindex]; // @OPTIMIZE: write a dword at a time for (i = 0; i < g->w * g->h * 4; i += 4) { stbi__uint8 *p = &g->out[i]; p[0] = c[2]; p[1] = c[1]; p[2] = c[0]; p[3] = c[3]; } } // this function is designed to support animated gifs, although stb_image doesn't support it static stbi__uint8 *stbi_gif_load_next(stbi *s, stbi_gif *g, int *comp, int req_comp) { int i; stbi__uint8 *old_out = 0; if (g->out == 0) { if (!stbi_gif_header(s, g, comp,0)) return 0; // failure_reason set by stbi_gif_header g->out = (stbi__uint8 *) malloc(4 * g->w * g->h); if (g->out == 0) return epuc("outofmem", "Out of memory"); stbi_fill_gif_background(g); } else { // animated-gif-only path if (((g->eflags & 0x1C) >> 2) == 3) { old_out = g->out; g->out = (stbi__uint8 *) malloc(4 * g->w * g->h); if (g->out == 0) return epuc("outofmem", "Out of memory"); memcpy(g->out, old_out, g->w*g->h*4); } } for (;;) { switch (get8(s)) { case 0x2C: /* Image Descriptor */ { stbi__int32 x, y, w, h; stbi__uint8 *o; x = get16le(s); y = get16le(s); w = get16le(s); h = get16le(s); if (((x + w) > (g->w)) || ((y + h) > (g->h))) return epuc("bad Image Descriptor", "Corrupt GIF"); g->line_size = g->w * 4; g->start_x = x * 4; g->start_y = y * g->line_size; g->max_x = g->start_x + w * 4; g->max_y = g->start_y + h * g->line_size; g->cur_x = g->start_x; g->cur_y = g->start_y; g->lflags = get8(s); if (g->lflags & 0x40) { g->step = 8 * g->line_size; // first interlaced spacing g->parse = 3; } else { g->step = g->line_size; g->parse = 0; } if (g->lflags & 0x80) { stbi_gif_parse_colortable(s,g->lpal, 2 << (g->lflags & 7), g->eflags & 0x01 ? g->transparent : -1); g->color_table = (stbi__uint8 *) g->lpal; } else if (g->flags & 0x80) { for (i=0; i < 256; ++i) // @OPTIMIZE: reset only the previous transparent g->pal[i][3] = 255; if (g->transparent >= 0 && (g->eflags & 0x01)) g->pal[g->transparent][3] = 0; g->color_table = (stbi__uint8 *) g->pal; } else return epuc("missing color table", "Corrupt GIF"); o = stbi_process_gif_raster(s, g); if (o == NULL) return NULL; if (req_comp && req_comp != 4) o = convert_format(o, 4, req_comp, g->w, g->h); return o; } case 0x21: // Comment Extension. { int len; if (get8(s) == 0xF9) { // Graphic Control Extension. len = get8(s); if (len == 4) { g->eflags = get8(s); get16le(s); // delay g->transparent = get8(s); } else { skip(s, len); break; } } while ((len = get8(s)) != 0) skip(s, len); break; } case 0x3B: // gif stream termination code return (stbi__uint8 *) 1; default: return epuc("unknown code", "Corrupt GIF"); } } } static stbi_uc *stbi_gif_load(stbi *s, int *x, int *y, int *comp, int req_comp) { stbi__uint8 *u = 0; stbi_gif g={0}; u = stbi_gif_load_next(s, &g, comp, req_comp); if (u == (void *) 1) u = 0; // end of animated gif marker if (u) { *x = g.w; *y = g.h; } return u; } static int stbi_gif_info(stbi *s, int *x, int *y, int *comp) { return stbi_gif_info_raw(s,x,y,comp); } // ************************************************************************************************* // Radiance RGBE HDR loader // originally by Nicolas Schulz #ifndef STBI_NO_HDR static int hdr_test(stbi *s) { const char *signature = "#?RADIANCE\n"; int i; for (i=0; signature[i]; ++i) if (get8(s) != signature[i]) return 0; return 1; } static int stbi_hdr_test(stbi* s) { int r = hdr_test(s); stbi_rewind(s); return r; } #define HDR_BUFLEN 1024 static char *hdr_gettoken(stbi *z, char *buffer) { int len=0; char c = '\0'; c = (char) get8(z); while (!at_eof(z) && c != '\n') { buffer[len++] = c; if (len == HDR_BUFLEN-1) { // flush to end of line while (!at_eof(z) && get8(z) != '\n') ; break; } c = (char) get8(z); } buffer[len] = 0; return buffer; } static void hdr_convert(float *output, stbi_uc *input, int req_comp) { if ( input[3] != 0 ) { float f1; // Exponent f1 = (float) ldexp(1.0f, input[3] - (int)(128 + 8)); if (req_comp <= 2) output[0] = (input[0] + input[1] + input[2]) * f1 / 3; else { output[0] = input[0] * f1; output[1] = input[1] * f1; output[2] = input[2] * f1; } if (req_comp == 2) output[1] = 1; if (req_comp == 4) output[3] = 1; } else { switch (req_comp) { case 4: output[3] = 1; /* fallthrough */ case 3: output[0] = output[1] = output[2] = 0; break; case 2: output[1] = 1; /* fallthrough */ case 1: output[0] = 0; break; } } } static float *hdr_load(stbi *s, int *x, int *y, int *comp, int req_comp) { char buffer[HDR_BUFLEN]; char *token; int valid = 0; int width, height; stbi_uc *scanline; float *hdr_data; int len; unsigned char count, value; int i, j, k, c1,c2, z; // Check identifier if (strcmp(hdr_gettoken(s,buffer), "#?RADIANCE") != 0) return epf("not HDR", "Corrupt HDR image"); // Parse header for(;;) { token = hdr_gettoken(s,buffer); if (token[0] == 0) break; if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1; } if (!valid) return epf("unsupported format", "Unsupported HDR format"); // Parse width and height // can't use sscanf() if we're not using stdio! token = hdr_gettoken(s,buffer); if (strncmp(token, "-Y ", 3)) return epf("unsupported data layout", "Unsupported HDR format"); token += 3; height = (int) strtol(token, &token, 10); while (*token == ' ') ++token; if (strncmp(token, "+X ", 3)) return epf("unsupported data layout", "Unsupported HDR format"); token += 3; width = (int) strtol(token, NULL, 10); *x = width; *y = height; *comp = 3; if (req_comp == 0) req_comp = 3; // Read data hdr_data = (float *) malloc(height * width * req_comp * sizeof(float)); // Load image data // image data is stored as some number of sca if ( width < 8 || width >= 32768) { // Read flat data for (j=0; j < height; ++j) { for (i=0; i < width; ++i) { stbi_uc rgbe[4]; main_decode_loop: getn(s, rgbe, 4); hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp); } } } else { // Read RLE-encoded data scanline = NULL; for (j = 0; j < height; ++j) { c1 = get8(s); c2 = get8(s); len = get8(s); if (c1 != 2 || c2 != 2 || (len & 0x80)) { // not run-length encoded, so we have to actually use THIS data as a decoded // pixel (note this can't be a valid pixel--one of RGB must be >= 128) stbi__uint8 rgbe[4]; rgbe[0] = (stbi__uint8) c1; rgbe[1] = (stbi__uint8) c2; rgbe[2] = (stbi__uint8) len; rgbe[3] = (stbi__uint8) get8u(s); hdr_convert(hdr_data, rgbe, req_comp); i = 1; j = 0; free(scanline); goto main_decode_loop; // yes, this makes no sense } len <<= 8; len |= get8(s); if (len != width) { free(hdr_data); free(scanline); return epf("invalid decoded scanline length", "corrupt HDR"); } if (scanline == NULL) scanline = (stbi_uc *) malloc(width * 4); for (k = 0; k < 4; ++k) { i = 0; while (i < width) { count = get8u(s); if (count > 128) { // Run value = get8u(s); count -= 128; for (z = 0; z < count; ++z) scanline[i++ * 4 + k] = value; } else { // Dump for (z = 0; z < count; ++z) scanline[i++ * 4 + k] = get8u(s); } } } for (i=0; i < width; ++i) hdr_convert(hdr_data+(j*width + i)*req_comp, scanline + i*4, req_comp); } free(scanline); } return hdr_data; } static float *stbi_hdr_load(stbi *s, int *x, int *y, int *comp, int req_comp) { return hdr_load(s,x,y,comp,req_comp); } static int stbi_hdr_info(stbi *s, int *x, int *y, int *comp) { char buffer[HDR_BUFLEN]; char *token; int valid = 0; if (strcmp(hdr_gettoken(s,buffer), "#?RADIANCE") != 0) { stbi_rewind( s ); return 0; } for(;;) { token = hdr_gettoken(s,buffer); if (token[0] == 0) break; if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1; } if (!valid) { stbi_rewind( s ); return 0; } token = hdr_gettoken(s,buffer); if (strncmp(token, "-Y ", 3)) { stbi_rewind( s ); return 0; } token += 3; *y = (int) strtol(token, &token, 10); while (*token == ' ') ++token; if (strncmp(token, "+X ", 3)) { stbi_rewind( s ); return 0; } token += 3; *x = (int) strtol(token, NULL, 10); *comp = 3; return 1; } #endif // STBI_NO_HDR static int stbi_bmp_info(stbi *s, int *x, int *y, int *comp) { int hsz; if (get8(s) != 'B' || get8(s) != 'M') { stbi_rewind( s ); return 0; } skip(s,12); hsz = get32le(s); if (hsz != 12 && hsz != 40 && hsz != 56 && hsz != 108) { stbi_rewind( s ); return 0; } if (hsz == 12) { *x = get16le(s); *y = get16le(s); } else { *x = get32le(s); *y = get32le(s); } if (get16le(s) != 1) { stbi_rewind( s ); return 0; } *comp = get16le(s) / 8; return 1; } static int stbi_psd_info(stbi *s, int *x, int *y, int *comp) { int channelCount; if (get32(s) != 0x38425053) { stbi_rewind( s ); return 0; } if (get16(s) != 1) { stbi_rewind( s ); return 0; } skip(s, 6); channelCount = get16(s); if (channelCount < 0 || channelCount > 16) { stbi_rewind( s ); return 0; } *y = get32(s); *x = get32(s); if (get16(s) != 8) { stbi_rewind( s ); return 0; } if (get16(s) != 3) { stbi_rewind( s ); return 0; } *comp = 4; return 1; } static int stbi_pic_info(stbi *s, int *x, int *y, int *comp) { int act_comp=0,num_packets=0,chained; pic_packet_t packets[10]; skip(s, 92); *x = get16(s); *y = get16(s); if (at_eof(s)) return 0; if ( (*x) != 0 && (1 << 28) / (*x) < (*y)) { stbi_rewind( s ); return 0; } skip(s, 8); do { pic_packet_t *packet; if (num_packets==sizeof(packets)/sizeof(packets[0])) return 0; packet = &packets[num_packets++]; chained = get8(s); packet->size = get8u(s); packet->type = get8u(s); packet->channel = get8u(s); act_comp |= packet->channel; if (at_eof(s)) { stbi_rewind( s ); return 0; } if (packet->size != 8) { stbi_rewind( s ); return 0; } } while (chained); *comp = (act_comp & 0x10 ? 4 : 3); return 1; } static int stbi_info_main(stbi *s, int *x, int *y, int *comp) { if (stbi_jpeg_info(s, x, y, comp)) return 1; if (stbi_png_info(s, x, y, comp)) return 1; if (stbi_gif_info(s, x, y, comp)) return 1; if (stbi_bmp_info(s, x, y, comp)) return 1; if (stbi_psd_info(s, x, y, comp)) return 1; if (stbi_pic_info(s, x, y, comp)) return 1; #ifndef STBI_NO_HDR if (stbi_hdr_info(s, x, y, comp)) return 1; #endif // test tga last because it's a crappy test! if (stbi_tga_info(s, x, y, comp)) return 1; return e("unknown image type", "Image not of any known type, or corrupt"); } #ifndef STBI_NO_STDIO int stbi_info(char const *filename, int *x, int *y, int *comp) { FILE *f = fopen(filename, "rb"); int result; if (!f) return e("can't fopen", "Unable to open file"); result = stbi_info_from_file(f, x, y, comp); fclose(f); return result; } int stbi_info_from_file(FILE *f, int *x, int *y, int *comp) { int r; stbi s; long pos = ftell(f); start_file(&s, f); r = stbi_info_main(&s,x,y,comp); fseek(f,pos,SEEK_SET); return r; } #endif // !STBI_NO_STDIO int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) { stbi s; start_mem(&s,buffer,len); return stbi_info_main(&s,x,y,comp); } int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) { stbi s; start_callbacks(&s, (stbi_io_callbacks *) c, user); return stbi_info_main(&s,x,y,comp); } #endif // STBI_HEADER_FILE_ONLY #if !defined(STBI_NO_STDIO) && defined(_MSC_VER) && _MSC_VER >= 1400 #pragma warning(pop) #endif /* revision history: 1.35 (2014-05-27) various warnings fix broken STBI_SIMD path fix bug where stbi_load_from_file no longer left file pointer in correct place fix broken non-easy path for 32-bit BMP (possibly never used) TGA optimization by Arseny Kapoulkine 1.34 (unknown) use STBI_NOTUSED in resample_row_generic(), fix one more leak in tga failure case 1.33 (2011-07-14) make stbi_is_hdr work in STBI_NO_HDR (as specified), minor compiler-friendly improvements 1.32 (2011-07-13) support for "info" function for all supported filetypes (SpartanJ) 1.31 (2011-06-20) a few more leak fixes, bug in PNG handling (SpartanJ) 1.30 (2011-06-11) added ability to load files via callbacks to accomidate custom input streams (Ben Wenger) removed deprecated format-specific test/load functions removed support for installable file formats (stbi_loader) -- would have been broken for IO callbacks anyway error cases in bmp and tga give messages and don't leak (Raymond Barbiero, grisha) fix inefficiency in decoding 32-bit BMP (David Woo) 1.29 (2010-08-16) various warning fixes from Aurelien Pocheville 1.28 (2010-08-01) fix bug in GIF palette transparency (SpartanJ) 1.27 (2010-08-01) cast-to-stbi__uint8 to fix warnings 1.26 (2010-07-24) fix bug in file buffering for PNG reported by SpartanJ 1.25 (2010-07-17) refix trans_data warning (Won Chun) 1.24 (2010-07-12) perf improvements reading from files on platforms with lock-heavy fgetc() minor perf improvements for jpeg deprecated type-specific functions so we'll get feedback if they're needed attempt to fix trans_data warning (Won Chun) 1.23 fixed bug in iPhone support 1.22 (2010-07-10) removed image *writing* support stbi_info support from Jetro Lauha GIF support from Jean-Marc Lienher iPhone PNG-extensions from James Brown warning-fixes from Nicolas Schulz and Janez Zemva (i.e. Janez (U+017D)emva) 1.21 fix use of 'stbi__uint8' in header (reported by jon blow) 1.20 added support for Softimage PIC, by Tom Seddon 1.19 bug in interlaced PNG corruption check (found by ryg) 1.18 2008-08-02 fix a threading bug (local mutable static) 1.17 support interlaced PNG 1.16 major bugfix - convert_format converted one too many pixels 1.15 initialize some fields for thread safety 1.14 fix threadsafe conversion bug header-file-only version (#define STBI_HEADER_FILE_ONLY before including) 1.13 threadsafe 1.12 const qualifiers in the API 1.11 Support installable IDCT, colorspace conversion routines 1.10 Fixes for 64-bit (don't use "unsigned long") optimized upsampling by Fabian "ryg" Giesen 1.09 Fix format-conversion for PSD code (bad global variables!) 1.08 Thatcher Ulrich's PSD code integrated by Nicolas Schulz 1.07 attempt to fix C++ warning/errors again 1.06 attempt to fix C++ warning/errors again 1.05 fix TGA loading to return correct *comp and use good luminance calc 1.04 default float alpha is 1, not 255; use 'void *' for stbi_image_free 1.03 bugfixes to STBI_NO_STDIO, STBI_NO_HDR 1.02 support for (subset of) HDR files, float interface for preferred access to them 1.01 fix bug: possible bug in handling right-side up bmps... not sure fix bug: the stbi_bmp_load() and stbi_tga_load() functions didn't work at all 1.00 interface to zlib that skips zlib header 0.99 correct handling of alpha in palette 0.98 TGA loader by lonesock; dynamically add loaders (untested) 0.97 jpeg errors on too large a file; also catch another malloc failure 0.96 fix detection of invalid v value - particleman@mollyrocket forum 0.95 during header scan, seek to markers in case of padding 0.94 STBI_NO_STDIO to disable stdio usage; rename all #defines the same 0.93 handle jpegtran output; verbose errors 0.92 read 4,8,16,24,32-bit BMP files of several formats 0.91 output 24-bit Windows 3.0 BMP files 0.90 fix a few more warnings; bump version number to approach 1.0 0.61 bugfixes due to Marc LeBlanc, Christopher Lloyd 0.60 fix compiling as c++ 0.59 fix warnings: merge Dave Moore's -Wall fixes 0.58 fix bug: zlib uncompressed mode len/nlen was wrong endian 0.57 fix bug: jpg last huffman symbol before marker was >9 bits but less than 16 available 0.56 fix bug: zlib uncompressed mode len vs. nlen 0.55 fix bug: restart_interval not initialized to 0 0.54 allow NULL for 'int *comp' 0.53 fix bug in png 3->4; speedup png decoding 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments 0.51 obey req_comp requests, 1-component jpegs return as 1-component, on 'test' only check type, not whether we support this variant 0.50 first released version */
orochi/stb
deprecated/stb_image.c
C++
mit
148,975
// check that stb_truetype compiles with no stb_rect_pack.h #define STB_TRUETYPE_IMPLEMENTATION #include "stb_truetype.h" #define STB_DS_IMPLEMENTATION #include "stb_ds.h" #include <assert.h> int main(int arg, char **argv) { int i; int *arr = NULL; for (i=0; i < 1000000; ++i) arrput(arr, i); assert(arrlen(arr) == 1000000); for (i=0; i < 1000000; ++i) assert(arr[i] == i); arrfree(arr); arr = NULL; for (i=0; i < 1000; ++i) arrput(arr, 1000); assert(arrlen(arr) == 1000000); return 0; }
orochi/stb
deprecated/stretch_test.c
C++
mit
542