diff --git a/.gitattributes b/.gitattributes index 5e76e859a615ca4605797792a20a3902a9fa63df..d3d1a1483fd037041b2365331ce1b5ce261f8c77 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ *.bat text eol=crlf +*.js text eol=lf *.tw text eol=lf *.sh text eol=lf *.py text eol=lf diff --git a/src/Mods/DinnerParty/dinnerPartyExecution.tw b/src/Mods/DinnerParty/dinnerPartyExecution.tw index 14a2d408afcf93dbf3f9a5ae95e353a1e9f5e557..4b4ef0cde76ff0011ffeac56e67ca4f76f30163e 100644 --- a/src/Mods/DinnerParty/dinnerPartyExecution.tw +++ b/src/Mods/DinnerParty/dinnerPartyExecution.tw @@ -442,8 +442,13 @@ <</if>> One man moves to the head of $HeadGirl.slaveName and shoved his cock into $his mouth, fucking $his throat roughly. He buries his cock deep down $his throat all the way to his balls. He places both hands around $his neck and squeezes with every stroke. Your Head Girl's face turns red and $he gags uncontrollably. $His eyes roll back as another man shoves his hard cock in $his asshole, sodomizing $him with no mercy. As your Head Girl makes squeaking noises in pain, several guests pick up forks and jab it at $his butt and $his back, chanting "More meat... More meat..." and "Squeal, piggy, squeal." You slump over your chair at the head of the table. Gulping down your drink, you suppress the urge to order your security drones to open fire on those men. You know they would never dare to harm your Head Girl, not permanently, at least not anything your remote surgery couldn't fix. It's not as if you haven't done worse to your slaves, but the message is clear; the attack on your Head Girl was meant as disrespect and an insult towards you. Raping your Head Girl is like raping you. You stare at the group of men gang raping your Head Girl at the end of your own dining table, burning their @@.yellow;names and their faces@@ into your memory as they take turns fucking $him. They make use of $his every hole. When they are done, $he is left on the floor, battered and bruised, covered in cum and blood from superficial wounds. - The leader of the pack pulls out his half erect cock and pees on your Head Girl as a final insult towards you. The poor $girl is so spent that $he doesn't even flinch at the urine hitting $his face. - He finishes showering your Head Girl, then turns towards you and says smilingly: + The leader of the pack pulls out his half erect cock and + <<if $seePee == 1>> + pees on your Head Girl as a final insult towards you. The poor $girl is so spent that $he doesn't even flinch at the urine hitting $his face. He finishes showering your Head Girl, then + <<else>> + ejaculates all over your Head Girl's face, clearly and intentionally aiming for $his eyes. The poor $girl is so spent that $he doesn't even flinch from this final insult towards you. When he's done, he + <</if>> + turns towards you and says smilingly: <br><br> //"I must congratulate you// <<if $PC.title > 0>> diff --git a/src/events/intro/introSummary.tw b/src/events/intro/introSummary.tw index 22845c853f7cc5a9dd690a7cffe5b500a3ad500f..fed370bd12d76da72b6b51fe1103888d8c30b870 100644 --- a/src/events/intro/introSummary.tw +++ b/src/events/intro/introSummary.tw @@ -202,10 +202,12 @@ __''General slave settings''__ //This only affects slave generation and not your ability to name your slaves.// <br> -<<if $surnameOrder != 1>> - Order names ''based on country of origin''. [[Force name surname|Intro Summary][$surnameOrder = 1]] -<<else>> - Names will always be ''Name Surname''. [[Allow nationality name order|Intro Summary][$surnameOrder = 0]] +<<if $surnameOrder == 0>> + Order names ''based on country of origin''. [[Force name surname|Intro Summary][$surnameOrder = 1]] | [[Force surname name|Intro Summary][$surnameOrder = 2]] +<<elseif $surnameOrder == 1>> + Names will always be ''Name Surname''. [[Allow nationality name order|Intro Summary][$surnameOrder = 0]] | [[Force surname name|Intro Summary][$surnameOrder = 2]] +<<elseif $surnameOrder == 2>> + Names will always be ''Surname Name''. [[Allow nationality name order|Intro Summary][$surnameOrder = 0]] | [[Force name surname|Intro Summary][$surnameOrder = 1]] <</if>> <br> @@ -470,6 +472,15 @@ Should children born in game strictly adhere to dick content settings? [[Enable|Intro Summary][$seeBestiality = 1]] <</if>> +<br> +<<if $seePee == 1>> + Watersports content is ''enabled''. + [[Disable|Intro Summary][$seePee = 0]] +<<else>> + Watersports content is ''disabled''. + [[Enable|Intro Summary][$seePee = 1]] +<</if>> + <<if $seeDicks != 0>> <br> <<if $seeCircumcision == 1>> diff --git a/src/facilities/nursery/longChildDescription.tw b/src/facilities/nursery/longChildDescription.tw index 431b0a44e114d09aeed44dadfd56bc98840085df..8c06c38cd191fbe4b5c1c0ced5d556c3c0deff11 100644 --- a/src/facilities/nursery/longChildDescription.tw +++ b/src/facilities/nursery/longChildDescription.tw @@ -65,23 +65,23 @@ is <<if $activeChild.slaveName != $activeChild.birthName && $activeChild.slaveSurname != $activeChild.birthSurname>> <<= SlaveFullName($activeChild)>> is not $his original full name; <<if $activeChild.birthName === "" || $activeChild.birthSurname === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <<elseif $activeChild.slaveName != $activeChild.birthName>> $activeChild.slaveName is not $his original given name; <<if $activeChild.birthName === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <<elseif $activeChild.slaveSurname != $activeChild.birthSurname>> <<if $activeChild.slaveSurname === 0>> $He once had a surname; <<if $activeChild.birthSurname === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <<else>> $activeChild.slaveSurname is not $his original surname; <<if $activeChild.birthSurname === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <</if>> <</if>> @@ -97,21 +97,14 @@ is <<elseif $activeChild.devotion >= -50>> $he uses $his slave name with resentment since $he prefers $his original name, <<else>> - $He uses $his slave name only when constantly punished, since $he feels $his real name is + $he uses $his slave name only when constantly punished, since $he feels $his real name is <</if>> <<if $activeChild.birthName === "">> $activeChild.birthSurname. <<elseif $activeChild.birthSurname === "">> $activeChild.birthName. - <<elseif $surnameOrder != 1>> - <<switch $activeChild.nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<if $activeChild.birthSurname>>$activeChild.birthSurname <</if>>$activeChild.birthName. - <<default>> - $activeChild.birthName<<if $activeChild.birthSurname>> $activeChild.birthSurname<</if>>. - <</switch>> <<else>> - $activeChild.birthName<<if $activeChild.birthSurname>> $activeChild.birthSurname<</if>>. + <<= SlaveFullBirthName($activeChild)>>. <</if>> <</if>> <<if $activeChild.slaveSurname == 0>> @@ -125,17 +118,7 @@ is <</if>> <</if>> <<else>> - $activeChild.slaveName<<if $activeChild.slaveSurname>> $activeChild.slaveSurname<</if>> is not its original name: it was once called - <<if $surnameOrder != 1>> - <<switch $activeChild.nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<if $activeChild.birthSurname>>$activeChild.birthSurname <</if>>$activeChild.birthName. - <<default>> - $activeChild.birthName<<if $activeChild.birthSurname>> $activeChild.birthSurname<</if>>. - <</switch>> - <<else>> - $activeChild.birthName<<if $activeChild.birthSurname>> $activeChild.birthSurname<</if>>. - <</if>> + <<= SlaveFullName($activeChild)>> is not $his original name: $he was once called <<= SlaveFullBirthName($activeChild)>>. <</if>> <</if>> @@ -1033,13 +1016,13 @@ and <<if $arcologies[0].FSHedonisticDecadence != "unset">> <<print either("perfectly curvy", "perfectly plush")>>. <<else>> - @@.red;<<print either("dangerously overweight", "extremely obese", "dangerously fat")>>.@@ + @@.red;<<print either("dangerously fat", "dangerously overweight", "extremely obese")>>.@@ <</if>> <<elseif $activeChild.weight > 160 >> <<if $arcologies[0].FSHedonisticDecadence != "unset">> <<print either("spectacularly curvy", "spectacularly plush")>>. <<else>> - @@.red;<<print either("extremely overweight", "very obese", "extremely fat")>>.@@ + @@.red;<<print either("extremely fat", "extremely overweight", "very obese")>>.@@ <</if>> <<elseif $activeChild.weight > 130 >> <<if $arcologies[0].FSHedonisticDecadence != "unset">> @@ -1061,11 +1044,11 @@ and <<elseif $arcologies[0].FSHedonisticDecadence != "unset">> <<print either("quite curvy", "very plush")>>. <<else>> - @@.red;<<print either("chubby", "carrying extra weight")>>.@@ + @@.red;<<print either("carrying extra weight", "chubby")>>.@@ <</if>> -<<elseif $activeChild.weight > 10 >><<print either("pleasingly curvy", "nicely plush")>>. -<<elseif $activeChild.weight >= -10>><<print either("a healthy weight", "neither too fat nor too skinny", "an attractive weight for $his frame")>>. -<<elseif $activeChild.weight >= -30>><<print either("pleasingly thin", "appealingly skinny")>>. +<<elseif $activeChild.weight > 10 >><<print either("nicely plush", "pleasingly curvy")>>. +<<elseif $activeChild.weight >= -10>><<print either("a healthy weight", "an attractive weight for $his frame", "neither too fat nor too skinny")>>. +<<elseif $activeChild.weight >= -30>><<print either("appealingly skinny", "pleasingly thin")>>. <<elseif $activeChild.weight >= -95>> <<if $activeChild.hips > 1>> <<print either("quite skinny", "very thin")>>, but $his wide hips make the gap between $his thighs very noticeable. diff --git a/src/gui/Encyclopedia/encyclopedia.tw b/src/gui/Encyclopedia/encyclopedia.tw index 9398dfcbdfa15f1b8fe8b91ecf9dea53e02c0527..791d4f2e130d134a0037491ae78b24e6635b49d6 100644 --- a/src/gui/Encyclopedia/encyclopedia.tw +++ b/src/gui/Encyclopedia/encyclopedia.tw @@ -2914,10 +2914,10 @@ LORE: INTERVIEWS | [[Living Conditions|Encyclopedia][$encyclopedia = "Living Conditions"]] | [[Health|Encyclopedia][$encyclopedia = "Health"]] | @@.hotpink;[[Devotion|Encyclopedia][$encyclopedia = "From Rebellious to Devoted"]]@@ - | @@.mediumaquamarine;[[trust|Encyclopedia][$encyclopedia = "Trust"]]@@ + | @@.mediumaquamarine;[[Trust|Encyclopedia][$encyclopedia = "Trust"]]@@ | [[Drugs and Their Effects|Encyclopedia][$encyclopedia = "Drugs and Their Effects"]] | [[Gender|Encyclopedia][$encyclopedia = "Gender"]] - | [[nymphomania|Encyclopedia][$encyclopedia = "Nymphomania"]] + | [[Nymphomania|Encyclopedia][$encyclopedia = "Nymphomania"]] | [[Indentured Servants|Encyclopedia][$encyclopedia = "Indentured Servants"]] | [[Menial Slaves|Encyclopedia][$encyclopedia = "Menial Slaves"]] | [[Fuckdolls|Encyclopedia][$encyclopedia = "Fuckdolls"]] @@ -3025,7 +3025,7 @@ LORE: INTERVIEWS | [[Submissives|Encyclopedia][$encyclopedia = "Submissives"]] <</if>> -<<if["Adores men", "Adores women", "Advocate", "Confident", "Cutting", "Fitness", "Funny", "Insecure", "Quirks", "Sinful"].includes($encyclopedia)>> +<<if ["Adores men", "Adores women", "Advocate", "Confident", "Cutting", "Fitness", "Funny", "Insecure", "Quirks", "Sinful"].includes($encyclopedia)>> <br><br>//Behavioral [[Quirks|Encyclopedia][$encyclopedia = "Quirks"]]:// <br>[[Adores men|Encyclopedia][$encyclopedia = "Adores men"]] diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 4af2015b252fc6f25d115988eed1083dccb18ab7..de62276f7e43b03a0f09cf4c932c8f238f916b4d 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -240,6 +240,7 @@ You should have received a copy of the GNU General Public License along with thi <<set $useSummaryCache = true>> <<set $seeExtreme = 0>> <<set $seeBestiality = 0>> + <<set $seePee = 0>> <<set $extremeUnderage = 0>> <<set $seeHyperPreg = 0>> <<set $seePreg = 1>> @@ -358,6 +359,7 @@ You should have received a copy of the GNU General Public License along with thi <<set $familyTesting = 0>> <<set $inbreeding = 1>> <<set $allowFamilyTitles = 0>> + <<set $surnameOrder = 0>> /% Begin mod section: toggle whether slaves lisp. %/ <<set $disableLisping = 0>> diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index eee279a64b79f0d95ec9e9399c1b7eef12a4f12c..b028235b359e8a38177877876cf89d1d722121fe 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -11,7 +11,7 @@ window.DefaultRules = (function() { /** @param {App.Entity.SlaveState} slave */ function DefaultRules(slave) { - if (slave.useRulesAssistant === 0) return r; //exempted + if (slave.useRulesAssistant === 0) return r; // exempted V = State.variables; r = ""; @@ -23,7 +23,7 @@ window.DefaultRules = (function() { if (Object.keys(rule).length === 0) return r; // no rules apply AssignJobToSlave(slave, rule); - if(slave.fuckdoll === 0) { + if (slave.fuckdoll === 0) { ProcessClothing(slave, rule); ProcessCollar(slave, rule); ProcessEyewear(slave, rule); @@ -37,10 +37,12 @@ window.DefaultRules = (function() { ProcessLegAccessory(slave, rule); } ProcessBellyImplant(slave, rule); - if (isFertile(slave) || slave.pregWeek < 0) + if (isFertile(slave) || slave.pregWeek < 0) { ProcessContraceptives(slave, rule); - if (slave.preg > 0 && slave.pregKnown == 1 && slave.broodmother == 0) + } + if (slave.preg > 0 && slave.pregKnown === 1 && slave.broodmother === 0) { ProcessAbortions(slave, rule); + } ProcessOtherDrugs(slave, rule); ProcessAssetGrowthDrugs(slave, rule); ProcessEnema(slave, rule); @@ -50,7 +52,7 @@ window.DefaultRules = (function() { ProcessPenisHormones(slave, rule); ProcessFemaleHormones(slave, rule); ProcessPregnancyDrugs(slave, rule); - if(slave.fuckdoll === 0) { + if (slave.fuckdoll === 0) { ProcessLivingStandard(slave, rule); ProcessSpeech(slave, rule); ProcessRelationship(slave, rule); @@ -61,8 +63,9 @@ window.DefaultRules = (function() { ProcessToyHole(slave, rule); ProcessDietCum(slave, rule); ProcessDietMilk(slave, rule); - if (V.arcologies[0].FSHedonisticDecadenceResearch === 1) + if (V.arcologies[0].FSHedonisticDecadenceResearch === 1) { ProcessSolidFood(slave, rule); + } ProcessTeeth(slave, rule); ProcessStyle(slave, rule); ProcessPiercings(slave, rule); @@ -77,9 +80,9 @@ window.DefaultRules = (function() { /** @param {App.Entity.SlaveState} slave */ function MergeRules(slave) { // merge all rules applying on a slave into one big rule - const rules = V.defaultRules.filter(x => ruleAppliesP(x.condition, slave)); - slave.currentRules = rules.map(x => x.ID); - return mergeRules(rules.map(x => ProcessAssignments(slave, Object.assign({}, x.set)))); + const rules = V.defaultRules.filter((x) => ruleAppliesP(x.condition, slave)); + slave.currentRules = rules.map((x) => x.ID); + return mergeRules(rules.map((x) => ProcessAssignments(slave, Object.assign({}, x.set)))); } /** @param {App.Entity.SlaveState} slave */ @@ -93,77 +96,76 @@ window.DefaultRules = (function() { case "rest": case "please you": - case "choose her own job": // slaves always qualify for this assignment break; case "live with your Head Girl": - if ((V.HGSuiteSlaves < 1 && slave.indentureRestrictions <= 0)) + if ((V.HGSuiteSlaves < 1 && slave.indentureRestrictions <= 0)) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "be confined in the arcade": - if ((V.arcadeSlaves < V.arcade && slave.indentureRestrictions <= 0 && (slave.breedingMark !== 1 || V.propOutcome === 0))) + if ((V.arcadeSlaves < V.arcade && slave.indentureRestrictions <= 0 && (slave.breedingMark !== 1 || V.propOutcome === 0))) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "serve in the master suite": - if ((V.masterSuiteSlaves < V.masterSuite && (slave.devotion > 20 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)))) + if ((V.masterSuiteSlaves < V.masterSuite && (slave.devotion > 20 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)))) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "get treatment in the clinic": - if ((V.clinicSlaves < V.clinic && (slave.health < 20 || (slave.chem > 15 && V.Nurse !== 0 && V.clinicUpgradeFilters === 1)) || ((slave.bellyImplant > -1) && (V.bellyImplants === 1)) || slave.preg > 1)) + if ((V.clinicSlaves < V.clinic && (slave.health < 20 || (slave.chem > 15 && V.Nurse !== 0 && V.clinicUpgradeFilters === 1)) || ((slave.bellyImplant > -1) && (V.bellyImplants === 1)) || slave.preg > 1)) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "rest in the spa": - if ((V.spaSlaves < V.spa) && (slave.health < 20) || (slave.trust < 60) || (slave.devotion <= 60) || (slave.fetish === "mindbroken") && (slave.devotion >= -20)) + if ((V.spaSlaves < V.spa) && (slave.health < 20) || (slave.trust < 60) || (slave.devotion <= 60) || (slave.fetish === "mindbroken") && (slave.devotion >= -20)) { break; - else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + } else { + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "work as a nanny": - if ((V.nurserySlaves < V.nursery) && !slave.fuckdoll && (slave.devotion > 20 || slave.trust > 20)) + if ((V.nurserySlaves < V.nursery) && !slave.fuckdoll && (slave.devotion > 20 || slave.trust > 20)) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "work in the brothel": - if ((V.brothelSlaves < V.brothel && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark !== 1 || V.propOutcome === 0))) + if ((V.brothelSlaves < V.brothel && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark !== 1 || V.propOutcome === 0))) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "serve in the club": - if ((V.clubSlaves < V.club && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark !== 1 || V.propOutcome === 0))) + if ((V.clubSlaves < V.club && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark !== 1 || V.propOutcome === 0))) { break; - else { + } else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } @@ -171,30 +173,30 @@ window.DefaultRules = (function() { case "work in the dairy": if ((V.dairy > V.dairySlaves+V.bioreactorsXY+V.bioreactorsXX+V.bioreactorsHerm+V.bioreactorsBarren)) { - if ((slave.indentureRestrictions > 0) && (V.dairyRestraintsSetting > 1)) + if ((slave.indentureRestrictions > 0) && (V.dairyRestraintsSetting > 1)) { break; - else if (((slave.indentureRestrictions > 1) && (V.dairyRestraintsSetting > 0)) || (slave.breedingMark === 1 && V.propOutcome === 1 && V.dairyRestriantsSettings > 0) || ((V.dairyPregSetting > 0) && ((slave.bellyImplant !== -1) || (slave.broodmother !== 0)))) + } else if (((slave.indentureRestrictions > 1) && (V.dairyRestraintsSetting > 0)) || (slave.breedingMark === 1 && V.propOutcome === 1 && V.dairyRestriantsSettings > 0) || ((V.dairyPregSetting > 0) && ((slave.bellyImplant !== -1) || (slave.broodmother !== 0)))) { break; - else { + } else { if ((slave.lactation > 0 || ((V.dairySlimMaintainUpgrade === 0 || V.dairySlimMaintain === 0) && (slave.boobs > 300 || slave.dick === 0 || V.dairyImplantsSetting === 1) && V.dairyImplantsSetting !== 2)) || (slave.balls > 0)) { if ((slave.devotion > 20) || ((slave.devotion >= -50) && (slave.trust < -20)) || (slave.trust < -50) || (slave.amp === 1) || (V.dairyRestraintsUpgrade === 1)) { if ((V.dairyStimulatorsSetting < 2) || (slave.anus > 2) || (V.dairyPrepUpgrade === 1)) { - if ((V.dairyPregSetting < 2) || (slave.vagina > 2) || (slave.ovaries === 0) || (V.dairyPrepUpgrade === 1)) + if ((V.dairyPregSetting < 2) || (slave.vagina > 2) || (slave.ovaries === 0) || (V.dairyPrepUpgrade === 1)) { break; - else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + } else { + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } } else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } } else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } } else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } } @@ -202,92 +204,98 @@ window.DefaultRules = (function() { break; case "work as a farmhand": - if ((V.farmyardSlaves < V.farmyard)) //TODO: rework these requirements + if ((V.farmyardSlaves < V.farmyard)) { // TODO: rework these requirements break; - else { + } else { RAFacilityRemove(slave, rule); delete rule.setAssignment; } break; case "work as a servant": - if ((V.servantsQuartersSlaves < V.servantsQuarters && canSee(slave) && canWalk(slave) && (slave.devotion >= -20 || slave.trust < -20 || (slave.devotion >= -50 && slave.trust <= 20)))) + if ((V.servantsQuartersSlaves < V.servantsQuarters && canSee(slave) && canWalk(slave) && (slave.devotion >= -20 || slave.trust < -20 || (slave.devotion >= -50 && slave.trust <= 20)))) { break; - else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + } else { + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "learn in the schoolroom": - if ((V.schoolroomSlaves < V.schoolroom && slave.fetish !== "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)))) - if ((slave.intelligenceImplant < 30) || (slave.voice !== 0 && slave.accent+V.schoolroomUpgradeLanguage > 2) || (slave.oralSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.whoreSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.entertainSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.analSkill < 10+V.schoolroomUpgradeSkills*20) || ((slave.vagina >= 0) && (slave.vaginalSkill < 10+V.schoolroomUpgradeSkills*20))) + if ((V.schoolroomSlaves < V.schoolroom && slave.fetish !== "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)))) { + if ((slave.intelligenceImplant < 30) || (slave.voice !== 0 && slave.accent+V.schoolroomUpgradeLanguage > 2) || (slave.oralSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.whoreSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.entertainSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.analSkill < 10+V.schoolroomUpgradeSkills*20) || ((slave.vagina >= 0) && (slave.vaginalSkill < 10+V.schoolroomUpgradeSkills*20))) { break; - else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + } else { + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } - else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + } else { + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "be confined in the cellblock": - if ((V.cellblockSlaves < V.cellblock && ((slave.devotion < -20 && slave.trust >= -20) || (slave.devotion < -50 && slave.trust >= -50)))) + if ((V.cellblockSlaves < V.cellblock && ((slave.devotion < -20 && slave.trust >= -20) || (slave.devotion < -50 && slave.trust >= -50)))) { break; - else { - RAFacilityRemove(slave,rule); // before deleting rule.setAssignment + } else { + RAFacilityRemove(slave, rule); // before deleting rule.setAssignment delete rule.setAssignment; } break; case "take classes": - if (slave.intelligenceImplant < 15 && slave.fetish !== "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.trust < -20 && slave.devotion >= -50))) + if (slave.intelligenceImplant < 15 && slave.fetish !== "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.trust < -20 && slave.devotion >= -50))) { break; - else + } else { delete rule.setAssignment; + } break; case "choose her own job": - if ((slave.fetish !== "mindbroken")) + if ((slave.fetish !== "mindbroken")) { break; - else + } else { delete rule.setAssignment; + } break; case "get milked": - if ((slave.lactation > 0 || slave.balls > 0)) + if ((slave.lactation > 0 || slave.balls > 0)) { break; - else + } else { delete rule.setAssignment; + } break; case "be a servant": - if ((canWalk(slave) && canSee(slave) && (slave.devotion >= -20 || slave.trust < -50 || (slave.trust < -20 && slave.devotion >= -50)))) + if ((canWalk(slave) && canSee(slave) && (slave.devotion >= -20 || slave.trust < -50 || (slave.trust < -20 && slave.devotion >= -50)))) { break; - else + } else { delete rule.setAssignment; + } break; case "work a glory hole": - if (slave.indentureRestrictions <= 0 && (slave.breedingMark !== 1 || V.propOutcome === 0)) + if (slave.indentureRestrictions <= 0 && (slave.breedingMark !== 1 || V.propOutcome === 0)) { break; - else + } else { delete rule.setAssignment; + } break; case "whore": case "serve the public": case "stay confined": - if ((slave.fuckdoll === 0) && (slave.breedingMark !== 1 || V.propOutcome === 0)) + if ((slave.fuckdoll === 0) && (slave.breedingMark !== 1 || V.propOutcome === 0)) { break; - else + } else { delete rule.setAssignment; + } break; default: - r += `<span class="red">raWidgets missing case for assignment 'V.{rule.setAssignment}'</span>.`; + r += "<span class=\"red\">raWidgets missing case for assignment 'V.{rule.setAssignment}'</span>."; break; } return rule; @@ -373,23 +381,25 @@ window.DefaultRules = (function() { // apply collar to slave if ((rule.collar !== undefined) && (rule.collar !== "no default setting")) { if ((slave.collar !== rule.collar)) { - r += '<br>'; + r += "<br>"; if (rule.collar === "preg biometrics" && slave.preg <= -1 && slave.ovaries === 0 && slave.mpreg === 0) { slave.collar = "none"; r += `${slave.slaveName} cannot utilize preg biometrics. `; } else if ((rule.collar === "massive dildo gag" && slave.oralSkill <= 50)) { slave.collar = "none"; r += `${slave.slaveName} lacks the oral skill to successfully keep the massive dildo gag in ${his} throat. `; - } else + } else { slave.collar = rule.collar; - if ((slave.collar === "none")) + } + if ((slave.collar === "none")) { r += `${slave.slaveName} has been given no collar.`; - else if ((slave.collar === "pretty jewelry")) + } else if ((slave.collar === "pretty jewelry")) { r += `${slave.slaveName} has been given ${slave.collar}.`; - else if ((["ball gag", "bell collar", "bit gag", "bowtie", "dildo gag", "massive dildo gag", "neck corset", "porcelain mask"].includes(slave.collar))) + } else if ((["ball gag", "bell collar", "bit gag", "bowtie", "dildo gag", "massive dildo gag", "neck corset", "porcelain mask"].includes(slave.collar))) { r += `${slave.slaveName} has been given a ${slave.collar}.`; - else + } else { r += `${slave.slaveName} has been given a ${slave.collar} collar.`; + } } } } @@ -548,12 +558,13 @@ window.DefaultRules = (function() { /** @param {App.Entity.SlaveState} slave */ function ProcessDildos(slave, rule) { // apply vaginal dildos to slave - if (slave.vagina === 0) + if (slave.vagina === 0) { ProcessVVirginDildos(slave, rule); - else if ((slave.vagina > 0) && (slave.anus === 0)) + } else if ((slave.vagina > 0) && (slave.anus === 0)) { ProcessAVirginDildos(slave, rule); - else if (slave.vagina > 0) + } else if (slave.vagina > 0) { ProcessNonVirginDildos(slave, rule); + } } /** @param {App.Entity.SlaveState} slave */ @@ -565,9 +576,9 @@ window.DefaultRules = (function() { switch (slave.vaginalAccessory) { case "huge dildo": r += `<br>${slave.slaveName} is a virgin and has been given a `; - if (slave.vagina >= 2) + if (slave.vagina >= 2) { r += `massive dildo to permanently gape ${his} cunt.`; - else { + } else { r += `large dildo for ${his} pussy, since it must be stretched before it can accommodate a huge one.`; slave.vaginalAccessory = "large dildo"; } @@ -593,9 +604,9 @@ window.DefaultRules = (function() { slave.vaginalAccessory = "huge dildo"; } else { r += `<br>${slave.slaveName} is a virgin and has been given a `; - if (slave.vagina >= 2) + if (slave.vagina >= 2) { r += `massive and oversized dildo to permanently gape ${his} cunt.`; - else { + } else { r += `long, large dildo for ${his} pussy, since it must be stretched before it can accommodate a huge one.`; slave.vaginalAccessory = "long, large dildo"; } @@ -623,9 +634,9 @@ window.DefaultRules = (function() { switch (slave.vaginalAccessory) { case "huge dildo": r += `<br>${slave.slaveName} is a virgin and has been given a `; - if (slave.vagina >= 2) + if (slave.vagina >= 2) { r += `massive dildo to permanently gape ${his} cunt.`; - else { + } else { r += `large dildo for ${his} pussy, since it must be stretched before it can accommodate a huge one.`; slave.vaginalAccessory = "large dildo"; } @@ -651,9 +662,9 @@ window.DefaultRules = (function() { slave.vaginalAccessory = "huge dildo"; } else { r += `<br>${slave.slaveName} is a virgin and has been given a `; - if (slave.vagina >= 2) + if (slave.vagina >= 2) { r += `massive and oversized dildo to permanently gape ${his} cunt.`; - else { + } else { r += `long, large dildo for ${his} pussy, since it must be stretched before it can accommodate a huge one.`; slave.vaginalAccessory = "long, large dildo"; } @@ -681,9 +692,9 @@ window.DefaultRules = (function() { switch (slave.vaginalAccessory) { case "huge dildo": r += `<br>${slave.slaveName} has been given a `; - if (slave.vagina >= 2) + if (slave.vagina >= 2) { r += `massive dildo to permanently gape ${his} cunt.`; - else { + } else { r += `large dildo for ${his} pussy, since it must be stretched before it can accommodate a huge one.`; slave.vaginalAccessory = "large dildo"; } @@ -709,9 +720,9 @@ window.DefaultRules = (function() { slave.vaginalAccessory = "huge dildo"; } else { r += `<br>${slave.slaveName} has been given a `; - if (slave.vagina >= 2) + if (slave.vagina >= 2) { r += `massive and oversized dildo to permanently gape ${his} cunt.`; - else { + } else { r += `long, large dildo for ${his} pussy, since it must be stretched before it can accommodate a huge one.`; slave.vaginalAccessory = "long, large dildo"; } @@ -737,20 +748,22 @@ window.DefaultRules = (function() { if ((rule.aVirginDickAccessory !== undefined) && (rule.aVirginDickAccessory !== "no default setting")) { if ((slave.dickAccessory !== rule.aVirginDickAccessory)) { slave.dickAccessory = rule.aVirginDickAccessory; - if (slave.dickAccessory === "none") + if (slave.dickAccessory === "none") { r += `<br>${slave.slaveName} is a virgin and has been instructed not to wear a dick accessory.`; - else + } else { r += `<br>${slave.slaveName} is a virgin and has been given a ${slave.dickAccessory} accessory for ${his} cock.`; + } } } } else { if ((rule.dickAccessory !== undefined) && (rule.dickAccessory !== "no default setting")) { if ((slave.dickAccessory !== rule.dickAccessory)) { slave.dickAccessory = rule.dickAccessory; - if (slave.dickAccessory === "none") + if (slave.dickAccessory === "none") { r += `<br>${slave.slaveName} has been instructed not to wear a dick accessory.`; - else + } else { r += `<br>${slave.slaveName} has been given a ${slave.dickAccessory} accessory for ${his} cock.`; + } } } } @@ -819,10 +832,11 @@ window.DefaultRules = (function() { slave.bellyAccessory = "none"; } else { slave.bellyAccessory = rule.bellyAccessory; - if (slave.bellyAccessory === "none") + if (slave.bellyAccessory === "none") { r += `<br>${slave.slaveName} has been instructed not to wear a torso accessory.`; - else + } else { r += `<br>${slave.slaveName} has been given ${slave.bellyAccessory} to wear.`; + } } } } @@ -840,10 +854,11 @@ window.DefaultRules = (function() { function ProcessAnalAccessories(slave, rule) { // apply buttplugs and buttplug accessories to slave if (slave.chastityAnus !== 1) { - if (slave.anus === 0) + if (slave.anus === 0) { ProcessAnalVirginButtplugs(slave, rule); - else + } else { ProcessNonVirginButtplugs(slave, rule); + } } ProcessButtplugAttachments(slave, rule); } @@ -857,9 +872,9 @@ window.DefaultRules = (function() { switch (slave.buttplug) { case "huge plug": r += `<br>${slave.slaveName} is an anal virgin and has been given a `; - if ((slave.anus >= 2)) + if ((slave.anus >= 2)) { r += `massive plug to permanently gape ${his} asshole.`; - else { + } else { slave.buttplug = "large plug"; r += `large buttplug for ${his} asshole, since it must be stretched before it can accommodate a huge one.`; } @@ -885,9 +900,9 @@ window.DefaultRules = (function() { slave.buttplug = "huge plug"; } else { r += `<br>${slave.slaveName} is an anal virgin and has been given a `; - if (slave.anus >= 2) + if (slave.anus >= 2) { r += `massive and oversized plug to permanently gape ${his} asshole.`; - else { + } else { r += `long, large buttplug for ${his} asshole, since it must be stretched before it can accommodate a huge one.`; slave.buttplug = "long, large plug"; } @@ -915,9 +930,9 @@ window.DefaultRules = (function() { switch (slave.buttplug) { case "huge plug": r += `<br>${slave.slaveName} has been given a `; - if ((slave.anus >= 2)) + if ((slave.anus >= 2)) { r += `massive plug to permanently gape ${his} asshole.`; - else { + } else { slave.buttplug = "large plug"; r += `large buttplug for ${his} asshole, since it must be stretched before it can accommodate a huge one.`; } @@ -943,9 +958,9 @@ window.DefaultRules = (function() { slave.buttplug = "huge plug"; } else { r += `<br>${slave.slaveName} has been given a `; - if (slave.anus >= 2) + if (slave.anus >= 2) { r += `massive and oversized plug to permanently gape ${his} asshole.`; - else { + } else { r += `long, large buttplug for ${his} asshole, since it must be stretched before it can accommodate a huge one.`; slave.buttplug = "long, large plug"; } @@ -968,12 +983,11 @@ window.DefaultRules = (function() { function ProcessButtplugAttachments(slave, rule) { // apply buttplug accessories to slaves if (slave.buttplug === "none" && slave.buttplugAttachment !== "none") { - slave.buttplugAttachment = "none"; //clears buttplug attachments when buttplugs are removed above + slave.buttplugAttachment = "none"; // clears buttplug attachments when buttplugs are removed above } else if ((rule.buttplugAttachment !== undefined) && (rule.buttplugAttachment !== "no default setting")) { if ((slave.buttplugAttachment !== rule.buttplugAttachment)) { slave.buttplugAttachment = rule.buttplugAttachment; switch (slave.buttplugAttachment) { - case "none": r += `<br>${slave.slaveName} has been instructed not to use an attachment for ${his} anal accessory.`; break; @@ -1046,8 +1060,9 @@ window.DefaultRules = (function() { } } } else { // bellyDown - if (slave.bellyImplant < 0) + if (slave.bellyImplant < 0) { slave.bellyImplant = 0; + } SetBellySize(slave); if (slave.devotion > 50) { slave.devotion += 3; @@ -1073,13 +1088,12 @@ window.DefaultRules = (function() { } } } - + /** @param {App.Entity.SlaveState} slave */ function ProcessAbortions(slave, rule) { if ((rule.abortion !== undefined) && (rule.abortion !== "no default setting")) { if (rule.abortion === "all") { - - if (slave.preg < 4 || (slave.fetish === "mindbroken" || slave.fuckdoll != 0)) { + if (slave.preg < 4 || (slave.fetish === "mindbroken" || slave.fuckdoll !== 0)) { r += `<br>${slave.slaveName}'s pregnancy has been terminated.`; } else { r += `<br>${slave.slaveName}'s pregnancy has been terminated; `; @@ -1094,7 +1108,7 @@ window.DefaultRules = (function() { slave.trust -= 10, slave.devotion -= 10; } else if (slave.fetish === "pregnancy") { r += `${he} did not handle it well.`; - var fetishModifier = (slave.fetishStrength / 2); + let fetishModifier = (slave.fetishStrength / 2); slave.devotion -= (1 * fetishModifier), (slave.trust -= 1 * fetishModifier); } else if (slave.devotion <= 20) { r += `${he} did not handle it well.`; @@ -1103,20 +1117,26 @@ window.DefaultRules = (function() { r += `${he} did not handle it well.`; slave.trust -= 10; } else { - r += `it had little mental effect.`; + r += "it had little mental effect."; } } - if (lastPregRule(slave, V.defaultRules)) { slave.preg = -1; } else { slave.preg = 0; } - if (slave.abortionTat > -1) { slave.abortionTat++, cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); } + if (lastPregRule(slave, V.defaultRules)) { + slave.preg = -1; + } else { + slave.preg = 0; + } + if (slave.abortionTat > -1) { + slave.abortionTat++, cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); + } V.reservedChildren = FetusGlobalReserveCount("incubator"); V.reservedChildrenNursery = FetusGlobalReserveCount("nursery"); slave.pregType = 0, slave.pregSource = 0, slave.pregKnown = 0, slave.pregWeek = -2; WombFlush(slave); } else if (rule.abortion === "male") { if (slave.preg < 4) { - var WL = slave.womb.length; - for (var index = 0; index < WL; index++) { + let WL = slave.womb.length; + for (let index = 0; index < WL; index++) { if (slave.womb[index].genetics.gender === "XY") { WombRemoveFetus(slave, index); index--; @@ -1131,8 +1151,8 @@ window.DefaultRules = (function() { } } else if (rule.abortion === "female") { if (slave.preg < 4) { - var WL = slave.womb.length; - for (var index = 0; index < WL; index++) { + let WL = slave.womb.length; + for (let index = 0; index < WL; index++) { if (slave.womb[index].genetics.gender === "XX") { WombRemoveFetus(slave, index); index--; @@ -1142,7 +1162,6 @@ window.DefaultRules = (function() { if (WL === 0) { slave.pregType = 0, slave.pregSource = 0, slave.pregKnown = 0, slave.pregWeek = -2; WombFlush(slave); - } r += `<br>${slave.slaveName}'s female fetuses have been terminated.`; } @@ -1154,7 +1173,7 @@ window.DefaultRules = (function() { /** @param {App.Entity.SlaveState} slave */ function ProcessAssetGrowthDrugs(slave, rule) { // Asset Growth - const growth_drugs = new Set(["breast injections", "breast redistributors", "butt injections", "butt redistributors", "hyper breast injections", "hyper butt injections", "hyper penis enhancement", "hyper testicle enhancement", "intensive breast injections", "intensive butt injections", "intensive penis enhancement", "intensive testicle enhancement", "lip atrophiers", "lip injections", "penis atrophiers", "penis enhancement", "testicle atrophiers", "testicle enhancement"]); + const growthDrugs = new Set(["breast injections", "breast redistributors", "butt injections", "butt redistributors", "hyper breast injections", "hyper butt injections", "hyper penis enhancement", "hyper testicle enhancement", "intensive breast injections", "intensive butt injections", "intensive penis enhancement", "intensive testicle enhancement", "lip atrophiers", "lip injections", "penis atrophiers", "penis enhancement", "testicle atrophiers", "testicle enhancement"]); if ((slave.drugs === "super fertility drugs" || slave.drugs === "fertility drugs") && isFertile(slave)) { r += `<br>${slave.slaveName} is on ${slave.drugs} and will not be considered for drug enhancement until that regime is complete.`; return; @@ -1171,7 +1190,7 @@ window.DefaultRules = (function() { } else if ((slave.boobs > parseInt(rule.growth_boobs)+200) && slave.weight < 100 && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "breast redistributors", - weight: (1+((slave.boobs-slave.boobsImplant-slave.boobsMilk-rule.growth_boobs)/rule.growth_boobs)) }; + weight: (1+((slave.boobs-slave.boobsImplant-slave.boobsMilk-rule.growth_boobs)/rule.growth_boobs))}; _priorities.push(_priority); } } @@ -1183,7 +1202,7 @@ window.DefaultRules = (function() { } else if ((Math.trunc(slave.butt) > rule.growth_butt) && slave.weight < 100 && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "butt redistributors", - weight: (1+((slave.butt-slave.buttImplant-rule.growth_butt)/rule.growth_butt)) }; + weight: (1+((slave.butt-slave.buttImplant-rule.growth_butt)/rule.growth_butt))}; _priorities.push(_priority); } } @@ -1224,12 +1243,14 @@ window.DefaultRules = (function() { } } if (_priorities.length > 1) { - _priorities = _priorities.sort(function(a, b){if(a.weight > b.weight) return -1; if(a.weight < b.weight) return 1; return 0;}); + _priorities = _priorities.sort(function(a, b) { + if (a.weight > b.weight) return -1; if (a.weight < b.weight) return 1; return 0; + }); if (slave.drugs !== _priorities[0].drug) { slave.drugs = _priorities[0].drug; r += `<br>${slave.slaveName} has been put on `; if (rule.growth_intensity && slave.drugs !== "lip injections" && slave.health > 0) { - slave.drugs = "intensive " + slave.drugs; + slave.drugs = `intensive ${ slave.drugs}`; r += `${slave.drugs}, since ${he}'s healthy enough to take them, and `; } else { r += `${slave.drugs}, since `; @@ -1245,14 +1266,15 @@ window.DefaultRules = (function() { slave.drugs = _priorities[0].drug; r += `<br>${slave.slaveName} has been put on `; if (rule.growth_intensity && slave.drugs !== "lip injections" && slave.health > 0) { - slave.drugs = "intensive " + slave.drugs; + slave.drugs = `intensive ${ slave.drugs}`; r += `${slave.drugs}, since ${he}'s healthy enough to take them, and `; - } else + } else { r += `${slave.drugs}, since `; + } r += `that is the only part of ${his} body that does not meet the targeted size.`; } return; - } else if (growth_drugs.has(slave.drugs)) { + } else if (growthDrugs.has(slave.drugs)) { slave.drugs = "no drugs"; r += `<br>${slave.slaveName}'s body has met all relevant growth targets, so ${his} pharmaceutical regime has been ended.`; return; @@ -1350,7 +1372,7 @@ window.DefaultRules = (function() { } } } - if (growth_drugs.has(slave.drugs)) { + if (growthDrugs.has(slave.drugs)) { slave.drugs = "no drugs"; r += `<br>${slave.slaveName} has met all relevant growth targets, so ${his} pharmaceutical regime has been ended.`; return; @@ -1364,143 +1386,158 @@ window.DefaultRules = (function() { if (slave.indentureRestrictions < 2 && rule.drug !== "no default setting" && slave.drugs !== rule.drug) { let flag = true; switch (rule.drug) { - case "anti-aging cream": - if (slave.visualAge < 18) - flag = false; - break; - - case "growth stimulants": - if (!(slave.height < 274 && slave.height < Math.clamp((Height.mean(slave) * 1.25),0,274))) - flag = false; - break; - - case "sag-B-gone": - if (!(slave.boobs > 250 && slave.boobShape !== "saggy")) - flag = false; - break; + case "anti-aging cream": + if (slave.visualAge < 18) { + flag = false; + } + break; - case "female hormone injections": - if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0)) - flag = false; - break; + case "growth stimulants": + if (!(slave.height < 274 && slave.height < Math.clamp((Height.mean(slave) * 1.25), 0, 274))) { + flag = false; + } + break; - case "male hormone injections": - if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && slave.balls > 0 && slave.pubertyXY === 0)) - flag = false; - break; + case "sag-B-gone": + if (!(slave.boobs > 250 && slave.boobShape !== "saggy")) { + flag = false; + } + break; - case "psychosuppressants": - if (!(slave.intelligence > -100 && slave.indentureRestrictions < 1)) - flag = false; - break; + case "female hormone injections": + if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0)) { + flag = false; + } + break; - case "breast injections": - if (!(slave.boobs < 48000)) - flag = false; - break; + case "male hormone injections": + if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && slave.balls > 0 && slave.pubertyXY === 0)) { + flag = false; + } + break; - case "hyper breast injections": - if (!(slave.boobs < 48000)) - flag = false; - break; + case "psychosuppressants": + if (!(slave.intelligence > -100 && slave.indentureRestrictions < 1)) { + flag = false; + } + break; - case "breast redistributors": - if (!(slave.boobs - slave.boobsImplant > 100)) - flag = false; - break; + case "breast injections": + if (!(slave.boobs < 48000)) { + flag = false; + } + break; - case "butt injections": - if (!(slave.butt < 9)) - flag = false; - break; + case "hyper breast injections": + if (!(slave.boobs < 48000)) { + flag = false; + } + break; - case "hyper butt injections": - if (!(slave.butt < 20)) - flag = false; - break; + case "breast redistributors": + if (!(slave.boobs - slave.boobsImplant > 100)) { + flag = false; + } + break; - case "nipple atrophiers": - if (!(["cute", "huge", "puffy"].includes(slave.nipples))) - flag = false; - break; + case "butt injections": + if (!(slave.butt < 9)) { + flag = false; + } + break; - case "butt redistributors": - if (!(slave.buttImplant > 0)) - flag = false; - break; + case "hyper butt injections": + if (!(slave.butt < 20)) { + flag = false; + } + break; - case "lip injections": - if (!(slave.lips <= 95 || (slave.lips <= 85 && V.seeExtreme !== 1))) - flag = false; - break; + case "nipple atrophiers": + if (!(["cute", "huge", "puffy"].includes(slave.nipples))) { + flag = false; + } + break; - case "lip atrophiers": - if (!(slave.lips - slave.lipsImplant > 0)) - flag = false; - break; + case "butt redistributors": + if (!(slave.buttImplant > 0)) { + flag = false; + } + break; - case "super fertility drugs": - if (!(slave.indentureRestrictions < 1 && (slave.breedingMark !== 1 || V.propOutcome === 0))) - flag = false; - break; + case "lip injections": + if (!(slave.lips <= 95 || (slave.lips <= 85 && V.seeExtreme !== 1))) { + flag = false; + } + break; - case "penis enhancement": - if (!((slave.dick > 0 && slave.dick < 10) || slave.clit < 5)) - flag = false; - break; + case "lip atrophiers": + if (!(slave.lips - slave.lipsImplant > 0)) { + flag = false; + } + break; - case "hyper penis enhancement": - if (!((slave.dick > 0 && slave.dick < 31) || slave.clit < 5)) - flag = false; - break; + case "super fertility drugs": + if (!(slave.indentureRestrictions < 1 && (slave.breedingMark !== 1 || V.propOutcome === 0))) { + flag = false; + } + break; - case "penis atrophiers": - if (!(slave.dick > 1)) - flag = false; - break; + case "penis enhancement": + if (!((slave.dick > 0 && slave.dick < 10) || slave.clit < 5)) { + flag = false; + } + break; - case "testicle enhancement": - if (!(slave.balls > 0)) - flag = false; - break; + case "hyper penis enhancement": + if (!((slave.dick > 0 && slave.dick < 31) || slave.clit < 5)) { + flag = false; + } + break; - case "hyper testicle enhancement": - if (!(slave.balls > 0)) - flag = false; - break; + case "penis atrophiers": + if (!(slave.dick > 1)) { + flag = false; + } + break; - case "testicle atrophiers": - if (!(slave.balls > 1)) - flag = false; - break; + case "testicle enhancement": + if (!(slave.balls > 0)) { + flag = false; + } + break; - case "clitoris atrophiers": - if (!(slave.clit > 0)) - flag = false; - break; + case "hyper testicle enhancement": + if (!(slave.balls > 0)) { + flag = false; + } + break; - case "labia atrophiers": - if (!(slave.labia > 0)) - flag = false; - break; + case "testicle atrophiers": + if (!(slave.balls > 1)) { + flag = false; + } + break; - case "appetite suppressors": - if (!(slave.weight <= -95)) - flag = false; - break; + case "clitoris atrophiers": + if (!(slave.clit > 0)) { + flag = false; + } + break; - case "female hormone injections": - if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0)) - flag = false; - break; + case "labia atrophiers": + if (!(slave.labia > 0)) { + flag = false; + } + break; - case "male hormone injections": - if (!(slave.balls > 0 && slave.pubertyXY === 0)) - flag = false; - break; + case "appetite suppressors": + if (!(slave.weight <= -95)) { + flag = false; + } + break; - default: - break; + default: + break; } if (flag) { slave.drugs = rule.drug; @@ -1583,7 +1620,6 @@ window.DefaultRules = (function() { slave.diet = "restricted"; r += `<br>${slave.slaveName} is too fat so ${his} diet has been set to restricted.`; } - } else if ((slave.weight - rule.diet) < -5) { if ((slave.diet !== "fattening")) { slave.diet = "fattening"; @@ -1674,7 +1710,7 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName} has been put on a diet of cleansers.`; } } else if ((rule.diet === "fertility")) { - if (isFertile(slave) && slave.preg == 0) { + if (isFertile(slave) && slave.preg === 0) { if ((slave.diet !== "fertility")) { slave.diet = "fertility"; r += `<br>${slave.slaveName} has been put on a diet to enhance fertility.`; @@ -1747,7 +1783,7 @@ window.DefaultRules = (function() { slave.curatives = rule.curatives; } } else { - r += `<br>${slave.slaveName} has been ${rule.curatives > 0 ? `put on preventatives` : `taken off health drugs`}`; + r += `<br>${slave.slaveName} has been ${rule.curatives > 0 ? "put on preventatives" : "taken off health drugs"}`; slave.curatives = rule.curatives; } } @@ -1758,7 +1794,7 @@ window.DefaultRules = (function() { function ProcessAphrodisiacs(slave, rule) { if ((rule.aphrodisiacs !== undefined) && (rule.aphrodisiacs !== "no default setting")) { if (slave.aphrodisiacs !== rule.aphrodisiacs) { - r += `<br>${slave.slaveName} has been ${rule.aphrodisiacs > 0 ? `put on the proper` : `taken off`} aphrodisiacs.`; + r += `<br>${slave.slaveName} has been ${rule.aphrodisiacs > 0 ? "put on the proper" : "taken off"} aphrodisiacs.`; slave.aphrodisiacs = rule.aphrodisiacs; } } @@ -1850,7 +1886,7 @@ window.DefaultRules = (function() { function ProcessLivingStandard(slave, rule) { if ((rule.livingRules !== undefined) && (rule.livingRules !== "no default setting")) { if (setup.facilityCareers.includes(slave.assignment)) { - r += ``; // `<br>${slave.slaveName}'s living standards are controlled by ${his} assignment.`; + r += ""; // `<br>${slave.slaveName}'s living standards are controlled by ${his} assignment.`; } else if (((slave.assignment === "be your Head Girl") && (V.HGSuite === 1)) || ((slave.assignment === "guard you") && (V.dojo > 1))) { r += `<br>${slave.slaveName} has a private room.`; } else if ((slave.fetish === "mindbroken")) { @@ -1863,10 +1899,11 @@ window.DefaultRules = (function() { if (V.roomsPopulation <= V.rooms-0.5) { slave.livingRules = rule.livingRules; r += `<br>${slave.slaveName}'s living standard has been set to ${rule.livingRules}.`; - if (slave.relationship >= 4) + if (slave.relationship >= 4) { V.roomsPopulation += 0.5; - else + } else { V.roomsPopulation += 1; + } } else { slave.livingRules = "normal"; r += `<br>${slave.slaveName}'s living standard has been set to normal, since there is no room for ${him} to occupy.`; @@ -1915,7 +1952,7 @@ window.DefaultRules = (function() { if ((slave.fetish !== "mindbroken")) { if ((rule.relationshipRules !== undefined) && (rule.relationshipRules !== "no default setting")) { if ((slave.relationshipRules !== rule.relationshipRules )) { - slave.relationshipRules = rule.relationshipRules ; + slave.relationshipRules = rule.relationshipRules; r += `<br>${slave.slaveName}'s relationship rules have been set to ${rule.relationshipRules}.`; } } @@ -1927,10 +1964,11 @@ window.DefaultRules = (function() { if ((rule.releaseRules !== undefined) && (rule.releaseRules !== "no default setting")) { let _release = 0; if (rule.releaseRules === "restrictive" && - !(["be a subordinate slave", "be confined in the arcade", "be your Head Girl", "get milked", "please you", "serve in the club", "serve in the master suite", "serve the public", "whore", "work a glory hole", "work as a farmhand", "work in the brothel", "work in the dairy"].contains(slave.assignment))) + !(["be a subordinate slave", "be confined in the arcade", "be your Head Girl", "get milked", "please you", "serve in the club", "serve in the master suite", "serve the public", "whore", "work a glory hole", "work as a farmhand", "work in the brothel", "work in the dairy"].contains(slave.assignment))) { _release = 1; - else + } else { _release = 1; + } if ((slave.fetish === "mindbroken") && (slave.releaseRules !== "permissive")) { slave.releaseRules = "permissive"; r += `<br>Since ${slave.slaveName} is mindbroken, ${his} masturbation rules have been set to permissive.`; @@ -1948,7 +1986,7 @@ window.DefaultRules = (function() { function ProcessPunishment(slave, rule) { if ((rule.standardPunishment !== undefined) && (rule.standardPunishment !== "no default setting")) { if ((slave.standardPunishment !== rule.standardPunishment)) { - slave.standardPunishment = rule.standardPunishment ; + slave.standardPunishment = rule.standardPunishment; r += `<br>${slave.slaveName}'s typical punishment has been updated to ${rule.standardPunishment}.`; } } @@ -1958,7 +1996,7 @@ window.DefaultRules = (function() { function ProcessReward(slave, rule) { if ((rule.standardReward !== undefined) && (rule.standardReward !== "no default setting")) { if ((slave.standardReward !== rule.standardReward)) { - slave.standardReward = rule.standardReward ; + slave.standardReward = rule.standardReward; r += `<br>${slave.slaveName}'s typical reward has been updated to ${rule.standardReward}.`; } } @@ -1969,30 +2007,30 @@ window.DefaultRules = (function() { if ((rule.toyHole !== undefined) && (rule.toyHole !== "no default setting")) { if (rule.toyHole === "pussy") { if (slave.vagina > 0 && canDoVaginal(slave)) { - slave.toyHole = rule.toyHole ; + slave.toyHole = rule.toyHole; r += `<br>${slave.slaveName} has been instructed to use ${his} ${rule.toyHole} to please you.`; } else if (slave.toyHole !== "all her holes") { - slave.toyHole = "all her holes" ; + slave.toyHole = "all her holes"; r += `<br>${slave.slaveName}'s hole preference has defaulted to all ${his} holes.`; } } else if (rule.toyHole === "ass") { if (slave.anus > 0 && canDoAnal(slave)) { - slave.toyHole = rule.toyHole ; + slave.toyHole = rule.toyHole; r += `<br>${slave.slaveName} has been instructed to use ${his} ${rule.toyHole} to please you.`; } else if (slave.toyHole !== "all her holes") { - slave.toyHole = "all her holes" ; + slave.toyHole = "all her holes"; r += `<br>${slave.slaveName}'s hole preference has defaulted to all ${his} holes.`; } } else if (rule.toyHole === "dick") { if (slave.dick > 0 && canPenetrate(slave)) { - slave.toyHole = rule.toyHole ; + slave.toyHole = rule.toyHole; r += `<br>${slave.slaveName} has been instructed to use ${his} ${rule.toyHole} to please you.`; } else if (slave.toyHole !== "all her holes") { - slave.toyHole = "all her holes" ; + slave.toyHole = "all her holes"; r += `<br>${slave.slaveName}'s hole preference has defaulted to all ${his} holes.`; } } else if ((slave.toyHole !== rule.toyHole)) { - slave.toyHole = rule.toyHole ; + slave.toyHole = rule.toyHole; r += `<br>${slave.slaveName} has been instructed to use ${his} ${rule.toyHole} to please you.`; } } @@ -2007,10 +2045,11 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName} has been put on a diet based on cum.`; slave.dietMilk = 0; } - if (slave.dietCum === 1) + if (slave.dietCum === 1) { r += `<br>${slave.slaveName} has had cum added to ${his} diet.`; - else + } else { r += `<br>${slave.slaveName} has had cum removed from ${his} diet.`; + } } } } @@ -2024,10 +2063,11 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName} has been put on a diet based on human milk.`; slave.dietCum = 0; } - if (slave.dietMilk === 1) + if (slave.dietMilk === 1) { r += `<br>${slave.slaveName} has had human milk added to ${his} diet.`; - else + } else { r += `<br>${slave.slaveName} has had human milk removed from ${his} diet.`; + } } } } @@ -2036,11 +2076,12 @@ window.DefaultRules = (function() { function ProcessSolidFood(slave, rule) { if ((rule.onDiet !== undefined) && (rule.onDiet !== "no default setting")) { if ((slave.onDiet !== rule.onDiet)) { - slave.onDiet = rule.onDiet ; - if (slave.onDiet === 1) + slave.onDiet = rule.onDiet; + if (slave.onDiet === 1) { r += `<br>${slave.slaveName} is not permitted to eat the solid slave food.`; - else + } else { r += `<br>${slave.slaveName} is permitted to eat the solid slave food.`; + } } } } @@ -2133,8 +2174,9 @@ window.DefaultRules = (function() { if ((rule.hStyle === "shaved")) { slave.hLength = 0; r += `<br>${slave.slaveName}'s hair has been shaved.`; - } else + } else { r += `<br>${slave.slaveName}'s hair has been restyled.`; + } } } } @@ -2149,8 +2191,8 @@ window.DefaultRules = (function() { cashX(forceNeg(V.modCost*Math.trunc((rule.hLength-slave.hLength)/10)), "slaveMod"); r += `<br>${slave.slaveName} has been given extensions; ${his} hair `; } - r += `is now ${lengthToEitherUnit(rule.hLength)} long.`; - slave.hLength = rule.hLength; + r += `is now ${lengthToEitherUnit(rule.hLength)} long.`; + slave.hLength = rule.hLength; } } } @@ -2268,10 +2310,10 @@ window.DefaultRules = (function() { } if (rule.markings !== undefined && (rule.markings !== "no default setting")) { - if (slave.markings == "beauty mark" && (rule.markings == "remove beauty marks" || rule.markings == "remove both")) { + if (slave.markings === "beauty mark" && (rule.markings === "remove beauty marks" || rule.markings === "remove both")) { r += `<br>${slave.slaveName}'s beauty mark has been removed.`; } - if (slave.markings == "birthmark" && (rule.markings == "remove birthmarks" || rule.markings == "remove both")) { + if (slave.markings === "birthmark" && (rule.markings === "remove birthmarks" || rule.markings === "remove both")) { r += `<br>${slave.slaveName}'s birthmark has been bleached away.`; } slave.markings = "none"; @@ -2287,8 +2329,6 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName}'s skin color has been set to ${rule.skinColor}.`; } } - - } function ProcessPiercings(slave, rule) { @@ -2324,22 +2364,24 @@ window.DefaultRules = (function() { if ((slave.clitPiercing !== rule.clitPiercing)) { if ((rule.clitPiercing === 0)) { slave.clitPiercing = 0; - if (slave.dick > 0) + if (slave.dick > 0) { r += `<br>${slave.slaveName}'s frenulum piercing has been removed.`; - else + } else { r += `<br>${slave.slaveName}'s clit piercing has been removed.`; - + } } else if ((slave.vagina !== -1) || (slave.dick !== 0)) { slave.clitPiercing = rule.clitPiercing; - if (slave.dick > 0) + if (slave.dick > 0) { r += `<br>${slave.slaveName}'s frenulum has been pierced.`; - else + } else { r += `<br>${slave.slaveName}'s clit has been pierced.`; + } - if (rule.clitPiercing === 3) + if (rule.clitPiercing === 3) { cashX(-1000, "slaveMod"); - else + } else { cashX(forceNeg(V.modCost), "slaveMod", slave); + } } } } @@ -2642,11 +2684,12 @@ window.DefaultRules = (function() { if ((slave.health > -20)) { slave.brand = V.brandDesign; slave.brandLocation = V.brandTarget; - if ((slave.devotion < 18)) + if ((slave.devotion < 18)) { slave.devotion -= 5; + } slave.trust -= 5; slave.health -= 10; - r += `<br>${slave.slaveName} has been branded, with <span class="gold">fear</span>${slave.devotion < 18? `, <span class="mediumorchid">regard,</span>`:``} and <span class="red">health</span> consequences.`; + r += `<br>${slave.slaveName} has been branded, with <span class="gold">fear</span>${slave.devotion < 18? ", <span class=\"mediumorchid\">regard,</span>":""} and <span class="red">health</span> consequences.`; } } } @@ -2662,7 +2705,9 @@ window.DefaultRules = (function() { } slave.pornFeed = rule.pornFeed; let yesno = slave.pornFeed ? "are now" : "are no longer"; - if (slave.pornFeed === 0) { slave.pornFameSpending = 0;} + if (slave.pornFeed === 0) { + slave.pornFameSpending = 0; + } r += `<br>Highlights of ${slave.slaveName}'s sex life ${yesno} being released.`; } @@ -2679,13 +2724,13 @@ window.DefaultRules = (function() { /** @param {App.Entity.SlaveState} slave */ function ProcessLabel(slave, rule) { - if (rule.label !== "no default setting" && !slave.customLabel.includes("["+rule.label+"]")) { - slave.customLabel = slave.customLabel + "[" + rule.label + "]"; + if (rule.label !== "no default setting" && !slave.customLabel.includes(`[${rule.label}]`)) { + slave.customLabel = `${slave.customLabel }[${ rule.label }]`; r += `<br>${slave.slaveName} has been tagged as ${rule.label}`; } - if (rule.removeLabel !== "no default setting" && slave.customLabel.includes("["+rule.removeLabel+"]")) { - slave.customLabel = slave.customLabel.replace("["+rule.removeLabel+"]", ""); + if (rule.removeLabel !== "no default setting" && slave.customLabel.includes(`[${rule.removeLabel}]`)) { + slave.customLabel = slave.customLabel.replace(`[${rule.removeLabel}]`, ""); r += `<br>${slave.slaveName}'s tag [${rule.removeLabel}] is removed.`; } } diff --git a/src/js/assayJS.js b/src/js/assayJS.js index e832c720759527bcd42eaefbd5b5b8d8848277f5..ae153a588a43c557bb11e61cbf47af7e4b38c6df 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -403,7 +403,7 @@ window.newChild = /** @param {App.Entity.SlaveState} slave */ function newChild( break; case "milky white": case "implant": - child.origEye = jsEither(["blue", "green", "brown", "hazel", "light blue", "light green", "dark green", "dark blue"]); + child.origEye = jsEither(["blue", "brown", "dark blue", "dark green", "green", "hazel", "light blue", "light green"]); break; default: child.origEye = child.eyeColor; @@ -685,7 +685,7 @@ window.fetishChangeChance = /** @param {App.Entity.SlaveState} slave */ function window.SlaveFullName = /** @param {App.Entity.SlaveState} slave */ function SlaveFullName(slave) { const V = State.variables; const pair = slave.slaveSurname ? [slave.slaveName, slave.slaveSurname] : [slave.slaveName]; - if (V.surnameOrder !== 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes(slave.nationality)) + if ((V.surnameOrder !== 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes(slave.nationality)) || (V.surnameOrder === 2)) pair.reverse(); return pair.join(" "); }; @@ -693,24 +693,15 @@ window.SlaveFullName = /** @param {App.Entity.SlaveState} slave */ function Slav window.SlaveFullBirthName = /** @param {App.Entity.SlaveState} slave */ function SlaveFullBirthName(slave) { const V = State.variables; const pair = slave.birthSurname ? [slave.birthName, slave.birthSurname] : [slave.birthName]; - if (V.surnameOrder !== 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes(slave.nationality)) + if ((V.surnameOrder !== 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes(slave.nationality)) || (V.surnameOrder === 2)) pair.reverse(); return pair.join(" "); }; window.PlayerName = function PlayerName() { const V = State.variables; - const surnamesFirstCountries = [ - "Cambodian", - "Chinese", - "Hungarian", - "Japanese", - "Korean", - "Mongolian", - "Taiwanese", - "Vietnamese"]; let names = V.PC.surname ? [V.PC.name, V.PC.surname] : [V.PC.name]; - if ((V.surnameOrder !== 1) && (surnamesFirstCountries.includes(V.PC.nationality))) + if ((V.surnameOrder !== 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes(V.PC.nationality)) || (V.surnameOrder === 2)) names.reverse(); return names.join(" "); }; @@ -1975,10 +1966,10 @@ window.DegradingName = /** @param {App.Entity.SlaveState} slave */ function Degr slave.slaveName = jsEither(["Bath", "Spa"]); break; case "be the Matron": - slave.slaveName = jsEither(["Nursery", "Matron"]); + slave.slaveName = jsEither(["Matron", "Nursery"]); break; case "be the Stewardess": - slave.slaveName = jsEither(["Servant", "Maid"]); + slave.slaveName = jsEither(["Maid", "Servant"]); break; case "be the Milkmaid": if (V.cumSlaves > 3) { @@ -1988,7 +1979,7 @@ window.DegradingName = /** @param {App.Entity.SlaveState} slave */ function Degr } break; case "be the Farmer": - slave.slaveName = jsEither(["Farmhand", "Farmer"]); + slave.slaveName = jsEither(["Farmer", "Farmhand"]); break; case "be the DJ": slave.slaveName = jsEither(["Bass", "Booth"]); @@ -2286,7 +2277,7 @@ window.Deadliness = /** @param {App.Entity.SlaveState} slave */ function Deadlin if (!canSee(slave)) { deadliness -= 8; - } else if ((slave.eyes === -1 && !["corrective glasses", "corrective contacts"].includes(slave.eyewear)) || (slave.eyes === 1 && ["blurring glasses", "blurring contacts"].includes(slave.eyewear))) { + } else if ((slave.eyes === -1 && !["corrective contacts", "corrective glasses"].includes(slave.eyewear)) || (slave.eyes === 1 && ["blurring contacts", "blurring glasses"].includes(slave.eyewear))) { deadliness -= 1; } diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js index 3e8d36da42a552794981c4a744b119dd30adacd8..923ec88aa2a87acdc08af7d20bd44502975c4f77 100644 --- a/src/js/datatypeCleanupJS.js +++ b/src/js/datatypeCleanupJS.js @@ -199,8 +199,8 @@ window.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { slave.analArea = Math.max(+slave.analArea, 0) || 0; } - /** @param {App.Entity.SlaveState} slave */ - function slaveNekoDatatypeCleanup(slave) { + /** @param {App.Entity.SlaveState} slave */ + function slaveNekoDatatypeCleanup(slave) { if (typeof slave.earShape !== "string") { slave.earShape = "normal"; } @@ -1442,10 +1442,13 @@ window.FacilityDatatypeCleanup = (function() { function FacilityIDArrayCleanup() { function helperFunction(facilityIDArray) { - if (!Array.isArray(facilityIDArray)) + if (!Array.isArray(facilityIDArray)) { facilityIDArray = []; - else if (typeof facilityIDArray[0] === "object") - facilityIDArray = facilityIDArray.map(function(a) { return a.ID; }); + } else if (typeof facilityIDArray[0] === "object") { + facilityIDArray = facilityIDArray.map(function(a) { + return a.ID; + }); + } } helperFunction(V.BrothiIDs); helperFunction(V.DairyiIDs); @@ -1509,7 +1512,9 @@ window.FacilityDatatypeCleanup = (function() { V.brothel = Math.max(+V.brothel, 0) || 0; V.brothelUpgradeDrugs = Math.clamp(+V.brothelUpgradeDrugs, 0, 2) || 0; /* madam */ - V.Madam = V.slaves.find(function(s) { return s.assignment === "be the Madam"; }) || 0; + V.Madam = V.slaves.find(function(s) { + return s.assignment === "be the Madam"; + }) || 0; V.MadamIgnoresFlaws = Math.clamp(+V.MadamIgnoresFlaws, 0, 1) || 0; } @@ -1539,7 +1544,9 @@ window.FacilityDatatypeCleanup = (function() { V.bioreactorsXY = Math.max(+V.bioreactorsXY, 0) || 0; V.bioreactorsBarren = Math.max(+V.bioreactorsBarren, 0) || 0; /* milkmaid */ - V.Milkmaid = V.slaves.find(function(s) { return s.assignment === "be the Milkmaid"; }) || 0; + V.Milkmaid = V.slaves.find(function(s) { + return s.assignment === "be the Milkmaid"; + }) || 0; V.milkmaidImpregnates = Math.clamp(+V.milkmaidImpregnates, 0, 1) || 0; } @@ -1556,7 +1563,9 @@ window.FacilityDatatypeCleanup = (function() { V.club = Math.max(+V.club, 0) || 0; V.clubUpgradePDAs = Math.clamp(+V.clubUpgradePDAs, 0, 1) || 0; /* madam */ - V.DJ = V.slaves.find(function(s) { return s.assignment === "be the DJ"; }) || 0; + V.DJ = V.slaves.find(function(s) { + return s.assignment === "be the DJ"; + }) || 0; V.DJignoresFlaws = Math.clamp(+V.DJignoresFlaws, 0, 1) || 0; } @@ -1565,7 +1574,9 @@ window.FacilityDatatypeCleanup = (function() { V.servantsQuarters = Math.max(+V.servantsQuarters, 0) || 0; V.servantsQuartersUpgradeMonitoring = Math.clamp(+V.servantsQuartersUpgradeMonitoring, 0, 1) || 0; /* stewardess */ - V.Stewardess = V.slaves.find(function(s) { return s.assignment === "be the Stewardess"; }) || 0; + V.Stewardess = V.slaves.find(function(s) { + return s.assignment === "be the Stewardess"; + }) || 0; V.stewardessImpregnates = Math.clamp(+V.stewardessImpregnates, 0, 1) || 0; } @@ -1576,7 +1587,9 @@ window.FacilityDatatypeCleanup = (function() { V.schoolroomUpgradeLanguage = Math.clamp(+V.schoolroomUpgradeLanguage, 0, 1) || 0; V.schoolroomUpgradeRemedial = Math.clamp(+V.schoolroomUpgradeRemedial, 0, 1) || 0; /* schoolteacher */ - V.Schoolteacher = V.slaves.find(function(s) { return s.assignment === "be the Schoolteacher"; }) || 0; + V.Schoolteacher = V.slaves.find(function(s) { + return s.assignment === "be the Schoolteacher"; + }) || 0; } function SpaDatatypeCleanup() { @@ -1584,7 +1597,9 @@ window.FacilityDatatypeCleanup = (function() { V.spa = Math.max(+V.spa, 0) || 0; V.spaUpgrade = Math.clamp(+V.spaUpgrade, 0, 1) || 0; /* attendant */ - V.Attendant = V.slaves.find(function(s) { return s.assignment === "be the Attendant"; }) || 0; + V.Attendant = V.slaves.find(function(s) { + return s.assignment === "be the Attendant"; + }) || 0; V.spaFix = Math.clamp(+V.spaFix, 0, 2) || 0; } @@ -1597,7 +1612,9 @@ window.FacilityDatatypeCleanup = (function() { V.clinicInflateBelly = Math.clamp(+V.clinicInflateBelly, 0, 1) || 0; V.clinicSpeedGestation = Math.clamp(+V.clinicSpeedGestation, 0, 1) || 0; /* nurse */ - V.Nurse = V.slaves.find(function(s) { return s.assignment === "be the Nurse"; }) || 0; + V.Nurse = V.slaves.find(function(s) { + return s.assignment === "be the Nurse"; + }) || 0; } function ArcadeDatatypeCleanup() { @@ -1614,7 +1631,9 @@ window.FacilityDatatypeCleanup = (function() { V.cellblock = Math.max(+V.cellblock, 0) || 0; V.cellblockUpgrade = Math.clamp(+V.cellblockUpgrade, 0, 1) || 0; /* wardeness */ - V.Wardeness = V.slaves.find(function(s) { return s.assignment === "be the Wardeness"; }) || 0; + V.Wardeness = V.slaves.find(function(s) { + return s.assignment === "be the Wardeness"; + }) || 0; V.cellblockWardenCumsInside = Math.clamp(+V.cellblockWardenCumsInside, 0, 1) || 0; } @@ -1628,18 +1647,25 @@ window.FacilityDatatypeCleanup = (function() { V.masterSuitePregnancyFertilityDrugs = Math.clamp(+V.masterSuitePregnancyFertilityDrugs, 0, 1) || 0; V.masterSuiteHyperPregnancy = Math.clamp(+V.masterSuiteHyperPregnancy, 0, 1) || 0; /* concubine */ - V.Concubine = V.slaves.find(function(s) { return s.assignment === "be your Concubine"; }) || 0; + V.Concubine = V.slaves.find(function(s) { + return s.assignment === "be your Concubine"; + }) || 0; } - function HeadGirlSuiteDatatypeCleanup(){ + function HeadGirlSuiteDatatypeCleanup() { /* headgirl */ - V.HeadGirl = V.slaves.find(function(s) { return s.assignment === "be your Head Girl"; }) || 0; + V.HeadGirl = V.slaves.find(function(s) { + return s.assignment === "be your Head Girl"; + }) || 0; V.HGSuiteEquality = Math.clamp(+V.HGSuiteEquality, 0, 1) || 0; - if (V.HGSuiteSurgery !== 0) + if (V.HGSuiteSurgery !== 0) { V.HGSuiteSurgery = 1; - if (V.HGSuiteDrugs !== 0) + } + if (V.HGSuiteDrugs !== 0) { V.HGSuiteDrugs = 1; - if (V.HGSuiteHormones !== 0) + } + if (V.HGSuiteHormones !== 0) { V.HGSuiteHormones = 1; + } } })(); diff --git a/src/js/eventSelectionJS.js b/src/js/eventSelectionJS.js index c20ae53c1b3d02c5d99415145b59bd2c475b88e8..1c54d146f835e9493ef6988269a7809f4fa5bd67 100644 --- a/src/js/eventSelectionJS.js +++ b/src/js/eventSelectionJS.js @@ -1,11 +1,9 @@ -window.generateRandomEventPoolStandard = function (eventSlave) { - +window.generateRandomEventPoolStandard = function(eventSlave) { /* STANDARD EVENTS */ if (eventSlave.fetish !== "mindbroken") { if (canWalk(eventSlave)) { if (canTalk(eventSlave)) { - if (State.variables.RECockmilkInterceptionIDs.length > 1 || (State.variables.RECockmilkInterceptionIDs.length === 1 && eventSlave.ID !== State.variables.RECockmilkInterceptionIDs[0])) { if (eventSlave.devotion > 20) { if (eventSlave.dietCum > 0 || (eventSlave.fetishKnown && eventSlave.fetish === "cumslut")) { @@ -227,7 +225,9 @@ window.generateRandomEventPoolStandard = function (eventSlave) { } if (eventSlave.relationship > 3) { - var relationshipSlave = State.variables.slaves.find(function (s) { return s.ID === eventSlave.relationshipTarget; }); + let relationshipSlave = State.variables.slaves.find(function(s) { + return s.ID === eventSlave.relationshipTarget; + }); if (relationshipSlave.devotion > 20) { if (canWalk(relationshipSlave)) { if (canTalk(relationshipSlave)) { @@ -290,7 +290,7 @@ window.generateRandomEventPoolStandard = function (eventSlave) { if (eventSlave.devotion > 50) { if (eventSlave.trust > 50) { - var giver = 0; + let giver = 0; if (State.variables.HeadGirl === 0) { giver = 1; } else if (State.variables.HeadGirl.ID !== eventSlave.ID) { @@ -813,7 +813,6 @@ window.generateRandomEventPoolStandard = function (eventSlave) { } } } - } /* closes mute exempt */ if (eventSlave.devotion > 20) { @@ -1335,11 +1334,9 @@ window.generateRandomEventPoolStandard = function (eventSlave) { } } } - } /* closes amp/crawling exempt */ if (canTalk(eventSlave)) { - if (eventSlave.speechRules !== "restrictive") { if (eventSlave.boobsImplant > 400) { if (eventSlave.lipsImplant >= 30) { @@ -1478,7 +1475,6 @@ window.generateRandomEventPoolStandard = function (eventSlave) { } } } - } /* closes mute exempt */ if (State.variables.cockFeeder === 0) { @@ -1775,7 +1771,6 @@ window.generateRandomEventPoolStandard = function (eventSlave) { if (eventSlave.prestige === 0) { if (eventSlave.devotion > 50) { if (eventSlave.trust > 50) { - if (eventSlave.entertainSkill >= 100) { if (eventSlave.assignment === "serve the public") { State.variables.events.push("RE legendary entertainer"); @@ -1821,7 +1816,6 @@ window.generateRandomEventPoolStandard = function (eventSlave) { State.variables.events.push("RE former abolitionist"); } } - } } } @@ -1829,7 +1823,7 @@ window.generateRandomEventPoolStandard = function (eventSlave) { /* NICKNAME EVENTS */ if (State.variables.nicknamesAllowed === 1) { - var toSearch = eventSlave.slaveName.toLowerCase(); + let toSearch = eventSlave.slaveName.toLowerCase(); if (toSearch.indexOf("'") === -1) { if (State.variables.week - eventSlave.weekAcquired >= 4) { State.variables.events.push("RE nickname"); @@ -1837,7 +1831,6 @@ window.generateRandomEventPoolStandard = function (eventSlave) { } } /* closes nickname check */ } /* closes no nicknames option */ - } /* closes mindbreak exempt */ if (eventSlave.fetish === "mindbroken") { @@ -1865,18 +1858,15 @@ window.generateRandomEventPoolStandard = function (eventSlave) { } } } - }; /* servants spend a lot of time in the penthouse, so should be eligible for a number (but not all) random events */ -window.generateRandomEventPoolServant = function (eventSlave) { - +window.generateRandomEventPoolServant = function(eventSlave) { /* STANDARD EVENTS */ if (eventSlave.fetish !== "mindbroken") { if (canWalk(eventSlave)) { if (canTalk(eventSlave)) { - if (State.variables.RECockmilkInterceptionIDs.length > 1 || (State.variables.RECockmilkInterceptionIDs.length === 1 && eventSlave.ID !== State.variables.RECockmilkInterceptionIDs[0])) { if (eventSlave.devotion > 20) { if (eventSlave.dietCum > 0 || (eventSlave.fetishKnown && eventSlave.fetish === "cumslut")) { @@ -1962,7 +1952,9 @@ window.generateRandomEventPoolServant = function (eventSlave) { } if (eventSlave.relationship > 3) { - var relationshipSlave = State.variables.slaves.find(function (s) { return s.ID === eventSlave.relationshipTarget; }); + let relationshipSlave = State.variables.slaves.find(function(s) { + return s.ID === eventSlave.relationshipTarget; + }); if (relationshipSlave.devotion > 20) { if (canWalk(relationshipSlave)) { if (canTalk(relationshipSlave)) { @@ -1998,7 +1990,7 @@ window.generateRandomEventPoolServant = function (eventSlave) { if (eventSlave.devotion > 50) { if (eventSlave.trust > 50) { - var giver = 0; + let giver = 0; if (State.variables.HeadGirl === 0) { giver = 1; } else if (State.variables.HeadGirl.ID !== eventSlave.ID) { @@ -2307,7 +2299,6 @@ window.generateRandomEventPoolServant = function (eventSlave) { } } } - } /* closes mute exempt */ if (eventSlave.devotion > 20) { @@ -2675,11 +2666,9 @@ window.generateRandomEventPoolServant = function (eventSlave) { } } } - } /* closes amp/crawling exempt */ if (canTalk(eventSlave)) { - if (eventSlave.speechRules !== "restrictive") { if (eventSlave.boobsImplant > 400) { if (eventSlave.lipsImplant >= 30) { @@ -2731,7 +2720,6 @@ window.generateRandomEventPoolServant = function (eventSlave) { } } } - } /* closes mute exempt */ if (State.variables.cockFeeder === 0) { @@ -2946,7 +2934,7 @@ window.generateRandomEventPoolServant = function (eventSlave) { /* NICKNAME EVENTS */ if (State.variables.nicknamesAllowed === 1) { - var toSearch = eventSlave.slaveName.toLowerCase(); + let toSearch = eventSlave.slaveName.toLowerCase(); if (toSearch.indexOf("'") === -1) { if (State.variables.week - eventSlave.weekAcquired >= 4) { State.variables.events.push("RE nickname"); @@ -2954,7 +2942,6 @@ window.generateRandomEventPoolServant = function (eventSlave) { } } /* closes nickname check */ } /* closes no nicknames option */ - } /* closes mindbreak exempt */ if (eventSlave.fetish === "mindbroken") { @@ -2971,14 +2958,12 @@ window.generateRandomEventPoolServant = function (eventSlave) { } } } - }; -window.populateEventArray = function (RESS = State.variables.RESSevent.length, RESSTR = State.variables.RESSTRevent.length, RETS = State.variables.RETSevent.length, RECI = State.variables.RECIevent.length) { - +window.populateEventArray = function(RESS = State.variables.RESSevent.length, RESSTR = State.variables.RESSTRevent.length, RETS = State.variables.RETSevent.length, RECI = State.variables.RECIevent.length) { /* EVENT RANDOMIZATION */ - var events = State.variables.events; - var i = 0; + let events = State.variables.events; + let i = 0; for (i = 0; i < RESS; i++) { events.push("RESS"); diff --git a/src/js/utilJS.js b/src/js/utilJS.js index e570569b0abe687a70ec3b07dea55e515a1d94fa..e1d6c6340dca3f102d6af808231a0f53bdc7d9bc 100644 --- a/src/js/utilJS.js +++ b/src/js/utilJS.js @@ -51,30 +51,34 @@ * * There's also limitHeight which you're not using. It's basically limitMult in different units. */ -window.Height = (function(){ +window.Height = (function() { 'use strict'; // Global configuration (for different game modes/options/types) - var minMult = -3.0; - var maxMult = 3.0; - var skew = 0.0; - var spread = 0.05; - var minHeight = 0; - var maxHeight = 999; + let minMult = -3.0; + let maxMult = 3.0; + let skew = 0.0; + let spread = 0.05; + let minHeight = 0; + let maxHeight = 999; // Configuration method for the above values const _config = function(conf) { - if(_.isUndefined(conf)) { + if (_.isUndefined(conf)) { return {limitMult: [minMult, maxMult], limitHeight: [minHeight, maxHeight], skew: skew, spread: spread}; } - if(_.isFinite(conf.skew)) { skew = Math.clamp(conf.skew, -1000, 1000); } - if(_.isFinite(conf.spread)) { spread = Math.clamp(conf.spread, 0.001, 0.5); } - if(_.isArray(conf.limitMult) && conf.limitMult.length === 2 && conf.limitMult[0] !== conf.limitMult[1] && + if (_.isFinite(conf.skew)) { + skew = Math.clamp(conf.skew, -1000, 1000); + } + if (_.isFinite(conf.spread)) { + spread = Math.clamp(conf.spread, 0.001, 0.5); + } + if (_.isArray(conf.limitMult) && conf.limitMult.length === 2 && conf.limitMult[0] !== conf.limitMult[1] && _.isFinite(conf.limitMult[0]) && _.isFinite(conf.limitMult[1])) { minMult = Math.min(conf.limitMult[0], conf.limitMult[1]); maxMult = Math.max(conf.limitMult[0], conf.limitMult[1]); } - if(_.isArray(conf.limitHeight) && conf.limitHeight.length === 2 && conf.limitHeight[0] !== conf.limitHeight[1] && + if (_.isArray(conf.limitHeight) && conf.limitHeight.length === 2 && conf.limitHeight[0] !== conf.limitHeight[1] && _.isFinite(conf.limitHeight[0]) && _.isFinite(conf.limitHeight[1])) { minHeight = Math.min(conf.limitHeight[0], conf.limitHeight[1]); maxHeight = Math.max(conf.limitHeight[0], conf.limitHeight[1]); @@ -84,69 +88,69 @@ window.Height = (function(){ /* if you can find an average for an undefined, add it in! */ const xxMeanHeight = { - "Afghan": 155.08, "Albanian": 161.77, "Algerian": 159.09, "American.asian": 158.4, "American.black": 163.6, "American.latina": 158.9, "American.white": 165, "American": 163.54, - "Andorran": 162.90, "Angolan": 157.31, "Antiguan": 160.65, "Argentinian": 159.18, "Armenian": 158.09, "Aruban": 158, "Australian": 165.86, "Austrian": 164.62, "Azerbaijani": 158.25, - "Bahamian": 160.68, "Bahraini": 156.69, "Bangladeshi": 150.79, "Barbadian": 165.28, "Belarusian": 166.35, "Belgian": 165.49, "Belizean": 156.88, "Beninese": 156.16, "Bermudian": 160.69, - "Bhutanese": 153.63, "Bissau-Guinean": 158.24, "Bolivian": 153.89, "Bosnian": 165.85, "Brazilian": 160.86, "British": 164.40, "Bruneian": 153.98, "Bulgarian": 164.80, - "Burkinabé": 160.19, "Burmese": 154.37, "Burundian": 154.02, "Cambodian": 152.91, "Cameroonian": 158.82, "Canadian": 163.91, "Cape Verdean": 161.65, "Catalan": 163.4, - "Central African": 158.04, "Chadian": 160.17, "Chilean": 159.36, "Chinese": 159.71, "Colombian": 156.85, "Comorian": 155.58, "Congolese": 157.57, "a Cook Islander": 163.19, "Costa Rican": 156.37, - "Croatian": 165.63, "Cuban": 157.98, "Curaçaoan": 158, "Cypriot": 162.27, "Czech": 168.46, "Danish": 167.21, "Djiboutian": 156.11, "Dominican": 159.03, "Dominiquais": 164.34, "Dutch": 168.72, "East Timorese": 151.15, - "Ecuadorian": 154.23, "Egyptian": 157.33, "Emirati": 158.68, "Equatoguinean": 157.33, "Eritrean": 156.39, "Estonian": 168.67, "Ethiopian": 155.71, "Fijian": 161.69, "Filipina": 149.60, - "Finnish": 165.90, "French Guianan": 157, "French Polynesian": 164.52, "French": 164.88, "Gabonese": 158.84, "Gambian": 160.93, "Georgian": 162.98, "German": 165.86, "Ghanan": 157.91, - "Greek": 164.87, "Greenlandic": 161.55, "Grenadian": 164.51, "Guamanian": 153.7, "Guatemalan": 149.39, "Guinean": 157.80, "Guyanese": 157.92, "Haitian": 158.72, "Honduran": 153.84, "Hungarian": 163.66, - "I-Kiribati": 157.00, "Icelandic": 165.95, "Indian": 152.59, "Indonesian": 152.80, "Iranian": 159.67, "Iraqi": 158.67, "Irish": 165.11, "Israeli": 161.80, "Italian": 164.61, "Ivorian": 158.07, - "Jamaican": 163.12, "Japanese": 158.31, "Jordanian": 158.83, "Kazakh": 158.58, "Kenyan": 158.16, "Kittitian": 159.20, "Korean": 160.65, "Kosovan": 165.7, "Kurdish": 165, "Kuwaiti": 159.43, - "Kyrgyz": 159.35, "Laotian": 151.28, "Latvian": 169.80, "Lebanese": 162.43, "Liberian": 157.3, "Libyan": 162.08, "a Liechtensteiner": 164.3, "Lithuanian": 166.61, "Luxembourgian": 164.43, - "Macedonian": 159.75, "Malagasy": 151.18, "Malawian": 154.40, "Malaysian": 156.30, "Maldivian": 155.02, "Malian": 160.47, "Maltese": 160.85, "Marshallese": 151.31, "Mauritanian": 157.72, - "Mauritian": 157.24, "Mexican": 156.85, "Micronesian": 156.09, "Moldovan": 163.24, "Monégasque": 164.61, "Mongolian": 158.22, "Montenegrin": 164.86, "Moroccan": 157.82, "Mosotho": 155.71, - "Motswana": 161.38, "Mozambican": 153.96, "Namibian": 158.78, "Nauruan": 153.98, "Nepalese": 150.86, "New Caledonian": 158.0, "a New Zealander": 164.94, "Ni-Vanuatu": 158.17, "Nicaraguan": 154.39, "Nigerian": 156.32, - "Nigerien": 158.25, "Niuean": 164.80, "Norwegian": 165.56, "Omani": 157.19, "Pakistani": 153.84, "Palauan": 156.22, "Palestinian": 158.75, "Panamanian": 155.47, "Papua New Guinean": 154.87, - "Paraguayan": 159.86, "Peruvian": 152.93, "Polish": 164.59, "Portuguese": 163.04, "Puerto Rican": 159.20, "Qatari": 159.38, "Romanian": 162.73, "Russian": 165.27, "Rwandan": 154.79, "Sahrawi": 157.82, - "Saint Lucian": 162.31, "Salvadoran": 154.55, "Sammarinese": 164.61, "Samoan": 161.97, "São Toméan": 158.91, "Saudi": 155.88, "Scottish": 163, "Senegalese": 162.52, "Serbian": 167.69, - "Seychellois": 162.08, "Sierra Leonean": 156.60, "Singaporean": 160.32, "Slovak": 167.47, "Slovene": 166.05, "a Solomon Islander": 154.42, "Somali": 156.06, "South African": 158.03, - "South Sudanese": 169.0, "Spanish": 163.40, "Sri Lankan": 154.56, "Sudanese": 156.04, "Surinamese": 160.66, "Swazi": 158.64, "Swedish": 165.70, "Swiss": 163.45, "Syrian": 158.65, "Taiwanese": 161.45, - "Tajik": 157.33, "Tanzanian": 156.6, "Thai": 157.87, "Tibetan": 158.75, "Togolese": 158.30, "Tongan": 165.52, "Trinidadian": 160.64, "Tunisian": 160.35, "Turkish": 160.50, "Turkmen": 161.73, - "Tuvaluan": 158.10, "Ugandan": 156.72, "Ukrainian": 166.34, "Uruguayan": 162.13, "Uzbek": 157.82, "Vatican": 162.5, "Venezuelan": 157.44, "Vietnamese": 153.59, "Vincentian": 160.70, "Yemeni": 153.97, - "Zairian": 155.25, "Zambian": 155.82, "Zimbabwean": 158.22, - "": 159.65 // default + 'Afghan': 155.08, 'Albanian': 161.77, 'Algerian': 159.09, 'American.asian': 158.4, 'American.black': 163.6, 'American.latina': 158.9, 'American.white': 165, 'American': 163.54, + 'Andorran': 162.90, 'Angolan': 157.31, 'Antiguan': 160.65, 'Argentinian': 159.18, 'Armenian': 158.09, 'Aruban': 158, 'Australian': 165.86, 'Austrian': 164.62, 'Azerbaijani': 158.25, + 'Bahamian': 160.68, 'Bahraini': 156.69, 'Bangladeshi': 150.79, 'Barbadian': 165.28, 'Belarusian': 166.35, 'Belgian': 165.49, 'Belizean': 156.88, 'Beninese': 156.16, 'Bermudian': 160.69, + 'Bhutanese': 153.63, 'Bissau-Guinean': 158.24, 'Bolivian': 153.89, 'Bosnian': 165.85, 'Brazilian': 160.86, 'British': 164.40, 'Bruneian': 153.98, 'Bulgarian': 164.80, + 'Burkinabé': 160.19, 'Burmese': 154.37, 'Burundian': 154.02, 'Cambodian': 152.91, 'Cameroonian': 158.82, 'Canadian': 163.91, 'Cape Verdean': 161.65, 'Catalan': 163.4, + 'Central African': 158.04, 'Chadian': 160.17, 'Chilean': 159.36, 'Chinese': 159.71, 'Colombian': 156.85, 'Comorian': 155.58, 'Congolese': 157.57, 'a Cook Islander': 163.19, 'Costa Rican': 156.37, + 'Croatian': 165.63, 'Cuban': 157.98, 'Curaçaoan': 158, 'Cypriot': 162.27, 'Czech': 168.46, 'Danish': 167.21, 'Djiboutian': 156.11, 'Dominican': 159.03, 'Dominiquais': 164.34, 'Dutch': 168.72, 'East Timorese': 151.15, + 'Ecuadorian': 154.23, 'Egyptian': 157.33, 'Emirati': 158.68, 'Equatoguinean': 157.33, 'Eritrean': 156.39, 'Estonian': 168.67, 'Ethiopian': 155.71, 'Fijian': 161.69, 'Filipina': 149.60, + 'Finnish': 165.90, 'French Guianan': 157, 'French Polynesian': 164.52, 'French': 164.88, 'Gabonese': 158.84, 'Gambian': 160.93, 'Georgian': 162.98, 'German': 165.86, 'Ghanan': 157.91, + 'Greek': 164.87, 'Greenlandic': 161.55, 'Grenadian': 164.51, 'Guamanian': 153.7, 'Guatemalan': 149.39, 'Guinean': 157.80, 'Guyanese': 157.92, 'Haitian': 158.72, 'Honduran': 153.84, 'Hungarian': 163.66, + 'I-Kiribati': 157.00, 'Icelandic': 165.95, 'Indian': 152.59, 'Indonesian': 152.80, 'Iranian': 159.67, 'Iraqi': 158.67, 'Irish': 165.11, 'Israeli': 161.80, 'Italian': 164.61, 'Ivorian': 158.07, + 'Jamaican': 163.12, 'Japanese': 158.31, 'Jordanian': 158.83, 'Kazakh': 158.58, 'Kenyan': 158.16, 'Kittitian': 159.20, 'Korean': 160.65, 'Kosovan': 165.7, 'Kurdish': 165, 'Kuwaiti': 159.43, + 'Kyrgyz': 159.35, 'Laotian': 151.28, 'Latvian': 169.80, 'Lebanese': 162.43, 'Liberian': 157.3, 'Libyan': 162.08, 'a Liechtensteiner': 164.3, 'Lithuanian': 166.61, 'Luxembourgian': 164.43, + 'Macedonian': 159.75, 'Malagasy': 151.18, 'Malawian': 154.40, 'Malaysian': 156.30, 'Maldivian': 155.02, 'Malian': 160.47, 'Maltese': 160.85, 'Marshallese': 151.31, 'Mauritanian': 157.72, + 'Mauritian': 157.24, 'Mexican': 156.85, 'Micronesian': 156.09, 'Moldovan': 163.24, 'Monégasque': 164.61, 'Mongolian': 158.22, 'Montenegrin': 164.86, 'Moroccan': 157.82, 'Mosotho': 155.71, + 'Motswana': 161.38, 'Mozambican': 153.96, 'Namibian': 158.78, 'Nauruan': 153.98, 'Nepalese': 150.86, 'New Caledonian': 158.0, 'a New Zealander': 164.94, 'Ni-Vanuatu': 158.17, 'Nicaraguan': 154.39, 'Nigerian': 156.32, + 'Nigerien': 158.25, 'Niuean': 164.80, 'Norwegian': 165.56, 'Omani': 157.19, 'Pakistani': 153.84, 'Palauan': 156.22, 'Palestinian': 158.75, 'Panamanian': 155.47, 'Papua New Guinean': 154.87, + 'Paraguayan': 159.86, 'Peruvian': 152.93, 'Polish': 164.59, 'Portuguese': 163.04, 'Puerto Rican': 159.20, 'Qatari': 159.38, 'Romanian': 162.73, 'Russian': 165.27, 'Rwandan': 154.79, 'Sahrawi': 157.82, + 'Saint Lucian': 162.31, 'Salvadoran': 154.55, 'Sammarinese': 164.61, 'Samoan': 161.97, 'São Toméan': 158.91, 'Saudi': 155.88, 'Scottish': 163, 'Senegalese': 162.52, 'Serbian': 167.69, + 'Seychellois': 162.08, 'Sierra Leonean': 156.60, 'Singaporean': 160.32, 'Slovak': 167.47, 'Slovene': 166.05, 'a Solomon Islander': 154.42, 'Somali': 156.06, 'South African': 158.03, + 'South Sudanese': 169.0, 'Spanish': 163.40, 'Sri Lankan': 154.56, 'Sudanese': 156.04, 'Surinamese': 160.66, 'Swazi': 158.64, 'Swedish': 165.70, 'Swiss': 163.45, 'Syrian': 158.65, 'Taiwanese': 161.45, + 'Tajik': 157.33, 'Tanzanian': 156.6, 'Thai': 157.87, 'Tibetan': 158.75, 'Togolese': 158.30, 'Tongan': 165.52, 'Trinidadian': 160.64, 'Tunisian': 160.35, 'Turkish': 160.50, 'Turkmen': 161.73, + 'Tuvaluan': 158.10, 'Ugandan': 156.72, 'Ukrainian': 166.34, 'Uruguayan': 162.13, 'Uzbek': 157.82, 'Vatican': 162.5, 'Venezuelan': 157.44, 'Vietnamese': 153.59, 'Vincentian': 160.70, 'Yemeni': 153.97, + 'Zairian': 155.25, 'Zambian': 155.82, 'Zimbabwean': 158.22, + '': 159.65, // default }; const xyMeanHeight = { - "Afghan": 165.26, "Albanian": 173.39, "Algerian": 170.07, "American.asian": 172.5, "American.black": 177.4, "American.latina": 172.5, "American.white": 178.2, "American": 177.13, - "Andorran": 176.06, "Angolan": 167.31, "Antiguan": 164.8, "Argentinian": 174.62, "Armenian": 172.00, "Aruban": 165.1, "Australian": 179.20, "Austrian": 177.41, "Azerbaijani": 169.75, - "Bahamian": 172.75, "Bahraini": 167.74, "Bangladeshi": 163.81, "Barbadian": 175.92, "Belarusian": 178.44, "Belgian": 181.70, "Belizean": 168.73, "Beninese": 167.06, "Bermudian": 172.69, - "Bhutanese": 165.31, "Bissau-Guinean": 167.90, "Bolivian": 166.85, "Bosnian": 180.87, "Brazilian": 173.55, "British": 177.49, "Bruneian": 165.01, "Bulgarian": 178.24, "Burkinabé": 169.33, - "Burmese": 164.67, "Burundian": 166.64, "Cambodian": 163.33, "Cameroonian": 167.82, "Canadian": 178.09, "Cape Verdean": 173.22, "Catalan": 175.8, "Central African": 166.67, - "Chadian": 170.44, "Chilean": 171.81, "Chinese": 171.83, "Colombian": 169.50, "Comorian": 166.19, "Congolese": 167.45, "a Cook Islander": 174.77, "Costa Rican": 168.93, "Croatian": 180.78, - "Cuban": 172.00, "Curaçaoan": 165.1, "Cypriot": 174.99, "Czech": 180.10, "Danish": 181.39, "Djiboutian": 166.57, "Dominican": 172.75, "Dominiquais": 176.31, "Dutch": 182.54, "East Timorese": 159.79, "Ecuadorian": 167.08, - "Egyptian": 166.68, "Emirati": 170.46, "Equatoguinean": 167.36, "Eritrean": 168.36, "Estonian": 181.59, "Ethiopian": 166.23, "Fijian": 173.90, "Filipina": 163.23, "Finnish": 179.59, - "French Guianan": 168, "French Polynesian": 177.41, "French": 179.74, "Gabonese": 167.94, "Gambian": 165.40, "Georgian": 174.34, "German": 179.88, "Ghanan": 168.85, "Greek": 177.32, "Greenlandic": 174.87, - "Grenadian": 176.97, "Guamanian": 169.8, "Guatemalan": 163.41, "Guinean": 167.54, "Guyanese": 170.21, "Haitian": 172.64, "Honduran": 166.39, "Hungarian": 177.26, "I-Kiribati": 169.20, "Icelandic": 180.49, - "Indian": 164.95, "Indonesian": 163.55, "Iranian": 170.3, "Iraqi": 170.43, "Irish": 178.93, "Israeli": 176.86, "Italian": 177.77, "Ivorian": 166.53, "Jamaican": 174.53, "Japanese": 170.82, "Jordanian": 171.03, - "Kazakh": 171.14, "Kenyan": 169.64, "Kittitian": 169.62, "Korean": 173.46, "Kosovan": 179.5, "Kurdish": 175, "Kuwaiti": 172.07, "Kyrgyz": 171.24, "Laotian": 160.52, "Latvian": 181.42, "Lebanese": 174.39, - "Liberian": 163.66, "Libyan": 173.53, "a Liechtensteiner": 175.4, "Lithuanian": 179.03, "Luxembourgian": 177.86, "Macedonian": 178.33, "Malagasy": 161.55, "Malawian": 166, "Malaysian": 167.89, - "Maldivian": 167.68, "Malian": 171.3, "Maltese": 173.32, "Marshallese": 162.81, "Mauritanian": 163.28, "Mauritian": 170.50, "Mexican": 169.01, "Micronesian": 168.51, "Moldovan": 175.49, - "Monégasque": 177.77, "Mongolian": 169.07, "Montenegrin": 178.28, "Moroccan": 170.40, "Mosotho": 165.59, "Motswana": 171.63, "Mozambican": 164.80, "Namibian": 166.96, "Nauruan": 167.83, - "Nepalese": 162.32, "New Caledonian": 171.0, "a New Zealander": 177.74, "Ni-Vanuatu": 168.09, "Nicaraguan": 166.71, "Nigerian": 165.91, "Nigerien": 167.68, "Niuean": 175.83, "Norwegian": 179.75, "Omani": 169.16, "Pakistani": 166.95, - "Palauan": 167.69, "Palestinian": 172.09, "Panamanian": 168.49, "Papua New Guinean": 163.57, "Paraguayan": 172.83, "Peruvian": 165.23, "Polish": 177.33, "Portuguese": 172.93, "Puerto Rican": 172.08, "Qatari": 170.48, - "Romanian": 174.74, "Russian": 176.46, "Rwandan": 162.68, "Sahrawi": 170.40, "Saint Lucian": 171.95, "Salvadoran": 169.77, "Sammarinese": 177.77, "Samoan": 174.38, "São Toméan": 167.38, - "Saudi": 167.67, "Scottish": 177.6, "Senegalese": 173.14, "Serbian": 180.57, "Seychellois": 174.21, "Sierra Leonean": 164.41, "Singaporean": 172.57, "Slovak": 179.50, "Slovene": 179.80, - "a Solomon Islander": 164.14, "Somali": 166.60, "South African": 166.68, "South Sudanese": 175.9, "Spanish": 176.59, "Sri Lankan": 165.69, "Sudanese": 166.63, "Surinamese": 172.72, "Swazi": 168.13, - "Swedish": 179.74, "Swiss": 178.42, "Syrian": 170.43, "Taiwanese": 174.52, "Tajik": 171.26, "Tanzanian": 164.80, "Thai": 169.16, "Tibetan": 168.91, "Togolese": 168.33, "Tongan": 176.76, - "Trinidadian": 173.74, "Tunisian": 173.95, "Turkish": 174.21, "Turkmen": 171.97, "Tuvaluan": 169.64, "Ugandan": 165.62, "Ukrainian": 178.46, "Uruguayan": 173.43, "Uzbek": 169.38, "Vatican": 176.5, - "Venezuelan": 171.59, "Vietnamese": 164.45, "Vincentian": 172.78, "Yemeni": 159.89, "Zairian": 166.80, "Zambian": 166.52, "Zimbabwean": 168.59, - "": 171.42 // defaults + 'Afghan': 165.26, 'Albanian': 173.39, 'Algerian': 170.07, 'American.asian': 172.5, 'American.black': 177.4, 'American.latina': 172.5, 'American.white': 178.2, 'American': 177.13, + 'Andorran': 176.06, 'Angolan': 167.31, 'Antiguan': 164.8, 'Argentinian': 174.62, 'Armenian': 172.00, 'Aruban': 165.1, 'Australian': 179.20, 'Austrian': 177.41, 'Azerbaijani': 169.75, + 'Bahamian': 172.75, 'Bahraini': 167.74, 'Bangladeshi': 163.81, 'Barbadian': 175.92, 'Belarusian': 178.44, 'Belgian': 181.70, 'Belizean': 168.73, 'Beninese': 167.06, 'Bermudian': 172.69, + 'Bhutanese': 165.31, 'Bissau-Guinean': 167.90, 'Bolivian': 166.85, 'Bosnian': 180.87, 'Brazilian': 173.55, 'British': 177.49, 'Bruneian': 165.01, 'Bulgarian': 178.24, 'Burkinabé': 169.33, + 'Burmese': 164.67, 'Burundian': 166.64, 'Cambodian': 163.33, 'Cameroonian': 167.82, 'Canadian': 178.09, 'Cape Verdean': 173.22, 'Catalan': 175.8, 'Central African': 166.67, + 'Chadian': 170.44, 'Chilean': 171.81, 'Chinese': 171.83, 'Colombian': 169.50, 'Comorian': 166.19, 'Congolese': 167.45, 'a Cook Islander': 174.77, 'Costa Rican': 168.93, 'Croatian': 180.78, + 'Cuban': 172.00, 'Curaçaoan': 165.1, 'Cypriot': 174.99, 'Czech': 180.10, 'Danish': 181.39, 'Djiboutian': 166.57, 'Dominican': 172.75, 'Dominiquais': 176.31, 'Dutch': 182.54, 'East Timorese': 159.79, 'Ecuadorian': 167.08, + 'Egyptian': 166.68, 'Emirati': 170.46, 'Equatoguinean': 167.36, 'Eritrean': 168.36, 'Estonian': 181.59, 'Ethiopian': 166.23, 'Fijian': 173.90, 'Filipina': 163.23, 'Finnish': 179.59, + 'French Guianan': 168, 'French Polynesian': 177.41, 'French': 179.74, 'Gabonese': 167.94, 'Gambian': 165.40, 'Georgian': 174.34, 'German': 179.88, 'Ghanan': 168.85, 'Greek': 177.32, 'Greenlandic': 174.87, + 'Grenadian': 176.97, 'Guamanian': 169.8, 'Guatemalan': 163.41, 'Guinean': 167.54, 'Guyanese': 170.21, 'Haitian': 172.64, 'Honduran': 166.39, 'Hungarian': 177.26, 'I-Kiribati': 169.20, 'Icelandic': 180.49, + 'Indian': 164.95, 'Indonesian': 163.55, 'Iranian': 170.3, 'Iraqi': 170.43, 'Irish': 178.93, 'Israeli': 176.86, 'Italian': 177.77, 'Ivorian': 166.53, 'Jamaican': 174.53, 'Japanese': 170.82, 'Jordanian': 171.03, + 'Kazakh': 171.14, 'Kenyan': 169.64, 'Kittitian': 169.62, 'Korean': 173.46, 'Kosovan': 179.5, 'Kurdish': 175, 'Kuwaiti': 172.07, 'Kyrgyz': 171.24, 'Laotian': 160.52, 'Latvian': 181.42, 'Lebanese': 174.39, + 'Liberian': 163.66, 'Libyan': 173.53, 'a Liechtensteiner': 175.4, 'Lithuanian': 179.03, 'Luxembourgian': 177.86, 'Macedonian': 178.33, 'Malagasy': 161.55, 'Malawian': 166, 'Malaysian': 167.89, + 'Maldivian': 167.68, 'Malian': 171.3, 'Maltese': 173.32, 'Marshallese': 162.81, 'Mauritanian': 163.28, 'Mauritian': 170.50, 'Mexican': 169.01, 'Micronesian': 168.51, 'Moldovan': 175.49, + 'Monégasque': 177.77, 'Mongolian': 169.07, 'Montenegrin': 178.28, 'Moroccan': 170.40, 'Mosotho': 165.59, 'Motswana': 171.63, 'Mozambican': 164.80, 'Namibian': 166.96, 'Nauruan': 167.83, + 'Nepalese': 162.32, 'New Caledonian': 171.0, 'a New Zealander': 177.74, 'Ni-Vanuatu': 168.09, 'Nicaraguan': 166.71, 'Nigerian': 165.91, 'Nigerien': 167.68, 'Niuean': 175.83, 'Norwegian': 179.75, 'Omani': 169.16, 'Pakistani': 166.95, + 'Palauan': 167.69, 'Palestinian': 172.09, 'Panamanian': 168.49, 'Papua New Guinean': 163.57, 'Paraguayan': 172.83, 'Peruvian': 165.23, 'Polish': 177.33, 'Portuguese': 172.93, 'Puerto Rican': 172.08, 'Qatari': 170.48, + 'Romanian': 174.74, 'Russian': 176.46, 'Rwandan': 162.68, 'Sahrawi': 170.40, 'Saint Lucian': 171.95, 'Salvadoran': 169.77, 'Sammarinese': 177.77, 'Samoan': 174.38, 'São Toméan': 167.38, + 'Saudi': 167.67, 'Scottish': 177.6, 'Senegalese': 173.14, 'Serbian': 180.57, 'Seychellois': 174.21, 'Sierra Leonean': 164.41, 'Singaporean': 172.57, 'Slovak': 179.50, 'Slovene': 179.80, + 'a Solomon Islander': 164.14, 'Somali': 166.60, 'South African': 166.68, 'South Sudanese': 175.9, 'Spanish': 176.59, 'Sri Lankan': 165.69, 'Sudanese': 166.63, 'Surinamese': 172.72, 'Swazi': 168.13, + 'Swedish': 179.74, 'Swiss': 178.42, 'Syrian': 170.43, 'Taiwanese': 174.52, 'Tajik': 171.26, 'Tanzanian': 164.80, 'Thai': 169.16, 'Tibetan': 168.91, 'Togolese': 168.33, 'Tongan': 176.76, + 'Trinidadian': 173.74, 'Tunisian': 173.95, 'Turkish': 174.21, 'Turkmen': 171.97, 'Tuvaluan': 169.64, 'Ugandan': 165.62, 'Ukrainian': 178.46, 'Uruguayan': 173.43, 'Uzbek': 169.38, 'Vatican': 176.5, + 'Venezuelan': 171.59, 'Vietnamese': 164.45, 'Vincentian': 172.78, 'Yemeni': 159.89, 'Zairian': 166.80, 'Zambian': 166.52, 'Zimbabwean': 168.59, + '': 171.42, // defaults }; // Helper method - table lookup for nationality/race combinations const nationalityMeanHeight = function(table, nationality, race, def) { - return table[nationality + "." + race] || table[nationality] || table["." + race] || table[""] || def; + return table[`${nationality }.${ race}`] || table[nationality] || table[`.${ race}`] || table[''] || def; }; // Helper method: Generate a skewed normal random variable with the skew s // Reference: http://azzalini.stat.unipd.it/SN/faq-r.html const skewedGaussian = function(s) { let randoms = gaussianPair(); - if(s === 0) { + if (s === 0) { // Don't bother, return an unskewed normal distribution return randoms[0]; } @@ -158,7 +162,7 @@ window.Height = (function(){ // Height multiplier generator; skewed gaussian according to global parameters const multGenerator = function() { let result = skewedGaussian(skew); - while(result < minMult || result > maxMult) { + while (result < minMult || result > maxMult) { result = skewedGaussian(skew); } return result; @@ -167,7 +171,7 @@ window.Height = (function(){ // Helper method: Generate a height based on the mean one and limited according to config. const heightGenerator = function(mean) { let result = mean * (1 + multGenerator() * spread); - while(result < minHeight || result > maxHeight) { + while (result < minHeight || result > maxHeight) { result = mean * (1 + multGenerator() * spread); } return result; @@ -175,11 +179,11 @@ window.Height = (function(){ // Helper method - apply age and genes to the adult height const applyAge = function(height, age, genes) { - if(!_.isFinite(age) || age < 2 || age >= 20) { + if (!_.isFinite(age) || age < 2 || age >= 20) { return height; } - let minHeight = 0, midHeight = 0, midAge = 15; - switch(genes) { + let minHeight = 0; let midHeight = 0; let midAge = 15; + switch (genes) { case 'XX': // female case 'XXX': // Triple X syndrome female minHeight = 85; @@ -204,7 +208,7 @@ window.Height = (function(){ midAge = 14; break; } - if(age > midAge) { + if (age > midAge) { // end of puberty to 20 return interpolate(midAge, midHeight, 20, height, age); } else { @@ -214,12 +218,12 @@ window.Height = (function(){ }; const _meanHeight = function(nationality, race, genes, age) { - if(_.isObject(nationality)) { + if (_.isObject(nationality)) { // We got called with a single slave as the argument return _meanHeight(nationality.nationality, nationality.race, nationality.genes, nationality.physicalAge + nationality.birthWeek / 52.0); } let result = 0; - switch(genes) { + switch (genes) { case 'XX': // female result = nationalityMeanHeight(xxMeanHeight, nationality, race); break; @@ -240,10 +244,10 @@ window.Height = (function(){ result = nationalityMeanHeight(xyMeanHeight, nationality, race) * 1.04; break; case 'Y': case 'Y0': case 'YY': case 'YYY': - console.log("Height.mean(): non-viable genes " + genes); + console.log(`Height.mean(): non-viable genes ${ genes}`); break; default: - console.log("Height.mean(): unknown genes " + genes + ", returning mean between XX and XY"); + console.log(`Height.mean(): unknown genes ${ genes }, returning mean between XX and XY`); result = nationalityMeanHeight(xxMeanHeight, nationality, race) * 0.5 + nationalityMeanHeight(xyMeanHeight, nationality, race) * 0.5; break; } @@ -254,7 +258,7 @@ window.Height = (function(){ const mean = _meanHeight(nationality, race, genes, age); // If we got called with a slave object and options, temporarily modify // our configuration. - if(_.isObject(nationality) && _.isObject(race)) { + if (_.isObject(nationality) && _.isObject(race)) { const currentConfig = _config(); _config(race); const result = heightGenerator(mean); @@ -265,7 +269,7 @@ window.Height = (function(){ }; const _forAge = function(height, age, genes) { - if(_.isObject(age)) { + if (_.isObject(age)) { // We got called with a slave as a second argument return applyAge(height, age.physicalAge + age.birthWeek / 52.0, age.genes); } else { @@ -312,35 +316,41 @@ window.Height = (function(){ * * This was modeled using the Height generator above. For some more information, see the comments for that. */ -window.Intelligence = (function(){ +window.Intelligence = (function() { 'use strict'; // Global configuration (for different game modes/options/types) - var mean = 0; - var minMult = -3.0; - var maxMult = 3.0; - var skew = 0.0; - var spread = 45; - var minIntelligence = -101; - var maxIntelligence = 100; + let mean = 0; + let minMult = -3.0; + let maxMult = 3.0; + let skew = 0.0; + let spread = 45; + let minIntelligence = -101; + let maxIntelligence = 100; // Configuration method for the above values const _config = function(conf) { - if(_.isUndefined(conf)) { + if (_.isUndefined(conf)) { return {mean: mean, limitMult: [minMult, maxMult], limitIntelligence: [minIntelligence, maxIntelligence], skew: skew, spread: spread}; } - if(_.isFinite(conf.mean)) { mean = Math.clamp(conf.mean, -100, 100); } - if(_.isFinite(conf.skew)) { skew = Math.clamp(conf.skew, -1000, 1000); } - if(_.isFinite(conf.spread)) { spread = Math.clamp(conf.spread, 0.1, 100); } - if(_.isArray(conf.limitMult) && conf.limitMult.length === 2 && conf.limitMult[0] !== conf.limitMult[1] && + if (_.isFinite(conf.mean)) { + mean = Math.clamp(conf.mean, -100, 100); + } + if (_.isFinite(conf.skew)) { + skew = Math.clamp(conf.skew, -1000, 1000); + } + if (_.isFinite(conf.spread)) { + spread = Math.clamp(conf.spread, 0.1, 100); + } + if (_.isArray(conf.limitMult) && conf.limitMult.length === 2 && conf.limitMult[0] !== conf.limitMult[1] && _.isFinite(conf.limitMult[0]) && _.isFinite(conf.limitMult[1])) { minMult = Math.min(conf.limitMult[0], conf.limitMult[1]); maxMult = Math.max(conf.limitMult[0], conf.limitMult[1]); } - if(_.isArray(conf.limitIntelligence) && conf.limitIntelligence.length === 2 && conf.limitIntelligence[0] !== conf.limitIntelligence[1] && + if (_.isArray(conf.limitIntelligence) && conf.limitIntelligence.length === 2 && conf.limitIntelligence[0] !== conf.limitIntelligence[1] && _.isFinite(conf.limitIntelligence[0]) && _.isFinite(conf.limitIntelligence[1])) { - minIntelligence = Math.clamp(Math.min(conf.limitIntelligence[0], conf.limitIntelligence[1]),-101,100); - maxIntelligence = Math.clamp(Math.max(conf.limitIntelligence[0], conf.limitIntelligence[1]),-101,100); + minIntelligence = Math.clamp(Math.min(conf.limitIntelligence[0], conf.limitIntelligence[1]), -101, 100); + maxIntelligence = Math.clamp(Math.max(conf.limitIntelligence[0], conf.limitIntelligence[1]), -101, 100); } return {limitMult: [minMult, maxMult], limitIntelligence: [minIntelligence, maxIntelligence], skew: skew, spread: spread}; }; @@ -349,7 +359,7 @@ window.Intelligence = (function(){ // Reference: http://azzalini.stat.unipd.it/SN/faq-r.html const skewedGaussian = function(s) { let randoms = gaussianPair(); - if(s === 0) { + if (s === 0) { // Don't bother, return an unskewed normal distribution return randoms[0]; } @@ -361,7 +371,7 @@ window.Intelligence = (function(){ // Intelligence multiplier generator; skewed gaussian according to global parameters const multGenerator = function() { let result = skewedGaussian(skew); - while(result < minMult || result > maxMult) { + while (result < minMult || result > maxMult) { result = skewedGaussian(skew); } return result; @@ -370,21 +380,21 @@ window.Intelligence = (function(){ // Helper method: Transform the values from multGenerator to have the appropriate mean and standard deviation. const intelligenceGenerator = function() { let result = multGenerator() * spread + mean; - while(result < minIntelligence || result > maxIntelligence) { + while (result < minIntelligence || result > maxIntelligence) { result = multGenerator() * spread + mean; } return Math.ceil(result); }; const _randomIntelligence = function(settings) { - if (settings) { - const currentConfig = _config(); - _config(settings); - const result = intelligenceGenerator(); - _config(currentConfig); - return result; - } - return intelligenceGenerator(); + if (settings) { + const currentConfig = _config(); + _config(settings); + const result = intelligenceGenerator(); + _config(currentConfig); + return result; + } + return intelligenceGenerator(); }; return { @@ -400,7 +410,7 @@ window.gaussianPair = function() { return [r * Math.cos(sigma), r * Math.sin(sigma)]; }; -if(!Array.prototype.findIndex) { +if (!Array.prototype.findIndex) { Array.prototype.findIndex = function(predicate) { if (this == null) { throw new TypeError('Array.prototype.find called on null or undefined'); @@ -408,12 +418,12 @@ if(!Array.prototype.findIndex) { if (typeof predicate !== 'function') { throw new TypeError('predicate must be a function'); } - var list = Object(this); - var length = list.length >>> 0; - var thisArg = arguments[1]; - var value; + let list = Object(this); + let length = list.length >>> 0; + let thisArg = arguments[1]; + let value; - for (var i = 0; i < length; i++) { + for (let i = 0; i < length; i++) { value = list[i]; if (predicate.call(thisArg, value, i, list)) { return i; @@ -459,99 +469,112 @@ window.Categorizer = function() { this.cats = Array.prototype.slice.call(arguments) .filter(function(e, i, a) { return e instanceof Array && e.length === 2 && typeof e[0] === 'number' && !isNaN(e[0]) && - a.findIndex(function(val) { return e[0] === val[0]; }) === i; /* uniqueness test */ }) - .sort(function(a, b) { return b[0] - a[0]; /* reverse sort */ }); + a.findIndex(function(val) { + return e[0] === val[0]; + }) === i; /* uniqueness test */ + }) + .sort(function(a, b) { + return b[0] - a[0]; /* reverse sort */ + }); }; window.Categorizer.prototype.cat = function(val, def) { - var result = def; - if(typeof val === 'number' && !isNaN(val)) { - var foundCat = this.cats.find(function(e) { return val >= e[0]; }); - if(foundCat) { + let result = def; + if (typeof val === 'number' && !isNaN(val)) { + let foundCat = this.cats.find(function(e) { + return val >= e[0]; + }); + if (foundCat) { result = foundCat[1]; } } // Record the value for the result's getter, if it is an object // and doesn't have the property yet - if(result === Object(result)) { + if (result === Object(result)) { result.value = val; } return result; }; window.commaNum = function(s) { - if(!s) { return 0; } - if(State.variables.formatNumbers !== 1) { return s; } - return s.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); + if (!s) { + return 0; + } + if (State.variables.formatNumbers !== 1) { + return s; + } + return s.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); }; window.cashFormat = function(s) { - if (!s) { s = 0; } - return "¤" + commaNum(s); + if (!s) { + s = 0; + } + return `¤${ commaNum(s)}`; }; window.repFormat = function(s) { const V = State.variables; - /*if (!s) { s = 0; }*/ - if (V.cheatMode == 1 || V.debugMode == 1) { + /* if (!s) { s = 0; }*/ + if (V.cheatMode === 1 || V.debugMode === 1) { if (s > 0) { - return "@@.green;" + commaNum(Math.round(s * 100) / 100) + " rep@@"; + return `@@.green;${ commaNum(Math.round(s * 100) / 100) } rep@@`; } else if (s < 0) { - return "@@.red;" + commaNum(Math.round(s * 100) / 100) + " rep@@"; + return `@@.red;${ commaNum(Math.round(s * 100) / 100) } rep@@`; } else { - return commaNum(Math.round(s * 100) / 100) + " rep"; + return `${commaNum(Math.round(s * 100) / 100) } rep`; } } else { /* In order to calculate just how much any one category matters so we can show a "fuzzy" symbolic value to the player, we need to know how "busy" reputation was this week. To calculate this, I ADD income to expenses. Why? 100 - 100 and 10000 - 10000 BOTH are 0, but a +50 event matters a lot more in the first case than the second. I exclude overflow from the calculation because it's not a "real" expense for our purposes, and divide by half just to make percentages a bit easier. */ - var weight = s/(((V.lastWeeksRepIncome.Total - V.lastWeeksRepExpenses.Total) + V.lastWeeksRepExpenses.overflow)/2); + let weight = s/(((V.lastWeeksRepIncome.Total - V.lastWeeksRepExpenses.Total) + V.lastWeeksRepExpenses.overflow)/2); if (weight > 0.60) { - return `@@.green;+++++ rep@@`; + return '@@.green;+++++ rep@@'; } else if (weight > 0.45) { - return `@@.green;++++ rep@@`; + return '@@.green;++++ rep@@'; } else if (weight > 0.30) { - return `@@.green;+++ rep@@`; + return '@@.green;+++ rep@@'; } else if (weight > 0.15) { - return `@@.green;++ rep@@`; + return '@@.green;++ rep@@'; } else if (weight > 0.0) { - return `@@.green;+ rep@@`; - } else if (weight == 0) { - return `0 rep`; + return '@@.green;+ rep@@'; + } else if (weight === 0) { + return '0 rep'; } else if (weight < -0.60) { - return `@@.red;----- rep@@`; + return '@@.red;----- rep@@'; } else if (weight < -0.45) { - return `@@.red;---- rep@@`; + return '@@.red;---- rep@@'; } else if (weight < -0.30) { - return `@@.red;--- rep@@`; + return '@@.red;--- rep@@'; } else if (weight < -0.15) { - return `@@.red;-- rep@@`; + return '@@.red;-- rep@@'; } else if (weight < 0) { - return `@@.red;- rep@@`; + return '@@.red;- rep@@'; } - /*return weight;*/ + /* return weight;*/ } }; window.budgetLine = function(category, title) { - var income; - var expenses; - var profits; - if (passage() === "Rep Budget") { - income = "$lastWeeksRepIncome"; - expenses = "$lastWeeksRepExpenses"; - profits = "$lastWeeksRepProfits"; - - return`<<if ${income}.${category} || ${expenses}.${category}>><tr>\ + let income; + let expenses; + let profits; + if (passage() === 'Rep Budget') { + income = '$lastWeeksRepIncome'; + expenses = '$lastWeeksRepExpenses'; + profits = '$lastWeeksRepProfits'; + + return `<<if ${income}.${category} || ${expenses}.${category}>><tr>\ <td>${title}</td>\ <td><<print repFormat(${income}.${category})>></td>\ <td><<print repFormat(${expenses}.${category})>></td>\ <<set ${profits}.${category} = (${income}.${category} + ${expenses}.${category})>>\ <td><<print repFormat(${profits}.${category})>></td>\ </tr><</if>>`; - } else if (passage() === "Costs Budget") { - income = "$lastWeeksCashIncome"; - expenses = "$lastWeeksCashExpenses"; - profits = "$lastWeeksCashProfits"; + } else if (passage() === 'Costs Budget') { + income = '$lastWeeksCashIncome'; + expenses = '$lastWeeksCashExpenses'; + profits = '$lastWeeksCashProfits'; - return`<<if ${income}.${category} || ${expenses}.${category}>><tr>\ + return `<<if ${income}.${category} || ${expenses}.${category}>><tr>\ <td>${title}</td>\ <td>\ <<if (${income}.${category}) > 0>>\ @@ -579,24 +602,25 @@ window.budgetLine = function(category, title) { </td>\ </tr><</if>>`; } - }; window.massFormat = function(s) { - if(!s) { s = 0; } - if(s >= 1000) { + if (!s) { + s = 0; + } + if (s >= 1000) { s = commaNum(Math.trunc(s / 1000)); - if(s !== 1) { - return s+" tons"; + if (s !== 1) { + return `${s} tons`; } else { - return s+" ton"; + return `${s} ton`; } } else { - return commaNum(s)+" kg"; + return `${commaNum(s)} kg`; } }; -window.isFloat = function(n){ +window.isFloat = function(n) { return n === +n && n !== (n|0); }; @@ -605,31 +629,31 @@ window.isInt = function(n) { }; window.numberWithCommas = function(x) { - return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); + return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); }; -window.numberToWords = function (x) { +window.numberToWords = function(x) { const V = State.variables; let max = V.showNumbersMax; if (V.showNumbers !== 2) { if (x === 0) { - return "zero"; + return 'zero'; } - var ONE_TO_NINETEEN = [ - "one", "two", "three", "four", "five", - "six", "seven", "eight", "nine", "ten", - "eleven", "twelve", "thirteen", "fourteen", "fifteen", - "sixteen", "seventeen", "eighteen", "nineteen" + let ONE_TO_NINETEEN = [ + 'one', 'two', 'three', 'four', 'five', + 'six', 'seven', 'eight', 'nine', 'ten', + 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', + 'sixteen', 'seventeen', 'eighteen', 'nineteen', ]; - var TENS = [ - "ten", "twenty", "thirty", "forty", "fifty", - "sixty", "seventy", "eighty", "ninety" + let TENS = [ + 'ten', 'twenty', 'thirty', 'forty', 'fifty', + 'sixty', 'seventy', 'eighty', 'ninety', ]; - var SCALES = ["thousand", "million", "billion", "trillion"]; + let SCALES = ['thousand', 'million', 'billion', 'trillion']; // helper function for use with Array.filter function isTruthy(item) { @@ -638,7 +662,7 @@ window.numberToWords = function (x) { // convert a number into "chunks" of 0-999 function chunk(number) { - var thousands = []; + let thousands = []; while (number > 0) { thousands.push(number % 1000); @@ -650,7 +674,7 @@ window.numberToWords = function (x) { // translate a number from 1-999 into English function inEnglish(number) { - var thousands, hundreds, tens, ones, words = []; + let hundreds; let tens; let ones; let words = []; if (number < 20) { return ONE_TO_NINETEEN[number - 1]; // may be undefined @@ -663,40 +687,40 @@ window.numberToWords = function (x) { words.push(TENS[tens - 1]); words.push(inEnglish(ones)); - return words.filter(isTruthy).join("-"); + return words.filter(isTruthy).join('-'); } hundreds = number / 100 | 0; words.push(inEnglish(hundreds)); - words.push("hundred"); + words.push('hundred'); words.push(inEnglish(number % 100)); - return words.filter(isTruthy).join(" "); + return words.filter(isTruthy).join(' '); } // append the word for a scale. Made for use with Array.map function appendScale(chunk, exp) { - var scale; + let scale; if (!chunk) { return null; } scale = SCALES[exp - 1]; - return [chunk, scale].filter(isTruthy).join(" "); + return [chunk, scale].filter(isTruthy).join(' '); } - var string = chunk(x) + let string = chunk(x) .map(inEnglish) .map(appendScale) .filter(isTruthy) .reverse() - .join(" "); + .join(' '); if (V.showNumbers === 1) { if (x <= max) { if (x > 0) { return string; } else { - return "negative " + string; + return `negative ${ string}`; } } else { return commaNum(x); @@ -705,7 +729,7 @@ window.numberToWords = function (x) { if (x > 0) { return string; } else { - return "negative " + string; + return `negative ${ string}`; } } } else { @@ -713,23 +737,23 @@ window.numberToWords = function (x) { } }; -window.jsRandom = function(min,max) { +window.jsRandom = function(min, max) { return Math.floor(Math.random()*(max-min+1)+min); }; -window.jsRandomMany = function (arr, count) { - var result = []; - var _tmp = arr.slice(); - for (var i = 0; i < count; i++) { - var index = Math.ceil(Math.random() * 10) % _tmp.length; +window.jsRandomMany = function(arr, count) { + let result = []; + let _tmp = arr.slice(); + for (let i = 0; i < count; i++) { + let index = Math.ceil(Math.random() * 10) % _tmp.length; result.push(_tmp.splice(index, 1)[0]); } return result; }; -//This function wants an array - which explains why it works like array.random(). Give it one or you'll face a NaN +// This function wants an array - which explains why it works like array.random(). Give it one or you'll face a NaN window.jsEither = function(choices) { - var index = Math.floor(Math.random() * choices.length); + let index = Math.floor(Math.random() * choices.length); return choices[index]; }; @@ -750,7 +774,7 @@ jQuery(document).trigger('categorizer.ready'); window.hashChoice = function hashChoice(obj) { let randint = Math.floor(Math.random()*hashSum(obj)); let ret; - Object.keys(obj).some(key => { + Object.keys(obj).some((key) => { if (randint < obj[key]) { ret = key; return true; @@ -764,18 +788,22 @@ window.hashChoice = function hashChoice(obj) { window.hashSum = function hashSum(obj) { let sum = 0; - Object.keys(obj).forEach(key => { sum += obj[key]; }); + Object.keys(obj).forEach((key) => { + sum += obj[key]; + }); return sum; }; window.arr2obj = function arr2obj(arr) { const obj = {}; - arr.forEach(item => { obj[item] = 1; }); + arr.forEach((item) => { + obj[item] = 1; + }); return obj; }; window.hashPush = function hashPush(obj, ...rest) { - rest.forEach(item => { + rest.forEach((item) => { if (obj[item] === undefined) obj[item] = 1; else obj[item] += 1; }); @@ -783,7 +811,7 @@ window.hashPush = function hashPush(obj, ...rest) { window.weightedArray2HashMap = function weightedArray2HashMap(arr) { const obj = {}; - arr.forEach(item => { + arr.forEach((item) => { if (obj[item] === undefined) obj[item] = 1; else obj[item] += 1; }); @@ -799,7 +827,7 @@ window.between = function between(a, low, high) { // generate a random, almost unique ID that is compliant (possibly) with RFC 4122 window.generateNewID = function generateNewID() { - let date = Date.now(); //high-precision timer + let date = Date.now(); // high-precision timer let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { let r = (date + Math.random()*16)%16 | 0; date = Math.floor(date/16); @@ -815,65 +843,71 @@ window.arraySwap = function arraySwap(array, a, b) { }; // circumvents sugarcube, allowing a plain HTML5 UI within it -window.html5passage = function html5passage(passage_function) { - $(document).one(':passagedisplay', ev => { - const element = document.createElement("div"); - element.classList.add("passage"); - document.getElementById("passages").appendChild(element); - passage_function(element); +window.html5passage = function html5passage(passageFunction) { + $(document).one(':passagedisplay', (ev) => { + const element = document.createElement('div'); + element.classList.add('passage'); + document.getElementById('passages').appendChild(element); + passageFunction(element); $(document).off(':passagedisplay'); }); }; -//If you want to include a SugarCube passage in a JS function use this. The result must be printed using the <<print>> macro. passageTitle must be a string. +// If you want to include a SugarCube passage in a JS function use this. The result must be printed using the <<print>> macro. passageTitle must be a string. window.jsInclude = function(passageTitle) { - if (Story.has(passageTitle)) + if (Story.has(passageTitle)) { return Story.get(passageTitle).processText(); - else + } else { return `<span class="red">Error: Passage ${passageTitle} does not exist.</span>`; + } }; window.capFirstChar = function capFirstChar(string) { return string.charAt(0).toUpperCase() + string.substr(1); }; -window.getSlaveDevotionClass = /** @param {App.Entity.SlaveState} slave */ function (slave) { - if ((!slave) || (!State)) +window.getSlaveDevotionClass = /** @param {App.Entity.SlaveState} slave */ function(slave) { + if ((!slave) || (!State)) { return undefined; - if ('mindbroken' === slave.fetish) + } + if ('mindbroken' === slave.fetish) { return 'mindbroken'; - if (slave.devotion < -95) + } + if (slave.devotion < -95) { return 'very-hateful'; - else if (slave.devotion < -50) + } else if (slave.devotion < -50) { return 'hateful'; - else if (slave.devotion < -20) + } else if (slave.devotion < -20) { return 'resistant'; - else if (slave.devotion <= 20) + } else if (slave.devotion <= 20) { return 'ambivalent'; - else if (slave.devotion <= 50) + } else if (slave.devotion <= 50) { return 'accepting'; - else if (slave.devotion <= 95) + } else if (slave.devotion <= 95) { return 'devoted'; - else + } else { return 'worshipful'; + } }; -window.getSlaveTrustClass = /** @param {App.Entity.SlaveState} slave */ function (slave) { - if ((!slave) || (!State)) +window.getSlaveTrustClass = /** @param {App.Entity.SlaveState} slave */ function(slave) { + if ((!slave) || (!State)) { return undefined; + } - if ('mindbroken' === slave.fetish) + if ('mindbroken' === slave.fetish) { return ''; + } - if (slave.trust < -95) + if (slave.trust < -95) { return 'extremely-terrified'; - else if (slave.trust < -50) + } else if (slave.trust < -50) { return 'terrified'; - else if (slave.trust < -20) + } else if (slave.trust < -20) { return 'frightened'; - else if (slave.trust <= 20) + } else if (slave.trust <= 20) { return 'fearful'; - else if (slave.trust <= 50) { + } else if (slave.trust <= 50) { if (slave.devotion < -20) return 'hate-careful'; else return 'careful'; } else if (slave.trust <= 95) { @@ -885,451 +919,461 @@ window.getSlaveTrustClass = /** @param {App.Entity.SlaveState} slave */ function } }; -//takes an integer e.g. $activeSlave.hLength, returns a string in the format 10 inches +// takes an integer e.g. $activeSlave.hLength, returns a string in the format 10 inches window.cmToInchString = function(s) { - return Math.round(s/2.54) + (Math.round(s/2.54) === 1?" inch":" inches"); + return Math.round(s/2.54) + (Math.round(s/2.54) === 1?' inch':' inches'); }; -//takes an integer e.g. $activeSlave.height, returns a string in the format 6'5" +// takes an integer e.g. $activeSlave.height, returns a string in the format 6'5" window.cmToFootInchString = function(s) { - if (Math.round(s/2.54) < 12) + if (Math.round(s/2.54) < 12) { return cmToInchString(s); - return Math.trunc(Math.round(s/2.54)/12) + `'` + Math.round(s/2.54)%12 + `"`; + } + return `${Math.trunc(Math.round(s/2.54)/12) }'${ Math.round(s/2.54)%12 }"`; }; -//takes a dick value e.g. $activeSlave.dick, returns a string in the format 6 inches +// takes a dick value e.g. $activeSlave.dick, returns a string in the format 6 inches window.dickToInchString = function(s) { return cmToInchString(dickToCM(s)); }; -//takes a dick value e.g. $activeSlave.dick, returns an int of the dick length in cm +// takes a dick value e.g. $activeSlave.dick, returns an int of the dick length in cm window.dickToCM = function(s) { return (s<9?s*5:(s===9?50:s*6)); }; -//takes a ball value e.g. $activeSlave.balls, returns a string in the format 3 inches +// takes a ball value e.g. $activeSlave.balls, returns a string in the format 3 inches window.ballsToInchString = function(s) { return cmToInchString(ballsToCM(s)); }; -//takes a ball value e.g. $activeSlave.balls, returns an int of the ball size in cm +// takes a ball value e.g. $activeSlave.balls, returns an int of the ball size in cm window.ballsToCM = function(s) { - if (s < 2) + if (s < 2) { return 0; + } return (s<10?(s-1)*2:s*2); }; -//takes a dick value e.g. $activeSlave.dick, returns a string in the format of either `20cm (8 inches)`, `8 inches`, or `20cm` +// takes a dick value e.g. $activeSlave.dick, returns a string in the format of either `20cm (8 inches)`, `8 inches`, or `20cm` window.dickToEitherUnit = function(s) { - if (State.variables.showInches === 1) - return dickToCM(s) + "cm (" + dickToInchString(s) + ")"; - if (State.variables.showInches === 2) + if (State.variables.showInches === 1) { + return `${dickToCM(s) }cm (${ dickToInchString(s) })`; + } + if (State.variables.showInches === 2) { return dickToInchString(s); - return dickToCM(s) + "cm"; + } + return `${dickToCM(s) }cm`; }; -//takes a ball value e.g. $activeSlave.balls, returns a string in the format of either `20cm (8 inches)`, `8 inches`, or `20cm` +// takes a ball value e.g. $activeSlave.balls, returns a string in the format of either `20cm (8 inches)`, `8 inches`, or `20cm` window.ballsToEitherUnit = function(s) { - if (State.variables.showInches === 1) - return ballsToCM(s) + "cm (" + ballsToInchString(s) + ")"; - if (State.variables.showInches === 2) + if (State.variables.showInches === 1) { + return `${ballsToCM(s) }cm (${ ballsToInchString(s) })`; + } + if (State.variables.showInches === 2) { return ballsToInchString(s); - return ballsToCM(s) + "cm"; + } + return `${ballsToCM(s) }cm`; }; -//takes an int in centimeters e.g. $activeSlave.height, returns a string in the format of either `200cm (6'7")`, `6'7"`, or `200cm` +// takes an int in centimeters e.g. $activeSlave.height, returns a string in the format of either `200cm (6'7")`, `6'7"`, or `200cm` window.heightToEitherUnit = function(s) { - if (State.variables.showInches === 1) - return s + "cm (" + cmToFootInchString(s) + ")"; - if (State.variables.showInches === 2) + if (State.variables.showInches === 1) { + return `${s }cm (${ cmToFootInchString(s) })`; + } + if (State.variables.showInches === 2) { return cmToFootInchString(s); - return s + "cm"; + } + return `${s }cm`; }; -//takes an int in centimeters e.g. $activeSlave.hLength, returns a string in the format of either `30cm (12 inches)`, `12 inches`, or `30cm` +// takes an int in centimeters e.g. $activeSlave.hLength, returns a string in the format of either `30cm (12 inches)`, `12 inches`, or `30cm` window.lengthToEitherUnit = function(s) { - if (State.variables.showInches === 1) - return s + "cm (" + cmToInchString(s) + ")"; - if (State.variables.showInches === 2) + if (State.variables.showInches === 1) { + return `${s }cm (${ cmToInchString(s) })`; + } + if (State.variables.showInches === 2) { return cmToInchString(s); - return s + "cm"; + } + return `${s }cm`; }; /* decoration should be passed as "facilityDecoration" in quotes. For example, ValidateFacilityDecoration("brothelDecoration"). The quotes are important, do not pass it as a story variable. */ window.ValidateFacilityDecoration = function ValidateFacilityDecoration(decoration) { const V = State.variables; switch (V[decoration]) { - case "standard": - /*nothing to do */ + case 'standard': + /* nothing to do */ break; - case "Supremacist": + case 'Supremacist': if (!Number.isFinite(V.arcologies[0].FSSupremacist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Subjugationist": + case 'Subjugationist': if (!Number.isFinite(V.arcologies[0].FSSubjugationist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Gender Radicalist": + case 'Gender Radicalist': if (!Number.isFinite(V.arcologies[0].FSGenderRadicalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Gender Fundamentalist": + case 'Gender Fundamentalist': if (!Number.isFinite(V.arcologies[0].FSGenderFundamentalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Paternalist": + case 'Paternalist': if (!Number.isFinite(V.arcologies[0].FSPaternalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Body Purist": + case 'Body Purist': if (!Number.isFinite(V.arcologies[0].FSBodyPurist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Transformation Fetishist": + case 'Transformation Fetishist': if (!Number.isFinite(V.arcologies[0].FSTransformationFetishist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Youth Preferentialist": + case 'Youth Preferentialist': if (!Number.isFinite(V.arcologies[0].FSYouthPreferentialist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Maturity Preferentialist": + case 'Maturity Preferentialist': if (!Number.isFinite(V.arcologies[0].FSMaturityPreferentialist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Slimness Enthusiast": + case 'Slimness Enthusiast': if (!Number.isFinite(V.arcologies[0].FSSlimnessEnthusiast)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Asset Expansionist": + case 'Asset Expansionist': if (!Number.isFinite(V.arcologies[0].FSAssetExpansionist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Pastoralist": + case 'Pastoralist': if (!Number.isFinite(V.arcologies[0].FSPastoralist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Physical Idealist": + case 'Physical Idealist': if (!Number.isFinite(V.arcologies[0].FSPhysicalIdealist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Chattel Religionist": + case 'Chattel Religionist': if (!Number.isFinite(V.arcologies[0].FSChattelReligionist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Degradationist": + case 'Degradationist': if (!Number.isFinite(V.arcologies[0].FSDegradationist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Roman Revivalist": + case 'Roman Revivalist': if (!Number.isFinite(V.arcologies[0].FSRomanRevivalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Egyptian Revivalist": + case 'Egyptian Revivalist': if (!Number.isFinite(V.arcologies[0].FSEgyptianRevivalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Edo Revivalist": + case 'Edo Revivalist': if (!Number.isFinite(V.arcologies[0].FSEdoRevivalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Arabian Revivalist": + case 'Arabian Revivalist': if (!Number.isFinite(V.arcologies[0].FSArabianRevivalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Chinese Revivalist": + case 'Chinese Revivalist': if (!Number.isFinite(V.arcologies[0].FSChineseRevivalist)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Repopulation Focus": + case 'Repopulation Focus': if (!Number.isFinite(V.arcologies[0].FSRepopulationFocus)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Eugenics": + case 'Eugenics': if (!Number.isFinite(V.arcologies[0].FSRestart)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; - case "Hedonistic": + case 'Hedonistic': if (!Number.isFinite(V.arcologies[0].FSHedonisticDecadence)) { - V[decoration] = "standard"; + V[decoration] = 'standard'; } break; default: - V[decoration] = "standard"; + V[decoration] = 'standard'; } }; -window.FSChange = function FSChange(FS, magnitude, bonus_multiplier) { - "use strict"; +window.FSChange = function FSChange(FS, magnitude, bonusMultiplier) { + 'use strict'; const V = State.variables; - let errorMessage = ""; + let errorMessage = ''; switch (FS) { - case "Supremacist": + case 'Supremacist': if (Number.isFinite(V.arcologies[0].FSSupremacist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSupremacist / V.FSLockinLevel) / 3, "futureSocieties"); //Reducing the reputation impact of slaves that are not adhering to societal ideals properly + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSupremacist / V.FSLockinLevel) / 3, 'futureSocieties'); // Reducing the reputation impact of slaves that are not adhering to societal ideals properly } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSupremacist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSupremacist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSSupremacist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSSupremacist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Subjugationist": + case 'Subjugationist': if (Number.isFinite(V.arcologies[0].FSSubjugationist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSubjugationist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSubjugationist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSubjugationist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSubjugationist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSSubjugationist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSSubjugationist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "GenderRadicalist": + case 'GenderRadicalist': if (Number.isFinite(V.arcologies[0].FSGenderRadicalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderRadicalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderRadicalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderRadicalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderRadicalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSGenderRadicalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSGenderRadicalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "GenderFundamentalist": + case 'GenderFundamentalist': if (Number.isFinite(V.arcologies[0].FSGenderFundamentalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderFundamentalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderFundamentalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderFundamentalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSGenderFundamentalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSGenderFundamentalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSGenderFundamentalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Paternalist": + case 'Paternalist': if (Number.isFinite(V.arcologies[0].FSPaternalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPaternalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPaternalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPaternalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPaternalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSPaternalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSPaternalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Degradationist": + case 'Degradationist': if (Number.isFinite(V.arcologies[0].FSDegradationist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSDegradationist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSDegradationist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSDegradationist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSDegradationist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSDegradationist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSDegradationist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "AssetExpansionist": + case 'AssetExpansionist': if (Number.isFinite(V.arcologies[0].FSAssetExpansionist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAssetExpansionist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAssetExpansionist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAssetExpansionist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAssetExpansionist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSAssetExpansionist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSAssetExpansionist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "SlimnessEnthusiast": + case 'SlimnessEnthusiast': if (Number.isFinite(V.arcologies[0].FSSlimnessEnthusiast)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSlimnessEnthusiast / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSlimnessEnthusiast / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSlimnessEnthusiast / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSSlimnessEnthusiast / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSSlimnessEnthusiast += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSSlimnessEnthusiast += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "TransformationFetishist": + case 'TransformationFetishist': if (Number.isFinite(V.arcologies[0].FSTransformationFetishist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSTransformationFetishist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSTransformationFetishist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSTransformationFetishist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSTransformationFetishist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSTransformationFetishist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSTransformationFetishist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "BodyPurist": + case 'BodyPurist': if (Number.isFinite(V.arcologies[0].FSBodyPurist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSBodyPurist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSBodyPurist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSBodyPurist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSBodyPurist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSBodyPurist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSBodyPurist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "MaturityPreferentialist": + case 'MaturityPreferentialist': if (Number.isFinite(V.arcologies[0].FSMaturityPreferentialist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSMaturityPreferentialist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSMaturityPreferentialist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSMaturityPreferentialist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSMaturityPreferentialist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSMaturityPreferentialist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSMaturityPreferentialist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "YouthPreferentialist": + case 'YouthPreferentialist': if (Number.isFinite(V.arcologies[0].FSYouthPreferentialist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSYouthPreferentialist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSYouthPreferentialist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSYouthPreferentialist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSYouthPreferentialist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSYouthPreferentialist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSYouthPreferentialist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Pastoralist": + case 'Pastoralist': if (Number.isFinite(V.arcologies[0].FSPastoralist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPastoralist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPastoralist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPastoralist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPastoralist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSPastoralist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSPastoralist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "PhysicalIdealist": + case 'PhysicalIdealist': if (Number.isFinite(V.arcologies[0].FSPhysicalIdealist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPhysicalIdealist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPhysicalIdealist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPhysicalIdealist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSPhysicalIdealist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSPhysicalIdealist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSPhysicalIdealist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "ChattelReligionist": + case 'ChattelReligionist': if (Number.isFinite(V.arcologies[0].FSChattelReligionist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChattelReligionist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChattelReligionist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChattelReligionist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChattelReligionist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSChattelReligionist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSChattelReligionist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "RomanRevivalist": + case 'RomanRevivalist': if (Number.isFinite(V.arcologies[0].FSRomanRevivalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRomanRevivalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRomanRevivalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRomanRevivalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRomanRevivalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSRomanRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSRomanRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "AztecRevivalist": + case 'AztecRevivalist': if (Number.isFinite(V.activeArcology.FSAztecRevivalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAztecRevivalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAztecRevivalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAztecRevivalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSAztecRevivalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSAztecRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSAztecRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "EgyptianRevivalist": + case 'EgyptianRevivalist': if (Number.isFinite(V.arcologies[0].FSEgyptianRevivalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEgyptianRevivalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSEgyptianRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSEgyptianRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "EdoRevivalist": + case 'EdoRevivalist': if (Number.isFinite(V.arcologies[0].FSEdoRevivalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEdoRevivalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEdoRevivalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEdoRevivalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSEdoRevivalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSEdoRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSEdoRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "ArabianRevivalist": + case 'ArabianRevivalist': if (Number.isFinite(V.arcologies[0].FSArabianRevivalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSArabianRevivalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSArabianRevivalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSArabianRevivalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSArabianRevivalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSArabianRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSArabianRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "ChineseRevivalist": + case 'ChineseRevivalist': if (Number.isFinite(V.arcologies[0].FSChineseRevivalist)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChineseRevivalist / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChineseRevivalist / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChineseRevivalist / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSChineseRevivalist / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSChineseRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSChineseRevivalist += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Repopulationist": + case 'Repopulationist': if (Number.isFinite(V.arcologies[0].FSRepopulationFocus)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRepopulationFocus / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRepopulationFocus / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRepopulationFocus / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRepopulationFocus / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSRepopulationFocus += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSRepopulationFocus += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Eugenics": + case 'Eugenics': if (Number.isFinite(V.arcologies[0].FSRestart)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRestart / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRestart / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRestart / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSRestart / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSRestart += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSRestart += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; - case "Hedonism": + case 'Hedonism': if (Number.isFinite(V.arcologies[0].FSHedonisticDecadence)) { if (magnitude < 0) { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSHedonisticDecadence / V.FSLockinLevel) / 3, "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSHedonisticDecadence / V.FSLockinLevel) / 3, 'futureSocieties'); } else { - repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSHedonisticDecadence / V.FSLockinLevel), "futureSocieties"); + repX(magnitude * V.FSSingleSlaveRep * (V.arcologies[0].FSHedonisticDecadence / V.FSLockinLevel), 'futureSocieties'); } - V.arcologies[0].FSHedonisticDecadence += 0.05 * magnitude * V.FSSingleSlaveRep * (bonus_multiplier || 1); + V.arcologies[0].FSHedonisticDecadence += 0.05 * magnitude * V.FSSingleSlaveRep * (bonusMultiplier || 1); } break; default: - errorMessage += "<span class='red'>ERROR: bad FS reference</span>"; + errorMessage += '<span class=\'red\'>ERROR: bad FS reference</span>'; } return errorMessage; }; @@ -1339,18 +1383,18 @@ window.FSChangePorn = function FSChangePorn(FS, magnitude) { }; window.ordinalSuffix = function ordinalSuffix(i) { - var j = i % 10, - k = i % 100; + let j = i % 10; + let k = i % 100; if (j === 1 && k !== 11) { - return i + "st"; + return `${i }st`; } if (j === 2 && k !== 12) { - return i + "nd"; + return `${i }nd`; } if (j === 3 && k !== 13) { - return i + "rd"; + return `${i }rd`; } - return i + "th"; + return `${i }th`; }; window.removeDuplicates = function removeDuplicates(array) { @@ -1360,9 +1404,9 @@ window.removeDuplicates = function removeDuplicates(array) { window.induceLactation = /** @param {App.Entity.SlaveState} slave */ function induceLactation(slave) { let pronouns = getPronouns(slave); let His = capFirstChar(pronouns.possessive); - let r = ``; + let r = ''; if (slave.induceLactation >= 10) { - if (jsRandom(1,100) < slave.induceLactation) { + if (jsRandom(1, 100) < slave.induceLactation) { r += `${His} breasts have been stimulated often enough to @@.lime;induce lactation.@@`; slave.induceLactation = 0; slave.lactationDuration = 2; @@ -1391,65 +1435,65 @@ window.ResearchLabStockPile = function() { Electrolarynx: $stockpile.electrolarynx`; }; -window.originPronounReplace = /** @param {App.Entity.SlaveState} slave */ function (slave) { +window.originPronounReplace = /** @param {App.Entity.SlaveState} slave */ function(slave) { let r = slave.origin; switch (r) { - case "She was the result of unprotected sex with a client. Her mother tracked you down years after her birth to force her upon you.": + case 'She was the result of unprotected sex with a client. Her mother tracked you down years after her birth to force her upon you.': return `${capFirstChar(slave.pronoun)} was the result of unprotected sex with a client. ${capFirstChar(slave.possessive)} mother tracked you down years after ${slave.possessive} birth to force ${slave.object} upon you.`; - case "You kept her after her owner failed to pay your bill for performing surgery on her.": + case 'You kept her after her owner failed to pay your bill for performing surgery on her.': return `You kept ${slave.object} after ${slave.possessive} owner failed to pay your bill for performing surgery on ${slave.object}.`; - case "She comes from old money and sold herself into slavery to satisfy her obsession with the practice, believing her family would buy her back out of slavery later.": + case 'She comes from old money and sold herself into slavery to satisfy her obsession with the practice, believing her family would buy her back out of slavery later.': return `${capFirstChar(slave.pronoun)} comes from old money and sold herself into slavery to satisfy ${slave.possessive} obsession with the practice, believing ${slave.possessive} family would buy ${slave.object} back out of slavery later.`; - case "When you took her from her previous owner, she was locked into a beautiful rosewood box lined with red velvet, crying.": + case 'When you took her from her previous owner, she was locked into a beautiful rosewood box lined with red velvet, crying.': return `When you took ${slave.object} from ${slave.possessive} previous owner, ${slave.pronoun} was locked into a beautiful rosewood box lined with red velvet, crying.`; - case "Her husband sold her into slavery to escape his debts.": + case 'Her husband sold her into slavery to escape his debts.': return `${capFirstChar(slave.possessive)} husband sold ${slave.object} into slavery to escape his debts.`; - case "She was voluntarily enslaved after she decided that your arcology was the best place for her to get the steroids that she'd allowed to define her life.": + case 'She was voluntarily enslaved after she decided that your arcology was the best place for her to get the steroids that she\'d allowed to define her life.': return `${capFirstChar(slave.pronoun)} was voluntarily enslaved after ${slave.pronoun} decided that your arcology was the best place for ${slave.object} to get the steroids that ${slave.pronoun}'d allowed to define ${slave.possessive} life.`; - case "She came to you to escape being sold to a cruel master after her producer informed her of her debt.": + case 'She came to you to escape being sold to a cruel master after her producer informed her of her debt.': return `${capFirstChar(slave.pronoun)} came to you to escape being sold to a cruel master after ${slave.possessive} producer informed ${slave.object} of ${slave.possessive} debt.`; - case "You tricked her into enslavement, manipulating her based on her surgical addiction.": + case 'You tricked her into enslavement, manipulating her based on her surgical addiction.': return `You tricked ${slave.object} into enslavement, manipulating ${slave.object} based on ${slave.possessive} surgical addiction.`; - case "You helped free her from a POW camp after being abandoned by her country, leaving her deeply indebted to you.": + case 'You helped free her from a POW camp after being abandoned by her country, leaving her deeply indebted to you.': return `You helped free ${slave.object} from a POW camp after being abandoned by ${slave.possessive} country, leaving ${slave.object} deeply indebted to you.`; - case "You purchased her in order to pave the way for her brother to take the throne.": + case 'You purchased her in order to pave the way for her brother to take the throne.': return `You purchased ${slave.object} in order to pave the way for ${slave.possessive} brother to take the throne.`; - case "You purchased her as a favor to her father.": + case 'You purchased her as a favor to her father.': return `You purchased ${slave.object} as a favor to ${slave.possessive} father.`; - case "You purchased her from a King after his son put an illegitimate heir in her womb.": + case 'You purchased her from a King after his son put an illegitimate heir in her womb.': return `You purchased ${slave.object} from a King after his son put an illegitimate heir in ${slave.possessive} womb.`; - case "You acquired her in the last stages of your career as a successful venture capitalist.": - case "Drugs and alcohol can be a potent mix; the night that followed it can sometimes be hard to remember. Needless to say, once your belly began swelling with her, you had to temporarily switch to a desk job for your mercenary group.": - case "You acquired her in the last stages of your career as a noted private military contractor.": - case "You never thought you would be capable of impregnating yourself, but years of pleasuring yourself with yourself after missions managed to create her.": - case "A fresh capture once overpowered you and had his way with you. You kept her as a painful reminder to never lower your guard again.": - case "Your slaving troop kept several girls as fucktoys; you sired her in your favorite.": - case "You enslaved her personally during the last stages of your slaving career.": - case "You sired her in yourself after an arcology owner, impressed by your work, rewarded you with a night you'll never forget.": - case "You conceived her after a male arcology owner, impressed by your work, rewarded you with a night you'll never forget.": - case "You sired her after a female arcology owner, impressed by your work, rewarded you with a night you'll never forget.": - case "You received her as a gift from an arcology owner impressed by your work.": - case "You captured her during your transition to the arcology": - case "You won her at cards, a memento from your life as one of the idle rich before you became an arcology owner.": - case "You brought her into the arcology mindbroken, little more than a walking collection of fuckable holes.": - case "You brought her into the arcology mindbroken, little more than a human onahole.": - case "She grew up sheltered and submissive, making her an easy target for enslavement.": - case "She was fresh from the slave markets when you acquired her.": - case "She chose to be a slave because the romanticized view of it she had turns her on.": - case "She was previously owned by a creative sadist, who has left a variety of mental scars on her.": - case "She was taken as a slave by a Sultan, who presented her as a gift to a surveyor.": - case "She is the winner of a martial arts slave tournament. You won her in a bet.": - case "She was homeless and willing to do anything for food, which in the end resulted in her becoming a slave.": - case "She was sold to you by an anonymous person who wanted her to suffer.": - case "You received her from a surgeon who botched an implant operation on her and needed to get her out of sight.": - case "She offered herself to you for enslavement to escape having plastic surgery foisted on her.": - case "You turned her into a slave girl after she fell into debt to you.": - case "She was raised in a radical slave school that treated her with drugs and surgery from a very young age.": - case "She was raised in a radical slave school that treated her from a very young age, up to the point that she never experienced male puberty.": - case "She was a runaway slave captured by a gang outside your arcology. You bought her cheap after she was harshly used by them.": - case "She was the private slave of a con artist cult leader before he had to abandon her and flee.": - case "You helped her give birth, leaving her deeply indebted to you.": - case "You purchased her from a King after she expressed knowledge of the prince's affair with another servant.": + case 'You acquired her in the last stages of your career as a successful venture capitalist.': + case 'Drugs and alcohol can be a potent mix; the night that followed it can sometimes be hard to remember. Needless to say, once your belly began swelling with her, you had to temporarily switch to a desk job for your mercenary group.': + case 'You acquired her in the last stages of your career as a noted private military contractor.': + case 'You never thought you would be capable of impregnating yourself, but years of pleasuring yourself with yourself after missions managed to create her.': + case 'A fresh capture once overpowered you and had his way with you. You kept her as a painful reminder to never lower your guard again.': + case 'Your slaving troop kept several girls as fucktoys; you sired her in your favorite.': + case 'You enslaved her personally during the last stages of your slaving career.': + case 'You sired her in yourself after an arcology owner, impressed by your work, rewarded you with a night you\'ll never forget.': + case 'You conceived her after a male arcology owner, impressed by your work, rewarded you with a night you\'ll never forget.': + case 'You sired her after a female arcology owner, impressed by your work, rewarded you with a night you\'ll never forget.': + case 'You received her as a gift from an arcology owner impressed by your work.': + case 'You captured her during your transition to the arcology': + case 'You won her at cards, a memento from your life as one of the idle rich before you became an arcology owner.': + case 'You brought her into the arcology mindbroken, little more than a walking collection of fuckable holes.': + case 'You brought her into the arcology mindbroken, little more than a human onahole.': + case 'She grew up sheltered and submissive, making her an easy target for enslavement.': + case 'She was fresh from the slave markets when you acquired her.': + case 'She chose to be a slave because the romanticized view of it she had turns her on.': + case 'She was previously owned by a creative sadist, who has left a variety of mental scars on her.': + case 'She was taken as a slave by a Sultan, who presented her as a gift to a surveyor.': + case 'She is the winner of a martial arts slave tournament. You won her in a bet.': + case 'She was homeless and willing to do anything for food, which in the end resulted in her becoming a slave.': + case 'She was sold to you by an anonymous person who wanted her to suffer.': + case 'You received her from a surgeon who botched an implant operation on her and needed to get her out of sight.': + case 'She offered herself to you for enslavement to escape having plastic surgery foisted on her.': + case 'You turned her into a slave girl after she fell into debt to you.': + case 'She was raised in a radical slave school that treated her with drugs and surgery from a very young age.': + case 'She was raised in a radical slave school that treated her from a very young age, up to the point that she never experienced male puberty.': + case 'She was a runaway slave captured by a gang outside your arcology. You bought her cheap after she was harshly used by them.': + case 'She was the private slave of a con artist cult leader before he had to abandon her and flee.': + case 'You helped her give birth, leaving her deeply indebted to you.': + case 'You purchased her from a King after she expressed knowledge of the prince\'s affair with another servant.': r = r.replace(/\bherself\b/g, slave.objectReflexive); r = r.replace(/\bHerself\b/g, capFirstChar(slave.objectReflexive)); r = r.replace(/\bshe\b/g, slave.pronoun); @@ -1470,35 +1514,48 @@ window.originPronounReplace = /** @param {App.Entity.SlaveState} slave */ functi window.HSM = function() { const V = State.variables; - if (V.PC.hacking <= -100) {return 1.5;} - else if (V.PC.hacking <= -75) {return 1.35;} - else if (V.PC.hacking <= -50) {return 1.25;} - else if (V.PC.hacking <= -25) {return 1.15;} - else if (V.PC.hacking < 0) {return 1.10;} - else if (V.PC.hacking === 0) {return 1;} - else if (V.PC.hacking <= 10) {return 0.97;} - else if (V.PC.hacking <= 25) {return 0.95;} - else if (V.PC.hacking <= 50) {return 0.90;} - else if (V.PC.hacking <= 75) {return 0.85;} - else if (V.PC.hacking <= 100) {return 0.80;} - else {return 0.75;} + if (V.PC.hacking <= -100) { + return 1.5; + } else if (V.PC.hacking <= -75) { + return 1.35; + } else if (V.PC.hacking <= -50) { + return 1.25; + } else if (V.PC.hacking <= -25) { + return 1.15; + } else if (V.PC.hacking < 0) { + return 1.10; + } else if (V.PC.hacking === 0) { + return 1; + } else if (V.PC.hacking <= 10) { + return 0.97; + } else if (V.PC.hacking <= 25) { + return 0.95; + } else if (V.PC.hacking <= 50) { + return 0.90; + } else if (V.PC.hacking <= 75) { + return 0.85; + } else if (V.PC.hacking <= 100) { + return 0.80; + } else { + return 0.75; + } }; window.opentab = function(evt, tabName) { - var i, tabcontent, tablinks; + let i; let tabcontent; let tablinks; const V = State.variables; - /*var passage = passage().trim().replace(/ /g,"+");*/ - tabcontent = document.getElementsByClassName("tabcontent"); + /* var passage = passage().trim().replace(/ /g,"+");*/ + tabcontent = document.getElementsByClassName('tabcontent'); for (i = 0; i < tabcontent.length; i++) { - tabcontent[i].style.display = "none"; + tabcontent[i].style.display = 'none'; } - tablinks = document.getElementsByClassName("tablinks"); + tablinks = document.getElementsByClassName('tablinks'); for (i = 0; i < tablinks.length; i++) { - tablinks[i].className = tablinks[i].className.replace(" active", ""); + tablinks[i].className = tablinks[i].className.replace(' active', ''); } - V.tabChoice[passage().trim().replace(/ |'/g,"")] = tabName; /*The regex strips spaces and " ' " from passage names, making "Servants' Quarters" into "ServantsQuarters" and allowing it to be used as a label in this object. */ - document.getElementById(tabName).style.display = "block"; - evt.currentTarget.className += " active"; + V.tabChoice[passage().trim().replace(/ |'/g, '')] = tabName; /* The regex strips spaces and " ' " from passage names, making "Servants' Quarters" into "ServantsQuarters" and allowing it to be used as a label in this object. */ + document.getElementById(tabName).style.display = 'block'; + evt.currentTarget.className += ' active'; }; /** @@ -1517,7 +1574,7 @@ window.opentab = function(evt, tabName) { * // equal to [[Go to town|Town]] * App.UI.passageLink("Go to town", "Town") */ -App.UI.passageLink = function (linkText, passage, setter, elementType) { +App.UI.passageLink = function(linkText, passage, setter, elementType) { if (!elementType) elementType = 'a'; let res = `<${elementType} data-passage="${passage}"`; diff --git a/src/pregmod/seFCTVshows.tw b/src/pregmod/seFCTVshows.tw index 6e015ddf2049f0d969bddc42e80b88204a4af9e1..676eeb938ee251a9d77822882d493227e9637b82 100644 --- a/src/pregmod/seFCTVshows.tw +++ b/src/pregmod/seFCTVshows.tw @@ -61,7 +61,7 @@ Tired after a long day, you tell <<if $Concubine != 0>>@@.pink;$Concubine.slaveN <<if $randShow == 1 && $showOne > 3 || $showOne == 1>> The segment is being anchored by the middle aged Kirk McMahon, and he's joined by the ever-popular "Anchor Slave", Jules. She's got a nice figure, and the only thing she's wearing to cover her perky breasts is a pair of FCNN pasties. She has on a fine leather collar; the large gold charm hanging from the front seems to be a stylized emblem of a ship's anchor merged with a microphone. The pair seems to be discussing the recent actions and punishment of the reality show slave Slooty. <br><br>Jules seems to be quite passionate about the subject, the animated way she talks is causing her sizable tits to bounce all over the place. "It doesn't matter how famous or valuable that slut thinks she is, her behavior was just wrong on SO many levels. It makes all of us good slaves look bad. If you ask me, her master's choice of punishment fits the attention whore perfectly!" - <br><br>Kirk's face looks more than a little surprised, but you can't quite tell if it's an act or not. "You won't get any argument from me that she deserves to be punished... but getting chained up with an obedience collar and feeder system in the middle of Times Square, free for public use? A slum like Manhattan, she'll never <<if $seeExtreme == 0>><i>like</i><<else>>survive<</if>> the 10 day sentence!" + <br><br>Kirk's face looks more than a little surprised, but you can't quite tell if it's an act or not. "You won't get any argument from me that she deserves to be punished... but getting chained up with an obedience collar and feeder system in the middle of Times Square, free for public use? A slum like Manhattan, she'll never <<if $seeExtreme == 0>><i>enjoy</i><<else>>survive<</if>> the 10 day sentence!" <br><br>Jules smiles. "That's exactly right Master McMahon, she's going to be <<if $seeExtreme == 0>><i>hugged until she smiles</i><<else>>fucked to death<</if>>. Her precious popularity in the old world will have the locals lined up all the way to New New Jersey waiting for their turn. I'd never question her master's decision, but if it were me, I'd pump her full of curatives and stimulants during the sentence. That way, she doesn't <<if $seeExtreme == 0>><i>smile</i><<else>>die or pass out<</if>> too soon. I think her master is being lenient after the way she badmouthed him in a live broadcast." <br><br>... <<elseif $randShow == 2 && $showOne > 3 || $showOne == 2>> @@ -479,7 +479,7 @@ The offered price is <<print cashFormat($slaveCost)>>. <br><br> Anabell taps out a practiced rhythm on the cow's ass cheeks, <i>"we wouldn't wanna startle our cow here, so we have signals."</i> The cow shifts her weight slightly to open her thighs more and tilt her hips slightly upward. With a practiced hand, the milk maid reaches in and pulls on the cup. Her arm obstructs the view, but you hear a slight hissing noise. It's only a moment before Anabell is showing the business side of the cup to the camera, revealing the cow's surprisingly wet cunt and gaped vagina along with a loose pink asshole. <i>"So I suppose I'll start with the top here... So this butt plug here is pretty much a butt plug, though it's not meant to stretch a cow out. It helps hold everything in place, so the cup can stay in place without much suction, too much suction for too long is pretty bad for a cow and her unborn calves. At the tip you can see it looks a bit different than a normal butt plug; there's an opening that can feed in meds and liquids to keep 'em hydrated and healthy. There's also a gas diff.. diss... sorry, a gas diffusion membrane that lets out any pressure for practical reasons. The cup here also collects it though, something about methane and not wasting anything. This yellow tube here is where the gas goes."</i> <br><br> - Anabell points at the large and vaguely mechanical looking dildo. <i>"Below the butt plug is the pussy plug. It does a whole bunch of things. Of course it helps stimulate the cow to improve production, but it also collects the cow's lubricant. As a cow gets closer to birth it stretches her out real good, and gets her hips ready to open nice and wide, so that the calves come out real easy. After eight months, we swap it out for one with a cervix massager."</i> Pointing to the nubby bottom area of the cup, she continues. <i>"Down here there are all these mechanical nubs that move around and vibrate, they keep a cow nice and stimulated. You can't really see it, but this is also where it collects the cow's pee for recycling. It wastes too much time for cows to be comin' and goin' to the toilet, but it'd a stinky mess if the cows just peed on the floor. With this, it's real easy for a cow to stay here all day. Maybe <i>too</i> easy, sometimes we hafta kick 'em out for breaks and exercise!"</i> + Anabell points at the large and vaguely mechanical looking dildo. <i>"Below the butt plug is the pussy plug. It does a whole bunch of things. Of course it helps stimulate the cow to improve production, but it also collects the cow's lubricant. As a cow gets closer to birth it stretches her out real good, and gets her hips ready to open nice and wide, so that the calves come out real easy. After eight months, we swap it out for one with a cervix massager."</i> Pointing to the nubby bottom area of the cup, she continues. <i>"Down here there are all these mechanical nubs that move around and vibrate, they keep a cow nice and stimulated. You can't really see it, but this is also where it collects the cow's <<if $seePee == 0>><i>paper and plastic refuse</i><<else>>pee<</if>> for recycling. It wastes too much time for cows to be comin' and goin' to the toilet, but it'd a stinky mess if the cows just <<if $seePee == 0>><i>threw their trash</i><<else>>peed<</if>> on the floor. With this, it's real easy for a cow to stay here all day. Maybe <i>too</i> easy, sometimes we hafta kick 'em out for breaks and exercise!"</i> <br><br> Next Anabell points out how the table is split in two from the feet all the way up to the groin hole. <i>"That probably looks strange, right? Easiest way to explain it would be to show you."</i> She does something to the table out of view, and stands back. The two sections of table, each one holding a leg, start moving apart to spread the cow's legs. They stop when her legs are spread at a 45 degree angle, incidentally giving the camera a great view of the cow's pussy. <i>"So it's real useful sometimes to have a cow's legs open like this, and it's also good to help stretch her hips. Next is the real magic though!"</i> He reaches forward and touches the table again. This time though, the table's movements are a lot more complex. It bends her knees and waist, while tilting her ass upward and spreading her legs further. By the time it's done her body looks like it's ready for doggy style, with her thighs spread too wide to be practical for a bed, and the cow's hips and legs angled in such a way that her large ass is completely out of the way of her spread cunt. <i>"ah, Ma'am, if it's okay, it'd be really mean to put the table back without finishing first..."</i> <br><br> diff --git a/src/pregmod/widgets/bodyswapWidgets.tw b/src/pregmod/widgets/bodyswapWidgets.tw index 1f1814b790f5b2ab0cbfcd27a7c93a5dc1f89c1d..f6a079911ca684ef2106a0133ebba31690fc62e7 100644 --- a/src/pregmod/widgets/bodyswapWidgets.tw +++ b/src/pregmod/widgets/bodyswapWidgets.tw @@ -247,37 +247,15 @@ <<if $args[1].bodySwap == 0>> <<if $args[1].birthSurname>> - <<if $surnameOrder != 1>> - <<switch $args[1].nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<if $args[1].birthName !== "">> - <<set $args[0].origBodyOwner = $args[1].birthSurname + " " + $args[1].birthName>> - <<else>> - <<set $args[0].origBodyOwner = $args[1].birthSurname + " " + $args[1].slaveName>> - <</if>> - <<default>> - <<if $args[1].birthName !== "">> - <<set $args[0].origBodyOwner = $args[1].birthName + " " + $args[1].birthSurname>> - <<else>> - <<set $args[0].origBodyOwner = $args[1].slaveName + " " + $args[1].birthSurname>> - <</if>> - <</switch>> + <<if $args[1].birthName !== "">> + <<set $args[0].origBodyOwner = SlaveFullBirthName($args[1])>> <<else>> - <<if $args[1].birthName !== "">> - <<set $args[0].origBodyOwner = $args[1].birthName + " " + $args[1].birthSurname>> - <<else>> - <<set $args[0].origBodyOwner = $args[1].slaveName + " " + $args[1].birthSurname>> - <</if>> + <<set $args[0].origBodyOwner = $args[1].slaveName + " " + $args[1].birthSurname>> <</if>> <<elseif $args[1].birthName>> <<if $args[1].slaveSurname>> - <<if $surnameOrder != 1>> - <<switch $args[1].nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<set $args[0].origBodyOwner = $args[1].slaveSurname + " " + $args[1].birthName>> - <<default>> - <<set $args[0].origBodyOwner = $args[1].birthName + " " + $args[1].slaveSurname>> - <</switch>> + <<if (($surnameOrder != 1 && ["Cambodian", "Chinese", "Hungarian", "Japanese", "Korean", "Mongolian", "Taiwanese", "Vietnamese"].includes($args[1].nationality)) || ($surnameOrder == 2)>> + <<set $args[0].origBodyOwner = $args[1].slaveSurname + " " + $args[1].birthName>> <<else>> <<set $args[0].origBodyOwner = $args[1].birthName + " " + $args[1].slaveSurname>> <</if>> @@ -285,16 +263,7 @@ <<set $args[0].origBodyOwner = $args[1].birthName>> <</if>> <<elseif $args[1].slaveSurname>> - <<if $surnameOrder != 1>> - <<switch $args[1].nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<set $args[0].origBodyOwner = $args[1].slaveSurname + " " + $args[1].slaveName>> - <<default>> - <<set $args[0].origBodyOwner = $args[1].slaveName + " " + $args[1].slaveSurname>> - <</switch>> - <<else>> - <<set $args[0].origBodyOwner = $args[1].slaveName + " " + $args[1].slaveSurname>> - <</if>> + <<set $args[0].origBodyOwner = SlaveFullName($args[1])>> <<else>> <<set $args[0].origBodyOwner = $args[1].slaveName>> <</if>> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index 95757eb36b3780e77dbccc71f62fa00a05c880e6..66bd1b9b288c50e3e68b325eef9dddd268a7a5be 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -72,10 +72,10 @@ <</if>> <<if ndef $PC.name>> -<<if def $PCName>> - <<set $PC.name = $PCName>> - <<unset $PCName>> -<</if>> + <<if def $PCName>> + <<set $PC.name = $PCName>> + <<unset $PCName>> + <</if>> <</if>> <<if ndef $PC.surname>> <<set $PC.surname = 0>> @@ -581,6 +581,9 @@ <<if ndef $seeBestiality>> <<set $seeBestiality = 0>> <</if>> +<<if ndef $seePee>> + <<set $seePee = 0>> +<</if>> <<if ndef $extremeUnderage>> <<set $extremeUnderage = 0>> <</if>> @@ -1072,6 +1075,9 @@ <<if ndef $showNumbersMax>> <<set $showNumbersMax = 20>> <</if>> +<<if ndef $surnameOrder>> + <<set $surnameOrder = 0>> +<</if>> <<if ndef $prisonCircuit>> <<set $prisonCircuit = ["low tier criminals", "gangs and smugglers", "white collar", "military prison"]>> <<set $prisonCircuitIndex = random(0,$prisonCircuit.length-1)>> @@ -3268,8 +3274,12 @@ Setting missing slave variables: <<set _Slave.eyeColor = _Slave.origEye>> <</if>> -<<if ndef _Slave.birthSurname>><<set _Slave.birthSurname = 0>><</if>> -<<if ndef _Slave.slaveSurname>><<set _Slave.slaveSurname = 0>><</if>> +<<if ndef _Slave.birthSurname>> + <<set _Slave.birthSurname = 0>> +<</if>> +<<if ndef _Slave.slaveSurname>> + <<set _Slave.slaveSurname = 0>> +<</if>> <<if _Slave.faceImplant == 1>> <<set _Slave.faceImplant = 15>> @@ -3502,6 +3512,12 @@ Done! <<if ndef _rule.surgery_hears>> <<set _rule.surgery_hears = "no default setting">> <</if>> + <<if ndef _rule.surgery_smells>> + <<set _rule.surgery_smells = "no default setting">> + <</if>> + <<if ndef _rule.surgery_tastes>> + <<set _rule.surgery_tastes = "no default setting">> + <</if>> <<if ndef _rule.surgery_vasectomy>> <<set _rule.surgery_vasectomy = "no default setting">> <</if>> diff --git a/src/uncategorized/RESS.tw b/src/uncategorized/RESS.tw index 99579488cc138da2502b7607967158c14fe3c183..5ecd2a455258e71a0ecfd63d269bf5f0e1778624 100644 --- a/src/uncategorized/RESS.tw +++ b/src/uncategorized/RESS.tw @@ -7428,7 +7428,7 @@ You tell $him kindly that you understand, and that $he'll be trained to address <<set $activeSlave.trust -= 5>> <<run repX(-100, "event", $activeSlave)>> <</replace>> -<</link>><<if ($activeSlave.anus == 0 && canDoAnal($activeSlave)) || ($activeSlave.vagina == 0 && canDoVaginal($activeSlave))>> //This option will take virginity//<</if>> +<</link>><<if (($activeSlave.anus == 0 && canDoAnal($activeSlave)) || ($activeSlave.vagina == 0 && canDoVaginal($activeSlave))) && $seePee == 1>> //This option will take virginity//<</if>> <br><<link "Let $him stay in bed, but move it to a public restroom">> <<EventNameDelink $activeSlave>> <<replace "#result">> @@ -13018,7 +13018,7 @@ You tell $him kindly that you understand, and that $he'll be trained to address <<link "Require $him to self-flagellate">> <<EventNameDelink $activeSlave>> <<replace "#result">> - You tell $him that you will offer $him a method of expiating $his deep and troubling sin. $He looks almost hopeful at this, until you lead $him out onto a balcony and order $him to strip before handing $him a simple length of hempen rope. $He already knows what's coming next, but $he breaks down as $he obeys your orders to kneel. $He sobs abjectly, but you don't even have to give the next order: $he's already flogging the rope against $his own back in the hope of earning a reprieve by obedience. You count the strokes aloud, stopping at one in disapproval of how light $he's hitting $himself. $He flogs $himself harder and harder, screaming a little and crying in pain and fear as you obstinately refuse to say "two." When $he strikes so hard that $he draws a little blood, you finally say the terrible word. When you're finally satisfied with $his self-torture, $he's so exhausted that you carry $his limp, bloody, vaguely urine-scented <<if $activeSlave.bellyPreg >= 1500>>gravid <</if>>form into the shower, wash $him, and apply curatives, @@.red;though $he's still quite injured.@@ $He wakes to find $himself curled up in your lap, and $he stiffens for a brief moment before @@.hotpink;relaxing against your chest,@@ weeping softly. + You tell $him that you will offer $him a method of expiating $his deep and troubling sin. $He looks almost hopeful at this, until you lead $him out onto a balcony and order $him to strip before handing $him a simple length of hempen rope. $He already knows what's coming next, but $he breaks down as $he obeys your orders to kneel. $He sobs abjectly, but you don't even have to give the next order: $he's already flogging the rope against $his own back in the hope of earning a reprieve by obedience. You count the strokes aloud, stopping at one in disapproval of how light $he's hitting $himself. $He flogs $himself harder and harder, screaming a little and crying in pain and fear as you obstinately refuse to say "two." When $he strikes so hard that $he draws a little blood, you finally say the terrible word. When you're finally satisfied with $his self-torture, $he's so exhausted that you carry $his limp, bloody<<if $seePee == 1>>, vaguely urine-scented<</if>><<if $activeSlave.bellyPreg >= 1500>> gravid<</if>> form into the shower, wash $him, and apply curatives, @@.red;though $he's still quite injured.@@ $He wakes to find $himself curled up in your lap, and $he stiffens for a brief moment before @@.hotpink;relaxing against your chest,@@ weeping softly. <<if ($activeSlave.fetish != "submissive") && (random(1,100) > 50)>> <<set $activeSlave.fetish = "submissive",set $activeSlave.fetishKnown = 1, $activeSlave.fetishStrength = 10>> $He has come to associate @@.lightcoral;submission@@ with sexual fulfillment. @@ -14666,7 +14666,7 @@ You tell $him kindly that you understand, and that $he'll be trained to address <</if>> <<else>> <<if $activeSlave.belly >= 300000>> - tip $his over $his _belly <<if $activeSlave.bellyPreg >= 3000>>pregnancy<<else>>middle<</if>> and grope $him thoroughly, bringing $him to the painful edge of orgasm. Just when $he's about to tip over the edge, the stimulation stops and you haul $him up into your lap, $his stomach spreading your legs, and start playing with $his nipples. + tip $him over $his _belly <<if $activeSlave.bellyPreg >= 3000>>pregnancy<<else>>middle<</if>> and grope $him thoroughly, bringing $him to the painful edge of orgasm. Just when $he's about to tip over the edge, the stimulation stops and you haul $him up into your lap, $his stomach spreading your legs, and start playing with $his nipples. <<elseif $activeSlave.belly >= 5000>> spread your legs to give $his <<if $activeSlave.bellyPreg >= 3000>>pregnancy<<else>>bloated middle<</if>> room as you pull $him onto your lap and grope $him thoroughly, bringing $him to the painful edge of orgasm. Just when $he's about to tip over the edge, the stimulation stops and you haul $him up into your lap and start playing with $his nipples. <<else>> @@ -14901,8 +14901,8 @@ You tell $him kindly that you understand, and that $he'll be trained to address <<EventNameDelink $activeSlave>> <<replace "#result">> Simple problems require simple solutions — $he'll get fucked in the mouth until $he either gets over $his hang-ups about oral or learns to hide them. You drag the protesting $activeSlave.slaveName out in public, chain $him low so that $his mouth is available, and tell $him that $he'll suck dicks until $he gets through five in a row without grimacing, gagging, or resisting. You have a comfortable chair brought out to you and settle in to watch the show. - $activeSlave.slaveName tries, $he really does. But when word gets out as to the conditions of $his enslavement, $his users take a perverse enjoyment in being rougher than usual to evoke the exact reactions $he's trying to avoid. By the third failed streak, you've started to grow bored of the spectacle, but luckily you find entertainment in conversation with those who have already been entertained by poor $activeSlave.slaveName. Before long more chairs have been brought up and an impromptu salon has been set up alongside the blowbang line. By the sixth failed streak, an enterprising citizen has set up a small bar and is serving drinks. By the ninth, you've delegated watching $activeSlave.slaveName to your assistant. You personally break the 11th streak after $he reached four, to general acclaim from your newfound friends and a toast to your virility. - When the 14th streak is finally successful, there are serious talks about making these blowbang salons a regular occurrence and some backslapping directed towards you for your innovation in genteel hedonism. While you seriously doubt $activeSlave.slaveName enjoys oral sex any more than $he did at the start of the day, $he's certainly @@.green;learned to keep $his feelings on the matter to $himself.@@ $He did, however, @@.red;have quite a rough time@@ of it<<if $activeSlave.oralSkill <= 30>>, though $he did learn a thing or two about sucking dick.<<set $skillIncrease = 10>><<OralSkillIncrease $activeSlave>><<else>>.<</if>> And last of all, you and $activeSlave.slaveName did make @@.green;quite a good impression@@ today, though for widely differing reasons. + $activeSlave.slaveName tries, $he really does. But when word gets out as to the conditions of $his enslavement, $his users take a perverse enjoyment in being rougher than usual to evoke the exact reactions $he's trying to avoid. By the third failed streak, you've started to grow bored of the spectacle, but luckily you find entertainment in conversation with those who have already been entertained by poor $activeSlave.slaveName. Before long more chairs have been brought up and an impromptu salon has been set up alongside the blowbang line. By the sixth failed streak, an enterprising citizen has set up a small bar and is serving drinks. By the ninth, you've delegated watching $activeSlave.slaveName to your assistant. You personally break the eleventh streak after $he reached four, to general acclaim from your newfound friends and a toast to your virility. + When the fourteenth streak is finally successful, there are serious talks about making these blowbang salons a regular occurrence and some backslapping directed towards you for your innovation in genteel hedonism. While you seriously doubt $activeSlave.slaveName enjoys oral sex any more than $he did at the start of the day, $he's certainly @@.green;learned to keep $his feelings on the matter to $himself.@@ $He did, however, @@.red;have quite a rough time@@ of it<<if $activeSlave.oralSkill <= 30>>, though $he did learn a thing or two about sucking dick.<<set $skillIncrease = 10>><<OralSkillIncrease $activeSlave>><<else>>.<</if>> And last of all, you and $activeSlave.slaveName did make @@.green;quite a good impression@@ today, though for widely differing reasons. <<set $activeSlave.health -= 10, $activeSlave.sexualFlaw = "none">> <<set _oralSeed = random(65,80)>> <<set $activeSlave.oralCount += _oralSeed, $activeSlave.publicCount += _oralSeed, $oralTotal += _oralSeed>> diff --git a/src/uncategorized/descriptionOptions.tw b/src/uncategorized/descriptionOptions.tw index ada97bef7bc32325bbae8c64cd57c6343429cd08..f00dc4288fa6b17eab9cb3cd24e3a69f7b4e792d 100644 --- a/src/uncategorized/descriptionOptions.tw +++ b/src/uncategorized/descriptionOptions.tw @@ -108,8 +108,10 @@ Attractiveness and Sexual scores are <br> Names will -<<if $surnameOrder != 1>> - adhere to a slave's country of origin. //[[Force name surname|Description Options][$surnameOrder = 1]]// -<<else>> - always be name surname. //[[Allow nationality name order|Description Options][$surnameOrder = 0]]// -<</if>> \ No newline at end of file +<<if $surnameOrder == 0>> + adhere to a slave's country of origin. //[[Force name surname|Intro Summary][$surnameOrder = 1]]// | //[[Force surname name|Intro Summary][$surnameOrder = 2]]// +<<elseif $surnameOrder == 1>> + always be name surname. //[[Allow nationality name order|Description Options][$surnameOrder = 0]]// | //[[Force surname name|Intro Summary][$surnameOrder = 2]]// +<<elseif $surnameOrder == 2>> + always be name surname. //[[Allow nationality name order|Intro Summary][$surnameOrder = 0]]// | //[[Force name surname|Intro Summary][$surnameOrder = 1]]// +<</if>> diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw index 1b085286a926d13cf71cef1d09df80305a2e5143..3eba3043a131692f1ad09ab6115c3466402f0e7c 100644 --- a/src/uncategorized/longSlaveDescription.tw +++ b/src/uncategorized/longSlaveDescription.tw @@ -305,23 +305,23 @@ is <<if $activeSlave.slaveName != $activeSlave.birthName && $activeSlave.slaveSurname != $activeSlave.birthSurname>> <<= SlaveFullName($activeSlave)>> is not $his original full name; <<if $activeSlave.birthName === "" || $activeSlave.birthSurname === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <<elseif $activeSlave.slaveName != $activeSlave.birthName>> $activeSlave.slaveName is not $his original given name; <<if $activeSlave.birthName === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <<elseif $activeSlave.slaveSurname != $activeSlave.birthSurname>> <<if $activeSlave.slaveSurname === 0>> $He once had a surname; <<if $activeSlave.birthSurname === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <<else>> $activeSlave.slaveSurname is not $his original surname; <<if $activeSlave.birthSurname === "">> - whatever it was, however, has been lost forever. + whatever it was, however, has been lost forever. Regardless, <</if>> <</if>> <</if>> @@ -343,15 +343,8 @@ is $activeSlave.birthSurname. <<elseif $activeSlave.birthSurname === "">> $activeSlave.birthName. - <<elseif $surnameOrder != 1>> - <<switch $activeSlave.nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<if $activeSlave.birthSurname>>$activeSlave.birthSurname <</if>>$activeSlave.birthName. - <<default>> - $activeSlave.birthName<<if $activeSlave.birthSurname>> $activeSlave.birthSurname<</if>>. - <</switch>> <<else>> - $activeSlave.birthName<<if $activeSlave.birthSurname>> $activeSlave.birthSurname<</if>>. + <<= SlaveFullBirthName($activeSlave)>>. <</if>> <</if>> <<if $activeSlave.slaveSurname == 0>> @@ -365,17 +358,7 @@ is <</if>> <</if>> <<else>> - $activeSlave.slaveName<<if $activeSlave.slaveSurname>> $activeSlave.slaveSurname<</if>> is not $his original name: $he was once called - <<if $surnameOrder != 1>> - <<switch $activeSlave.nationality>> - <<case "Cambodian" "Chinese" "Hungarian" "Japanese" "Korean" "Mongolian" "Taiwanese" "Vietnamese">> - <<if $activeSlave.birthSurname>>$activeSlave.birthSurname <</if>>$activeSlave.birthName. - <<default>> - $activeSlave.birthName<<if $activeSlave.birthSurname>> $activeSlave.birthSurname<</if>>. - <</switch>> - <<else>> - $activeSlave.birthName<<if $activeSlave.birthSurname>> $activeSlave.birthSurname<</if>>. - <</if>> + <<= SlaveFullName($activeSlave)>> is not $his original name: $he was once called <<= SlaveFullBirthName($activeSlave)>>. <</if>> <</if>> diff --git a/src/uncategorized/options.tw b/src/uncategorized/options.tw index 97d7c37360dfb7c454aee983719e9f93a7b28d11..1c7c4fb5bbe624165e3cbd59ce83926c2c93674d 100644 --- a/src/uncategorized/options.tw +++ b/src/uncategorized/options.tw @@ -377,6 +377,13 @@ Assignment performance vignettes on the end week report are Bestiality related content is currently @@.cyan;ENABLED.@@ [[Disable|Options][$seeBestiality = 0]] //Will not remove existing facilities, but will block content from appearing.// <</if>> +<br> +<<if ($seePee == 0)>> + Watersports related content is currently @@.red;DISABLED.@@ [[Enable|Options][$seePee = 1]] +<<else>> + Watersports related content is currently @@.cyan;ENABLED.@@ [[Disable|Options][$seePee = 0]] +<</if>> + <br> <<if ($seePreg == 0)>> Pregnancy related content is currently @@.red;DISABLED.@@ [[Enable|Options][$seePreg = 1]] diff --git a/src/uncategorized/pRivalryActions.tw b/src/uncategorized/pRivalryActions.tw index ac7d6d36c663ae832965067cefe12bd193c5448b..522622e381cb182236a6c8195856d4495de37ca3 100644 --- a/src/uncategorized/pRivalryActions.tw +++ b/src/uncategorized/pRivalryActions.tw @@ -1639,7 +1639,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.vaginalCount += 50>> <<set $hostage.analCount += 50>> <<set $hostage.mammaryCount += 50>> - weeping on the floor as a crowd of citizens urinate on $him. + weeping on the floor as a crowd of citizens <<if $seePee == 1>>urinate on<<else>>masturbate onto<</if>> $him. <<elseif $rivalryDuration <= 10>> <<set $hostage.trust += 5>> <<set $hostage.devotion += 5>> @@ -1648,7 +1648,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.vaginalCount += 50>> <<set $hostage.analCount += 50>> <<set $hostage.mammaryCount += 50>> - trying $his best not to break down as a crowd of citizens urinate on $him. + trying $his best not to break down as a crowd of citizens <<if $seePee == 1>>urinate on<<else>>jack off onto<</if>> $him. <<elseif $rivalryDuration <= 15>> <<set $hostage.trust += 5>> <<set $hostage.devotion += 5>> @@ -1657,7 +1657,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.vaginalCount += 50>> <<set $hostage.analCount += 50>> <<set $hostage.mammaryCount += 50>> - meekly accepting $his golden shower. + meekly accepting $his <<if $seePee == 1>>golden shower<<else>>bukkake<</if>>. <<elseif $rivalryDuration <= 20>> <<set $hostage.trust += 5>> <<set $hostage.devotion += 5>> @@ -1665,7 +1665,7 @@ Your inter-arcology war with the arcology owner behind the Daughters of Liberty <<set $hostage.vaginalCount += 50>> <<set $hostage.analCount += 50>> <<set $hostage.mammaryCount += 50>> - laying there, indifferent to the citizens urinating on $him. + laying there, indifferent to the citizens <<if $seePee == 1>>urinating<<else>>ejaculating<</if>> on $him. <<else>> <<set $hostage.trust -= 5>> <<set $hostage.devotion -= 5>> diff --git a/src/uncategorized/pePitFight.tw b/src/uncategorized/pePitFight.tw index 5fafee9535e91b9f6addb6aafd44c04ddb37fe27..ea13ee2cd108930c09ab9752b78afa5fec9c5fea 100644 --- a/src/uncategorized/pePitFight.tw +++ b/src/uncategorized/pePitFight.tw @@ -173,7 +173,7 @@ Finally, $his opponent enters as well. _HeU is a decent-looking slave, physically fit but obviously scared. <<set _opponent = 2>> <<else>> - _HeU is an average looking slave, so frightened there's urine running down _hisU leg. _HeU must have really annoyed _hisU master to earn this. + _HeU is an average looking slave, so frightened <<if $seePee == 1>>there's urine running down _hisU leg<<else>>_hisU teeth are audibly chattering<</if>>. _HeU must have really annoyed _hisU master to earn this. <<set _opponent = 1>> <</if>> diff --git a/src/uncategorized/ptWorkaround.tw b/src/uncategorized/ptWorkaround.tw index 4629939dc7b03c86eb5588c319c6dd3e74ad08cb..92a2427673fef54c4baea82e5a0a6d6ddae5d971 100644 --- a/src/uncategorized/ptWorkaround.tw +++ b/src/uncategorized/ptWorkaround.tw @@ -357,13 +357,13 @@ Since $he's anally experienced, you work with $him on the finer points of penetrative sex. $He can already take it up $his ass, but $his muscular control could be improved. $He works $his Kegel muscles and anal sphincter all week, using fingers, dildos, and your <<if $PC.dick == 0>>strap-on<<else>>cock<</if>> as training tools. $He becomes expert enough that $he is able to make you cum without any thrusting at all by you or any riding by $him; $he just flexes $his muscles enough to <<if $PC.dick == 0>>squeeze the fake phallus<<else>>stimulate you<</if>>. @@.lime;$His anal skills have improved.@@ <<AnalSkillIncrease $activeSlave>> <<elseif $activeSlave.oralSkill < 100>> - $He is already a skilled oral whore, but $his skills can be polished further. You train $him in the basics of urine play, massage, pet play, needle play, and many other niche skills. You also expand $his oral endurance, enabling $him to deepthroat for extended periods. @@.lime;$His oral skills have improved.@@ + $He is already a skilled oral whore, but $his skills can be polished further. You train $him in the basics of <<if $seePee == 1>>urine play, <</if>>massage, pet play, needle play, and many other niche skills. You also expand $his oral endurance, enabling $him to deepthroat for extended periods. @@.lime;$His oral skills have improved.@@ <<OralSkillIncrease $activeSlave>> <<elseif ($activeSlave.vaginalSkill < 100) && ($activeSlave.vagina > 0) && canDoVaginal($activeSlave)>> - $He is already a skilled pussy slut, but $his skills can be polished further. You train $him in the basics of urine play, massage, pet play, needle play, and many other niche skills. You also work with $him to develop a personal regimen of vaginal muscle exercises. This will enable $him to squeeze and massage dicks with $his practiced vaginal walls. @@.lime;$His vaginal skills have improved.@@ + $He is already a skilled pussy slut, but $his skills can be polished further. You train $him in the basics of <<if $seePee == 1>>urine play, <</if>>massage, pet play, needle play, and many other niche skills. You also work with $him to develop a personal regimen of vaginal muscle exercises. This will enable $him to squeeze and massage dicks with $his practiced vaginal walls. @@.lime;$His vaginal skills have improved.@@ <<VaginalSkillIncrease $activeSlave>> <<elseif ($activeSlave.analSkill < 100) && ($activeSlave.anus > 0) && canDoAnal($activeSlave)>> - $He is already a skilled anal bitch, but $his skills can be polished further. You train $him in the basics of urine play, massage, pet play, needle play, and many other niche skills. You also expand $his knowledge of sexual positions. $He learns to balance $himself on tiptoe for the challenge of standing anal sex without support. @@.lime;$His sexual skills have improved.@@ + $He is already a skilled anal bitch, but $his skills can be polished further. You train $him in the basics of <<if $seePee == 1>>urine play, <</if>>massage, pet play, needle play, and many other niche skills. You also expand $his knowledge of sexual positions. $He learns to balance $himself on tiptoe for the challenge of standing anal sex without support. @@.lime;$His sexual skills have improved.@@ <<AnalSkillIncrease $activeSlave>> <<elseif $activeSlave.whoreSkill <= 10>> Since $he's dangerously naïve about selling sex, you teach $him the basics of self protection and business. @@.lime;$His prostitution skills have improved.@@ diff --git a/src/uncategorized/reMalefactor.tw b/src/uncategorized/reMalefactor.tw index 6e6139c1396b04fdb822b0b7b1952771bad78a08..efcb4bfcf694820df538408a4ee65e9d7aba5ffb 100644 --- a/src/uncategorized/reMalefactor.tw +++ b/src/uncategorized/reMalefactor.tw @@ -294,7 +294,7 @@ <<case "addict">> -<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> alerts you that a criminal has been detected by your security systems and detained by the drones. Crime is extremely uncommon in your arcology, since nothing can escape the notice of the omnipresent monitoring systems. Criminals are usually either too angry, too ignorant, or too stupid to understand the impossibility of successful petty crime. This is the latter situation; a $girl suffering severe aphrodisiac withdrawal has attempted to break into a store that sells the stuff. $He's now lying in a pool of $his own urine with a taser round stuck in $his ass; the drone responsible is hovering helpfully nearby, hitting $him with another shock whenever $he does more than twitch. +<<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> alerts you that a criminal has been detected by your security systems and detained by the drones. Crime is extremely uncommon in your arcology, since nothing can escape the notice of the omnipresent monitoring systems. Criminals are usually either too angry, too ignorant, or too stupid to understand the impossibility of successful petty crime. This is the latter situation; a $girl suffering severe aphrodisiac withdrawal has attempted to break into a store that sells the stuff. $He's now lying <<if $seePee == 1>>in a pool of $his own urine<<else>>face-down on the pavement<</if>> with a taser round stuck in $his ass; the drone responsible is hovering helpfully nearby, hitting $him with another shock whenever $he does more than twitch. <<case "escapee">> diff --git a/src/uncategorized/saLongTermEffects.tw b/src/uncategorized/saLongTermEffects.tw index d0bb10f71ad1da5c53a378ddd0879931a1e8b8dd..40b0af39d0fce05061340fe5c16d3cef9b33f170 100644 --- a/src/uncategorized/saLongTermEffects.tw +++ b/src/uncategorized/saLongTermEffects.tw @@ -1292,7 +1292,7 @@ <<if ($slaves[$i].assignment == "work in the dairy") && ($dairyRestraintsSetting >= 2)>> $His paraphilia is satisfied by $his horrible life as a producer of useful fluids and a receptacle for machine rape. <<set _para = 1>> - <<elseif ["work a glory hole", "be confined in the arcade"].includes($slaves[$i].assignment)>> + <<elseif ["be confined in the arcade", "work a glory hole"].includes($slaves[$i].assignment)>> $His paraphilia is satisfied by $his horrible life as a helpless hole for an infinite bag of dicks. <<set _para = 1>> <<elseif _abused>> @@ -1456,7 +1456,7 @@ <</if>> <<if $slaves[$i].fetishStrength <= 95>> <<if ($slaves[$i].heels == 1)>> - <<if !["heels", "pumps", "boots", "extreme heels"].includes($slaves[$i].shoes)>> + <<if !["boots", "extreme heels", "heels", "pumps"].includes($slaves[$i].shoes)>> <<if $slaves[$i].fetish != "submissive">> <<if $slaves[$i].career == "a dairy cow" || $slaves[$i].career == "a breeding bull">> Since $he sees $himself as an animal, $he is perfectly content walking on all fours. @@ -1578,7 +1578,7 @@ <</if>> /* CLOSES FUCKDOLL CHECK FOR MENTAL DEVELOPMENT */ <</if>> /* CLOSES MINDBROKEN CHECK FOR MENTAL DEVELOPMENT */ -<<if !["serve the public", "whore", "work a glory hole", "be confined in the arcade", "work in the brothel", "serve in the club"].includes($slaves[$i].assignment)>> +<<if !["be confined in the arcade", "serve in the club", "serve the public", "whore", "work a glory hole", "work in the brothel"].includes($slaves[$i].assignment)>> <<if ($slaves[$i].assignment != "serve in the master suite") || ($masterSuiteUpgradeLuxury < 2)>> <<if ($slaves[$i].assignment != "work in the dairy") || ($dairyStimulatorsSetting == 0)>> <<if $slaves[$i].geneMods.rapidCellGrowth != 1>> @@ -4954,10 +4954,10 @@ Society @@.green;approves@@ of $slaves[$i].slaveName's collar as an expression of the old ideal of mortification of the flesh, advancing the combination of religious originalism and modern slavery. <<= FSChangePorn("ChattelReligionist", 1)>> <</if>> - <<if ["a chattel habit", "a fallen nuns habit", "a penitent nuns habit", "a hijab and abaya", "a niqab and abaya", "a klan robe", "a burqa", "a succubus outfit"].includes($slaves[$i].clothes)>> + <<if ["a burqa", "a chattel habit", "a fallen nuns habit", "a hijab and abaya", "a klan robe", "a niqab and abaya", "a penitent nuns habit", "a succubus outfit"].includes($slaves[$i].clothes)>> Society @@.green;approves@@ of $his religiously themed clothing, strengthening the connection between sexual servitude and faith. <<= FSChangePorn("ChattelReligionist", 1)>> - <<elseif ["uncomfortable straps", "shibari ropes", "a nice maid outfit", "chains", "nice business attire", "a nice nurse outfit", "a kimono", "a military uniform", "conservative clothing", "a toga", "body oil", "no clothing"].includes($slaves[$i].clothes)>> + <<elseif ["a bunny outfit", "a hijab and blouse", "a huipil", "a kimono", "a military uniform", "a nice maid outfit", "a nice nurse outfit", "a slutty qipao", "a toga", "body oil", "chains", "conservative clothing", "nice business attire", "no clothing", "shibari ropes", "uncomfortable straps"].includes($slaves[$i].clothes)>> Society accepts $his spartan clothing, seeing it as permissible under the new religious mores. <<elseif ($slaves[$i].fuckdoll == 0)>> Society @@.red;disapproves@@ of $his unnecessarily gaudy attire; this slows acceptance of a link between faith and sexual servitude. @@ -5058,7 +5058,7 @@ <<elseif $slaves[$i].devotion > 20>> Since $he's blind, hard of hearing and on the cusp of devotion, $he becomes @@.hotpink;more reliant@@ on you, but also begins to be @@.mediumaquamarine;less fearful@@ of the world around $him. <<set $slaves[$i].devotion += 4, $slaves[$i].trust += 2>> - <<elseif ["please you", "be your Concubine", "serve in the master suite"].includes($slaves[$i].assignment)>> + <<elseif ["be your Concubine", "please you", "serve in the master suite"].includes($slaves[$i].assignment)>> $He may be blind and hard of hearing, but $he knows nobody would dare harm $him under your watch, @@.mediumaquamarine;building $his trust@@ in you. <<set $slaves[$i].trust += 2>> <<elseif $slaves[$i].devotion >= -20>> @@ -5075,7 +5075,7 @@ <<elseif $slaves[$i].devotion > 20>> Since $he's blind and on the cusp of devotion, $he becomes slightly @@.hotpink;more reliant,@@ but also begins to be @@.mediumaquamarine;less fearful@@ of what $he can't see. <<set $slaves[$i].devotion += 3, $slaves[$i].trust += 1>> - <<elseif ["please you", "be your Concubine", "serve in the master suite"].includes($slaves[$i].assignment)>> + <<elseif ["be your Concubine", "please you", "serve in the master suite"].includes($slaves[$i].assignment)>> $He may be blind, but $he knows nobody would dare harm $him under your watch, @@.mediumaquamarine;building $his trust@@ in you. <<set $slaves[$i].trust += 2>> <<elseif $slaves[$i].devotion >= -20>> @@ -5128,7 +5128,7 @@ <<elseif $slaves[$i].devotion > 20>> Since $he is also deaf, $he becomes @@.hotpink;very reliant@@ on you, but also begins to @@.mediumaquamarine;trust@@ you to convery what $his body does not. <<set $slaves[$i].devotion += 3, $slaves[$i].trust += 3>> - <<elseif ["please you", "be your Concubine", "serve in the master suite"].includes($slaves[$i].assignment)>> + <<elseif ["be your Concubine", "please you", "serve in the master suite"].includes($slaves[$i].assignment)>> Since $he is also deaf, $he views you as $his @@.mediumaquamarine;blurry guardian.@@ <<set $slaves[$i].trust += 5>> <<elseif $slaves[$i].devotion >= -20>> @@ -5177,7 +5177,7 @@ <<elseif $slaves[$i].devotion > 20>> Since $he's deaf and on the cusp of devotion, $he becomes slightly @@.hotpink;more reliant,@@ but also begins to be @@.mediumaquamarine;less fearful@@ of what is lurking out of sight. <<set $slaves[$i].devotion += 1, $slaves[$i].trust += 1>> - <<elseif ["please you", "be your Concubine", "serve in the master suite"].includes($slaves[$i].assignment)>> + <<elseif ["be your Concubine", "please you", "serve in the master suite"].includes($slaves[$i].assignment)>> $He may be deaf, but no one can sneak up on $him while $he is with you, @@.mediumaquamarine;developing the trust@@ that you have $his back. <<set $slaves[$i].trust += 2>> <<elseif $slaves[$i].devotion >= -20>> @@ -5228,7 +5228,7 @@ <<elseif $slaves[$i].devotion > 20>> Since $he's near helpless and on the cusp of devotion, $he becomes slightly @@.hotpink;more reliant,@@ but also begins to be @@.mediumaquamarine;less fearful@@ of what $he can't see. <<set $slaves[$i].devotion += 3, $slaves[$i].trust += 1>> - <<elseif ["please you", "be your Concubine", "serve in the master suite"].includes($slaves[$i].assignment)>> + <<elseif ["be your Concubine", "please you", "serve in the master suite"].includes($slaves[$i].assignment)>> $He may be physically frail and vulnerable, but $he knows nobody would dare harm $him under your watch, @@.mediumaquamarine;building $his trust@@ in you. <<set $slaves[$i].trust += 2>> <<elseif $slaves[$i].devotion >= -20>> @@ -5918,13 +5918,13 @@ <</if>> <<if ($slaves[$i].amp == 1)>> <<if $anchors.length > 1>>but ultimately $his limblessness<<else>>or would be if $he had limbs<</if>>, - <<elseif $slaves[$i].heels == 1 && !["heels", "pumps", "boots", "extreme heels"].includes($slaves[$i].shoes)>> + <<elseif $slaves[$i].heels == 1 && !["boots", "extreme heels", "heels", "pumps"].includes($slaves[$i].shoes)>> <<if $anchors.length > 1>>but ultimately $his heels having been clipped<<else>>or would be if $his heels weren't clipped<</if>>, <</if>> <<else>> <<if ($slaves[$i].amp == 1)>> limblessness, - <<elseif $slaves[$i].heels == 1 && !["heels", "pumps", "boots", "extreme heels"].includes($slaves[$i].shoes)>> + <<elseif $slaves[$i].heels == 1 && !["boots", "extreme heels", "heels", "pumps"].includes($slaves[$i].shoes)>> heels having been clipped, <</if>> <</if>> diff --git a/src/uncategorized/seWeddingDouble.tw b/src/uncategorized/seWeddingDouble.tw index 4666ee941f7e9fcbc505d465abad391e2b82f045..925a2609e4471d04c08b2e926048e05b9409ba8b 100644 --- a/src/uncategorized/seWeddingDouble.tw +++ b/src/uncategorized/seWeddingDouble.tw @@ -20,538 +20,542 @@ /* 000-250-006 */ <<if _slave1.slaveName == _slave2.slaveName>> +/* To do? */ <</if>> <<if _slave1.relationship != 0>> <<if _slave1.relationship > 0>> - <<if _slave1.relationshipTarget == _slave2.ID>> - In the days leading up to your wedding, _slave1.slaveName and _slave2.slaveName spent their time - <<if _slave1.relationship <= 2>> - excitedly planning together, as <<if _slave1.relationship == 2>>best<</if>> friends do. + <<set _m = $slaveIndices[_slave1.relationshipTarget]>> + <<set _slave1.relationshipTarget = 0>> + <<set $slaves[_m].relationship = 0, $slaves[_m].relationshipTarget = 0>> + <</if>> +<</if>> +<<if _slave1.relationshipTarget == _slave2.ID>> + In the days leading up to your wedding, _slave1.slaveName and _slave2.slaveName spent their time + <<if _slave1.relationship <= 2>> + excitedly planning together, as <<if _slave1.relationship == 2>>best<</if>> friends do. + <<else>> + having less sex and spending more time preparing for the upcoming event. + <</if>> + <<set _slave1.relationship = 0, _slave2.relationship = 0>> +<<else>> + In the days leading up to your wedding, _slave1.slaveName spent $his time + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship != 0>> + <<if _slave1.relationship == -1>> + vowing that $he'll be less of a slut. + <<elseif _slave1.relationship == 4>> + breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. + <<elseif _slave1.relationship == 3>> + breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. + <<elseif _slave1.relationship > 0>> + promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. <<else>> - having less sex and spending more time preparing for the upcoming event. + as close to you as $he could. <</if>> - <<set _slave1.relationship = 0, _slave2.relationship = 0>> - <<else>> - In the days leading up to your wedding, _slave1.slaveName spent $his time - <<set _m = $slaveIndices[_slave1.relationshipTarget]>> - <<set _slave1.relationshipTarget = 0>> - <<set $slaves[_m].relationship = 0, $slaves[_m].relationshipTarget = 0>> - <<if _slave1.devotion+_slave1.trust >= 175>> - <<if _slave1.relationship != 0>> - <<if _slave1.relationship == -1>> - vowing that $he'll be less of a slut. - <<elseif _slave1.relationship == 4>> - breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. - <<elseif _slave1.relationship == 3>> - breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. - <<elseif _slave1.relationship > 0>> - promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. - <<else>> - as close to you as $he could. + <</if>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + <<if _slave1.relationship == -1>> + sleeping with as many different people as $he could. + <<if !isSlaveAvailable(_slave1)>> + Or $he would have, if $he were able. + <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> + <<set _randomVag = random(30,60)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. + <<if _slave1.vagina == 0 && _slave1.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ <</if>> + <<if _slave1.vagina < 4>><<set _slave1.vagina = 4>><</if>><<set _slave1.anus = 4>> + <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> <</if>> - <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> - <<if _slave1.relationship == -1>> - sleeping with as many different people as $he could. - <<if !isSlaveAvailable(_slave1)>> - Or $he would have, if $he were able. - <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> - <<set _randomVag = random(30,60)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. - <<if _slave1.vagina == 0 && _slave1.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <</if>> - <<if _slave1.vagina < 4>><<set _slave1.vagina = 4>><</if>><<set _slave1.anus = 4>> - <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoVaginal(_slave1)>> - <<set _randomVag = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. - <<if _slave1.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <</if>> - <<if _slave1.vagina < 4>><<set _slave1.vagina = 4>><</if>> - <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoAnal(_slave1)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. - <<if _slave1.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <</if>> - <<set _slave1.anus = 4>> - <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(60,100)>> - <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif _slave1.relationship == 4>> - fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. - <<if !isSlaveAvailable(_slave1)>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_m])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave1.vagina == 0 && _slave1.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set _slave1.vagina = 1, _slave1.anus = 1>> - <</if>> - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoVaginal(_slave1)>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if _slave1.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set _slave1.vagina = 1>> - <</if>> - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoAnal(_slave1)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave1.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set _slave1.anus = 1>> - <</if>> - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif _slave1.relationship == 3>> - fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. - <<if !isAvailable(_slave1)>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_m])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave1.vagina == 0 && _slave1.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set _slave1.vagina = 1, _slave1.anus = 1>> - <</if>> - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoVaginal(_slave1)>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if _slave1.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set _slave1.vagina = 1>> - <</if>> - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoAnal(_slave1)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave1.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set _slave1.anus = 1>> - <</if>> - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif _slave1.relationship > 0>> - spending time away from you with $slaves[_m].slaveName. - <<else>> - inappropriately planning redecorations. + <<elseif canDoVaginal(_slave1)>> + <<set _randomVag = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. + <<if _slave1.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ <</if>> - <<elseif _slave1.devotion < -20>> - <<if _slave1.relationship == -1>> - desperately pleading with you to change your mind. - <<elseif _slave1.relationship == 4>> - with $his love, $slaves[_m].slaveName, weeping. - <<elseif _slave1.relationship == 3>> - with $his lover, $slaves[_m].slaveName, weeping. - <<elseif _slave1.relationship > 0>> - with $his friend, $slaves[_m].slaveName, weeping. - <<else>> - desperately pleading with you to change your mind. + <<if _slave1.vagina < 4>><<set _slave1.vagina = 4>><</if>> + <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. + <<if _slave1.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <</if>> + <<set _slave1.anus = 4>> + <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> <</if>> <<else>> - <<if _slave1.relationship == -1>> - trying $his hardest to not sleep with anyone else. - <<elseif _slave1.relationship == 4>> - alongside $his love, $slaves[_m].slaveName. - <<if canDoVaginal(_slave1) && _slave1.vagina != 0>> - <<set _slave1.vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoAnal(_slave1)>> - <<set _slave1.analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<else>> - <<set _slave1.oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. - <</if>> - <<elseif _slave1.relationship == 3>> - alongside $his lover, $slaves[_m].slaveName. - <<if canDoVaginal(_slave1) && _slave1.vagina != 0>> - <<set _slave1.vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<elseif canDoAnal(_slave1)>> - <<set _slave1.analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. - <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set _slave1.pregType = setPregType(_slave1)>> - <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> - <</if>> - <<else>> - <<set _slave1.oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. - <</if>> - <<elseif _slave1.relationship > 0>> - with $his friend, $slaves[_m].slaveName. - <<else>> - wearing a very conflicted expression. + <<set _randomOral = random(60,100)>> + <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave1.relationship == 4>> + fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isSlaveAvailable(_slave1)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0 && _slave1.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave1.vagina = 1, _slave1.anus = 1>> <</if>> - - _slave2.slaveName, meanwhile, spent $his time + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoVaginal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave1.vagina = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave1.relationship == 3>> + fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isAvailable(_slave1)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0 && _slave1.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave1.vagina = 1, _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoVaginal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave1.vagina = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave1.relationship > 0>> + spending time away from you with $slaves[_m].slaveName. + <<else>> + inappropriately planning redecorations. + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + desperately pleading with you to change your mind. + <<elseif _slave1.relationship == 4>> + with $his love, $slaves[_m].slaveName, weeping. + <<elseif _slave1.relationship == 3>> + with $his lover, $slaves[_m].slaveName, weeping. + <<elseif _slave1.relationship > 0>> + with $his friend, $slaves[_m].slaveName, weeping. + <<else>> + desperately pleading with you to change your mind. + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + trying $his hardest to not sleep with anyone else. + <<elseif _slave1.relationship == 4>> + alongside $his love, $slaves[_m].slaveName. + <<if canDoVaginal(_slave1) && _slave1.vagina != 0>> + <<set _slave1.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _slave1.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _slave1.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave1.relationship == 3>> + alongside $his lover, $slaves[_m].slaveName. + <<if canDoVaginal(_slave1) && _slave1.vagina != 0>> + <<set _slave1.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _slave1.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _slave1.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave1.relationship > 0>> + with $his friend, $slaves[_m].slaveName. + <<else>> + wearing a very conflicted expression. + <</if>> + <</if>> + <<if _slave2.relationship != 0>> + <<if _slave2.relationship > 0>> <<set _n = $slaveIndices[_slave2.relationshipTarget]>> <<set _slave2.relationshipTarget = 0>> <<set $slaves[_n].relationship = 0, $slaves[_n].relationshipTarget = 0>> + <</if>> + <</if>> + _slave2.slaveName, meanwhile, spent $his time + <<if _slave2.devotion+_slave2.trust >= 175>> + <<if _slave2.relationship != 0>> + <<if _slave2.relationship == -1>> + vowing that $he'll be less of a slut. + <<elseif _slave2.relationship == 4>> + breaking up with $his lover, $slaves[_n].slaveName, as painlessly as possible. + <<elseif _slave2.relationship == 3>> + breaking up with $his FWB, $slaves[_n].slaveName, as painlessly as possible. + <<elseif _slave2.relationship > 0>> + promising $slaves[_n].slaveName that they'll still be friends, even if they can't spend time together. + <<else>> + as close to you as $he could. <</if>> - <<if _slave2.devotion+_slave2.trust >= 175>> - <<if _slave2.relationship != 0>> - <<if _slave2.relationship == -1>> - vowing that $he'll be less of a slut. - <<elseif _slave2.relationship == 4>> - breaking up with $his lover, $slaves[_n].slaveName, as painlessly as possible. - <<elseif _slave2.relationship == 3>> - breaking up with $his FWB, $slaves[_n].slaveName, as painlessly as possible. - <<elseif _slave2.relationship > 0>> - promising $slaves[_n].slaveName that they'll still be friends, even if they can't spend time together. - <<else>> - as close to you as $he could. - <</if>> + <</if>> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + <<if _slave2.relationship == -1>> + sleeping with as many different people as $he could. + <<if !isSlaveAvailable(_slave2)>> + Or $he would have, if $he were able. + <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> + <<set _randomVag = random(30,60)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. + <<if _slave2.vagina == 0 && _slave2.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ <</if>> - <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> - <<if _slave2.relationship == -1>> - sleeping with as many different people as $he could. - <<if !isSlaveAvailable(_slave2)>> - Or $he would have, if $he were able. - <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> - <<set _randomVag = random(30,60)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. - <<if _slave2.vagina == 0 && _slave2.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <</if>> - <<if _slave2.vagina < 4>><<set _slave2.vagina = 4>><</if>><<set _slave2.anus = 4>> - <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoVaginal(_slave2)>> - <<set _randomVag = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. - <<if _slave2.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <</if>> - <<if _slave2.vagina < 4>><<set _slave2.vagina = 4>><</if>> - <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoAnal(_slave2)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. - <<if _slave2.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <</if>> - <<set _slave2.anus = 4>> - <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(60,100)>> - <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif _slave2.relationship == 4>> - fucking $his love, $slaves[_n].slaveName, as often as possible while ignoring you. - <<if !isSlaveAvailable(_slave2)>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_n])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave2.vagina == 0 && _slave2.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set _slave2.vagina = 1, _slave2.anus = 1>> - <</if>> - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoVaginal(_slave2)>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if _slave2.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set _slave2.vagina = 1>> - <</if>> - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoAnal(_slave2)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave2.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set _slave2.anus = 1>> - <</if>> - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_n].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif _slave2.relationship == 3>> - fucking $his lover, $slaves[_n].slaveName, as often as possible while ignoring you. - <<if !isAvailable(_slave2)>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_n])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave2.vagina == 0 && _slave2.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set _slave2.vagina = 1, _slave2.anus = 1>> - <</if>> - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoVaginal(_slave2)>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if _slave2.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set _slave2.vagina = 1>> - <</if>> - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoAnal(_slave2)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if _slave2.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set _slave2.anus = 1>> - <</if>> - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_n].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif _slave2.relationship > 0>> - spending time away from you with $slaves[_n].slaveName. - <<else>> - inappropriately planning redecorations. + <<if _slave2.vagina < 4>><<set _slave2.vagina = 4>><</if>><<set _slave2.anus = 4>> + <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> <</if>> - <<elseif _slave2.devotion < -20>> - <<if _slave2.relationship == -1>> - desperately pleading with you to change your mind. - <<elseif _slave2.relationship == 4>> - with $his love, $slaves[_n].slaveName, weeping. - <<elseif _slave2.relationship == 3>> - with $his lover, $slaves[_n].slaveName, weeping. - <<elseif _slave2.relationship > 0>> - with $his friend, $slaves[_n].slaveName, weeping. - <<else>> - desperately pleading with you to change your mind. + <<elseif canDoVaginal(_slave2)>> + <<set _randomVag = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. + <<if _slave2.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <</if>> + <<if _slave2.vagina < 4>><<set _slave2.vagina = 4>><</if>> + <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. + <<if _slave2.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <</if>> + <<set _slave2.anus = 4>> + <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> <</if>> <<else>> - <<if _slave2.relationship == -1>> - trying $his hardest to not sleep with anyone else. - <<elseif _slave2.relationship == 4>> - alongside $his love, $slaves[_n].slaveName. - <<if canDoVaginal(_slave2) && _slave2.vagina != 0>> - <<set _slave2.vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_n].slaveName enjoy $his pussy one last time. - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoAnal(_slave2)>> - <<set _slave2.analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_n].slaveName enjoy $his butt one last time. - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<else>> - <<set _slave2.oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_n].slaveName <<if $slaves[_n].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_n])>>cunnilingus one last time<<else>>oral one last time<</if>>. - <</if>> - <<elseif _slave2.relationship == 3>> - alongside $his lover, $slaves[_n].slaveName. - <<if canDoVaginal(_slave2) && _slave2.vagina != 0>> - <<set _slave2.vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_n].slaveName enjoy $his pussy one last time. - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<elseif canDoAnal(_slave2)>> - <<set _slave2.analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_n].slaveName enjoy $his butt one last time. - <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> - <<set _slave2.pregType = setPregType(_slave2)>> - <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> - <</if>> - <<else>> - <<set _slave2.oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_n].slaveName <<if $slaves[_n].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_n])>>cunnilingus one last time<<else>>oral one last time<</if>>. - <</if>> - <<elseif _slave2.relationship > 0>> - with $his friend, $slaves[_n].slaveName. - <<else>> - wearing a very conflicted expression. + <<set _randomOral = random(60,100)>> + <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave2.relationship == 4>> + fucking $his love, $slaves[_n].slaveName, as often as possible while ignoring you. + <<if !isSlaveAvailable(_slave2)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_n])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0 && _slave2.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave2.vagina = 1, _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoVaginal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave2.vagina = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_n].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave2.relationship == 3>> + fucking $his lover, $slaves[_n].slaveName, as often as possible while ignoring you. + <<if !isAvailable(_slave2)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_n])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0 && _slave2.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave2.vagina = 1, _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoVaginal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave2.vagina = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_n].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave2.relationship > 0>> + spending time away from you with $slaves[_n].slaveName. + <<else>> + inappropriately planning redecorations. + <</if>> + <<elseif _slave2.devotion < -20>> + <<if _slave2.relationship == -1>> + desperately pleading with you to change your mind. + <<elseif _slave2.relationship == 4>> + with $his love, $slaves[_n].slaveName, weeping. + <<elseif _slave2.relationship == 3>> + with $his lover, $slaves[_n].slaveName, weeping. + <<elseif _slave2.relationship > 0>> + with $his friend, $slaves[_n].slaveName, weeping. + <<else>> + desperately pleading with you to change your mind. + <</if>> + <<else>> + <<if _slave2.relationship == -1>> + trying $his hardest to not sleep with anyone else. + <<elseif _slave2.relationship == 4>> + alongside $his love, $slaves[_n].slaveName. + <<if canDoVaginal(_slave2) && _slave2.vagina != 0>> + <<set _slave2.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _slave2.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _slave2.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_n].slaveName <<if $slaves[_n].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_n])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave2.relationship == 3>> + alongside $his lover, $slaves[_n].slaveName. + <<if canDoVaginal(_slave2) && _slave2.vagina != 0>> + <<set _slave2.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _slave2.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _slave2.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_n].slaveName <<if $slaves[_n].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_n])>>cunnilingus one last time<<else>>oral one last time<</if>>. <</if>> + <<elseif _slave2.relationship > 0>> + with $his friend, $slaves[_n].slaveName. + <<else>> + wearing a very conflicted expression. <</if>> <</if>> <</if>> <<set _pregWedding = 2>> -<<if (!isFertile(_slave1)) || ((!isFertile(_slave2))) && $weddingPlanned == 3>> +<<if ((!isFertile(_slave1)) || (!isFertile(_slave2))) && $weddingPlanned == 3>> <<if (!isFertile(_slave1))>> <<set _pregWedding = 0>> <<else>> diff --git a/src/uncategorized/seWeddingSingle.tw b/src/uncategorized/seWeddingSingle.tw index 955063692aa1443dd261fb67d348cd63d8dd34f0..549aa218ac04b704672f945c558db194bd67245c 100644 --- a/src/uncategorized/seWeddingSingle.tw +++ b/src/uncategorized/seWeddingSingle.tw @@ -23,258 +23,258 @@ <<set $slaves[_m].relationship = 0, $slaves[_m].relationshipTarget = 0>> <<setLocalPronouns $slaves[_m] 2>> <</if>> - In the days leading up to your wedding, $slaves[_wedS].slaveName spent $his time - <<if $slaves[_wedS].devotion+$slaves[_wedS].trust >= 175>> - <<if $slaves[_wedS].relationship != 0>> - <<if $slaves[_wedS].relationship == -1>> - vowing that $he'll be less of a slut. - <<elseif $slaves[_wedS].relationship == 4>> - breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. - <<elseif $slaves[_wedS].relationship == 3>> - breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. - <<elseif $slaves[_wedS].relationship > 0>> - promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. - <<else>> - as close to you as $he could. +<</if>> +In the days leading up to your wedding, $slaves[_wedS].slaveName spent $his time +<<if $slaves[_wedS].devotion+$slaves[_wedS].trust >= 175>> + <<if $slaves[_wedS].relationship != 0>> + <<if $slaves[_wedS].relationship == -1>> + vowing that $he'll be less of a slut. + <<elseif $slaves[_wedS].relationship == 4>> + breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. + <<elseif $slaves[_wedS].relationship == 3>> + breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. + <<elseif $slaves[_wedS].relationship > 0>> + promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. + <<else>> + as close to you as $he could. + <</if>> + <</if>> +<<elseif $slaves[_wedS].devotion < -20 && $slaves[_wedS].trust > 20>> + <<if $slaves[_wedS].relationship == -1>> + sleeping with as many different people as $he could. + <<if !isSlaveAvailable($slaves[_wedS])>> + Or $he would have, if $he were able. + <<elseif canDoVaginal($slaves[_wedS]) && canDoAnal($slaves[_wedS])>> + <<set _randomVag = random(30,60)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. + <<if $slaves[_wedS].vagina == 0 && $slaves[_wedS].anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <</if>> + <<if $slaves[_wedS].vagina < 4>><<set $slaves[_wedS].vagina = 4>><</if>><<set $slaves[_wedS].anus = 4>> + <<if canGetPregnant($slaves[_wedS]) && (random(1,100) > 70) && $slaves[_wedS].eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<elseif canDoVaginal($slaves[_wedS])>> + <<set _randomVag = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. + <<if $slaves[_wedS].vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <</if>> + <<if $slaves[_wedS].vagina < 4>><<set $slaves[_wedS].vagina = 4>><</if>> + <<if canGetPregnant($slaves[_wedS]) && (random(1,100) > 70) && $slaves[_wedS].eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_wedS])>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. + <<if $slaves[_wedS].anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <</if>> + <<set $slaves[_wedS].anus = 4>> + <<if canGetPregnant($slaves[_wedS]) && (random(1,100) > 70) && $slaves[_wedS].eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> <</if>> + <<else>> + <<set _randomOral = random(60,100)>> + <<set $slaves[_wedS].oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. <</if>> - <<elseif $slaves[_wedS].devotion < -20 && $slaves[_wedS].trust > 20>> - <<if $slaves[_wedS].relationship == -1>> - sleeping with as many different people as $he could. - <<if !isSlaveAvailable($slaves[_wedS])>> - Or $he would have, if $he were able. - <<elseif canDoVaginal($slaves[_wedS]) && canDoAnal($slaves[_wedS])>> - <<set _randomVag = random(30,60)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. - <<if $slaves[_wedS].vagina == 0 && $slaves[_wedS].anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <</if>> - <<if $slaves[_wedS].vagina < 4>><<set $slaves[_wedS].vagina = 4>><</if>><<set $slaves[_wedS].anus = 4>> - <<if canGetPregnant($slaves[_wedS]) && (random(1,100) > 70) && $slaves[_wedS].eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoVaginal($slaves[_wedS])>> - <<set _randomVag = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. - <<if $slaves[_wedS].vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <</if>> - <<if $slaves[_wedS].vagina < 4>><<set $slaves[_wedS].vagina = 4>><</if>> - <<if canGetPregnant($slaves[_wedS]) && (random(1,100) > 70) && $slaves[_wedS].eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoAnal($slaves[_wedS])>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. - <<if $slaves[_wedS].anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <</if>> - <<set $slaves[_wedS].anus = 4>> - <<if canGetPregnant($slaves[_wedS]) && (random(1,100) > 70) && $slaves[_wedS].eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<else>> - <<set _randomOral = random(60,100)>> - <<set $slaves[_wedS].oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. + <<elseif $slaves[_wedS].relationship == 4>> + fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isSlaveAvailable($slaves[_wedS])>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal($slaves[_wedS]) && canDoAnal($slaves[_wedS])>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_wedS].vagina == 0 && $slaves[_wedS].anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set $slaves[_wedS].vagina = 1, $slaves[_wedS].anus = 1>> <</if>> - <<elseif $slaves[_wedS].relationship == 4>> - fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. - <<if !isSlaveAvailable($slaves[_wedS])>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_m])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal($slaves[_wedS]) && canDoAnal($slaves[_wedS])>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $slaves[_wedS].vagina == 0 && $slaves[_wedS].anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set $slaves[_wedS].vagina = 1, $slaves[_wedS].anus = 1>> - <</if>> - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoVaginal($slaves[_wedS])>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if $slaves[_wedS].vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set $slaves[_wedS].vagina = 1>> - <</if>> - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoAnal($slaves[_wedS])>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $slaves[_wedS].anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set $slaves[_wedS].anus = 1>> - <</if>> - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set $slaves[_wedS].oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> <</if>> - <<elseif $slaves[_wedS].relationship == 3>> - fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. - <<if !isAvailable($slaves[_wedS])>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_m])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal($slaves[_wedS]) && canDoAnal($slaves[_wedS])>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $slaves[_wedS].vagina == 0 && $slaves[_wedS].anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set $slaves[_wedS].vagina = 1, $slaves[_wedS].anus = 1>> - <</if>> - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoVaginal($slaves[_wedS])>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if $slaves[_wedS].vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set $slaves[_wedS].vagina = 1>> - <</if>> - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoAnal($slaves[_wedS])>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $slaves[_wedS].anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set $slaves[_wedS].anus = 1>> - <</if>> - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set $slaves[_wedS].oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <<elseif canDoVaginal($slaves[_wedS])>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if $slaves[_wedS].vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set $slaves[_wedS].vagina = 1>> + <</if>> + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_wedS])>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_wedS].anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set $slaves[_wedS].anus = 1>> + <</if>> + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> <</if>> - <<elseif $slaves[_wedS].relationship > 0>> - spending time away from you with $slaves[_m].slaveName. <<else>> - inappropriately planning redecorations. + <<set _randomOral = random(15,20)>> + <<set $slaves[_wedS].oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. <</if>> - <<elseif $slaves[_wedS].devotion < -20>> - <<if $slaves[_wedS].relationship == -1>> - desperately pleading with you to change your mind. - <<elseif $slaves[_wedS].relationship == 4>> - with $his love, $slaves[_m].slaveName, weeping. - <<elseif $slaves[_wedS].relationship == 3>> - with $his lover, $slaves[_m].slaveName, weeping. - <<elseif $slaves[_wedS].relationship > 0>> - with $his friend, $slaves[_m].slaveName, weeping. + <<elseif $slaves[_wedS].relationship == 3>> + fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isAvailable($slaves[_wedS])>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal($slaves[_wedS]) && canDoAnal($slaves[_wedS])>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_wedS].vagina == 0 && $slaves[_wedS].anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set $slaves[_wedS].vagina = 1, $slaves[_wedS].anus = 1>> + <</if>> + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<elseif canDoVaginal($slaves[_wedS])>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_wedS].vaginalCount += _randomVag, $slaves[_wedS].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if $slaves[_wedS].vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set $slaves[_wedS].vagina = 1>> + <</if>> + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_wedS])>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_wedS].analCount += _randomAnal, $slaves[_wedS].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_wedS].anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set $slaves[_wedS].anus = 1>> + <</if>> + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> <<else>> - desperately pleading with you to change your mind. + <<set _randomOral = random(15,20)>> + <<set $slaves[_wedS].oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. <</if>> + <<elseif $slaves[_wedS].relationship > 0>> + spending time away from you with $slaves[_m].slaveName. <<else>> - <<if $slaves[_wedS].relationship == -1>> - trying $his hardest to not sleep with anyone else. - <<elseif $slaves[_wedS].relationship == 4>> - alongside $his love, $slaves[_m].slaveName. - <<if canDoVaginal($slaves[_wedS]) && $slaves[_wedS].vagina != 0>> - <<set $slaves[_wedS].vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoAnal($slaves[_wedS])>> - <<set $slaves[_wedS].analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<else>> - <<set $slaves[_wedS].oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + inappropriately planning redecorations. + <</if>> +<<elseif $slaves[_wedS].devotion < -20>> + <<if $slaves[_wedS].relationship == -1>> + desperately pleading with you to change your mind. + <<elseif $slaves[_wedS].relationship == 4>> + with $his love, $slaves[_m].slaveName, weeping. + <<elseif $slaves[_wedS].relationship == 3>> + with $his lover, $slaves[_m].slaveName, weeping. + <<elseif $slaves[_wedS].relationship > 0>> + with $his friend, $slaves[_m].slaveName, weeping. + <<else>> + desperately pleading with you to change your mind. + <</if>> +<<else>> + <<if $slaves[_wedS].relationship == -1>> + trying $his hardest to not sleep with anyone else. + <<elseif $slaves[_wedS].relationship == 4>> + alongside $his love, $slaves[_m].slaveName. + <<if canDoVaginal($slaves[_wedS]) && $slaves[_wedS].vagina != 0>> + <<set $slaves[_wedS].vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> <</if>> - <<elseif $slaves[_wedS].relationship == 3>> - alongside $his lover, $slaves[_m].slaveName. - <<if canDoVaginal($slaves[_wedS]) && $slaves[_wedS].vagina != 0>> - <<set $slaves[_wedS].vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<elseif canDoAnal($slaves[_wedS])>> - <<set $slaves[_wedS].analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. - <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> - <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> - <</if>> - <<else>> - <<set $slaves[_wedS].oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <<elseif canDoAnal($slaves[_wedS])>> + <<set $slaves[_wedS].analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> <</if>> - <<elseif $slaves[_wedS].relationship > 0>> - with $his friend, $slaves[_m].slaveName. <<else>> - wearing a very conflicted expression. + <<set $slaves[_wedS].oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. <</if>> + <<elseif $slaves[_wedS].relationship == 3>> + alongside $his lover, $slaves[_m].slaveName. + <<if canDoVaginal($slaves[_wedS]) && $slaves[_wedS].vagina != 0>> + <<set $slaves[_wedS].vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_wedS])>> + <<set $slaves[_wedS].analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg($slaves[_wedS], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_wedS].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_wedS].preg = 1, $slaves[_wedS].pregKnown = 1, $slaves[_wedS].pregWeek = 1, $slaves[_wedS].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_wedS].pregType = setPregType($slaves[_wedS])>> + <<set WombImpregnate($slaves[_wedS], $slaves[_wedS].pregType, $slaves[_wedS].pregSource, $slaves[_wedS].preg)>> + <</if>> + <<else>> + <<set $slaves[_wedS].oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif $slaves[_wedS].relationship > 0>> + with $his friend, $slaves[_m].slaveName. + <<else>> + wearing a very conflicted expression. <</if>> <</if>> diff --git a/src/uncategorized/shops.tw b/src/uncategorized/shops.tw index aa514c0310bbeff444f22ba572f88a8058f702c4..bcb43990a14405762d2ca8c4b5edebc236d0bd06 100644 --- a/src/uncategorized/shops.tw +++ b/src/uncategorized/shops.tw @@ -24,7 +24,7 @@ This is a section of the promenade <span id="result"><<link "Tour the area">><<replace "#result">>You decide to put in an appearance at these establishments, and tour their front lobbies, listening politely to the educated slave receptionists' polished descriptions of the services offered. You stay out of the back areas, of course; those are for relaxing slaves, and owners typically leave them be while they're there. Most of the slaves moving through the area know who you are, and many of them are confident enough to give you respectful smiles.<</replace>><</link>></span> <<case "Degradationist">> dedicated to Degradationism. The stores for slaveowners sell all sorts of inventive restraints and punishments. There are also a few of a uniquely Degradationist establishment: torture parlors, where any citizen can send a slave for punishment by paying customers, within bounds defined by the owner. - <span id="result"><<link "Try a round">><<replace "#result">>You decide to put in an appearance at a tenant business and show off your skills, and the torture parlors are very eager to have you accept a complimentary round. You select a pretty _girlU sent to a torture parlor for some unknown failing by _hisU owner, and use a switch to flog _hisU calves, inner thighs, and breasts until _heU loses control of _hisU bladder. <<if $PC.slaving >= 100>>You're skilled at this. The trick is to stop just short of blows that will break the skin, applying all possible pain without any inconvenient blood.<<else>>There's a bit of blood, but _hisU owner will expect that.<</if>><</replace>><</link>></span> + <span id="result"><<link "Try a round">><<replace "#result">>You decide to put in an appearance at a tenant business and show off your skills, and the torture parlors are very eager to have you accept a complimentary round. You select a pretty _girlU sent to a torture parlor for some unknown failing by _hisU owner, and use a switch to flog _hisU calves, inner thighs, and breasts until _heU <<if $seePee == 1>>loses control of _hisU bladder<<else>>passes out<</if>>. <<if $PC.slaving >= 100>>You're skilled at this. The trick is to stop just short of blows that will break the skin, applying all possible pain without any inconvenient blood.<<else>>There's a bit of blood, but _hisU owner will expect that.<</if>><</replace>><</link>></span> <<case "Body Purist">> dedicated to Body Purism. There are high end clinics for citizens, with medical specialists skilled in the latest longevity treatments. Shops offer beauty treatments, anti-aging products, and personal massage services. The slave masseuses are naturally beautiful, and their bodies are obviously part of the services offered. <span id="result"><<link "Get a massage">><<replace "#result">>You decide to put in an appearance at a tenant business, and the massage parlors are of course very eager to offer you complimentary services. The masseuse is very well-trained, and not at all a sex toy with poor massage skills as a veneer for handjob services. _HeU releases the muscle soreness from your latest workout, and uses _hisU delicate touch to bring you to an enjoyable orgasm; _heU <<if $PC.dick == 1>>catches your cum in _hisU mouth and swallows it<<else>>swallows your femcum<</if>> with every appearance of appetite.<</replace>><</link>></span> diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index 4994b6426848571017ddd08942d0879c726cba54..02d759e70d4a64504b10a1d9b753d3042903e02f 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -515,7 +515,7 @@ Assignment: <strong><span id="assign">$activeSlave.assignment<<if $activeSlave.sentence>> ($activeSlave.sentence weeks)<</if>></span>.</strong> <<link "Rest">> <<= assignJob($activeSlave, "rest")>><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>> - <<if ["be confined in the arcade", "work in the brothel", "serve in the club", "work in the dairy", "work as a farmhand", "serve in the master suite", "work as a servant", "work as a nanny"].includes($activeSlave.assignment)>> + <<if ["be confined in the arcade", "serve in the club", "serve in the master suite", "work as a farmhand", "work as a nanny", "work as a servant", "work in the brothel", "work in the dairy"].includes($activeSlave.assignment)>> | <<link "Remove From Facility">> <<= removeJob($activeSlave, $activeSlave.assignment)>><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>> <</if>> | <<link "Fucktoy">> <<= assignJob($activeSlave, "please you")>><<replace "#assign">>$activeSlave.assignment<</replace>><<SlaveInteractFucktoy>><</link>> diff --git a/src/uncategorized/slaveSummary.tw b/src/uncategorized/slaveSummary.tw index 6f76429f617a074ca8b46b568085c7e48dc3e7f3..3264fbbead5df3a1047ccceff7770912e09efe57 100644 --- a/src/uncategorized/slaveSummary.tw +++ b/src/uncategorized/slaveSummary.tw @@ -10,4 +10,4 @@ }); quickListBuildLinks(); });>> -<<set $activeSlave = 0, _Slave = 0>> +<<set _Slave = 0>> diff --git a/src/utility/slaveCreationWidgets.tw b/src/utility/slaveCreationWidgets.tw index 8d94ee3cba4d53838b527cfc464c25cb943db2b5..898ee64e55060c16ff97f6bddcef94cc27d9134a 100644 --- a/src/utility/slaveCreationWidgets.tw +++ b/src/utility/slaveCreationWidgets.tw @@ -3058,7 +3058,7 @@ <<set $activeSlave.origin = "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 = either("a student", "a student", "a student", "a student", "a student", "a party girl", "a cheerleader", "a farm laborer")>> + <<set $activeSlave.career = either("a cheerleader", "a farm laborer", "a party girl", "a student", "a student", "a student", "a student", "a student")>> <<set $activeSlave.birthWeek = 0>> <<if $activeSlave.vagina != -1>> <<if random(1,2) == 1>> @@ -3195,7 +3195,7 @@ <<else>> <<set $activeSlave.boobs = 200*random(4,20)>> <</if>> - <<set $activeSlave.nipples = either("inverted", "huge")>> + <<set $activeSlave.nipples = either("huge", "inverted")>> <<set $activeSlave.areolae = either(0, 1, 2, 3)>> <<set $activeSlave.clit = either(0, 1, 2, 3)>> <<set $activeSlave.lips = random(5,85)>> @@ -3770,8 +3770,8 @@ <<if $TFS.schoolUpgrade == 1>> <<set $activeSlave.sexualQuirk = "caring">> <</if>> - <<set $activeSlave.sexualFlaw = either("none", "hates women")>> - <<set $activeSlave.behavioralFlaw = either("none", "arrogant")>> + <<set $activeSlave.sexualFlaw = either("hates women", "none")>> + <<set $activeSlave.behavioralFlaw = either("arrogant", "none")>> <<set $activeSlave.fetishStrength = 100>> <<set $activeSlave.fetishKnown = 0>> <<set $activeSlave.attrKnown = 0>> @@ -3843,14 +3843,14 @@ <<set $activeSlave.combatSkill = 1>> <<set $activeSlave.pubicHStyle = "waxed">> <<set $activeSlave.underArmHStyle = "waxed">> - <<set $activeSlave.sexualQuirk = either("none", "none", "caring", "unflinching")>> - <<set $activeSlave.sexualFlaw = either("none", "none", "apathetic", "judgemental")>> - <<set $activeSlave.behavioralFlaw = either("none", "arrogant")>> - <<set $activeSlave.behavioralQuirk = either("none", "none", "fitness", "confident")>> + <<set $activeSlave.sexualQuirk = either("caring", "none", "none", "unflinching")>> + <<set $activeSlave.sexualFlaw = either("apathetic", "judgemental", "none", "none")>> + <<set $activeSlave.behavioralFlaw = either("arrogant", "none")>> + <<set $activeSlave.behavioralQuirk = either("confident", "fitness", "none", "none")>> <<set $activeSlave.fetishStrength = 0>> <<set $activeSlave.fetishKnown = 0>> <<set $activeSlave.attrKnown = 0>> - <<set $activeSlave.hStyle = either("neat", "braided", "tails", "ponytail", "bun")>> + <<set $activeSlave.hStyle = either("braided", "bun", "neat", "ponytail", "tails")>> <<set $activeSlave.hLength = random(5,50)>> <<set $activeSlave.clothes = "a nice maid outfit">> <<set $activeSlave.customTat = "She has the sword and eagle symbol of the Hippolyta Academy tattooed on her left shoulder.">> @@ -4339,7 +4339,7 @@ <<set $activeSlave.intelligenceImplant = 30>> <<set $activeSlave.health = random(-40,20)>> <<case "abuse of power">> - <<set $activeSlave.career = either("a lawyer", "a judge", "a police officer")>> + <<set $activeSlave.career = either("a judge", "a lawyer", "a police officer")>> <<set $activeSlave.origin = "You purchased her life at a prison sale. She was " + $activeSlave.career + " that took advantage of her position for her own benefit.">> <<set $prisonCrime = "is incarcerated for abuse of power.">> <<set $activeSlave.devotion = random(-100,0)>> @@ -4786,13 +4786,13 @@ /* Opens security */ <<case "Lieutenant Colonel">> <<set $activeSlave.devotion = random(96,100), $activeSlave.trust = random(96, 100), $activeSlave.energy = random(96,100), $activeSlave.intelligence = 70, $activeSlave.combatSkill = 1>> - <<set $activeSlave.career = either("a bodyguard", "a law enforcement officer", "a revolutionary", "a soldier", "a transporter", "an assassin", "in a militia", "a bouncer", "a bounty hunter", "a gang member", "a mercenary", "a prison guard", "a private detective", "a security guard", "a street thug", "an enforcer")>> + <<set $activeSlave.career = either("a bodyguard", "a bouncer", "a bounty hunter", "a gang member", "a law enforcement officer", "a mercenary", "a prison guard", "a private detective", "a revolutionary", "a security guard", "a soldier", "a street thug", "a transporter", "an assassin", "an enforcer", "in a militia")>> <<case "Bodyguard">> - <<set $activeSlave.devotion = 90, $activeSlave.muscles = random(30,70), $activeSlave.height = Math.round(Height.random($activeSlave, {skew: 3, spread: .2, limitMult: [1, 4]})), $activeSlave.weight = random(-10,10), $activeSlave.teeth = either("pointy", "normal"), $activeSlave.amp = either(-4, -4, 0, 0, 0, 0), $activeSlave.combatSkill = 1>> + <<set $activeSlave.devotion = 90, $activeSlave.muscles = random(30,70), $activeSlave.height = Math.round(Height.random($activeSlave, {skew: 3, spread: .2, limitMult: [1, 4]})), $activeSlave.weight = random(-10,10), $activeSlave.teeth = either("normal", "pointy"), $activeSlave.amp = either(-4, -4, 0, 0, 0, 0), $activeSlave.combatSkill = 1>> <<set $activeSlave.career = either("a bodyguard", "a kunoichi", "a law enforcement officer", "a military brat", "a revolutionary", "a soldier", "a transporter", "an assassin", "in a militia")>> <<case "Wardeness">> <<set $activeSlave.energy = random(80,100), $activeSlave.sexualFlaw = either("malicious", "none", "none", "none", "none"), $activeSlave.fetish = "sadist", $activeSlave.fetishStrength = 100, $activeSlave.muscles = random(50,80), $activeSlave.combatSkill = 1>> - <<set $activeSlave.career = either("a security guard", "a mercenary", "an enforcer", "a private detective", "a bouncer", "a prison guard", "a street thug", "a gang member", "a bounty hunter")>> + <<set $activeSlave.career = either("a bouncer", "a bounty hunter", "a gang member", "a mercenary", "a prison guard", "a private detective", "a security guard", "a street thug", "an enforcer")>> <<if $seeDicks > 0>> <<set $activeSlave.dick = random(3,6), $activeSlave.balls = random(3,6), $activeSlave.scrotum = $activeSlave.balls, $activeSlave.prostate = either(1,1,1,2,2,3)>> <</if>>