diff --git a/js/003-data/gameVariableData.js b/js/003-data/gameVariableData.js index 7862ed3e346b0ac6d90fbd03b5ce7bca0ba65bed..268c9cd064acb863abc700cead092f12f9af85bd 100644 --- a/js/003-data/gameVariableData.js +++ b/js/003-data/gameVariableData.js @@ -66,7 +66,6 @@ App.Data.defaultGameStateVariables = { economy: 100, expansionRequestsAllowed: 1, extremeUnderage: 0, - familyTesting: 0, formatNumbers: 1, fucktoyInteractionsPosition: 1, headGirlSoftensFlaws: 1, @@ -79,6 +78,7 @@ App.Data.defaultGameStateVariables = { inbreeding: 1, killChoice: -1, lineSeparations: 1, + limitFamilies: 0, makeDicks: 0, modRequestsAllowed: 1, neighboringArcologies: 3, diff --git a/slave variables documentation - Pregmod.txt b/slave variables documentation - Pregmod.txt index 040a1da09468d6ab7f5806305ed0277a128a0f51..eb7e7874a2bd2c5f6f9103bfedb658cb77d5854d 100644 --- a/slave variables documentation - Pregmod.txt +++ b/slave variables documentation - Pregmod.txt @@ -798,30 +798,6 @@ accepts string "$He is a famed Free Cities slut, and can please anyone." "$He is a famed Free Cities whore, and commands top prices." -recruiter: - -slave's relation to recruited slave? (used in some events) -"mother" -"daughter" -"older sister" -"younger sister" -"twin" -good idea to leave at 0 - -relation: - -relation to relationTarget -accepts string -"twin" -"sister" -"mother" -"daughter" - -relationTarget: - -target of relation -accepts ID - relationship: slave's relationship diff --git a/src/Mods/DinnerParty/dinnerPartyExecution.tw b/src/Mods/DinnerParty/dinnerPartyExecution.tw index 72b03b3cccf44a2620a07e5f96575a4a1f7ad727..12625b451420ff068fa354866acef0d138d28732 100644 --- a/src/Mods/DinnerParty/dinnerPartyExecution.tw +++ b/src/Mods/DinnerParty/dinnerPartyExecution.tw @@ -465,56 +465,43 @@ <br><br> /% Clean up and slaves reactions %/ When the last of your guests has stumbled drunkenly out your door, your slaves begin the daunting task of cleanup. - <<if $familyTesting == 1>> - <<for _dpe = 0; _dpe < $slaves.length; _dpe++>> - <<setLocalPronouns $slaves[_dpe] 2>> - <<if $activeSlave.mother == $slaves[_dpe].ID>> - $slaves[_dpe].slaveName is @@.mediumorchid;distraught@@ that you ate _his2 $daughter. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> - <</if>> - <<if $activeSlave.father == $slaves[_dpe].ID>> - $slaves[_dpe].slaveName is @@.mediumorchid;distraught@@ that you ate _his2 $daughter. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 10, $slaves[_dpe].trust -= 10>> - <</if>> - <<if $activeSlave.ID == $slaves[_dpe].father>> - $slaves[_dpe].slaveName is @@.mediumorchid;grieved@@ that you ate _his2 father. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 10, $slaves[_dpe].trust -= 10>> - <</if>> - <<if $activeSlave.ID == $slaves[_dpe].mother>> - $slaves[_dpe].slaveName is @@.mediumorchid;grieved@@ that you ate _his2 mother. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> - <</if>> - <<switch areSisters($activeSlave, $slaves[_dpe])>> - <<case 1>> - $slaves[_dpe].slaveName is @@.mediumorchid;devastated@@ that you ate _his2 twin. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 30, $slaves[_dpe].trust -= 30>> - <<case 2>> - $slaves[_dpe].slaveName is @@.mediumorchid;grieved@@ that you ate _his2 $sister. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> - <<case 3>> - $slaves[_dpe].slaveName is @@.mediumorchid;disheartened@@ that you ate _his2 half-<<= $sister>>. _He2 also @@.gold;fears@@ that _he2 will be next. - <br><br> - <<set $slaves[_dpe].devotion -= 10, $slaves[_dpe].trust -= 10>> - <</switch>> - <</for>> - <<else>> - <<if $activeSlave.relation != 0>> - <<for _dpe = 0; _dpe < $slaves.length; _dpe++>> - <<setLocalPronouns $slaves[_dpe]>> - <<if ($slaves[_dpe].ID == $activeSlave.relationTarget) && ($slaves[_dpe].fetish != "mindbroken")>> - $slaves[_dpe].slaveName is @@.mediumorchid;distraught@@ that you ate _his2 $activeSlave.relation. _He2 also @@.gold;fears@@ that _he2 will be next. - <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> - <<break>> - <</if>> - <</for>> + <<for _dpe = 0; _dpe < $slaves.length; _dpe++>> + <<setLocalPronouns $slaves[_dpe] 2>> + <<if $activeSlave.mother == $slaves[_dpe].ID>> + $slaves[_dpe].slaveName is @@.mediumorchid;distraught@@ that you ate _his2 $daughter. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> <</if>> - <</if>> + <<if $activeSlave.father == $slaves[_dpe].ID>> + $slaves[_dpe].slaveName is @@.mediumorchid;distraught@@ that you ate _his2 $daughter. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 10, $slaves[_dpe].trust -= 10>> + <</if>> + <<if $activeSlave.ID == $slaves[_dpe].father>> + $slaves[_dpe].slaveName is @@.mediumorchid;grieved@@ that you ate _his2 father. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 10, $slaves[_dpe].trust -= 10>> + <</if>> + <<if $activeSlave.ID == $slaves[_dpe].mother>> + $slaves[_dpe].slaveName is @@.mediumorchid;grieved@@ that you ate _his2 mother. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> + <</if>> + <<switch areSisters($activeSlave, $slaves[_dpe])>> + <<case 1>> + $slaves[_dpe].slaveName is @@.mediumorchid;devastated@@ that you ate _his2 twin. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 30, $slaves[_dpe].trust -= 30>> + <<case 2>> + $slaves[_dpe].slaveName is @@.mediumorchid;grieved@@ that you ate _his2 $sister. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 20, $slaves[_dpe].trust -= 20>> + <<case 3>> + $slaves[_dpe].slaveName is @@.mediumorchid;disheartened@@ that you ate _his2 half-<<= $sister>>. _He2 also @@.gold;fears@@ that _he2 will be next. + <br><br> + <<set $slaves[_dpe].devotion -= 10, $slaves[_dpe].trust -= 10>> + <</switch>> + <</for>> <<if $activeSlave.relationship != 0>> <<for _dpe = 0; _dpe < $slaves.length; _dpe++>> <<setLocalPronouns $slaves[_dpe]>> diff --git a/src/cheats/mod_EditChildCheatNew.tw b/src/cheats/mod_EditChildCheatNew.tw index 5c3398eb7c8161b13dc45a74869ae74eff939510..29a8e4cecf83ac920c0eae2941360e6944ee521d 100644 --- a/src/cheats/mod_EditChildCheatNew.tw +++ b/src/cheats/mod_EditChildCheatNew.tw @@ -120,21 +120,14 @@ <br> ''Active Slaves ID : @@.yellow;$tempSlave.ID@@'' <br><br> - <<if $familyTesting == 1>> - ''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):'' - <br> - ''mother ID'' - <<textbox "$tempSlave.mother" $tempSlave.mother>> - <br> - ''father ID'' - <<textbox "$tempSlave.father" $tempSlave.father>> - <br><br> - <<else>> - ''Slave Blood Relations (twin, sister, mother, daughter):'' - <<textbox "$tempSlave.relation" $tempSlave.relation>> - ''Blood Relations Target ID:'' - <<textbox "$tempSlave.relationTarget" $tempSlave.relationTarget>> - <</if>> + ''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):'' + <br> + ''mother ID'' + <<textbox "$tempSlave.mother" $tempSlave.mother>> + <br> + ''father ID'' + <<textbox "$tempSlave.father" $tempSlave.father>> + <br><br> <br><br> ''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married):'' diff --git a/src/cheats/mod_EditInfantCheatNew.tw b/src/cheats/mod_EditInfantCheatNew.tw index 271192a80d1eb708bb68dd6ae4d4ce33936c7a0c..0aaa53a152f25499f340577504e2362f84e90f94 100644 --- a/src/cheats/mod_EditInfantCheatNew.tw +++ b/src/cheats/mod_EditInfantCheatNew.tw @@ -122,21 +122,14 @@ <br> ''Active Slaves ID : @@.yellow;$tempSlave.ID@@'' <br><br> - <<if $familyTesting == 1>> - ''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):'' - <br> - ''mother ID'' - <<textbox "$tempSlave.mother" $tempSlave.mother>> - <br> - ''father ID'' - <<textbox "$tempSlave.father" $tempSlave.father>> - <br><br> - <<else>> - ''Slave Blood Relations (twin, sister, mother, daughter):'' - <<textbox "$tempSlave.relation" $tempSlave.relation>> - ''Blood Relations Target ID:'' - <<textbox "$tempSlave.relationTarget" $tempSlave.relationTarget>> - <</if>> + ''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):'' + <br> + ''mother ID'' + <<textbox "$tempSlave.mother" $tempSlave.mother>> + <br> + ''father ID'' + <<textbox "$tempSlave.father" $tempSlave.father>> + <br><br> <br><br> ''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married):'' diff --git a/src/cheats/mod_EditSlaveCheat.tw b/src/cheats/mod_EditSlaveCheat.tw index 29b97e893d6205f01ad417139693a90c7f084063..525c142dc31cd9271f0e88008b1b67a8cec44dad 100644 --- a/src/cheats/mod_EditSlaveCheat.tw +++ b/src/cheats/mod_EditSlaveCheat.tw @@ -25,24 +25,14 @@ <br> -<<if $familyTesting == 1>> - ''Enter the IDs for this slave's parents(0: unknown, -1: you, -2: citizen):'' - <br> - ''mother ID'' - <<textbox "$tempSlave.mother" $tempSlave.mother>> - <br> - ''father ID'' - <<textbox "$tempSlave.father" $tempSlave.father>> - <br><br> -<<else>> - ''Slave Blood Relations (twin, sister, mother, daughter):'' - <<textbox "$tempSlave.relation" $tempSlave.relation>> - - <br> - - ''Blood Relations Target ID:'' - <<textbox "$tempSlave.relationTarget" $tempSlave.relationTarget>> -<</if>> +''Enter the IDs for this slave's parents(0: unknown, -1: you, -2: citizen):'' +<br> +''mother ID'' +<<textbox "$tempSlave.mother" $tempSlave.mother>> +<br> +''father ID'' +<<textbox "$tempSlave.father" $tempSlave.father>> +<br><br> <br> ''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married): $tempSlave.relationship |'' diff --git a/src/cheats/mod_editSlaveCheatNew.tw b/src/cheats/mod_editSlaveCheatNew.tw index bb4f6e37e8aacb0bc45c2b3911bf3fd67e253bf7..c0b5488f57662c5b0001e5a86f29238b25281733 100644 --- a/src/cheats/mod_editSlaveCheatNew.tw +++ b/src/cheats/mod_editSlaveCheatNew.tw @@ -54,21 +54,14 @@ <br> ''Active Slaves ID : @@.yellow;$tempSlave.ID@@'' <br><br> - <<if $familyTesting == 1>> - ''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):'' - <br> - ''mother ID'' - <<textbox "$tempSlave.mother" $tempSlave.mother>> - <br> - ''father ID'' - <<textbox "$tempSlave.father" $tempSlave.father>> - <br><br> - <<else>> - ''Slave Blood Relations (twin, sister, mother, daughter):'' - <<textbox "$tempSlave.relation" $tempSlave.relation>> - ''Blood Relations Target ID:'' - <<textbox "$tempSlave.relationTarget" $tempSlave.relationTarget>> - <</if>> + ''Enter the IDs for this slave's parents (0: unknown, -1: you, -2: citizen):'' + <br> + ''mother ID'' + <<textbox "$tempSlave.mother" $tempSlave.mother>> + <br> + ''father ID'' + <<textbox "$tempSlave.father" $tempSlave.father>> + <br><br> <br><br> ''Relationship (-3:married to you, -2:relationship, -1:emotional slut, 0:none, 1:like, 2:friend, 3:sex friend, 4:lover, 5:married):'' diff --git a/src/data/backwardsCompatibility/backwardsCompatibility.js b/src/data/backwardsCompatibility/backwardsCompatibility.js index e200a64b69296b5ef5d92fa38b96626a4e151751..54c850966f15a4e487d9c1d5aee2500b859ad841 100644 --- a/src/data/backwardsCompatibility/backwardsCompatibility.js +++ b/src/data/backwardsCompatibility/backwardsCompatibility.js @@ -1237,6 +1237,11 @@ App.Update.slaveRecords = function(node) { } nurseryDiv.append(`Done!`); } + + // if we updated from legacy to extended family mode, reset the EFM controllers + if (V.relationLinks) { + resetFamilyCounters(); + } }; App.Update.genePoolRecords = function(node) { @@ -2005,6 +2010,15 @@ App.Update.oldVersions = function(node) { PCdiv.append(`Done!`); } + if ((typeof V.familyTesting === "undefined") && V.releaseID < 1065) { + // possibly vanilla FC; compel V.familyTesting to 0 so that the family upgrade will run on slaves + V.familyTesting = 0; + } + if (V.familyTesting === 0) { + V.limitFamilies = 1; + V.relationLinks = {}; // init temp structure for mapping relationships from legacy to extended family mode + } + node.append(`Done!`); }; diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js index 08d293890faf3fe712766541c66c2da0eafa31d7..c5f49aa32ee81196b8e40fc0ddd86e43906ef8dc 100644 --- a/src/data/backwardsCompatibility/datatypeCleanup.js +++ b/src/data/backwardsCompatibility/datatypeCleanup.js @@ -935,9 +935,6 @@ window.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { function slaveRelationDatatypeCleanup(slave) { slave.mother = +slave.mother || 0; slave.father = +slave.father || 0; - if (V.familyTesting === 0) { - slave.relationTarget = Math.max(+slave.relationTarget, 0) || 0; - } slave.canRecruit = Math.clamp(+slave.canRecruit, 0, 1) || 0; slave.relationship = Math.clamp(+slave.relationship, -3, 5) || 0; slave.relationshipTarget = Math.max(+slave.relationshipTarget, 0) || 0; @@ -1493,9 +1490,6 @@ window.childPornDatatypeCleanup = function childPornDatatypeCleanup(child) { window.childRelationDatatypeCleanup = function childRelationDatatypeCleanup(child) { child.mother = +child.mother || 0; child.father = +child.father || 0; - if (State.variables.familyTesting === 0) { - child.relationTarget = Math.max(+child.relationTarget, 0) || 0; - } child.canRecruit = Math.clamp(+child.canRecruit, 0, 1) || 0; child.relationship = Math.clamp(+child.relationship, -3, 5) || 0; child.relationshipTarget = Math.max(+child.relationshipTarget, 0) || 0; diff --git a/src/data/backwardsCompatibility/updateSlaveObject.js b/src/data/backwardsCompatibility/updateSlaveObject.js index 89c8ce1546ad040ca459f4557d712b9e2da0963c..ab62ac61cda77687912c22d775c7b2e0d0226e7b 100644 --- a/src/data/backwardsCompatibility/updateSlaveObject.js +++ b/src/data/backwardsCompatibility/updateSlaveObject.js @@ -279,13 +279,6 @@ App.Update.Slave = function(slave, genepool=false) { slave.relationshipTarget = 0; } } - if (V.familyTesting === 0 && slave.relation !== 0) { - backwardsCompatibility = V.slaveIndices[slave.relationTarget]; - if (backwardsCompatibility === undefined) { - slave.relation = 0; - slave.relationTarget = 0; - } - } if (slave.race === "surgically altered to look amerindian") { slave.race = "amerindian"; @@ -449,7 +442,7 @@ App.Update.Slave = function(slave, genepool=false) { } if (V.releaseID < 1061) { - if (slave.boobsImplantType == 1) { + if (slave.boobsImplantType === 1) { slave.boobsImplantType = "string"; } else if (slave.boobsImplant >= 10000) { slave.boobsImplantType = "hyper fillable"; @@ -462,7 +455,7 @@ App.Update.Slave = function(slave, genepool=false) { } else { slave.boobsImplantType = "none"; } - if (slave.buttImplantType == 1) { + if (slave.buttImplantType === 1) { slave.buttImplantType = "string"; } else if (slave.buttImplant > 7) { slave.buttImplantType = "hyper fillable"; @@ -971,4 +964,57 @@ App.Update.Slave = function(slave, genepool=false) { if (slave.rules !== undefined && slave.rules.rest === undefined) { slave.rules.rest = "restrictive"; } + + // migrate to extended family mode if we detected it was needed + if (V.relationLinks !== undefined) { + let link = V.relationLinks[slave.ID]; + if (link) { + // we already know who your parents are + slave.mother = link.mother; + slave.father = link.father; + } else { + if (slave.relationTarget > 0) { + switch (slave.relation) { + case "sister": + case "twin": { + const otherLink = V.relationLinks[slave.relationTarget]; + if (otherLink) { + // we don't know your parents, but we DO know your sister's parents + // this shouldn't happen but might sometimes, and there's an obviously correct thing to do - use your sister's parents for you too + slave.mother = otherLink.mother; + slave.father = otherLink.father; + } else { + // don't know your parents, generate new IDs for them + setMissingParents(slave); + } + V.relationLinks[slave.ID] = {mother: slave.mother, father: slave.father}; + // your sister's parents are the same as your parents + if (!V.relationLinks[slave.relationTarget]) { + V.relationLinks[slave.relationTarget] = V.relationLinks[slave.ID]; + } + break; + } + case "mother": + // we know your mother. that's easy. + slave.mother = slave.relationTarget; + V.relationLinks[slave.ID] = {mother: slave.mother, father: 0}; + break; + case "daughter": + // we know you are your daughter's mother. keep track of that in case she's forgotten somehow. + if (!V.relationLinks[slave.relationTarget]) { + V.relationLinks[slave.relationTarget] = {mother: slave.ID, father: 0}; + } + break; + default: + throw `Unrecognized relation for ${SlaveFullName(slave)}.`; + } + } + } + + // if the slave still had a valid recruitment target, allow her to recruit, otherwise don't + slave.canRecruit = (slave.recruiter === 0) ? 0 : 1; + } + delete slave.relation; + delete slave.relationTarget; + delete slave.recruiter; }; diff --git a/src/data/newGamePlus.js b/src/data/newGamePlus.js index 3301f7de6be125bd34edf7f46a92c576fafc3c9a..6da636ff813798e75a3524f61af44f653ea99935 100644 --- a/src/data/newGamePlus.js +++ b/src/data/newGamePlus.js @@ -95,7 +95,6 @@ App.Data.NewGamePlus = (function() { if (typeof V.ngpParams.nationality === 'string') { slave.nationality = V.ngpParams.nationality; } - slave.relationTarget = ngpSlaveID(slave.relationTarget); slave.relationshipTarget = ngpSlaveID(slave.relationshipTarget); slave.cloneID = ngpSlaveID(slave.cloneID); slave.pregSource = ngpSlaveID(slave.pregSource, true); @@ -116,7 +115,6 @@ App.Data.NewGamePlus = (function() { slave.pregSource = slaveOrZero(slave.pregSource); slave.cloneID = slaveOrZero(slave.cloneID); slave.relationshipTarget = slaveOrZero(slave.relationshipTarget); - slave.relationTarget = slaveOrZero(slave.relationTarget); } V.genePool = ngUpdateGenePool(V.genePool); if (typeof V.missingTable === undefined || V.showMissingSlaves === false) { @@ -124,34 +122,8 @@ App.Data.NewGamePlus = (function() { } else { V.missingTable = ngUpdateMissingTable(V.missingTable); } - let validRelation = (s) => (s.relationTarget !== 0 && getSlave(s.relationTarget).relationTarget === s.ID); let validRelationship = (s) => (s.relationshipTarget !== 0 && getSlave(s.relationshipTarget).relationshipTarget === s.ID); for (let slave of V.slaves) { - if (V.familyTesting === 1) { - if (slave.canRecruit === 1) { - /* V.recruiters.push(slave);*/ - } - } else { - if (slave.relation === 0) { - if (random(1, 100) <= 5) { - slave.recruiter = "twin"; - } else if ((slave.actualAge > 32) && (random(1, 100) <= 41)) { - slave.recruiter = "mother"; - } else if ((slave.actualAge < 24) && (random(1, 100) <= 40)) { - slave.recruiter = "daughter"; - } else if ((slave.actualAge < 43) && (random(1, 100) <= 20)) { - slave.recruiter = "older sister"; - } else if ((slave.actualAge < 25) && (slave.actualAge > 18) && (random(1, 100) <= 20)) { - slave.recruiter = "young sister"; - } - } else { - if (!validRelation(slave)) { - slave.relation = 0; - slave.relationTarget = 0; - } - slave.recruiter = 0; - } - } if ((slave.relationship < 0 && V.freshPC === 1) || (slave.relationship > 0 && !validRelationship(slave))) { slave.relationship = 0; slave.relationshipTarget = 0; diff --git a/src/endWeek/saBeYourHeadGirl.js b/src/endWeek/saBeYourHeadGirl.js index 8d042f4d9dc2d08d7f45057900a4cad37a2ffbff..9dbb04fd7786853e5b7b712e627ad13597bba9ed 100644 --- a/src/endWeek/saBeYourHeadGirl.js +++ b/src/endWeek/saBeYourHeadGirl.js @@ -61,116 +61,78 @@ window.saBeYourHeadGirl = (function saBeYourHeadGirl() { function jobPreface(slave) { if (arcology.FSEgyptianRevivalistLaw === 0) { r.push(`helps manage your other slaves. ${He} helps them when they try and fail, and punishes them when they fail to try.`); - if (V.HGEnergy === 0) { - r.push(`${He} was <span class="red">too exhausted</span> to make any real progress this week, however.`); - } } else { r.push(`serves as your Consort. Though ${he} is still your slave, ${his} status is scarcely below that of a citizen. ${He} <span class="green">contributes to your reputation</span> just like a Concubine, and ${he} is <span class="hotpink">conscious</span> of the <span class="mediumaquamarine">trust</span> you place in ${him}.`); slave.devotion += 1; slave.trust += 1; saPleaseYou(slave); - if (slave.relationship > 4) { - if (V.familyTesting === 1) { - if (slave.relationshipTarget === V.Concubine.ID) { - const concubinePronouns = getPronouns(V.Concubine); - if (areRelated(V.Concubine, slave) > 0) { - if (V.Concubine.mother === slave.ID || V.Concubine.father === slave.ID) { - r.push(`Your Concubine is your Consort's ${concubinePronouns.daughter}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); + if (slave.relationship > 4 && slave.relationshipTarget === V.Concubine.ID) { + if (areRelated(V.Concubine, slave)) { + const concubinePronouns = getPronouns(V.Concubine); + if (V.Concubine.mother === slave.ID || V.Concubine.father === slave.ID) { + r.push(`Your Concubine is your Consort's ${concubinePronouns.daughter}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); + repX(1000, "headGirl", slave); + } else if (slave.mother === V.Concubine.ID) { + r.push(`Your Concubine is your Consort's mother-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); + repX(1000, "headGirl", slave); + } else if (slave.father === V.Concubine.ID) { + r.push(`Your Concubine is your Consort's father-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); + repX(1000, "headGirl", slave); + } else { + switch (areSisters(slave, V.Concubine)) { + case 1: + r.push(`Your Concubine is your Consort's twin-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); repX(1000, "headGirl", slave); - } else if (slave.mother === V.Concubine.ID) { - r.push(`Your Concubine is your Consort's mother-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); + break; + case 2: + r.push(`Your Concubine is your Consort's ${concubinePronouns.sister}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); repX(1000, "headGirl", slave); - } else if (slave.father === V.Concubine.ID) { - r.push(`Your Concubine is your Consort's father-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); + break; + case 3: + r.push(`Your Concubine is your Consort's half-${concubinePronouns.sister}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); repX(1000, "headGirl", slave); - } else { - switch (areSisters(slave, V.Concubine)) { - case 1: - r.push(`Your Concubine is your Consort's twin-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); - repX(1000, "headGirl", slave); - break; - case 2: - r.push(`Your Concubine is your Consort's ${concubinePronouns.sister}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); - repX(1000, "headGirl", slave); - break; - case 3: - r.push(`Your Concubine is your Consort's half-${concubinePronouns.sister}-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); - repX(1000, "headGirl", slave); - break; - default: - r.push(`<span style="bold">Shit went wrong! Post this in a bug report!</span> This is <span class="red">NOT as it should be.</span>`); - repX(500, "headGirl", slave); - } - } - } else { - r.push(`Your Consort and your Concubine are`); - if (wife === concubinePronouns.wife) { - r.push(`${wives}`); - } else { - r.push(`married`); - } - r.push(`to each other and to Pharaoh. This is <span class="green"> as it should be.</span>`); - repX(500, "headGirl", slave); + break; + default: + r.push(`<span style="bold">Shit went wrong! Post this in a bug report!</span> This is <span class="red">NOT as it should be.</span>`); + repX(500, "headGirl", slave); } + } + } + } else { + if (totalRelatives(slave) > 0) { + let relation = getSlave(slave.relationshipTarget); + const relationPronouns = getPronouns(relation); + if (relation.mother === slave.ID || relation.father === slave.ID) { + r.push(`Your Consort has a ${relationPronouns.daughter}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); + repX(500, "headGirl", slave); + } else if (slave.mother === relation.ID) { + r.push(`Your Consort has a mother-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); + repX(500, "headGirl", slave); + } else if (slave.father === relation.ID) { + r.push(`Your Consort has a father-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); + repX(500, "headGirl", slave); } else { - if (totalRelatives(slave) > 0) { - let relation = getSlave(slave.relationshipTarget); - const relationPronouns = getPronouns(relation); - if (relation.mother === slave.ID || relation.father === slave.ID) { - r.push(`Your Consort has a ${relationPronouns.daughter}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); + switch (areSisters(slave, relation)) { + case 1: + r.push(`Your Consort has a twin-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); repX(500, "headGirl", slave); - } else if (slave.mother === relation.ID) { - r.push(`Your Consort has a mother-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); + break; + case 2: + r.push(`Your Consort has a ${relationPronouns.sister}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); repX(500, "headGirl", slave); - } else if (slave.father === relation.ID) { - r.push(`Your Consort has a father-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); + break; + case 3: + r.push(`Your Consort has a half-${relationPronouns.sister}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); repX(500, "headGirl", slave); - } else { - switch (areSisters(slave, relation)) { - case 1: - r.push(`Your Consort has a twin-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); - repX(500, "headGirl", slave); - break; - case 2: - r.push(`Your Consort has a ${relationPronouns.sister}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); - repX(500, "headGirl", slave); - break; - case 3: - r.push(`Your Consort has a half-${relationPronouns.sister}-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); - repX(500, "headGirl", slave); - break; - } - } - } - } - } else { - if (slave.relationshipTarget === V.Concubine.ID) { - const concubinePronouns = getPronouns(V.Concubine); - if (slave.relationTarget === V.Concubine.ID) { - r.push(`Your Concubine is your Consort's slave.relation-${concubinePronouns.wife}. Truly, ${arcology.name} looks up to you <span class="green">as children to a father.</span>`); - repX(1000, "headGirl", slave); - } else { - r.push(`Your Consort and your Concubine are`); - if (wife === concubinePronouns.wife) { - r.push(`${wives}`); - } else { - r.push(`married`); - } - r.push(`to each other and to Pharaoh. This is <span class="green"> as it should be.</span>`); - repX(500, "headGirl", slave); + break; } - } else if (slave.relationshipTarget === slave.relationTarget) { - let relation = getSlave(slave.relationshipTarget); - const relationPronouns = getPronouns(relation); - r.push(`Your Consort has a slave.relation-${relationPronouns.wife}. This is <span class="green">as it should be.</span>`); - repX(500, "headGirl", slave); } - } /* closes extended family mode */ - } - if (V.HGEnergy === 0) { - r.push(`${He} was <span class="red">too exhausted</span> to make any real progress with your slaves this week, however.`); + } } } + if (V.HGEnergy === 0) { + r.push(`${He} was <span class="red">too exhausted</span> to make any real progress with your slaves this week, however.`); + } } /** diff --git a/src/endWeek/saPleaseYou.js b/src/endWeek/saPleaseYou.js index da7b2eda3e57b461f91924ffe03c8106824e8b64..4cf0837761ed7e6ccb1b47b8b5ed804fc01c78d7 100644 --- a/src/endWeek/saPleaseYou.js +++ b/src/endWeek/saPleaseYou.js @@ -1596,67 +1596,58 @@ window.saPleaseYou = (function saPleaseYou() { let spy; let children; - if (V.familyTesting === 1) { - if (slave.father === -1 && slave.mother !== -1) { - r.push(`Keeping your own ${daughter} as a personal fucktoy leaves quite a public impression.`); - } else if (slave.father > 0 && slave.mother !== slave.father) { - spy = V.slaveIndices[slave.father]; - if ((spy !== undefined) && (V.slaves[spy].assignment === "please you" || V.slaves[spy].assignment === "serve in the master suite" || V.slaves[spy].assignment === "be your Concubine")) { - r.push(`Since you are also keeping ${his} father as a sexual servant, you often use them together, which leaves quite a public impression.`); - } + if (slave.father === -1 && slave.mother !== -1) { + r.push(`Keeping your own ${daughter} as a personal fucktoy leaves quite a public impression.`); + } else if (slave.father > 0 && slave.mother !== slave.father) { + spy = V.slaveIndices[slave.father]; + if ((spy !== undefined) && (V.slaves[spy].assignment === "please you" || V.slaves[spy].assignment === "serve in the master suite" || V.slaves[spy].assignment === "be your Concubine")) { + r.push(`Since you are also keeping ${his} father as a sexual servant, you often use them together, which leaves quite a public impression.`); } + } - if (slave.mother === -1) { - r.push(`Keeping your own ${daughter} as a personal fucktoy leaves quite a public impression.`); - } else if (slave.mother > 0) { - spy = V.slaveIndices[slave.mother]; - if ((spy !== undefined) && (V.slaves[spy].assignment === "please you" || V.slaves[spy].assignment === "serve in the master suite" || V.slaves[spy].assignment === "be your Concubine")) { - r.push(`Since you are also keeping ${his} mother as a sexual servant, you often use them together, which leaves quite a public impression.`); - } + if (slave.mother === -1) { + r.push(`Keeping your own ${daughter} as a personal fucktoy leaves quite a public impression.`); + } else if (slave.mother > 0) { + spy = V.slaveIndices[slave.mother]; + if ((spy !== undefined) && (V.slaves[spy].assignment === "please you" || V.slaves[spy].assignment === "serve in the master suite" || V.slaves[spy].assignment === "be your Concubine")) { + r.push(`Since you are also keeping ${his} mother as a sexual servant, you often use them together, which leaves quite a public impression.`); } + } - children = V.slaves.filter(function(s) { return (s.father === slave.ID || s.mother === slave.ID) && (s.assignment === "please you" || s.assignment === "serve in the master suite" || s.assignment === "be your Concubine"); }); - if (children.length > 2) { - r.push(`Since you are also keeping ${his} daughters,`); - for (spy = 0; spy < children.length; spy++) { - if (spy < children.length - 1) { - r.push(`${children[spy].slaveName},`); - } else { - r.push(`and ${children[spy].slaveName},`); - } + children = V.slaves.filter(function(s) { return (s.father === slave.ID || s.mother === slave.ID) && (s.assignment === "please you" || s.assignment === "serve in the master suite" || s.assignment === "be your Concubine"); }); + if (children.length > 2) { + r.push(`Since you are also keeping ${his} daughters,`); + for (spy = 0; spy < children.length; spy++) { + if (spy < children.length - 1) { + r.push(`${children[spy].slaveName},`); + } else { + r.push(`and ${children[spy].slaveName},`); } - r.push(`as sexual servants, you often enjoy them all at once, which leaves quite a public impression.`); - } else if (children.length > 1) { - r.push(`Since you are also keeping ${his} daughters, ${children[0].slaveName} and ${children[1].slaveName}, as sexual servants, you often use them together, leaving quite a public impression.`); - } else if (children.length > 0) { - const childPronouns = getPronouns(children[0]); - r.push(`Since you are also keeping ${his} ${childPronouns.daughter} as a sexual servant, you often use them together, which leaves quite a public impression.`); } + r.push(`as sexual servants, you often enjoy them all at once, which leaves quite a public impression.`); + } else if (children.length > 1) { + r.push(`Since you are also keeping ${his} daughters, ${children[0].slaveName} and ${children[1].slaveName}, as sexual servants, you often use them together, leaving quite a public impression.`); + } else if (children.length > 0) { + const childPronouns = getPronouns(children[0]); + r.push(`Since you are also keeping ${his} ${childPronouns.daughter} as a sexual servant, you often use them together, which leaves quite a public impression.`); + } - children = V.slaves.filter(function(s) { return (areSisters(slave, s) > 0) && (s.assignment === "please you" || s.assignment === "serve in the master suite" || s.assignment === "be your Concubine"); }); - if (children.length > 2) { - r.push(`Since you are also keeping ${his} sisters,`); - for (spy = 0; spy < children.length; spy++) { - if (spy < children.length - 1) { - r.push(`${children[spy].slaveName},`); - } else { - r.push(`and ${children[spy].slaveName},`); - } - } - r.push(`as sexual servants, you often enjoy them all at once, which leaves quite a public impression.`); - } else if (children.length > 1) { - r.push(`Since you are also keeping ${his} sisters, ${children[0].slaveName} and ${children[1].slaveName}, as sexual servants, you often use them together, leaving quite a public impression.`); - } else if (children.length > 0) { - const childPronouns = getPronouns(children[0]); - r.push(`Since you are also keeping ${his} ${childPronouns.sister} as a sexual servant, you often use them together, which leaves quite a public impression.`); - } - } else { - if (slave.relation !== 0) { - spy = V.slaveIndices[slave.relationTarget]; - if ((spy !== undefined) && (V.slaves[spy].assignment === "please you" || V.slaves[spy].assignment === "serve in the master suite" || V.slaves[spy].assignment === "be your Concubine")) { - r.push(`Since you are also keeping ${his} ${V.slaves[spy].relation} as a sexual servant, you often use them together, which leaves quite a public impression.`); + children = V.slaves.filter(function(s) { return (areSisters(slave, s) > 0) && (s.assignment === "please you" || s.assignment === "serve in the master suite" || s.assignment === "be your Concubine"); }); + if (children.length > 2) { + r.push(`Since you are also keeping ${his} sisters,`); + for (spy = 0; spy < children.length; spy++) { + if (spy < children.length - 1) { + r.push(`${children[spy].slaveName},`); + } else { + r.push(`and ${children[spy].slaveName},`); } } + r.push(`as sexual servants, you often enjoy them all at once, which leaves quite a public impression.`); + } else if (children.length > 1) { + r.push(`Since you are also keeping ${his} sisters, ${children[0].slaveName} and ${children[1].slaveName}, as sexual servants, you often use them together, leaving quite a public impression.`); + } else if (children.length > 0) { + const childPronouns = getPronouns(children[0]); + r.push(`Since you are also keeping ${his} ${childPronouns.sister} as a sexual servant, you often use them together, which leaves quite a public impression.`); } } diff --git a/src/endWeek/saServeThePublic.js b/src/endWeek/saServeThePublic.js index c18d11ba32816ed1b6278d98f77005667201fe80..5f6b2cb30039e22e1810bedf6bf6893010aa7676 100644 --- a/src/endWeek/saServeThePublic.js +++ b/src/endWeek/saServeThePublic.js @@ -590,52 +590,28 @@ window.saServeThePublic = (function saServeThePublic() { r += ` ${He}'s a better slut because public service is ${his} main sexual outlet.`; } - // Someone double check this block - if (V.familyTesting === 1) { - if (totalRelatives(slave) > 0) { - let children = V.slaves.filter((s) => areRelated(slave, s) && (s.assignment === slave.assignment)); - if (children.length > 2) { - r += ` Since ${his} relatives,`; - sstp = 0; - for (; sstp < children.length; sstp++) { - if (sstp < children.length - 1) { - r += ` ${children[sstp].slaveName},`; - } else { - r += ` and ${children[sstp].slaveName},`; - } - } - r += ` are public sluts too, ${he} earns extra attention.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Citizens are very excited about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Citizens are very excited about being able to participate in incestuous sex.`; - } - } else if (children.length > 1) { - r += ` Since ${his} relatives, ${children[0].slaveName} and ${children[1].slaveName}, are public sluts too, ${he} earns extra attention.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Citizens are very excited about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Citizens are very excited about being able to participate in incestuous sex.`; - } - } else if (children.length > 0) { - r += ` Since ${his} relative, ${children[0].slaveName}, is a public slut too, ${he} earns extra attention.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Citizens are very excited about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Citizens are very excited about being able to participate in incestuous sex.`; + if (totalRelatives(slave) > 0) { + let children = V.slaves.filter((s) => areRelated(slave, s) && (s.assignment === slave.assignment)); + if (children.length > 2) { + r += ` Since ${his} relatives,`; + for (sstp = 0; sstp < children.length; sstp++) { + if (sstp < children.length - 1) { + r += ` ${children[sstp].slaveName},`; + } else { + r += ` and ${children[sstp].slaveName},`; } } - } - } else { - if (slave.relation !== 0) { - sstp = V.slaveIndices[slave.relationTarget]; - if (sstp !== undefined && slave.assignment === V.slaves[sstp].assignment) { - r += ` Since ${his} ${V.slaves[sstp].relation} ${V.slaves[sstp].slaveName} is a public slut too, ${he} earns extra attention.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Citizens are very excited about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Citizens are very excited about being able to participate in incestuous sex.`; - } + r += ` are public sluts too, ${he} earns extra attention.`; + } else if (children.length > 1) { + r += ` Since ${his} relatives, ${children[0].slaveName} and ${children[1].slaveName}, are public sluts too, ${he} earns extra attention.`; + } else if (children.length > 0) { + r += ` Since ${his} relative, ${children[0].slaveName}, is a public slut too, ${he} earns extra attention.`; + } + if (children.length > 0) { + if (arcology.FSEgyptianRevivalist > 20) { + r += ` Citizens are very excited about being able to participate in incestuous sex like the ancient Egyptians.`; + } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { + r += ` Citizens are very excited about being able to participate in incestuous sex.`; } } } diff --git a/src/endWeek/saWhore.js b/src/endWeek/saWhore.js index 02f79f6153d8f8a2a26e30cce0dc2c1993c2be42..6116407ffc83bad29c488e3bce0780680a6cb2b4 100644 --- a/src/endWeek/saWhore.js +++ b/src/endWeek/saWhore.js @@ -139,7 +139,6 @@ window.saWhore = (function saWhore() { } else { FuckResult = Math.trunc(FuckResult * (1 + V.brothelBoost.eligible / 20)); } - } // ads if (V.brothelAdsSpending !== 0) { @@ -663,53 +662,29 @@ window.saWhore = (function saWhore() { r += ` ${He}'s a better whore because prostitution is ${his} main sexual outlet.`; } - if (V.familyTesting === 1) { - if (totalRelatives(slave) > 0) { - let children = V.slaves.filter((s) => areRelated(slave, s) && (s.assignment === slave.assignment)); - if (children.length > 2) { - r += ` Since ${his} relatives,`; - SWi = 0; - for (; SWi < children.length; SWi++) { - if (SWi < children.length - 1) { - r += ` ${children[SWi].slaveName},`; - } else { - r += ` and ${children[SWi].slaveName},`; - } - } - r += ` are selling themselves too, ${he} earns extra ¤ by working with them.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex.`; - } - } else if (children.length > 1) { - r += ` Since ${his} relatives, ${children[0].slaveName} and ${children[1].slaveName}, are selling themselves too, ${he} earns extra ¤ by working with them.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex.`; - } - } else if (children.length > 0) { - const relativePronouns = getPronouns(children[0]); - r += ` Since ${his} relative, ${children[0].slaveName}, is selling ${relativePronouns.objectReflexive} too, ${he} earns extra ¤ by working with ${relativePronouns.object}.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex.`; + if (totalRelatives(slave) > 0) { + let children = V.slaves.filter((s) => areRelated(slave, s) && (s.assignment === slave.assignment)); + if (children.length > 2) { + r += ` Since ${his} relatives,`; + for (SWi = 0; SWi < children.length; SWi++) { + if (SWi < children.length - 1) { + r += ` ${children[SWi].slaveName},`; + } else { + r += ` and ${children[SWi].slaveName},`; } } - } - } else { - if (slave.relation !== 0) { - SWi = V.slaveIndices[slave.relationTarget]; - if (SWi !== undefined && slave.assignment === V.slaves[SWi].assignment) { - const relativePronouns = getPronouns(V.slaves[SWi]); - r += ` Since ${his} ${V.slaves[SWi].relation} ${V.slaves[SWi].slaveName} is selling ${relativePronouns.objectReflexive} too, ${he} earns extra ¤ by working with ${relativePronouns.object}.`; - if (arcology.FSEgyptianRevivalist > 20) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.`; - } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { - r += ` Customers are very enthusiastic about being able to participate in incestuous sex.`; - } + r += ` are selling themselves too, ${he} earns extra ¤ by working with them.`; + } else if (children.length > 1) { + r += ` Since ${his} relatives, ${children[0].slaveName} and ${children[1].slaveName}, are selling themselves too, ${he} earns extra ¤ by working with them.`; + } else if (children.length > 0) { + const relativePronouns = getPronouns(children[0]); + r += ` Since ${his} relative, ${children[0].slaveName}, is selling ${relativePronouns.objectReflexive} too, ${he} earns extra ¤ by working with ${relativePronouns.object}.`; + } + if (children.length > 0) { + if (arcology.FSEgyptianRevivalist > 20) { + r += ` Customers are very enthusiastic about being able to participate in incestuous sex like the ancient Egyptians.`; + } else if (arcology.FSEgyptianRevivalistIncestPolicy === 1) { + r += ` Customers are very enthusiastic about being able to participate in incestuous sex.`; } } } diff --git a/src/events/intro/introSummary.tw b/src/events/intro/introSummary.tw index e0b2ed970db61edf62a62ccecd0cf1f91914531d..8cb42d9e7a0ffd54c434f31f1f5b1a3200c26b61 100644 --- a/src/events/intro/introSummary.tw +++ b/src/events/intro/introSummary.tw @@ -610,38 +610,26 @@ You may review your settings before clicking "Continue" to begin.<br> Names will always be ''Surname Name''. <</options>> - <<options $familyTesting>> - <<option 1 "Enable extended families">> - Slaves ''can'' have extended families instead of just a single relative. - //May cause lag.// - <<option 0 "Disable extended families">> - Slaves ''cannot'' have extended families, just a single relative. //Vanilla Mode.// - <<comment>> - Extended family mode must be on for the incubation facility to be enabled. + <<options $showDistantRelatives>> + <<option 1 "Enable distant relatives">> + Distant relatives ''will'' be tracked. + <<option 0 "Disable distant relatives">> + Distant relatives ''will not'' be tracked. <</options>> - <<if $familyTesting == 1>> - <<options $showDistantRelatives>> - <<option 1 "Enable distant relatives">> - Distant relatives ''will'' be tracked. - <<option 0 "Disable distant relatives">> - Distant relatives ''will not'' be tracked. - <</options>> - - <<options $inbreeding>> - <<option 1 "Enable inbreeding damage">> - Successive breeding ''will'' result in sub-average slaves. - <<option 0 "Disable inbreeding damage">> - Successive breeding ''will not'' result in sub-average slaves. - <</options>> + <<options $inbreeding>> + <<option 1 "Enable inbreeding damage">> + Successive breeding ''will'' result in sub-average slaves. + <<option 0 "Disable inbreeding damage">> + Successive breeding ''will not'' result in sub-average slaves. + <</options>> - <<options $allowFamilyTitles>> - <<option 1 "Enable family titles">> - Your relatives ''will'' use family titles. - <<option 0 "Disable family titles">> - Your relatives ''will not'' use family titles. - <</options>> - <</if>> + <<options $allowFamilyTitles>> + <<option 1 "Enable family titles">> + Your relatives ''will'' use family titles. + <<option 0 "Disable family titles">> + Your relatives ''will not'' use family titles. + <</options>> <<options $weightAffectsAssets>> <<option 1 "Enable">> diff --git a/src/facilities/nursery/childInteract.tw b/src/facilities/nursery/childInteract.tw index aa1ed9772fc88444229d9b5e220424486bd252ff..3f6912fea5509c533c9b776d1118419aa051f334 100644 --- a/src/facilities/nursery/childInteract.tw +++ b/src/facilities/nursery/childInteract.tw @@ -322,82 +322,46 @@ FIXME: <<replace "#miniscene">><<include "FAbuse">><</replace>> <</link>> <<if $seeIncest == 1>> - <<if $familyTesting == 1>> - <<set _availRelatives = availableRelatives($activeChild)>> - <<if _availRelatives.mother>> - | <<link "Fuck $him with $his mother">> - <<replace "#miniscene">> - <<set $partner = "mother">> - <<include "FRelation">><br> <</replace>> - <</link>> - <<elseif _availRelatives.motherName !== null>> - //$His mother, _availRelatives.motherName, is unavailable// - <</if>> - /* - <<if _availRelatives.father>> - | <<link "Fuck $him with $his father">> - <<replace "#miniscene">><<set $partner = "father">> - <<include "FRelation">><br> <</replace>> - <</link>> - <<elseif _availRelatives.fatherName !== null>> - //$His father, _availRelatives.fatherName, is unavailable// - <</if>> - */ - <<if $activeChild.sisters > 0>> - <<if _availRelatives.sisters == 0>> - <<if $activeChild.sisters == 1>> - //$His _sister2 is unavailable// - <<else>> - //$His sisters are unavailable// - <</if>> + <<set _availRelatives = availableRelatives($activeChild)>> + <<if _availRelatives.mother>> + | <<link "Fuck $him with $his mother">> + <<replace "#miniscene">> + <<set $partner = "mother">> + <<include "FRelation">><br> <</replace>> + <</link>> + <<elseif _availRelatives.motherName !== null>> + //$His mother, _availRelatives.motherName, is unavailable// + <</if>> + /* + <<if _availRelatives.father>> + | <<link "Fuck $him with $his father">> + <<replace "#miniscene">><<set $partner = "father">> + <<include "FRelation">><br> <</replace>> + <</link>> + <<elseif _availRelatives.fatherName !== null>> + //$His father, _availRelatives.fatherName, is unavailable// + <</if>> + */ + <<if $activeChild.sisters > 0>> + <<if _availRelatives.sisters == 0>> + <<if $activeChild.sisters == 1>> + //$His _sister2 is unavailable// <<else>> - <<if $activeChild.sisters == 1>> - | <<link "Fuck $him with $his _sister2">> - <<replace "#miniscene">> - <<set $partner = "sister">> - <<include "FRelation">><br> <</replace>> - <</link>> - <<else>> - | <<link "Fuck $him with one of $his sisters">> - <<replace "#miniscene">> - <<set $partner = "sister">> - <<include "FRelation">><br> <</replace>> - <</link>> - <</if>> + //$His sisters are unavailable// <</if>> - <</if>> - <<else>> - <<if ($activeChild.relation != 0)>> - <<set _assayedSlave = getSlave($activeChild.relationTarget)>> - <<setLocalPronouns _assayedSlave 2>> - <<if isSlaveAvailable(_assayedSlave)>> - <<if ($activeChild.relation == "mother")>> - | <<link "Fuck $him with $his _daughter2">> - <<replace "#miniscene">> - <<set $partner = "relation">> - <<include "FRelation">><br> <</replace>> - <</link>> - <<elseif ($activeChild.relation == "daughter")>> - | <<link "Fuck $him with $his mother">> - <<replace "#miniscene">> - <<set $partner = "relation">> - <<include "FRelation">><br> <</replace>> - <</link>> - <<elseif ($activeChild.relation == "sister")>> - | <<link "Fuck $him with $his _sister2">> - <<replace "#miniscene">> - <<set $partner = "relation">> - <<include "FRelation">><br> <</replace>> - <</link>> - <<elseif ($activeChild.relation == "twin")>> - | <<link "Fuck $him with $his twin">> - <<replace "#miniscene">> - <<set $partner = "relation">> - <<include "FRelation">><br> <</replace>> - <</link>> - <</if>> + <<else>> + <<if $activeChild.sisters == 1>> + | <<link "Fuck $him with $his _sister2">> + <<replace "#miniscene">> + <<set $partner = "sister">> + <<include "FRelation">><br> <</replace>> + <</link>> <<else>> - //_assayedSlave.slaveName is unavailable// + | <<link "Fuck $him with one of $his sisters">> + <<replace "#miniscene">> + <<set $partner = "sister">> + <<include "FRelation">><br> <</replace>> + <</link>> <</if>> <</if>> <</if>> @@ -454,18 +418,16 @@ FIXME: <</if>> <</if>> -<<if $familyTesting>> - <br><br> - <span id="family"> - <div id="familyTree"></div> - <span id="familyTreeLink"> - <<link "Pull up the file on $his family tree.">> - <<replace #familyTreeLink>> - /* TODO: this may need to be updated */<<run renderFamilyTree($slaves, $activeChild.ID)>><</replace>> - <</link>> - </span> +<br><br> +<span id="family"> + <div id="familyTree"></div> + <span id="familyTreeLink"> + <<link "Pull up the file on $his family tree.">> + <<replace #familyTreeLink>> + /* TODO: this may need to be updated */<<run renderFamilyTree($slaves, $activeChild.ID)>><</replace>> + <</link>> </span> -<</if>> +</span> <br><br> /* TODO: the RA may need to be reworked to work with children in the Nursery */ diff --git a/src/facilities/nursery/nurseryDatatypeCleanup.js b/src/facilities/nursery/nurseryDatatypeCleanup.js index 9e80c4b3e2c2e5deb6e13a6c2f2c0ec96dcdb3eb..c062138b13752dcb5b91d97b79a0931ef0cf3ee1 100644 --- a/src/facilities/nursery/nurseryDatatypeCleanup.js +++ b/src/facilities/nursery/nurseryDatatypeCleanup.js @@ -384,9 +384,6 @@ App.Facilities.Nursery.ChildDatatypeCleanup = function(child) { function childRelationDatatypeCleanup(child) { child.mother = +child.mother || 0; child.father = +child.father || 0; - if (State.variables.familyTesting === 0) { - child.relationTarget = Math.max(+child.relationTarget, 0) || 0; - } child.canRecruit = Math.clamp(+child.canRecruit, 0, 1) || 0; child.relationship = Math.clamp(+child.relationship, -3, 5) || 0; child.relationshipTarget = Math.max(+child.relationshipTarget, 0) || 0; diff --git a/src/facilities/nursery/nurseryWidgets.js b/src/facilities/nursery/nurseryWidgets.js index ee6ffe658f3064e8ddee760fa2800480e445f34b..d12ba99299631520f451f05c15b1508e5eb6949d 100644 --- a/src/facilities/nursery/nurseryWidgets.js +++ b/src/facilities/nursery/nurseryWidgets.js @@ -91,7 +91,7 @@ App.Facilities.Nursery.InfantSummary = function(child) { longBehaviorFlaw(child); longSexFlaw(child); } - if ((child.relationship !== 0) || (child.relation !== 0) || (V.abbreviateClothes === 2) || (V.abbreviateRulesets === 2)) { + if ((child.relationship !== 0) || (V.abbreviateClothes === 2) || (V.abbreviateRulesets === 2)) { r += `<br> `; if (V.seeImages !== 1 || V.seeSummaryImages !== 1 || V.imageChoice === 1) { r += ` `; @@ -2287,7 +2287,7 @@ App.Facilities.Nursery.ChildSummary = function(child) { if (child.custom.label) { r += `<strong><span class="yellow">${capFirstChar(child.custom.label)}</span></strong> `; } - if ((child.relationship !== 0) || (child.relation !== 0) || (V.abbreviateClothes === 2) || (V.abbreviateRulesets === 2)) { + if ((child.relationship !== 0) || (V.abbreviateClothes === 2) || (V.abbreviateRulesets === 2)) { r += `<br> `; if (V.seeImages !== 1 || V.seeSummaryImages !== 1 || V.imageChoice === 1) { r += ` `; @@ -2295,22 +2295,12 @@ App.Facilities.Nursery.ChildSummary = function(child) { } if (V.abbreviateMental === 1) { r += `<span class="lightgreen">`; - if (V.familyTesting === 1) { - shortExtendedFamily(child); - } else { - shortLegacyFamily(child); - } + shortExtendedFamily(child); r += `</span> `; shortClone(child); shortRival(child); } else if (V.abbreviateMental === 2) { - if (V.familyTesting === 1) { - longExtendedFamily(child); - } else { - longLegacyFamily(child); - } - longClone(child); - longRival(child); + longExtendedFamily(child); } if (child.fuckdoll === 0) { if (V.abbreviateClothes === 2) { @@ -5982,40 +5972,6 @@ App.Facilities.Nursery.ChildSummary = function(child) { } } - /** - * @param {App.Entity.SlaveState} child - */ - function shortLegacyFamily(child) { - if (child.relation !== 0) { - const _ssj = V.slaves.findIndex(function(s) { - return s.ID === child.relationTarget; - }); - if (_ssj !== -1) { - r += `${SlaveFullName(V.slaves[_ssj])}'s ${child.relation}`; - } - } - if (child.relationship > 0) { - const _ssj = V.slaves.findIndex(function(s) { - return s.ID === child.relationshipTarget; - }); - if (_ssj !== -1) { - const friendship = relationshipTerm(child); - if (child.relationshipTarget !== child.relationTarget) { - r += `${SlaveFullName(V.slaves[_ssj])}'s`; - } else { - r += ` &`; - } - r += ` ${friendship}`; - } - } else if (child.relationship === -3) { - r += `Your wife`; - } else if (child.relationship === -2) { - r += `E Bonded`; - } else if (child.relationship === -1) { - r += `E Slut`; - } - } - /** * @param {App.Entity.SlaveState} child */ @@ -6175,48 +6131,6 @@ App.Facilities.Nursery.ChildSummary = function(child) { } } - /** - * @param {App.Entity.SlaveState} child - */ - function longLegacyFamily(child) { - if (child.relation !== 0) { - const _ssj = V.slaves.findIndex(function(s) { - return s.ID === child.relationTarget; - }); - if (_ssj !== -1) { - r += `${SlaveFullName(V.slaves[_ssj])}'s `; - if (child.relationshipTarget !== child.relationTarget) { - r += `<span class="lightgreen">${child.relation}.</span> `; - } else { - r += `<span class="lightgreen">${child.relation}</span> `; - } - if (child.relationship <= 0) { - r += ` `; - } - } - } - if (child.relationship > 0) { - const _ssj = V.slaves.findIndex(function(s) { - return s.ID === child.relationshipTarget; - }); - if (_ssj !== -1) { - const friendship = relationshipTerm(child); - if (child.relationshipTarget !== child.relationTarget) { - r += `${SlaveFullName(V.slaves[_ssj])}'s `; - } else { - r += ` and `; - } - r += `<span class="lightgreen">${friendship}.</span> `; - } - } else if (child.relationship === -3) { - r += `<span class="lightgreen">Your wife.</span> `; - } else if (child.relationship === -2) { - r += `<span class="lightgreen">Emotionally bonded to you.</span> `; - } else if (child.relationship === -1) { - r += `<span class="lightgreen">Emotional slut.</span> `; - } - } - /** * @param {App.Entity.SlaveState} child */ @@ -13749,40 +13663,23 @@ App.Facilities.Nursery.LongChildDescription = function(child) { r += App.Desc.brand(child, "ear"); r += App.Desc.brand(child, "neck"); - /* OPEN FAMILY */ - - if (V.familyTesting) { - r += App.Desc.family(child) + ' '; + r += App.Desc.family(child) + ' '; - if (child.relationship >= 3 && totalRelatives(child) > 0) { - const lover = getSlave(child.relationshipTarget); - if (jsDef(lover)) { - const relTerm = relativeTerm($activeSlave, _lover); - if (relTerm !== null) { - r += `${He} is in an <span class="lightgreen">incestuous relationship with ${his} ${relTerm}, ${SlaveFullName(lover)}.</span> `; - } - } - } else if (child.relationship <= -2) { - const relTerm = relativeTerm($activeSlave, $PC); + if (child.relationship >= 3 && totalRelatives(child) > 0) { + const lover = getSlave(child.relationshipTarget); + if (jsDef(lover)) { + const relTerm = relativeTerm($activeSlave, _lover); if (relTerm !== null) { - r += `${He} is in an <span class="lightgreen">incestuous relationship with ${his} ${relTerm}, you.</span> `; + r += `${He} is in an <span class="lightgreen">incestuous relationship with ${his} ${relTerm}, ${SlaveFullName(lover)}.</span> `; } } - } else { - if (child.relation !== 0) { - let lcd = V.slaveIndices[child.relationTarget]; - if (jsDef(lcd)) { - if (slaves[lcd].ID === child.relationshipTarget && child.relationship >= 3) { - r += `${He} is <span class="lightgreen">${SlaveFullName(slaves[lcd])}'s ${child.relation}, making their relationship incestuous.</span> `; - } else { - r += `${He} is <span class="lightgreen">${SlaveFullName(slaves[lcd])}'s ${child.relation}.</span> `; - } - } + } else if (child.relationship <= -2) { + const relTerm = relativeTerm($activeSlave, $PC); + if (relTerm !== null) { + r += `${He} is in an <span class="lightgreen">incestuous relationship with ${his} ${relTerm}, you.</span> `; } } - /* CLOSE FAMILY */ - if (child.rivalry) { let lcd = V.slaveIndices[child.rivalryTarget]; if (jsDef(lcd)) { @@ -15871,11 +15768,6 @@ App.Facilities.Nursery.ChildState = class ChildState { this.career = 0; /** Child's ID */ this.ID = 0; - /** Relation to relationTarget - * @type {string|number} */ - this.relation = 0; - /** Target of relation (ID) */ - this.relationTarget = 0; /** * TODO: * Child's relationship diff --git a/src/interaction/main/walkPast.js b/src/interaction/main/walkPast.js index 19bd212db7dda2cd6e7f3ab3a88eb13cb297e552..4457ebe0192df8e9301ddc7e1ca84c9c1b102111 100644 --- a/src/interaction/main/walkPast.js +++ b/src/interaction/main/walkPast.js @@ -41,10 +41,7 @@ window.walkPast = (function() { watchArray = []; name = activeSlave.slaveName; - if (V.familyTesting === 1 && totalRelatives(activeSlave) > 0 && ((fixed && V.target === "FRelation") || (!fixed && jsRandom(1, 100) > 80))) { - flag = 110; - V.partner = "relation"; - } else if (V.familyTesting === 0 && activeSlave.relation !== 0 && ((fixed && V.target === "FRelation") || (!fixed && jsRandom(1, 100) > 80))) { + if (totalRelatives(activeSlave) > 0 && ((fixed && V.target === "FRelation") || (!fixed && jsRandom(1, 100) > 80))) { flag = 110; V.partner = "relation"; } else if (activeSlave.relationship > 0 && ((fixed && V.target === "FRelation") || (!fixed && jsRandom(1, 100) > 70))) { @@ -1446,11 +1443,7 @@ window.walkPast = (function() { } = getPronouns(activeSlave); if (V.partner === "relation") { - if (V.familyTesting === 1) { - partnerSlave = randomRelatedSlave(activeSlave); - } else { - partnerSlave = getSlave(activeSlave.relationTarget); - } + partnerSlave = getSlave(activeSlave.relationTarget); V.relation = partnerSlave.ID; } else { activeSlaveRel = relationshipTerm(activeSlave); @@ -1460,11 +1453,7 @@ window.walkPast = (function() { if (partnerSlave !== undefined) { /* potential problem point */ r += ` ${His} `; if (V.partner === "relation") { - if (V.familyTesting === 1) { - r += `${relativeTerm(V.activeSlave, partnerSlave)} `; - } else { - r += `${partnerSlave.relation} `; - } + r += `${relativeTerm(V.activeSlave, partnerSlave)} `; } else { r += `${activeSlaveRel} `; } diff --git a/src/interaction/slaveInteract.js b/src/interaction/slaveInteract.js index 3fe0d35db82fd4bb217fd0ea46e000ce89d05365..63d2d06644e53c53af0738a82bc187efb05275cd 100644 --- a/src/interaction/slaveInteract.js +++ b/src/interaction/slaveInteract.js @@ -632,81 +632,57 @@ App.UI.SlaveInteract.useSlaveDisplay = function(slave) { } sexOptions.push({text: `Abuse ${him}`, scene: `FAbuse`}); if (V.seeIncest === 1) { - if (V.familyTesting === 1) { - const availRelatives = availableRelatives(slave); - if (availRelatives.mother) { - sexOptions.push({text: `Fuck ${him} with ${his} mother`, scene: `FRelation`, update: {partner: "mother"}}); - } else if (availRelatives.motherName !== null) { - sexOptions.push({text: `${His} mother, ${availRelatives.motherName}, is unavailable`}); - } - /* - if (availRelatives.father) { - sexOptions.push({text: `Fuck ${him} with ${his} father`, scene: `FRelation`, update: {partner: "father"}}); - } else if (availRelatives.fatherName !== null) { - sexOptions.push({text: `${His} father, ${availRelatives.motherName}, is unavailable`}); - } - */ - if (slave.daughters > 0) { - if (availRelatives.daughters === 0) { - if (slave.daughters === 1) { - sexOptions.push({text: `Fuck ${him} with ${his} daughter`, disabled: `${His} ${availRelatives.oneDaughterRel} is unavailable`}); - } else { - sexOptions.push({text: `Fuck ${him} with one of ${his} daughters`, disabled: `${His} daughters are unavailable`}); - } + const availRelatives = availableRelatives(slave); + if (availRelatives.mother) { + sexOptions.push({text: `Fuck ${him} with ${his} mother`, scene: `FRelation`, update: {partner: "mother"}}); + } else if (availRelatives.motherName !== null) { + sexOptions.push({text: `${His} mother, ${availRelatives.motherName}, is unavailable`}); + } + /* + if (availRelatives.father) { + sexOptions.push({text: `Fuck ${him} with ${his} father`, scene: `FRelation`, update: {partner: "father"}}); + } else if (availRelatives.fatherName !== null) { + sexOptions.push({text: `${His} father, ${availRelatives.motherName}, is unavailable`}); + } + */ + if (slave.daughters > 0) { + if (availRelatives.daughters === 0) { + if (slave.daughters === 1) { + sexOptions.push({text: `Fuck ${him} with ${his} daughter`, disabled: `${His} ${availRelatives.oneDaughterRel} is unavailable`}); } else { - if (slave.daughters === 1) { - sexOptions.push({text: `Fuck ${him} with ${his} ${availRelatives.oneDaughterRel}`, scene: `FRelation`, update: {partner: "daughter"}}); - } else { - sexOptions.push({text: `Fuck ${him} with one of ${his} daughters`, scene: `FRelation`, update: {partner: "daughter"}}); - } - /* - if (availRelatives.daughters > 1) { - sexOptions.push({text: `Fuck ${him} with ${his} daughters`, scene: `FRelation`, update: {partner: "daughter"}}); - } - */ + sexOptions.push({text: `Fuck ${him} with one of ${his} daughters`, disabled: `${His} daughters are unavailable`}); } - } - if (slave.sisters > 0) { - if (availRelatives.sisters === 0) { - if (slave.sisters === 1) { - sexOptions.push({text: `Fuck ${him} with ${his} sister`, disabled: `${His} ${availRelatives.oneSisterRel} is unavailable`}); - } else { - sexOptions.push({text: `Fuck ${him} with one of ${his} sisters`, disabled: `${His} sisters are unavailable`}); - } + } else { + if (slave.daughters === 1) { + sexOptions.push({text: `Fuck ${him} with ${his} ${availRelatives.oneDaughterRel}`, scene: `FRelation`, update: {partner: "daughter"}}); } else { - if (slave.sisters === 1) { - sexOptions.push({text: `Fuck ${him} with ${his} ${availRelatives.oneSisterRel}`, scene: `FRelation`, update: {partner: "sister"}}); - } else { - sexOptions.push({text: `Fuck ${him} with one of ${his} sisters`, scene: `FRelation`, update: {partner: "sister"}}); - } - /* - if (availRelatives.sisters > 1) { - sexOptions.push({text: `Fuck ${him} with ${his} sisters`, scene: `FRelation`, update: {partner: "sisters}}); - } - */ + sexOptions.push({text: `Fuck ${him} with one of ${his} daughters`, scene: `FRelation`, update: {partner: "daughter"}}); } + /* + if (availRelatives.daughters > 1) { + sexOptions.push({text: `Fuck ${him} with ${his} daughters`, scene: `FRelation`, update: {partner: "daughter"}}); + } + */ } - } else { - if (slave.relation !== 0) { - let assayedSlave = getSlave(slave.relationTarget); - getPronouns(assayedSlave); // Update global pronouns and then save them. - const daughter2 = V.daughter; - const mother2 = V.mother; - const sister2 = V.sister; - getPronouns(slave); - if (isSlaveAvailable(assayedSlave)) { - if (slave.relation === "mother") { - sexOptions.push({text: `Fuck ${him} with ${his} ${daughter2}`, scene: `FRelation`, update: {partner: "relation"}}); - } else if (slave.relation === "daughter") { - sexOptions.push({text: `Fuck ${him} with ${his} ${mother2}`, scene: `FRelation`, update: {partner: "relation"}}); - } else if (slave.relation === "sister") { - sexOptions.push({text: `Fuck ${him} with ${his} ${sister2}`, scene: `FRelation`, update: {partner: "relation"}}); - } else if (slave.relation === "twin") { - sexOptions.push({text: `Fuck ${him} with ${his} twin`, scene: `FRelation`, update: {partner: "relation"}}); - } + } + if (slave.sisters > 0) { + if (availRelatives.sisters === 0) { + if (slave.sisters === 1) { + sexOptions.push({text: `Fuck ${him} with ${his} sister`, disabled: `${His} ${availRelatives.oneSisterRel} is unavailable`}); } else { - sexOptions.push({text: `Fuck ${him} with ${his} sibling`, disabled: `${assayedSlave.slaveName} is unavailable`}); + sexOptions.push({text: `Fuck ${him} with one of ${his} sisters`, disabled: `${His} sisters are unavailable`}); + } + } else { + if (slave.sisters === 1) { + sexOptions.push({text: `Fuck ${him} with ${his} ${availRelatives.oneSisterRel}`, scene: `FRelation`, update: {partner: "sister"}}); + } else { + sexOptions.push({text: `Fuck ${him} with one of ${his} sisters`, scene: `FRelation`, update: {partner: "sister"}}); + } + /* + if (availRelatives.sisters > 1) { + sexOptions.push({text: `Fuck ${him} with ${his} sisters`, scene: `FRelation`, update: {partner: "sisters}}); } + */ } } } diff --git a/src/js/SlaveState.js b/src/js/SlaveState.js index cf787f4df749f6cc223f12c5d1aa0ed129e451a3..aafa402ad7c7a3c7ed0e61791fba7a24384b15d1 100644 --- a/src/js/SlaveState.js +++ b/src/js/SlaveState.js @@ -477,14 +477,6 @@ App.Entity.SlaveState = class SlaveState { /** reason for prestige * @type {string|number} */ this.prestigeDesc = 0; - /** slave's relation to recruited slave? (used in some events) - * @type {string|number} */ - this.recruiter = 0; - /** relation to relationTarget - * @type {string|number} */ - this.relation = 0; - /** target of relation (ID) */ - this.relationTarget = 0; /** * slave's relationship * * -3: married to you diff --git a/src/js/assayJS.js b/src/js/assayJS.js index ec236ea84d327d62b8f4d99a82eb739caf2df4b6..e6b18003a77bd05a26788590267c107468ccebe9 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -150,26 +150,24 @@ window.newSlave = function newSlave(slave) { slave.canRecruit = 0; } - if (V.familyTesting === 1) { - slave.sisters = 0; - slave.daughters = 0; - if (slave.mother === -1 || slave.father === -1) { - V.PC.daughters += 1; - } - if (areSisters(V.PC, slave) > 0) { - V.PC.sisters += 1; - } - for (let k = 0; k < V.slaves.length; k++) { - if (V.slaves[k].mother === slave.ID || V.slaves[k].father === slave.ID) { - slave.daughters++; - } - if (slave.mother === V.slaves[k].ID || slave.father === V.slaves[k].ID) { - V.slaves[k].daughters++; - } - if (areSisters(V.slaves[k], slave) > 0) { - slave.sisters++; - V.slaves[k].sisters++; - } + slave.sisters = 0; + slave.daughters = 0; + if (slave.mother === -1 || slave.father === -1) { + V.PC.daughters += 1; + } + if (areSisters(V.PC, slave) > 0) { + V.PC.sisters += 1; + } + for (let k = 0; k < V.slaves.length; k++) { + if (V.slaves[k].mother === slave.ID || V.slaves[k].father === slave.ID) { + slave.daughters++; + } + if (slave.mother === V.slaves[k].ID || slave.father === V.slaves[k].ID) { + V.slaves[k].daughters++; + } + if (areSisters(V.slaves[k], slave) > 0) { + slave.sisters++; + V.slaves[k].sisters++; } } diff --git a/src/js/eventSelectionJS.js b/src/js/eventSelectionJS.js index 1a0f5f640b88699bd439294d13eed4a907c74aeb..bb069449f878905470ab6f60d961c5663a8bc68a 100644 --- a/src/js/eventSelectionJS.js +++ b/src/js/eventSelectionJS.js @@ -35,14 +35,8 @@ window.generateRandomEventPoolStandard = function(eventSlave) { if (eventSlave.lactation > 0) { if (eventSlave.nipples !== "fuckable") { if (eventSlave.rules.release.family === 1) { - if (State.variables.familyTesting === 0) { - if (eventSlave.relation === "mother") { - State.variables.RETSevent.push("incestuous nursing"); - } - } else { - if (eventSlave.daughters > 0) { - State.variables.RETSevent.push("incestuous nursing"); - } + if (eventSlave.daughters > 0) { + State.variables.RETSevent.push("incestuous nursing"); } } } @@ -1859,14 +1853,8 @@ window.generateRandomEventPoolServant = function(eventSlave) { if (eventSlave.lactation > 0) { if (eventSlave.nipples !== "fuckable") { if (eventSlave.rules.release.family === 1) { - if (State.variables.familyTesting === 0) { - if (eventSlave.relation === "mother") { - State.variables.RETSevent.push("incestuous nursing"); - } - } else { - if (eventSlave.daughters > 0) { - State.variables.RETSevent.push("incestuous nursing"); - } + if (eventSlave.daughters > 0) { + State.variables.RETSevent.push("incestuous nursing"); } } } diff --git a/src/js/extendedFamilyModeJS.js b/src/js/extendedFamilyModeJS.js index 0bb9465f9196e20c1d94b2338e4fee3242190450..11930ccaa147092c2ebd2b84dd70fb98d1bc3ee8 100644 --- a/src/js/extendedFamilyModeJS.js +++ b/src/js/extendedFamilyModeJS.js @@ -188,11 +188,7 @@ window.areCousins = function(slave1, slave2) { * @returns {boolean} */ window.areRelated = function(slave1, slave2) { - if (V.familyTesting === 1) { - return (slave1.father === slave2.ID || slave1.mother === slave2.ID || slave2.father === slave1.ID || slave2.mother === slave1.ID || areSisters(slave1, slave2) > 0); - } else { - return slave1.relationTarget === slave2.ID; - } + return (slave1.father === slave2.ID || slave1.mother === slave2.ID || slave2.father === slave1.ID || slave2.mother === slave1.ID || areSisters(slave1, slave2) > 0); }; /** @@ -409,73 +405,59 @@ window.totalPlayerRelatives = function(pc) { * @returns {string|null} - returns null if the slaves are not related, even distantly. */ window.relativeTerm = function(slave1, slave2) { - if (V.familyTesting === 1) { - if (slave2.mother === slave1.ID || slave2.father === slave1.ID) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "son"; - } else { - return "daughter"; - } - } else if (slave1.mother === slave2.ID && slave1.father === slave2.ID) { - return "sole parent"; - } else if (slave1.mother === slave2.ID) { - return "mother"; - } else if (slave1.father === slave2.ID) { - return "father"; - } else if (areSisters(slave2, slave1) === 1) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "twin brother"; - } else { - return "twin sister"; - } - } else if (areSisters(slave2, slave1) === 2) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "brother"; - } else { - return "sister"; - } - } else if (areSisters(slave2, slave1) === 3) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "half-brother"; - } else { - return "half-sister"; - } - } else if (isAunt(slave1, slave2)) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "nephew"; - } else { - return "niece"; - } - } else if (isAunt(slave2, slave1)) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "uncle"; - } else { - return "aunt"; - } - } else if (areCousins(slave2, slave1)) { - return "cousin"; - } else if (isGrandfatherP(slave1, slave2)) { - return "grandfather"; - } else if (isGrandmotherP(slave1, slave2)) { - return "grandmother"; - } else if (isGrandparentP(slave2, slave1)) { - if (slave2.genes === "XY" && V.diversePronouns) { - return "grandson"; - } else { - return "granddaughter"; - } + if (slave2.mother === slave1.ID || slave2.father === slave1.ID) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "son"; + } else { + return "daughter"; } - } else { - if (slave2.relationTarget === slave1.ID && slave2.relation !== 0) { - if (slave2.relation === "sister" || slave2.relation === "twin") { - let r = (slave1.actualAge === slave2.actualAge) ? "twin " : ""; - if (slave2.genes === "XY" && V.diversePronouns) { - return r + "brother"; - } else { - return r + "sister"; - } - } - return slave2.relation; + } else if (slave1.mother === slave2.ID && slave1.father === slave2.ID) { + return "sole parent"; + } else if (slave1.mother === slave2.ID) { + return "mother"; + } else if (slave1.father === slave2.ID) { + return "father"; + } else if (areSisters(slave2, slave1) === 1) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "twin brother"; + } else { + return "twin sister"; + } + } else if (areSisters(slave2, slave1) === 2) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "brother"; + } else { + return "sister"; + } + } else if (areSisters(slave2, slave1) === 3) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "half-brother"; + } else { + return "half-sister"; + } + } else if (isAunt(slave1, slave2)) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "nephew"; + } else { + return "niece"; + } + } else if (isAunt(slave2, slave1)) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "uncle"; + } else { + return "aunt"; + } + } else if (areCousins(slave2, slave1)) { + return "cousin"; + } else if (isGrandfatherP(slave1, slave2)) { + return "grandfather"; + } else if (isGrandmotherP(slave1, slave2)) { + return "grandmother"; + } else if (isGrandparentP(slave2, slave1)) { + if (slave2.genes === "XY" && V.diversePronouns) { + return "grandson"; + } else { + return "granddaughter"; } } @@ -491,21 +473,19 @@ window.resetFamilyCounters = function() { V.PC.daughters = 0; V.PC.sisters = 0; - if (V.familyTesting === 1) { - for (let slave of V.slaves) { - if (slave.mother === -1 || slave.father === -1) { - V.PC.daughters++; - } - if (areSisters(slave, V.PC)) { - V.PC.sisters++; + for (let slave of V.slaves) { + if (slave.mother === -1 || slave.father === -1) { + V.PC.daughters++; + } + if (areSisters(slave, V.PC)) { + V.PC.sisters++; + } + for (let otherSlave of V.slaves) { + if (isParentP(otherSlave, slave)) { + slave.daughters++; } - for (let otherSlave of V.slaves) { - if (isParentP(otherSlave, slave)) { - slave.daughters++; - } - if (areSisters(otherSlave, slave)) { - slave.sisters++; - } + if (areSisters(otherSlave, slave)) { + slave.sisters++; } } } @@ -517,14 +497,12 @@ window.resetFamilyCounters = function() { window.setMissingParents = function(slave) { function untraceableParentID(ID) { return ID === 0 || (ID < -1 && ID >= -20 && ID !== -3); } - if (V.familyTesting === 1) { - if (untraceableParentID(slave.mother)) { - slave.mother = V.missingParentID; - V.missingParentID--; - } - if (untraceableParentID(slave.father)) { - slave.father = V.missingParentID; - V.missingParentID--; - } + if (untraceableParentID(slave.mother)) { + slave.mother = V.missingParentID; + V.missingParentID--; + } + if (untraceableParentID(slave.father)) { + slave.father = V.missingParentID; + V.missingParentID--; } }; diff --git a/src/js/generateRelatedSlave.js b/src/js/generateRelatedSlave.js index fb4a6077896d2cbf18bd176f4b302e5cfb481e83..e29472e48c2787dc3b8ce9172f7625f04d2dc787 100644 --- a/src/js/generateRelatedSlave.js +++ b/src/js/generateRelatedSlave.js @@ -82,10 +82,7 @@ window.generateRelatedSlave = (function() { * @param {App.Entity.SlaveState} slave - the new twin */ function makeTwin(slave) { - if (!V.familyTesting) { - slave.relation = "twin"; - slave.relationTarget = sourceID; - } + /* twins are identical, change nothing. */ } /** @@ -93,11 +90,6 @@ window.generateRelatedSlave = (function() { * @param {App.Entity.SlaveState} slave - the new sibling */ function makeYoungerSibling(slave) { - if (!V.familyTesting) { - slave.relation = "sister"; - slave.relationTarget = sourceID; - } - // reduce age slave.actualAge -= random(2, 6); slave.actualAge = Math.max(slave.actualAge, V.minimumSlaveAge); @@ -116,11 +108,6 @@ window.generateRelatedSlave = (function() { * @param {App.Entity.SlaveState} slave - the new sibling */ function makeOlderSibling(slave) { - if (!V.familyTesting) { - slave.relation = "sister"; - slave.relationTarget = sourceID; - } - // increase age const maxDifference = (V.retirementAge - 1) - slave.actualAge; const ageDifference = Math.min(random(2, 6), maxDifference); @@ -137,13 +124,8 @@ window.generateRelatedSlave = (function() { * @param {App.Entity.SlaveState} slave - the new child */ function makeChild(slave) { - if (!V.familyTesting) { - slave.relation = "daughter"; - slave.relationTarget = sourceID; - } else { - slave.mother = slave.genes === "XX" ? sourceID : 0; - slave.father = slave.genes !== "XX" ? sourceID : 0; - } + slave.mother = slave.genes === "XX" ? sourceID : 0; + slave.father = slave.genes !== "XX" ? sourceID : 0; // select age const parentAge = slave.actualAge; @@ -180,13 +162,8 @@ window.generateRelatedSlave = (function() { * @param {App.Entity.SlaveState} slave - the new parent */ function makeParent(slave) { - if (!V.familyTesting) { - slave.relation = "mother"; // no fathers without family testing - slave.relationTarget = sourceID; - } else { - slave.mother = 0; - slave.father = 0; - } + slave.mother = 0; + slave.father = 0; // select age const childAge = slave.actualAge; @@ -195,10 +172,8 @@ window.generateRelatedSlave = (function() { if (maxAge < minAge) { throw "Cannot generate parent (slave too old)"; } - slave.actualAge = random(minAge, maxAge); - slave.visualAge = slave.actualAge; - slave.physicalAge = slave.actualAge; - slave.ovaryAge = slave.actualAge; + const targetAge = random(minAge, maxAge); + fastForward(slave, targetAge - childAge); slave.birthWeek = random(0, 51); // parent always has less devotion/trust diff --git a/src/js/heroCreator.js b/src/js/heroCreator.js index dd98d99813c31ae764e7367a36cf283f7f38cfb1..7eb32cce0592c7bdf9d358d0b9690763b6459e3d 100644 --- a/src/js/heroCreator.js +++ b/src/js/heroCreator.js @@ -28,11 +28,6 @@ App.Utils.buildHeroArray = function() { hero--; continue; } - if (V.familyTesting !== 1 && [900110, 900111].includes(array[hero].ID)) { - array.splice(hero, 1); - hero--; - continue; - } if (V.heroSlavesPurchased.includes(array[hero].ID)) { array.splice(hero, 1); hero--; @@ -138,41 +133,41 @@ App.Utils.getHeroSlave = function(heroSlave) { } SetBellySize(newSlave); - if (V.familyTesting === 1) { - /* special slaves exceptions to keep siblings sensible */ - if (newSlave.mother === -9999 && newSlave.father === -9998) { - /* The twins — Camille & Kennerly */ - for (let k = 0; k < V.slaves.length; k++) { - if (areSisters(V.slaves[k], newSlave) > 0) { - newSlave.actualAge = V.slaves[k].actualAge, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge, newSlave.birthWeek = V.slaves[k].birthWeek; - } + + /* special slaves exceptions to keep siblings sensible */ + if (newSlave.mother === -9999 && newSlave.father === -9998) { + /* The twins — Camille & Kennerly */ + for (let k = 0; k < V.slaves.length; k++) { + if (areSisters(V.slaves[k], newSlave) > 0) { + newSlave.actualAge = V.slaves[k].actualAge, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge, newSlave.birthWeek = V.slaves[k].birthWeek; } } - if (newSlave.mother === -9997 && newSlave.father === -9996) { - /* The siblings — Elisa & Martin */ - for (let k = 0; k < V.slaves.length; k++) { - if (areSisters(V.slaves[k], newSlave) > 0) { - if (newSlave.birthName === "Elisa") { - newSlave.actualAge = V.slaves[k].actualAge - 1, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; - } else if (newSlave.birthName === "Martin") { - newSlave.actualAge = V.slaves[k].actualAge + 1, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; - } + } + if (newSlave.mother === -9997 && newSlave.father === -9996) { + /* The siblings — Elisa & Martin */ + for (let k = 0; k < V.slaves.length; k++) { + if (areSisters(V.slaves[k], newSlave) > 0) { + if (newSlave.birthName === "Elisa") { + newSlave.actualAge = V.slaves[k].actualAge - 1, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; + } else if (newSlave.birthName === "Martin") { + newSlave.actualAge = V.slaves[k].actualAge + 1, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; } } } - if (newSlave.mother === -9995 && newSlave.father === -9994) { - /* The fruit siblings — Green & Purple Grape */ - for (let k = 0; k < V.slaves.length; k++) { - if (areSisters(V.slaves[k], newSlave) > 0) { - if (newSlave.birthName === "Green Grape") { - newSlave.actualAge = V.slaves[k].actualAge - 5, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; - } else if (newSlave.birthName === "Purple Grape") { - newSlave.actualAge = V.slaves[k].actualAge + 5, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; - } + } + if (newSlave.mother === -9995 && newSlave.father === -9994) { + /* The fruit siblings — Green & Purple Grape */ + for (let k = 0; k < V.slaves.length; k++) { + if (areSisters(V.slaves[k], newSlave) > 0) { + if (newSlave.birthName === "Green Grape") { + newSlave.actualAge = V.slaves[k].actualAge - 5, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; + } else if (newSlave.birthName === "Purple Grape") { + newSlave.actualAge = V.slaves[k].actualAge + 5, newSlave.physicalAge = newSlave.actualAge, newSlave.visualAge = newSlave.actualAge, newSlave.ovaryAge = newSlave.actualAge; } } } } + nationalityToAccent(newSlave); return newSlave; }; diff --git a/src/js/releaseRules.js b/src/js/releaseRules.js index 2f1775813bc17846822897fddd0abd4aa9e774b6..311efef96b96f3c125f2500fbb06cac613514682 100644 --- a/src/js/releaseRules.js +++ b/src/js/releaseRules.js @@ -38,11 +38,7 @@ App.Utils.hasFamilySex = function hasFamilySex(slave) { if (V.seeIncest === 0 || slave.rules.release.family === 0) { return false; } - if (V.familyTesting === 0 && slave.relationTarget > 0) { - return this.sexAllowed(slave, getSlave(slave.relationTarget)); - } else { // familyTesting === 1 - return jsDef(randomRelatedSlave(slave, (s) => { return this.sexAllowed(slave, s); })); - } + return jsDef(randomRelatedSlave(slave, (s) => this.sexAllowed(slave, s))); }; /** diff --git a/src/js/removeActiveSlave.js b/src/js/removeActiveSlave.js index 82882699038578c6b32da86e938e2283ca12d0c0..531734a5f0e4f1eec3bd925604cfbf5b8fb00c28 100644 --- a/src/js/removeActiveSlave.js +++ b/src/js/removeActiveSlave.js @@ -80,10 +80,6 @@ window.removeActiveSlave = function removeActiveSlave() { slave.sisters--; } } - if (slave.ID === V.activeSlave.relationTarget) { - slave.relation = 0; - slave.relationTarget = 0; - } if (slave.milkSource !== 0) { if (slave.milkSource === AS_ID) { slave.milkSource = 0; @@ -295,10 +291,6 @@ window.removeNonNGPSlave = function removeNonNGPSlave(removedSlave) { } missing = true; } - if (slave.ID === removedSlave.relationTarget) { - slave.relation = 0; - slave.relationTarget = 0; - } if (slave.milkSource !== 0) { if (slave.milkSource === ID) { slave.milkSource = 0; diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js index 32dbaf1e65a580c076e09c1630e5832989fd77c9..8e59ee1db15287618877f9d1199d83f108f4c054 100644 --- a/src/js/slaveCostJS.js +++ b/src/js/slaveCostJS.js @@ -1760,19 +1760,6 @@ window.FResultArray = (function() { }); } - /** - * @param {App.Entity.SlaveState} slave - */ - function calcWorksWithRelativesVanilla(slave) { - const fre = getSlave(slave.relationTarget); - if (fre !== undefined && sameAssignmentP(slave, fre)) { - adjustFResult(`Works with relative`, 2); - if (incestBonus) { - adjustFResult(`Works with relative: incest bonus`, 2); - } - } - } - /** * @param {App.Entity.SlaveState} slave */ @@ -1974,10 +1961,8 @@ window.FResultArray = (function() { */ function calcNotFuckdoll(slave, forSale=0) { if (!forSale) { - if (V.familyTesting === 1 && totalRelatives(slave) > 0) { + if (totalRelatives(slave) > 0) { calcWorksWithRelatives(slave); - } else if (!V.familyTesting && slave.relation !== 0) { - calcWorksWithRelativesVanilla(slave); } if (slave.relationship > 0) { calcWorksWithRelationship(slave); diff --git a/src/js/slaveSummaryWidgets.js b/src/js/slaveSummaryWidgets.js index 2e17e1723f30cda622b791f88625a3fb0fd1b610..a5b28aa5561a5c738c92c4416a49d313a728868f 100644 --- a/src/js/slaveSummaryWidgets.js +++ b/src/js/slaveSummaryWidgets.js @@ -191,19 +191,15 @@ window.SlaveSummary = (function() { if (slave.custom.label) { makeSpan(res, `${capFirstChar(slave.custom.label)}.`, ["yellow", "strong"]); } - if ((slave.relationship !== 0) || (slave.relation !== 0) || (V.abbreviateClothes === 2) || (V.abbreviateRulesets === 2)) { + if ((slave.relationship !== 0) || (V.abbreviateClothes === 2) || (V.abbreviateRulesets === 2)) { para = makeParagraph(res); } if (V.abbreviateMental === 1) { - makeSpan(para, V.familyTesting === 1 ? short_extended_family(slave) : short_legacy_family(slave), "lightgreen"); + makeSpan(para, short_extended_family(slave), "lightgreen"); short_clone(slave, para); short_rival(slave, para); } else if (V.abbreviateMental === 2) { - if (V.familyTesting === 1) { - long_extended_family(slave, para); - } else { - long_legacy_family(slave, para); - } + long_extended_family(slave, para); long_clone(slave, para); long_rival(slave, para); } @@ -3718,39 +3714,6 @@ window.SlaveSummary = (function() { return res; } - /** - * @param {App.Entity.SlaveState} slave - * @returns {string} - */ - function short_legacy_family(slave) { - let res = ""; - if (slave.relation !== 0) { - const _ssj = V.slaves.findIndex(s => s.ID === slave.relationTarget); - if (_ssj !== -1) { - res += `${SlaveFullName(V.slaves[_ssj])}'s ${slave.relation}`; - } - } - if (slave.relationship > 0) { - const _ssj = V.slaves.findIndex(s => s.ID === slave.relationshipTarget); - if (_ssj !== -1) { - const friendship = relationshipTerm(slave); - if (slave.relationshipTarget !== slave.relationTarget) { - res += `${SlaveFullName(V.slaves[_ssj])}'s`; - } else { - res += ` &`; - } - res += ` ${friendship}`; - } - } else if (slave.relationship === -3) { - res += `Your ${getPronouns(slave).wife}`; - } else if (slave.relationship === -2) { - res += `E Bonded`; - } else if (slave.relationship === -1) { - res += `E Slut`; - } - return res; - } - /** * @param {App.Entity.SlaveState} slave * @param {Node} c @@ -3921,48 +3884,6 @@ window.SlaveSummary = (function() { } } - /** - * @param {App.Entity.SlaveState} slave - * @param {Node} c - * @returns {void} - */ - function long_legacy_family(slave, c) { - const block = makeBlock(); - if (slave.relation !== 0) { - const _ssj = V.slaves.findIndex(s => s.ID === slave.relationTarget); - if (_ssj !== -1) { - addText(block, `${SlaveFullName(V.slaves[_ssj])}'s `); - if (slave.relationshipTarget !== slave.relationTarget) { - makeSpan(block, `${slave.relation}.`, "lightgreen"); - } else { - makeSpan(block, `${slave.relation}`, "lightgreen"); - } - } - } - if (slave.relationship > 0) { - const _ssj = V.slaves.findIndex(s => s.ID === slave.relationshipTarget); - if (_ssj !== -1) { - const friendship = relationshipTerm(slave); - if (slave.relationshipTarget !== slave.relationTarget) { - addText(block, `${SlaveFullName(V.slaves[_ssj])}'s `); - } else { - addText(block, `and `); - } - makeSpan(block, `${friendship}.`, "lightgreen"); - } - } else if (slave.relationship === -3) { - makeSpan(block, `Your ${getPronouns(slave).wife}.`, "lightgreen"); - } else if (slave.relationship === -2) { - makeSpan(block, "Emotionally bonded to you.", "lightgreen"); - } else if (slave.relationship === -1) { - makeSpan(block, "Emotional slut.", "lightgreen"); - } - - if (block.textContent.length > 0) { - c.appendChild(block); - } - } - /** * @param {App.Entity.SlaveState} slave * @param {Node} c diff --git a/src/js/storyJS.js b/src/js/storyJS.js index b01452d869efb475f502b19e51d32664c43c4e56..f4aed7f1e86f0236dcadaf8b977a2e0604062ddc 100644 --- a/src/js/storyJS.js +++ b/src/js/storyJS.js @@ -140,21 +140,6 @@ window.canFemImpreg = function(slave1, slave2) { } }; -/** - * @param {App.Entity.SlaveState} slave - * @returns {string|number} - */ -window.relationTargetWord = function(slave) { - if (!slave) { - return null; - } else if (slave.relation === "daughter") { - return "mother"; - } else if (slave.relation === "mother") { - return "daughter"; - } - return slave.relation; -}; - /** * @param {App.Entity.SlaveState} slave * @returns {number} diff --git a/src/npc/acquisition.tw b/src/npc/acquisition.tw index f2a91d8ee0aa8e11d916d026d630520a93aea28e..c12164096968d277520adcc6d89da5421a1dec4e 100644 --- a/src/npc/acquisition.tw +++ b/src/npc/acquisition.tw @@ -121,13 +121,40 @@ <</if>> <<set $PC.ovaryAge = $PC.physicalAge>> <</if>> -<<if $familyTesting == 1>> - <<set _pcMomFound = 0, _pcDadFound = 0>> - <<if def $slaveIndices[$PC.mother]>> - <<set _pcMomFound = 1>> +<<set _pcMomFound = 0, _pcDadFound = 0>> +<<if def $slaveIndices[$PC.mother]>> + <<set _pcMomFound = 1>> +<</if>> +<<if def $slaveIndices[$PC.father]>> + <<set _pcDadFound = 1>> +<</if>> +<<if _pcMomFound == 0 && $PC.mother > 0>> + <<set _lostMom = $PC.mother>> + <<set $PC.mother = $missingParentId>> + <<for _i = 0; _i < $slaves.length; _i++>> + <<if $slaves[_i].mother == _lostMom>> + <<set $slaves[_i].mother = $missingParentId>> + <</if>> + <</for>> + <<set $missingParentId-->> +<</if>> +<<if _pcDadFound == 0 && $PC.father > 0>> + <<set _lostDad = $PC.father>> + <<set $PC.father = $missingParentId>> + <<for _i = 0; _i < $slaves.length; _i++>> + <<if $slaves[_i].father == _lostDad>> + <<set $slaves[_i].father = $missingParentId>> + <</if>> + <</for>> + <<set $missingParentId-->> +<</if>> +<<for _i = 0; _i < $slaves.length; _i++>> + <<set _slaveMomFound = 0, _slaveDadFound = 0>> + <<if def $slaveIndices[$slaves[_i].mother]>> + <<set _slaveMomFound = 1>> <</if>> - <<if def $slaveIndices[$PC.father]>> - <<set _pcDadFound = 1>> + <<if def $slaveIndices[$slaves[_i].father]>> + <<set _slaveDadFound = 1>> <</if>> <<if _pcMomFound == 0 && $PC.mother > 0>> <<set _lostMom = $PC.mother>> @@ -149,36 +176,7 @@ <</for>> <<set $missingParentID-->> <</if>> - <<for _i = 0; _i < $slaves.length; _i++>> - <<set _slaveMomFound = 0, _slaveDadFound = 0>> - <<if def $slaveIndices[$slaves[_i].mother]>> - <<set _slaveMomFound = 1>> - <</if>> - <<if def $slaveIndices[$slaves[_i].father]>> - <<set _slaveDadFound = 1>> - <</if>> - <<if _slaveMomFound == 0 && $slaves[_i].mother > 0>> - <<set _lostMom = $slaves[_i].mother>> - <<set $slaves[_i].mother = $missingParentID>> - <<for _j = 0; _j < $slaves.length; _j++>> - <<if $slaves[_j].mother == _lostMom>> - <<set $slaves[_j].mother = $missingParentID>> - <</if>> - <</for>> - <<set $missingParentID-->> - <</if>> - <<if _slaveDadFound == 0 && $slaves[_i].father > 0>> - <<set _lostDad = $slaves[_i].father>> - <<set $slaves[_i].father = $missingParentID>> - <<for _j = 0; _j < $slaves.length; _j++>> - <<if $slaves[_j].father == _lostDad>> - <<set $slaves[_j].father = $missingParentID>> - <</if>> - <</for>> - <<set $missingParentID-->> - <</if>> - <</for>> -<</if>> +<</for>> <<if $plot == 1 && $neighboringArcologies > 0>> <<set _bestProsperity = 0, _bestProsperityIndex = 1>> <<for _acq = 1; _acq < $arcologies.length; _acq++>> @@ -809,20 +807,10 @@ The previous owner seems to have left in something of a hurry. <</if>> // -/* RELATIONSHIP MUTUALITY CHECK, OLDMENTAL */ - <<set $averageTrust = 0>> <<set $averageDevotion = 0>> <<set _slavesContributing = 0>> <<for $i = 0; $i < $slaves.length; $i++>> - <<if $slaves[$i].relation != 0>> - <<set $seed = $slaveIndices[$slaves[$i].relationTarget]>> - <<if (def $seed && $slaves[$seed].relationTarget != $slaves[$i].ID) || (ndef $seed)>> - <<set $slaves[$i].relation = 0>> - <<set $slaves[$i].relationTarget = 0>> - <<goto "Acquisition">> - <</if>> - <</if>> <<set $slaves[$i].oldDevotion = $slaves[$i].devotion>> <<set $slaves[$i].oldTrust = $slaves[$i].trust>> /* AVERAGE VALUES UPDATE */ diff --git a/src/npc/databases/cheatmodeDatabase.tw b/src/npc/databases/cheatmodeDatabase.tw index ec3c192f3e3df0623119475b8ccaba29074854a4..40bf844ea2cf60e8c06a9d869a8914bc19388dd5 100644 --- a/src/npc/databases/cheatmodeDatabase.tw +++ b/src/npc/databases/cheatmodeDatabase.tw @@ -2,7 +2,7 @@ <<set $activeSlave = BaseSlave()>> <<set _HS = clone($activeSlave)>> -<<set _HS.slaveName = "Miss Anne", _HS.birthName = "Lindy Anne", _HS.ID = 990000, _HS.relation = "mother", _HS.relationTarget = 990004, _HS.relationship = 4, _HS.relationshipTarget = 990001, _HS.rivalry = 1, _HS.rivalryTarget = 990002, _HS.assignment = "be your Head Girl", _HS.birthWeek = random(0,51), _HS.actualAge = 42, _HS.physicalAge = 42, _HS.visualAge = 42, _HS.ovaryAge = 42, _HS.ageImplant = 1, setHealth(_HS, 50), _HS.devotion = 100, _HS.height = 175, _HS.eye.origColor = "green", _HS.origHColor = "honey blonde", _HS.origSkin = "pale", _HS.hStyle = "long", _HS.waist = -55, _HS.boobs = 1000, _HS.boobsImplant = 600, _HS.boobsImplantType = "normal", _HS.areolae = 1, _HS.butt = 4, _HS.buttImplant = 2, _HS.buttImplantType = "normal", _HS.face = 55, _HS.lips = 35, _HS.anus = 1, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.oral = 100, _HS.skill.anal = 100, _HS.skill.whoring = 100, _HS.skill.entertainment = 100, _HS.clothes = "a slave gown", _HS.intelligence = 100, _HS.energy = 65, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.custom.tattoo = "'Miss Anne' is tattooed in lovely flowing script over $his collarbone.", _HS.custom.desc = "$He speaks with the rich accent of the Old South.">> +<<set _HS.slaveName = "Miss Anne", _HS.birthName = "Lindy Anne", _HS.ID = 990000, _HS.relationship = 4, _HS.relationshipTarget = 990001, _HS.rivalry = 1, _HS.rivalryTarget = 990002, _HS.assignment = "be your Head Girl", _HS.birthWeek = random(0,51), _HS.actualAge = 42, _HS.physicalAge = 42, _HS.visualAge = 42, _HS.ovaryAge = 42, _HS.ageImplant = 1, setHealth(_HS, 50), _HS.devotion = 100, _HS.height = 175, _HS.eye.origColor = "green", _HS.origHColor = "honey blonde", _HS.origSkin = "pale", _HS.hStyle = "long", _HS.waist = -55, _HS.boobs = 1000, _HS.boobsImplant = 600, _HS.boobsImplantType = "normal", _HS.areolae = 1, _HS.butt = 4, _HS.buttImplant = 2, _HS.buttImplantType = "normal", _HS.face = 55, _HS.lips = 35, _HS.anus = 1, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.oral = 100, _HS.skill.anal = 100, _HS.skill.whoring = 100, _HS.skill.entertainment = 100, _HS.clothes = "a slave gown", _HS.intelligence = 100, _HS.energy = 65, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.custom.tattoo = "'Miss Anne' is tattooed in lovely flowing script over $his collarbone.", _HS.custom.desc = "$He speaks with the rich accent of the Old South.">> <<if $seeDicks != 100>> <<set _HS.genes = "XX", _HS.vagina = 2, _HS.ovaries = 1, _HS.skill.vaginal = 100, _HS.pubertyXX = 1>> <<else>> @@ -13,7 +13,7 @@ //There are quite a few left; their names are _HS.slaveName,// <<set _HS = clone($activeSlave)>> -<<set _HS.slaveName = "Cornelia", _HS.birthName = "Cora", _HS.ID = 990001, _HS.relation = "mother", _HS.relationTarget = 990002, _HS.relationship = 4, _HS.relationshipTarget = 990000, _HS.assignment = "whore", _HS.birthWeek = random(0,51), _HS.actualAge = 36, _HS.physicalAge = 36, _HS.visualAge = 36, _HS.ovaryAge = 36, _HS.ageImplant = 1, setHealth(_HS, 10), _HS.devotion = 100, _HS.muscles = 20, _HS.height = 190, _HS.race = "black", _HS.origHColor = "black", _HS.pubicHColor = "black", _HS.origSkin = "dark", _HS.hStyle = "long", _HS.pubicHStyle = "waxed", _HS.waist = -55, _HS.boobs = 1200, _HS.boobsImplant = 1000, _HS.boobsImplantType = "fillable", _HS.areolae = 2, _HS.butt = 5, _HS.buttImplant = 3, _HS.buttImplantType = "fillable", _HS.preg = -2, _HS.face = 15, _HS.faceImplant = 65, _HS.lips = 35, _HS.lipsImplant = 10, _HS.anus = 2, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.oral = 100, _HS.skill.anal = 100, _HS.skill.whoring = 100, _HS.skill.entertainment = 100, _HS.clothes = "a slave gown", _HS.energy = 65, _HS.attrXX = 80, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.brand["left hand"] = "a large letter 'S'", _HS.custom.desc = "$He speaks with the demeaning accent of slaves from the Old South.">> +<<set _HS.slaveName = "Cornelia", _HS.birthName = "Cora", _HS.ID = 990001, _HS.relationship = 4, _HS.relationshipTarget = 990000, _HS.assignment = "whore", _HS.birthWeek = random(0,51), _HS.actualAge = 36, _HS.physicalAge = 36, _HS.visualAge = 36, _HS.ovaryAge = 36, _HS.ageImplant = 1, setHealth(_HS, 10), _HS.devotion = 100, _HS.muscles = 20, _HS.height = 190, _HS.race = "black", _HS.origHColor = "black", _HS.pubicHColor = "black", _HS.origSkin = "dark", _HS.hStyle = "long", _HS.pubicHStyle = "waxed", _HS.waist = -55, _HS.boobs = 1200, _HS.boobsImplant = 1000, _HS.boobsImplantType = "fillable", _HS.areolae = 2, _HS.butt = 5, _HS.buttImplant = 3, _HS.buttImplantType = "fillable", _HS.preg = -2, _HS.face = 15, _HS.faceImplant = 65, _HS.lips = 35, _HS.lipsImplant = 10, _HS.anus = 2, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.oral = 100, _HS.skill.anal = 100, _HS.skill.whoring = 100, _HS.skill.entertainment = 100, _HS.clothes = "a slave gown", _HS.energy = 65, _HS.attrXX = 80, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.brand["left hand"] = "a large letter 'S'", _HS.custom.desc = "$He speaks with the demeaning accent of slaves from the Old South.">> <<if $seeDicks != 0>> <<set _HS.genes = "XY", _HS.vagina = -1, _HS.dick = 3, _HS.balls = 3, _HS.scrotum = 3, _HS.foreskin = 3, _HS.prostate = 1, _HS.pubertyXY = 1>> <<else>> @@ -23,7 +23,7 @@ //_HS.slaveName,// <<set _HS = clone($activeSlave)>> -<<set _HS.slaveName = "Sheba", _HS.birthName = "Shaneequa", _HS.ID = 990002, _HS.relation = "daughter", _HS.relationTarget = 990001, _HS.rivalry = 1, _HS.rivalryTarget = 990000, _HS.assignment = "whore", _HS.birthWeek = random(0,51), _HS.actualAge = 19, _HS.physicalAge = 19, _HS.visualAge = 19, _HS.ovaryAge = 19, setHealth(_HS, 10), _HS.devotion = 12, _HS.height = 175, _HS.race = "black", _HS.pubicHColor = "black", _HS.origSkin = "brown", _HS.hStyle = "long", _HS.pubicHStyle = "waxed", _HS.waist = -55, _HS.boobs = 1600, _HS.boobsImplant = 600, _HS.boobsImplantType = "normal", _HS.nipplesPiercing = 1, _HS.areolae = 1, _HS.butt = 6, _HS.buttImplant = 2, _HS.buttImplantType = "normal", _HS.face = 55, _HS.faceImplant = 15, _HS.lips = 55, _HS.lipsImplant = 10, _HS.anus = 1, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.oral = 35, _HS.skill.anal = 35, _HS.skill.whoring = 35, _HS.skill.entertainment = 35, _HS.clothes = "a slave gown", _HS.energy = 100, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.brand["left hand"] = "a large letter 'S'", _HS.custom.desc = "$He speaks with the demeaning accent of slaves from the Old South.", _HS.mother = 990001>> +<<set _HS.slaveName = "Sheba", _HS.birthName = "Shaneequa", _HS.ID = 990002, _HS.rivalry = 1, _HS.rivalryTarget = 990000, _HS.assignment = "whore", _HS.birthWeek = random(0,51), _HS.actualAge = 19, _HS.physicalAge = 19, _HS.visualAge = 19, _HS.ovaryAge = 19, setHealth(_HS, 10), _HS.devotion = 12, _HS.height = 175, _HS.race = "black", _HS.pubicHColor = "black", _HS.origSkin = "brown", _HS.hStyle = "long", _HS.pubicHStyle = "waxed", _HS.waist = -55, _HS.boobs = 1600, _HS.boobsImplant = 600, _HS.boobsImplantType = "normal", _HS.nipplesPiercing = 1, _HS.areolae = 1, _HS.butt = 6, _HS.buttImplant = 2, _HS.buttImplantType = "normal", _HS.face = 55, _HS.faceImplant = 15, _HS.lips = 55, _HS.lipsImplant = 10, _HS.anus = 1, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.oral = 35, _HS.skill.anal = 35, _HS.skill.whoring = 35, _HS.skill.entertainment = 35, _HS.clothes = "a slave gown", _HS.energy = 100, _HS.attrXY = 40, _HS.fetishKnown = 1, _HS.brand["left hand"] = "a large letter 'S'", _HS.custom.desc = "$He speaks with the demeaning accent of slaves from the Old South.", _HS.mother = 990001>> <<if $seeDicks != 100>> <<set _HS.genes = "XX", _HS.vagina = 1, _HS.ovaries = 1, _HS.skill.vaginal = 35, _HS.pubertyXX = 1>> <<else>> @@ -33,7 +33,7 @@ //_HS.slaveName,// <<set _HS = clone($activeSlave)>> -<<set _HS.slaveName = "Cornflower", _HS.birthName = "Alysa", _HS.ID = 990003, _HS.relation = "daughter", _HS.relationTarget = 990005, _HS.relationship = 3, _HS.relationshipTarget = 990005, _HS.assignment = "get milked", _HS.birthWeek = random(0,51), setHealth(_HS, 20), _HS.devotion = 12, _HS.muscles = 50, _HS.height = 190, _HS.race = "black", _HS.origHColor = "black", _HS.pubicHColor = "black", _HS.origSkin = "brown", _HS.hLength = 0, _HS.hStyle = "shaved bald", _HS.pubicHStyle = "waxed", _HS.waist = -100, _HS.heels = 1, _HS.voice = 0, _HS.boobs = 6000, _HS.nipples = "huge", _HS.areolae = 2, _HS.boobsTat = "bovine patterns", _HS.lactation = 2, _HS.lactationDuration = 2, _HS.butt = 3, _HS.buttTat = "bovine patterns", _HS.face = 15, _HS.lips = 35, _HS.lipsTat = "bovine patterns", _HS.anus = 3, _HS.anusTat = "bovine patterns", _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.nosePiercing = 2, _HS.shouldersTat = "bovine patterns", _HS.armsTat = "bovine patterns", _HS.legsTat = "bovine patterns", _HS.stampTat = "bovine patterns", _HS.skill.oral = 15, _HS.skill.anal = 35, _HS.energy = 65, _HS.attrXY = 40, _HS.fetish = "boobs", _HS.fetishKnown = 1, _HS.custom.tattoo = "A pretty blue cornflower is tattooed on each of $his cheeks.", _HS.custom.desc = "$He once spoke with the demeaning accent of slaves from the Old South.", _HS.mother = 990005>> +<<set _HS.slaveName = "Cornflower", _HS.birthName = "Alysa", _HS.ID = 990003, _HS.relationship = 3, _HS.relationshipTarget = 990005, _HS.assignment = "get milked", _HS.birthWeek = random(0,51), setHealth(_HS, 20), _HS.devotion = 12, _HS.muscles = 50, _HS.height = 190, _HS.race = "black", _HS.origHColor = "black", _HS.pubicHColor = "black", _HS.origSkin = "brown", _HS.hLength = 0, _HS.hStyle = "shaved bald", _HS.pubicHStyle = "waxed", _HS.waist = -100, _HS.heels = 1, _HS.voice = 0, _HS.boobs = 6000, _HS.nipples = "huge", _HS.areolae = 2, _HS.boobsTat = "bovine patterns", _HS.lactation = 2, _HS.lactationDuration = 2, _HS.butt = 3, _HS.buttTat = "bovine patterns", _HS.face = 15, _HS.lips = 35, _HS.lipsTat = "bovine patterns", _HS.anus = 3, _HS.anusTat = "bovine patterns", _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.nosePiercing = 2, _HS.shouldersTat = "bovine patterns", _HS.armsTat = "bovine patterns", _HS.legsTat = "bovine patterns", _HS.stampTat = "bovine patterns", _HS.skill.oral = 15, _HS.skill.anal = 35, _HS.energy = 65, _HS.attrXY = 40, _HS.fetish = "boobs", _HS.fetishKnown = 1, _HS.custom.tattoo = "A pretty blue cornflower is tattooed on each of $his cheeks.", _HS.custom.desc = "$He once spoke with the demeaning accent of slaves from the Old South.", _HS.mother = 990005>> <<if $seeDicks != 100>> <<set _HS.genes = "XX", _HS.vagina = 1, _HS.vaginaTat = "bovine patterns", _HS.ovaries = 1, _HS.skill.vaginal = 15, _HS.pubertyXX = 1>> <<else>> @@ -43,7 +43,7 @@ //_HS.slaveName,// <<set _HS = clone($activeSlave)>> -<<set _HS.slaveName = "Miss Lily", _HS.birthName = "Lillian", _HS.ID = 990004, _HS.relation = "daughter", _HS.relationTarget = 990000, _HS.assignment = "guard you", _HS.birthWeek = random(0,51), setHealth(_HS, 20), _HS.devotion = 30, _HS.muscles = 50, _HS.height = 175, _HS.eye.origColor = "green", _HS.origHColor = "straw blonde", _HS.origSkin = "pale", _HS.hLength = 40, _HS.hStyle = "in a short ponytail", _HS.waist = -55, _HS.boobs = 600, _HS.butt = 3, _HS.face = 15, _HS.lips = 35, _HS.preg = -2, _HS.anus = 2, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.anal = 35, _HS.skill.combat = 1, _HS.energy = 65, _HS.attrXY = 40, _HS.fetish = "buttslut", _HS.fetishKnown = 1, _HS.custom.tattoo = "'Miss Lily' is tattooed in lovely flowing script over $his collarbone.", _HS.custom.desc = "$He once spoke with the rich accent of the Old South.", _HS.mother = 990000>> +<<set _HS.slaveName = "Miss Lily", _HS.birthName = "Lillian", _HS.ID = 990004, _HS.assignment = "guard you", _HS.birthWeek = random(0,51), setHealth(_HS, 20), _HS.devotion = 30, _HS.muscles = 50, _HS.height = 175, _HS.eye.origColor = "green", _HS.origHColor = "straw blonde", _HS.origSkin = "pale", _HS.hLength = 40, _HS.hStyle = "in a short ponytail", _HS.waist = -55, _HS.boobs = 600, _HS.butt = 3, _HS.face = 15, _HS.lips = 35, _HS.preg = -2, _HS.anus = 2, _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.skill.anal = 35, _HS.skill.combat = 1, _HS.energy = 65, _HS.attrXY = 40, _HS.fetish = "buttslut", _HS.fetishKnown = 1, _HS.custom.tattoo = "'Miss Lily' is tattooed in lovely flowing script over $his collarbone.", _HS.custom.desc = "$He once spoke with the rich accent of the Old South.", _HS.mother = 990000>> <<if $seeDicks != 100>> <<set _HS.genes = "XX", _HS.ovaries = 1, _HS.pubertyXX = 1>> <<else>> @@ -54,7 +54,7 @@ //_HS.slaveName,// <<set _HS = clone($activeSlave)>> -<<set _HS.slaveName = "Lilac", _HS.birthName = "Lillian", _HS.ID = 990005, _HS.relation = "mother", _HS.relationTarget = 990003, _HS.relationship = 3, _HS.relationshipTarget = 990003, _HS.assignment = "get milked", _HS.birthWeek = random(0,51), _HS.actualAge = 36, _HS.physicalAge = 36, _HS.visualAge = 36, _HS.ovaryAge = 36, setHealth(_HS, 20), _HS.devotion = 12, _HS.muscles = 50, _HS.height = 190, _HS.race = "black", _HS.origHColor = "black", _HS.pubicHColor = "black", _HS.origSkin = "brown", _HS.hLength = 0, _HS.hStyle = "shaved bald", _HS.pubicHStyle = "waxed", _HS.waist = -55, _HS.heels = 1, _HS.boobs = 8000, _HS.nipples = "huge", _HS.areolae = 2, _HS.boobsTat = "bovine patterns", _HS.lactation = 2, _HS.lactationDuration = 2, _HS.butt = 4, _HS.buttTat = "bovine patterns", _HS.face = 15, _HS.lips = 35, _HS.lipsTat = "bovine patterns", _HS.anus = 3, _HS.anusTat = "bovine patterns", _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.nosePiercing = 2, _HS.shouldersTat = "bovine patterns", _HS.armsTat = "bovine patterns", _HS.legsTat = "bovine patterns", _HS.stampTat = "bovine patterns", _HS.skill.oral = 15, _HS.skill.anal = 35, _HS.energy = 65, _HS.attrXY = 40, _HS.fetish = "boobs", _HS.fetishKnown = 1, _HS.custom.tattoo = "A pretty purple lilac is tattooed on each of $his cheeks.", _HS.custom.desc = "$He once spoke with the demeaning accent of slaves from the Old South.">> +<<set _HS.slaveName = "Lilac", _HS.birthName = "Lillian", _HS.ID = 990005, _HS.relationship = 3, _HS.relationshipTarget = 990003, _HS.assignment = "get milked", _HS.birthWeek = random(0,51), _HS.actualAge = 36, _HS.physicalAge = 36, _HS.visualAge = 36, _HS.ovaryAge = 36, setHealth(_HS, 20), _HS.devotion = 12, _HS.muscles = 50, _HS.height = 190, _HS.race = "black", _HS.origHColor = "black", _HS.pubicHColor = "black", _HS.origSkin = "brown", _HS.hLength = 0, _HS.hStyle = "shaved bald", _HS.pubicHStyle = "waxed", _HS.waist = -55, _HS.heels = 1, _HS.boobs = 8000, _HS.nipples = "huge", _HS.areolae = 2, _HS.boobsTat = "bovine patterns", _HS.lactation = 2, _HS.lactationDuration = 2, _HS.butt = 4, _HS.buttTat = "bovine patterns", _HS.face = 15, _HS.lips = 35, _HS.lipsTat = "bovine patterns", _HS.anus = 3, _HS.anusTat = "bovine patterns", _HS.makeup = 1, _HS.nails = 1, _HS.earPiercing = 1, _HS.nosePiercing = 2, _HS.shouldersTat = "bovine patterns", _HS.armsTat = "bovine patterns", _HS.legsTat = "bovine patterns", _HS.stampTat = "bovine patterns", _HS.skill.oral = 15, _HS.skill.anal = 35, _HS.energy = 65, _HS.attrXY = 40, _HS.fetish = "boobs", _HS.fetishKnown = 1, _HS.custom.tattoo = "A pretty purple lilac is tattooed on each of $his cheeks.", _HS.custom.desc = "$He once spoke with the demeaning accent of slaves from the Old South.">> <<if $seeDicks != 100>> <<set _HS.genes = "XX", _HS.vagina = 1, _HS.vaginaTat = "bovine patterns", _HS.ovaries = 1, _HS.skill.vaginal = 15, _HS.pubertyXX = 1>> <<else>> diff --git a/src/npc/interaction/fFeelings.tw b/src/npc/interaction/fFeelings.tw index 30631c8d6184d06e9c4910aaf75d16b955c6de75..02a1f016a4ec24cd89d83776df58fb541f7f9d6c 100644 --- a/src/npc/interaction/fFeelings.tw +++ b/src/npc/interaction/fFeelings.tw @@ -1232,8 +1232,6 @@ My favorite part of my body i<<s>> I — I'm fucking my <<sister 2>>," $he bursts out, blushing even harder. "It'<<s>> <<s>>o fucking wrong, but <<he 2>>'<<s>> <<s>>o hot, I can't <<s>>top. <<elseif areSisters(getSlave($AS), $slaves[_partner]) == 3>> I — I'm fucking my half-<<sister 2>>," $he bursts out, blushing even harder. "It'<<s>> <<s>>o fucking wrong, but <<he 2>>'<<s>> <<s>>o hot, I can't <<s>>top. - <<elseif (getSlave($AS).relation != 0) && ($slaves[_partner].ID == getSlave($AS).relationTarget)>> - I — I'm fucking my <<if (getSlave($AS).relation == "mother")>><<daughter 2>><<elseif (getSlave($AS).relation == "daughter")>>mother<<else>>getSlave($AS).relation<</if>>," $he bursts out, blushing even harder. "It'<<s>> <<s>>o fucking wrong, but <<if (getSlave($AS).relation == "mother")>><<he 2>> ha<<s>> <<s>>uch a hot little body<<elseif (getSlave($AS).relation == "daughter")>><<he 2>>'<<s>> <<s>>uch a hot MILF<<else>><<he 2>>'<<s>> <<s>>o hot<</if>>, I can't <<s>>top. <<elseif (getSlave($AS).actualAge + 14) < $slaves[_partner].actualAge>> <<He 2>>'<<s>> old enough to be my mother." $He looks down, blushing a little harder. "But I'm lucky, <<he 2>>'<<s>> <<s>>uch a hot MILF. <<elseif (getSlave($AS).actualAge - 14) > $slaves[_partner].actualAge>> diff --git a/src/npc/interaction/fSlaveFeed.tw b/src/npc/interaction/fSlaveFeed.tw index 88a2de4a90bffa29b8ec324e0335ad0fa7e73273..cf62f44f5dec021085e89ab51997040b01eb3289 100644 --- a/src/npc/interaction/fSlaveFeed.tw +++ b/src/npc/interaction/fSlaveFeed.tw @@ -66,17 +66,6 @@ The first necessary step is to prepare the milk cow and _his2 udders. <<elseif areSisters(getSlave($AS), $milkTap) == 3>> This is slightly difficult, as $milkTap.slaveName is uncomfortable getting so intimate with _his2 <<print relativeTerm($milkTap, getSlave($AS))>>. <<if $milkTap.lactation > 1>>_His2 excessive milk production quickly leaves _him2 eager for release<<else>>It takes some coaxing and kneading to get _his2 milk flowing and _him2 eager for relief<</if>>. -<<elseif $milkTap.relationTarget == getSlave($AS).ID>> - <<if $milkTap.relation == "twin">> - This is easy enough, as $milkTap.slaveName wants _his2 <<print relativeTerm($milkTap, getSlave($AS))>> to try _his2 milk, but only if $he can taste _hers2 too. <<if $milkTap.lactation > 1>>_he2 is practically gushing milk with excitement<<else>>It takes minimal effort to get _his2 milk flowing<</if>>. - <<elseif $milkTap.relation == "sister">> - This is moderately tough, as $milkTap.slaveName is uncomfortable getting so intimate with _his2 <<print relativeTerm($milkTap, getSlave($AS))>>. <<if $milkTap.lactation > 1>>_His2 excessive milk production quickly leaves _his2 eager for release<<else>>It takes some coaxing and kneading to get _his2 milk flowing and _his2 eager for relief<</if>>. - <<elseif $milkTap.relation == "mother">> - This is easy enough, as $milkTap.slaveName fondly remembers nursing _his2 <<print relativeTerm($milkTap, getSlave($AS))>>. <<if $milkTap.lactation > 1>>$he is practically gushing milk with nostalgia<<else>>It takes minimal effort to get _his2 milk flowing<</if>>. - <<elseif $milkTap.relation == "daughter">> - This is moderately tough, as $milkTap.slaveName finds it awkward to nurse _his2 own <<print relativeTerm($milkTap, getSlave($AS))>>. <<if $milkTap.lactation > 1>>_His2 excessive milk production quickly leaves _him2 eager for release<<else>>It takes some coaxing and kneading to get _his2 milk flowing and _him2 eager for relief<</if>>. - <</if>> - <<elseif ($milkTap.lactation > 1) && ($milkTap.devotion >= -20)>> Since $milkTap.slaveName produces so much milk, _he2 eagerly accepts any source of relief _he2 can manage. @@ -139,17 +128,6 @@ Next, you see to <<= getSlave($AS).slaveName>>. <<elseif areSisters(getSlave($AS), $milkTap) == 3>> $He hesitatingly lowers $himself to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple. -<<elseif getSlave($AS).relationTarget == $milkTap.ID>> - <<if getSlave($AS).relation == "twin">> - $He readily gets in position to <<if canTaste(getSlave($AS))>>taste<<else>>suckle from<</if>> $his <<print relativeTerm(getSlave($AS), $milkTap)>><<if getSlave($AS).lactation > 0>> while coaxing $his own milk to flow<</if>>. - <<elseif getSlave($AS).relation == "sister">> - $He hesitatingly lowers $himself to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple. - <<elseif getSlave($AS).relation == "mother">> - $He awkwardly brings $his lips to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple. - <<elseif getSlave($AS).relation == "daughter">> - $He draws close to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipples, trying to remember if $he once had a favorite. - <</if>> - <<elseif (getSlave($AS).fetish == "boobs") && (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).devotion >= -20)>> $He can't wait to <<if hasBothArms(getSlave($AS))>>wrap $his hands around<<else>>get between<</if>> $milkTap.slaveName's massive milky breasts and eagerly approaches $his nipples to suckle. @@ -210,17 +188,6 @@ Next, you see to <<= getSlave($AS).slaveName>>. <<elseif areSisters(getSlave($AS), $milkTap) == 3>> $milkTap.slaveName moans lewdly as _his2 <<print relativeTerm($milkTap, getSlave($AS))>> suckles from _his2 breasts. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. -<<elseif $milkTap.relationTarget == getSlave($AS).ID>> - <<if $milkTap.relation == "twin">> - $milkTap.slaveName sighs contently as _his2 <<print relativeTerm($milkTap, getSlave($AS))>> suckles from _his2 breasts. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <<elseif $milkTap.relation == "sister">> - $milkTap.slaveName moans lewdly as _his2 <<if $milkTap.actualAge >= getSlave($AS).actualAge>>little<<else>>big<</if>> <<print relativeTerm($milkTap, getSlave($AS))>> suckles from _his2 breasts. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <<elseif $milkTap.relation == "mother">> - $milkTap.slaveName sighs contently as _his2 little $girl once again suckles from _his2 breasts. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his mother's nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with milk. $He pops off $his mother's nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with milk. $He pops off $his mother's nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <<elseif $milkTap.relation == "daughter">> - $milkTap.slaveName moans lewdly as $he enjoys some role reversal as _his2 mother suckles from _his2 breasts. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with milk. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s nipple and settles into _his2 breasts for a short rest while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <</if>> - <<elseif (getSlave($AS).devotion < -20) && ($milkTap.devotion < -20)>> Since you have two restrained and unwilling slaves, the work of milking $milkTap.slaveName's breasts falls to you. That doesn't mean you can't have fun doing it though. <<if canDoVaginal($milkTap)>> @@ -422,17 +389,6 @@ The first necessary step is to prepare the cum slave and $his cock and balls. <<elseif areSisters(getSlave($AS), $milkTap) == 3>> This is moderately tough, as $milkTap.slaveName is uncomfortable getting so intimate with _his2 <<print relativeTerm($milkTap, getSlave($AS))>>, but _he2 can't really complain about getting _his2 overfilled nuts drained. -<<elseif $milkTap.relationTarget == getSlave($AS).ID>> - <<if $milkTap.relation == "twin">> - This is moderately tough, as $milkTap.slaveName is uncomfortable getting so intimate with _his2 <<print relativeTerm($milkTap, getSlave($AS))>><<if $milkTap.energy >= 95>>, though as a nymphomaniac, the thought of someone who looks so much like _his2 is a major turn on<<else>> but _he2 can't really complain about getting _his2 overfilled nuts drained<</if>>. - <<elseif $milkTap.relation == "sister">> - This is moderately tough, as $milkTap.slaveName is uncomfortable getting so intimate with _his2 <<print relativeTerm($milkTap, getSlave($AS))>>, but _he2 can't really complain about getting _his2 overfilled nuts drained. - <<elseif $milkTap.relation == "mother">> - This is tough, as $milkTap.slaveName is very uncomfortable having _his2 dick sucked by _his2 <<print relativeTerm($milkTap, getSlave($AS))>>, but _he2 can't really complain about getting _his2 overfilled nuts drained. - <<elseif $milkTap.relation == "daughter">> - This is moderately tough, as $milkTap.slaveName is very uncomfortable having _his2 dick sucked by _his2 own <<print relativeTerm($milkTap, getSlave($AS))>>, but _he2 can't really complain about getting _his2 overfilled nuts drained. - <</if>> - <<elseif ($milkTap.fetish == "cumslut") && ($milkTap.fetishKnown == 1) && ($milkTap.fetishStrength > 60) && ($milkTap.devotion >= -20)>> This is very easy, since $milkTap.slaveName loves blasting loads whenever _he2 can, and it is just a bonus to _his2 that _he2 gets a blowjob in the process. @@ -515,17 +471,6 @@ Next, you see to <<= getSlave($AS).slaveName>>. <<elseif areSisters(getSlave($AS), $milkTap) == 3>> $He hesitatingly lowers $himself to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock. -<<elseif getSlave($AS).relationTarget == $milkTap.ID>> - <<if getSlave($AS).relation == "twin">> - $He gets in position to suck $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s dick. - <<elseif getSlave($AS).relation == "sister">> - $He hesitatingly lowers $himself to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock. - <<elseif getSlave($AS).relation == "mother">> - $He awkwardly brings $his lips to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock. - <<elseif getSlave($AS).relation == "daughter">> - $He awkwardly brings $his lips to $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock. - <</if>> - <<elseif (getSlave($AS).fetish == "cumslut") && (getSlave($AS).fetishKnown == 1) && (getSlave($AS).fetishStrength > 60) && (getSlave($AS).devotion >= -20)>> $He can't wait to wrap $his lips around $milkTap.slaveName's cock and balloon with cum, so $he eagerly approaches the waiting shaft. @@ -586,17 +531,6 @@ Next, you see to <<= getSlave($AS).slaveName>>. <<elseif areSisters(getSlave($AS), $milkTap) == 3>> $milkTap.slaveName moans lewdly as _his2 <<print relativeTerm($milkTap, getSlave($AS))>> sucks _his2 dick. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger with each orgasm until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. -<<elseif $milkTap.relationTarget == getSlave($AS).ID>> - <<if $milkTap.relation == "twin">> - $milkTap.slaveName moans lewdly as _his2 <<print relativeTerm($milkTap, getSlave($AS))>> <<print relativeTerm($milkTap, getSlave($AS))>> sucks _his2 off. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger with each orgasm until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <<elseif $milkTap.relation == "sister">> - $milkTap.slaveName moans lewdly as _his2 <<if $milkTap.actualAge >= getSlave($AS).actualAge>>little<<else>>big<</if>> <<print relativeTerm($milkTap, getSlave($AS))>> energetically sucks _his2 dick. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger with each orgasm until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <<elseif $milkTap.relation == "mother">> - $milkTap.slaveName moans lewdly as _his2 <<print relativeTerm($milkTap, getSlave($AS))>> energetically sucks _his2 dick. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger with each orgasm until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his mother's cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with cum. $He pops off $his mother's cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with cum. $He pops off $his mother's cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <<elseif $milkTap.relation == "daughter">> - $milkTap.slaveName moans lewdly as _his2 mother energetically sucks _his2 dick. You enjoy the show, specifically the sight of <<= getSlave($AS).slaveName>>'s belly steadily growing larger with each orgasm until <<if getSlave($AS).inflation == 3>>$his belly is round and taut, making $him look pregnant. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and rubbing $his gurgling stomach<</if>><<elseif getSlave($AS).inflation == 2>>$his belly is round, jiggling and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his wobbling, gurgling stomach<</if>><<elseif getSlave($AS).inflation == 1>>$his belly is distended and sloshing with cum. $He pops off $his <<print relativeTerm(getSlave($AS), $milkTap)>>'s cock and takes a seat facing the smiling $milkTap.slaveName while hiccupping<<if hasAnyArms(getSlave($AS))>> and teasing $his gurgling stomach<</if>><</if>>. - <</if>> - <<elseif (getSlave($AS).devotion < -20) && ($milkTap.devotion < -20)>> Since you have two restrained and unwilling slaves, though $milkTap.slaveName's twitching penis betrays _him2, you are going to have to take an active role in forcing <<= getSlave($AS).slaveName>> to suck. <<if canDoVaginal(getSlave($AS))>> diff --git a/src/npc/interaction/passage/fSlaveImpreg.tw b/src/npc/interaction/passage/fSlaveImpreg.tw index edad7ecbaa72ff8de6cec0d3b79d522ea1131ca8..2e5015ba3a3ad1eaa041c0ec9d333f8e9b7fb068 100644 --- a/src/npc/interaction/passage/fSlaveImpreg.tw +++ b/src/npc/interaction/passage/fSlaveImpreg.tw @@ -17,7 +17,7 @@ <<if _eligibles[_i].custom.label>> (@@.yellow;''<<print _eligibles[_i].custom.label>>''@@) <</if>> - <<if $familyTesting == 1 && totalRelatives(getSlave($AS)) > 0>> + <<if totalRelatives(getSlave($AS)) > 0>> <<set _relTerm = relativeTerm(getSlave($AS), _eligibles[_i])>> <<if _relTerm != null>> @@.lightgreen;<<= capFirstChar(_relTerm)>>@@ diff --git a/src/npc/interaction/passage/fSlaveSlaveDick.tw b/src/npc/interaction/passage/fSlaveSlaveDick.tw index 2c7c812818a5521a00d9e5df1eafa3312aeb0cfb..31db8f4c7b6fd025d05c7f441aa72e88e82105ce 100644 --- a/src/npc/interaction/passage/fSlaveSlaveDick.tw +++ b/src/npc/interaction/passage/fSlaveSlaveDick.tw @@ -17,7 +17,7 @@ <<if (canImpreg(_eligibles[_i], $activeSlave))>> @@.green;Fertile@@ <</if>> - <<if $familyTesting == 1 && totalRelatives($activeSlave) > 0>> + <<if totalRelatives($activeSlave) > 0>> <<set _relTerm = relativeTerm($activeSlave, _eligibles[_i])>> <<if _relTerm != null>> @@.lightgreen;<<= capFirstChar(_relTerm)>>@@ diff --git a/src/npc/interaction/passage/fSlaveSlaveVag.tw b/src/npc/interaction/passage/fSlaveSlaveVag.tw index d8ea69c24c01974f06bec6015dea5498f326903c..322dd7590a6fe5b6526ce23802517f2296dc0c6f 100644 --- a/src/npc/interaction/passage/fSlaveSlaveVag.tw +++ b/src/npc/interaction/passage/fSlaveSlaveVag.tw @@ -18,7 +18,7 @@ <<if (canImpreg($activeSlave, _eligibles[_i]))>> @@.green;Virile@@ <</if>> - <<if $familyTesting == 1 && totalRelatives($activeSlave) > 0>> + <<if totalRelatives($activeSlave) > 0>> <<set _relTerm = relativeTerm($activeSlave, _eligibles[_i])>> <<if _relTerm != null>> @@.lightgreen;<<= capFirstChar(_relTerm)>>@@ diff --git a/src/npc/rgASDump.tw b/src/npc/rgASDump.tw index 6ef9082854bcedff26ca6ffcb6e619515c0d73ce..34b8a3bfa53cbf209cf50e4c0a80af63c7322346 100644 --- a/src/npc/rgASDump.tw +++ b/src/npc/rgASDump.tw @@ -4,30 +4,6 @@ <<run startingGirlCleanup($activeSlave)>> -/* RECRUITERS */ - -<<if $familyTesting == 1>> - <<if $activeSlave.canRecruit == 1>> - /*<<set $recruiters.push($activeSlave)>>*/ - <</if>> -<<else>> - -<<if ($activeSlave.relation == 0)>> - <<if random(1,100) <= 5>> - <<set $activeSlave.recruiter = "twin">> - <<elseif ($activeSlave.actualAge > 32) && (random(1,100) <= 41)>> - <<set $activeSlave.recruiter = "mother">> - <<elseif ($activeSlave.actualAge < 24) && (random(1,100) <= 40)>> - <<set $activeSlave.recruiter = "daughter">> - <<elseif ($activeSlave.actualAge < 43) && (random(1,100) <= 20)>> - <<set $activeSlave.recruiter = "older sister">> - <<elseif ($activeSlave.actualAge < 25) && ($activeSlave.actualAge > 18) && (random(1,100) <= 20)>> - <<set $activeSlave.recruiter = "young sister">> - <</if>> -<</if>> - -<</if>> - <<set _i = $slaveIndices[_ID]>> <<if def _i>> <<set $slaves[_i] = $activeSlave>> diff --git a/src/npc/slaveStats.tw b/src/npc/slaveStats.tw index 689bb69975696b6c889cd0c207319fdfd5c852aa..efc6b9785b4fc7e913e790702fd28e1d8f17d102 100644 --- a/src/npc/slaveStats.tw +++ b/src/npc/slaveStats.tw @@ -474,8 +474,6 @@ Income: <<= num($activeSlave.lastWeeksRepIncome)>> <br><br> <h2>Relationships</h2> <br>Rules: $activeSlave.rules.relationship - <br>Relation: $activeSlave.relation, - Target: $activeSlave.relationTarget <br>Relationship: $activeSlave.relationship, Target: $activeSlave.relationshipTarget <br>Rivalry: $activeSlave.rivalry, @@ -515,7 +513,6 @@ Income: <<= num($activeSlave.lastWeeksRepIncome)>> <div id="Misc" class="tabcontent"> <div class="content"> - <br>Recruiter: $activeSlave.recruiter <br>Deadliness <<print Deadliness($activeSlave)>> <br>Count: Penetrative: $activeSlave.counter.penetrative, Public: $activeSlave.counter.publicUse diff --git a/src/npc/startingGirls/commitStartingGirl.tw b/src/npc/startingGirls/commitStartingGirl.tw index 122e48bb76e38a00e55f2ab071a27431d2fe1d07..48d43afc92e4d3bd127277122f5d1d002e1b69e6 100644 --- a/src/npc/startingGirls/commitStartingGirl.tw +++ b/src/npc/startingGirls/commitStartingGirl.tw @@ -24,133 +24,106 @@ <<set $activeSlave = clone($activeSlave)>> <<set $activeSlave.ID = generateSlaveID()>> <<run nationalityToName($activeSlave), randomizeUnknowns($activeSlave)>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = 0, $activeSlave.father = 0>> - <<else>> - <<set $activeSlave.relation = 0, $activeSlave.relationTarget = 0>> - <</if>> + <<set $activeSlave.mother = 0, $activeSlave.father = 0>> + <<goto "Starting Girls">> + <</link>> + <<set _srcID = $activeSlave.ID>> + <br> + //Add another slave, related to the previous slave:// + <div class="indent"> + <<link "Twin">> + <<run setMissingParents(getSlave(_srcID))>> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "twin")>> + <<run randomizeUnknowns($activeSlave)>> <<goto "Starting Girls">> <</link>> - <<if ($familyTesting === 1) || ($activeSlave.relation === 0)>> - <<set _srcID = $activeSlave.ID>> - <br> - //Add another slave, related to the previous slave:// - <div class="indent"> - <<link "Twin">> - <<if $familyTesting == 1>> + </div> + <<if $activeSlave.actualAge + $minimumSlaveAge < $retirementAge - 1>> + <<if $seeDicks !== 100 && $activeSlave.mother === 0>> + <div class="indent"> + <<link "Mother">> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "parent", getSlave(_srcID).genes === "XY")>> + <<run randomizeUnknowns($activeSlave)>> + <<set getSlave(_srcID).mother = $activeSlave.ID>> + <<goto "Starting Girls">> + <</link>> + </div> + <</if>> + <<if $seeDicks !== 0 && $activeSlave.father === 0>> + <div class="indent"> + <<link "Father">> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "parent", getSlave(_srcID).genes === "XX")>> + <<run randomizeUnknowns($activeSlave)>> + <<set getSlave(_srcID).father = $activeSlave.ID>> + <<goto "Starting Girls">> + <</link>> + </div> + <</if>> + <</if>> + <<if $activeSlave.actualAge < $retirementAge - 2>> + <<if $seeDicks !== 100>> + <div class="indent"> + <<link "Older Sister">> <<run setMissingParents(getSlave(_srcID))>> - <</if>> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "twin")>> - <<run randomizeUnknowns($activeSlave)>> - <<if $familyTesting != 1>> - <<set getSlave(_srcID).relation = "twin", getSlave(_srcID).relationTarget = $activeSlave.ID>> - <</if>> - <<goto "Starting Girls">> - <</link>> - </div> - <<if $activeSlave.actualAge + $minimumSlaveAge < $retirementAge - 1>> - <<if $seeDicks !== 100 && ($familyTesting === 0 || $activeSlave.mother === 0)>> - <div class="indent"> - <<link "Mother">> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "parent", getSlave(_srcID).genes === "XY")>> - <<run randomizeUnknowns($activeSlave)>> - <<if $familyTesting === 1>> - <<set getSlave(_srcID).mother = $activeSlave.ID>> - <<else>> - <<set getSlave(_srcID).relation = "daughter", getSlave(_srcID).relationTarget = $activeSlave.ID>> - <</if>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> - <<if $familyTesting === 1 && $seeDicks !== 0 && $activeSlave.father === 0>> - <div class="indent"> - <<link "Father">> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "parent", getSlave(_srcID).genes === "XX")>> - <<run randomizeUnknowns($activeSlave)>> - <<set getSlave(_srcID).father = $activeSlave.ID>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "older sibling", getSlave(_srcID).genes === "XY")>> + <<run randomizeUnknowns($activeSlave)>> + <<goto "Starting Girls">> + <</link>> + </div> <</if>> - <<if $activeSlave.actualAge < $retirementAge - 2>> - <<if $seeDicks !== 100>> - <div class="indent"> - <<link "Older Sister">> - <<if $familyTesting == 1>> - <<run setMissingParents(getSlave(_srcID))>> - <</if>> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "older sibling", getSlave(_srcID).genes === "XY")>> - <<run randomizeUnknowns($activeSlave)>> - <<if $familyTesting != 1>> - <<set getSlave(_srcID).relation = "sister", getSlave(_srcID).relationTarget = $activeSlave.ID>> - <</if>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> - <<if $familyTesting === 1 && $seeDicks !== 0>> - <div class="indent"> - <<link "Older Brother">> - <<run setMissingParents(getSlave(_srcID))>> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "older sibling", getSlave(_srcID).genes === "XX")>> - <<run randomizeUnknowns($activeSlave)>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> + <<if $seeDicks !== 0>> + <div class="indent"> + <<link "Older Brother">> + <<run setMissingParents(getSlave(_srcID))>> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "older sibling", getSlave(_srcID).genes === "XX")>> + <<run randomizeUnknowns($activeSlave)>> + <<goto "Starting Girls">> + <</link>> + </div> + <</if>> + <</if>> + <<if $activeSlave.actualAge > $minimumSlaveAge + 2>> + <<if $seeDicks !== 100>> + <div class="indent"> + <<link "Younger Sister">> + <<run setMissingParents(getSlave(_srcID))>> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "younger sibling", getSlave(_srcID).genes === "XY")>> + <<run randomizeUnknowns($activeSlave)>> + <<goto "Starting Girls">> + <</link>> + </div> <</if>> - <<if $activeSlave.actualAge > $minimumSlaveAge + 2>> - <<if $seeDicks !== 100>> - <div class="indent"> - <<link "Younger Sister">> - <<if $familyTesting == 1>> - <<run setMissingParents(getSlave(_srcID))>> - <</if>> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "younger sibling", getSlave(_srcID).genes === "XY")>> - <<run randomizeUnknowns($activeSlave)>> - <<if $familyTesting != 1>> - <<set getSlave(_srcID).relation = "sister", getSlave(_srcID).relationTarget = $activeSlave.ID>> - <</if>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> - <<if $familyTesting === 1 && $seeDicks !== 0>> - <div class="indent"> - <<link "Younger Brother">> - <<run setMissingParents(getSlave(_srcID))>> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "younger sibling", getSlave(_srcID).genes === "XX")>> - <<run randomizeUnknowns($activeSlave)>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> + <<if $seeDicks !== 0>> + <div class="indent"> + <<link "Younger Brother">> + <<run setMissingParents(getSlave(_srcID))>> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "younger sibling", getSlave(_srcID).genes === "XX")>> + <<run randomizeUnknowns($activeSlave)>> + <<goto "Starting Girls">> + <</link>> + </div> + <</if>> + <</if>> + <<if $activeSlave.actualAge > $minimumSlaveAge + 11>> + <<if $seeDicks !== 100>> + <div class="indent"> + <<link "Daughter">> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "child", getSlave(_srcID).genes === "XY")>> + <<run randomizeUnknowns($activeSlave)>> + <<goto "Starting Girls">> + <</link>> + </div> <</if>> - <<if $activeSlave.actualAge > $minimumSlaveAge + 11>> - <<if $seeDicks !== 100>> - <div class="indent"> - <<link "Daughter">> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "child", getSlave(_srcID).genes === "XY")>> - <<run randomizeUnknowns($activeSlave)>> - <<if $familyTesting != 1>> - <<set getSlave(_srcID).relation = "mother", getSlave(_srcID).relationTarget = $activeSlave.ID>> - <</if>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> - <<if $familyTesting === 1 && $seeDicks !== 0>> - <div class="indent"> - <<link "Son">> - <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "child", getSlave(_srcID).genes === "XX")>> - <<run randomizeUnknowns($activeSlave)>> - <<goto "Starting Girls">> - <</link>> - </div> - <</if>> + <<if $seeDicks !== 0>> + <div class="indent"> + <<link "Son">> + <<set $activeSlave = generateRelatedSlave(getSlave(_srcID), "child", getSlave(_srcID).genes === "XX")>> + <<run randomizeUnknowns($activeSlave)>> + <<goto "Starting Girls">> + <</link>> + </div> <</if>> <</if>> + <div class="indent">//Warning: related slaves will influence each others' opinion of you, and may become difficult to control if not properly broken.//</div> <</if>> <br>[[Stop adding slaves and take control of the arcology|Acquisition]] diff --git a/src/npc/startingGirls/startingGirls.tw b/src/npc/startingGirls/startingGirls.tw index a1d9780a3482b0ab9275367cdc1324126be8cacc..8e5b30d92c34ce4d4ae03fdeea80fe552c5d2030 100644 --- a/src/npc/startingGirls/startingGirls.tw +++ b/src/npc/startingGirls/startingGirls.tw @@ -264,14 +264,12 @@ <div class="tabbar"> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'baseStats')" id="tab baseStats">Base stats</button> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Appearance')" id="tab Appearance">Appearance</button> - <<if $familyTesting>> - <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Family')" id="tab Family">Edit family</button> - <</if>> + <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Family')" id="tab Family">Edit family</button> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'customizationOptions')" id="tab customizationOptions">More customization options</button> <<if $cash >= _slaveCost>> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'assignRemove')" id="tab assignRemove">Finalize</button> <<else>> - <button class="tablinks, show-warning" onclick="App.UI.tabbar.openTab(event, 'assignRemove')" id="tab assignRemove">Finalize</button> + <button class="tablinks, show-warning" onclick="App.UI.tabbar.openTab(event, 'assignRemove')" id="tab assignRemove">Finalize</button> <</if>> </div> diff --git a/src/player/js/enslavePlayer.js b/src/player/js/enslavePlayer.js index 29937ed936c56a2295a7aea2fda66029b9254f24..b6a20e12957adbe880c7d84cd7ef333d619dd6dc 100644 --- a/src/player/js/enslavePlayer.js +++ b/src/player/js/enslavePlayer.js @@ -52,9 +52,6 @@ window.convertPlayerToSlave = function(slave, badEnd = "boring") { slave.weekAcquired = 0; slave.origin = "A former arcology owner that made some poor decisions in $his life."; slave.porn = new App.Entity.PlayerPornPerformanceState(); - slave.recruiter = 0; - slave.relation = 0; - slave.relationTarget = 0; slave.relationship = 0; slave.relationshipTarget = 0; slave.rivalry = 0; diff --git a/src/pregmod/eliteTakeOverResult.tw b/src/pregmod/eliteTakeOverResult.tw index a4047f30a3dc13afa8ecbcdd2dc855d57e967479..2c0534278c1176a026b73ee129e073b4abc433a2 100644 --- a/src/pregmod/eliteTakeOverResult.tw +++ b/src/pregmod/eliteTakeOverResult.tw @@ -158,7 +158,6 @@ <<run setHealth($activeSlave, jsRandom(60, 75), 0, 0, 0, jsRandom(0, 20))>> <<set $activeSlave.canRecruit = 0>> <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <</if>> <<for _i = $eliteLeft; _i > 0; _i-->> <<set $activeSlaveOneTimeMinAge = 25>> @@ -205,7 +204,6 @@ <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <</for>> <</if>> diff --git a/src/pregmod/killSlave.tw b/src/pregmod/killSlave.tw index ae04e94e95465e6961abe24ca9bee35472769b86..3cb552dfd4e32927b900631597aadb68aea68cdd 100644 --- a/src/pregmod/killSlave.tw +++ b/src/pregmod/killSlave.tw @@ -135,95 +135,82 @@ you <<if canHear($activeSlave)>>quietly <</if>>reach behind your desk and pull o rings through the room. You have another servant clean up the mess as you continue with what you were previously doing. <br><br> - <<if $familyTesting == 1>> - <<for _ss = 0; _ss < $slaves.length; _ss++>> - <<if $activeSlave.mother == $slaves[_ss].ID>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 $daughter. - <br><br> - <<set $slaves[_ss].devotion -= 30>> - <</if>> - <<if $activeSlave.father == $slaves[_ss].ID>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;disappointed@@ that you have killed _his2 $daughter. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <</if>> - <<if $activeSlave.ID == $slaves[_ss].father>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;saddened@@ that you have killed _his2 father. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <</if>> - <<if $activeSlave.ID == $slaves[_ss].mother>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 mother. - <br><br> - <<set $slaves[_ss].devotion -= 30>> - <</if>> - <<switch areSisters($activeSlave, $slaves[_ss])>> - <<case 1>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;devastated@@ that you have killed _his2 twin. - <br><br> - <<set $slaves[_ss].devotion -= 30>> - <<case 2>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 $sister. - <br><br> - <<set $slaves[_ss].devotion -= 30>> - <<case 3>> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;disheartened@@ that you have killed _his2 half-<<= $sister>>. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <</switch>> - <</for>> - <<else>> - <<if $activeSlave.relation != 0>> - <<set _ss = $slaveIndices[$activeSlave.relationTarget]>> - <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 $activeSlave.relation. - <br><br> - <<set $slaves[_ss].devotion -= 30>> - <<set $display = 1>> - <</if>> - <</if>> + <<for _ss = 0; _ss < $slaves.length; _ss++>> + <<if $activeSlave.mother == $slaves[_ss].ID>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 $daughter. + <br><br> + <<set $slaves[_ss].devotion -= 30>> <</if>> - <<if $activeSlave.relationship > 0>> - <<set _ss = $slaveIndices[$activeSlave.relationshipTarget]>> - <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 best source of comfort and companionship in a life of bondage. - <br><br> - <<set $slaves[_ss].devotion -= $slaves[_ss].relationship*10>> - <<set $display = 1>> - <</if>> - <<elseif $activeSlave.relationship == -3>> - Killing one of your slave $wives is @@.red;socially unacceptable.@@ In addition, your other devoted slaves are @@.gold;worried@@ that you may not respect their status. + <<if $activeSlave.father == $slaves[_ss].ID>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;disappointed@@ that you have killed _his2 $daughter. <br><br> - <<run repX(-200, "event")>> + <<set $slaves[_ss].devotion -= 20>> + <</if>> + <<if $activeSlave.ID == $slaves[_ss].father>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;saddened@@ that you have killed _his2 father. + <br><br> + <<set $slaves[_ss].devotion -= 20>> + <</if>> + <<if $activeSlave.ID == $slaves[_ss].mother>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 mother. + <br><br> + <<set $slaves[_ss].devotion -= 30>> + <</if>> + <<switch areSisters($activeSlave, $slaves[_ss])>> + <<case 1>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;devastated@@ that you have killed _his2 twin. + <br><br> + <<set $slaves[_ss].devotion -= 30>> + <<case 2>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 $sister. + <br><br> + <<set $slaves[_ss].devotion -= 30>> + <<case 3>> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;disheartened@@ that you have killed _his2 half-<<= $sister>>. + <br><br> + <<set $slaves[_ss].devotion -= 20>> + <</switch>> + <</for>> + <<if $activeSlave.relationship > 0>> + <<set _ss = $slaveIndices[$activeSlave.relationshipTarget]>> + <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you have killed _his2 best source of comfort and companionship in a life of bondage. + <br><br> + <<set $slaves[_ss].devotion -= $slaves[_ss].relationship*10>> <<set $display = 1>> - <<for _ss = 0; _ss < $slaves.length; _ss++>> - <<if $slaves[_ss].devotion > 50>> - <<set $slaves[_ss].trust -= 10>> - <</if>> - <</for>> <</if>> - <<if $activeSlave.rivalry != 0>> - <<set _ss = $slaveIndices[$activeSlave.rivalryTarget]>> - <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.hotpink;pleased@@ that $he won't have to see _his2 rival any more. - <br><br> - <<set $slaves[_ss].devotion += $slaves[_ss].rivalry*3>> - <<set $display = 1>> + <<elseif $activeSlave.relationship == -3>> + Killing one of your slave $wives is @@.red;socially unacceptable.@@ In addition, your other devoted slaves are @@.gold;worried@@ that you may not respect their status. + <br><br> + <<run repX(-200, "event")>> + <<set $display = 1>> + <<for _ss = 0; _ss < $slaves.length; _ss++>> + <<if $slaves[_ss].devotion > 50>> + <<set $slaves[_ss].trust -= 10>> <</if>> + <</for>> + <</if>> + <<if $activeSlave.rivalry != 0>> + <<set _ss = $slaveIndices[$activeSlave.rivalryTarget]>> + <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> + <<setLocalPronouns $slaves[_ss] 2>> + $slaves[_ss].slaveName is @@.hotpink;pleased@@ that $he won't have to see _his2 rival any more. + <br><br> + <<set $slaves[_ss].devotion += $slaves[_ss].rivalry*3>> + <<set $display = 1>> <</if>> + <</if>> - <<= removeActiveSlave() >> - <<set $nextLink = "Main", $killChoice = -1>> + <<= removeActiveSlave() >> + <<set $nextLink = "Main", $killChoice = -1>> <</replace>><</link>> <br><<link "Have mercy on $him">><<set $killChoice = 1>> <<replace "#killScene">> diff --git a/src/pregmod/managePersonalAffairs.tw b/src/pregmod/managePersonalAffairs.tw index eb1818ee7120f30bec4e6f7149b6c4e1f23f92d9..40d1b89e9cc471467dcf7904838b8d55eccc4fe4 100644 --- a/src/pregmod/managePersonalAffairs.tw +++ b/src/pregmod/managePersonalAffairs.tw @@ -492,27 +492,25 @@ </p> <</if>> -<<if $familyTesting == 1>> - <h3>Family</h3> - <p> - <span id="family"> - <div id="familyTree"> - </div> - <span id="familyTreeLink"> - <<link "Pull up the file on your family tree.">> - <<replace #familyTreeLink>> - <<run renderFamilyTree($slaves, -1)>> - <</replace>> - <</link>> - </span> +<h3>Family</h3> +<p> + <span id="family"> + <div id="familyTree"> + </div> + <span id="familyTreeLink"> + <<link "Pull up the file on your family tree.">> + <<replace #familyTreeLink>> + <<run renderFamilyTree($slaves, -1)>> + <</replace>> + <</link>> </span> - <<if totalPlayerRelatives($PC) > 0 || ($showMissingSlaves && ($PC.mother in $missingTable || $PC.father in $missingTable))>> - <div> - <<= App.Desc.family($PC)>> - </div> - <</if>> - </p> -<</if>> + </span> + <<if totalPlayerRelatives($PC) > 0 || ($showMissingSlaves && ($PC.mother in $missingTable || $PC.father in $missingTable))>> + <div> + <<= App.Desc.family($PC)>> + </div> + <</if>> +</p> <<if $PC.vagina != -1>> <h2>Contraceptives and Fertility</h2> diff --git a/src/pregmod/reTheSirenStrikesBack.tw b/src/pregmod/reTheSirenStrikesBack.tw index 6a0c0c32216c6e4165c234f21d752b26f9e6cc41..dfea4411d81fd08a34be875ec237bc8e1242bc61 100644 --- a/src/pregmod/reTheSirenStrikesBack.tw +++ b/src/pregmod/reTheSirenStrikesBack.tw @@ -83,13 +83,11 @@ Several weeks have passed since you gained the musical prodigy and you couldn't You decide to spare the coward from _his2 former subordinate's wrath and simply enslave _him2. <br> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> <</replace>> <</link>> <<if !isAmputee(_ssb)>> <br><<link "Enslave _him2 and throw _him2 to _ssb.slaveName">> <<set $activeSlave.clothes = "no clothing">> - <<set $activeSlave.recruiter = 0>> <<run healthDamage($activeSlave, 20)>> <<replace "#artFrame">> /* 000-250-006 */ @@ -119,7 +117,6 @@ Several weeks have passed since you gained the musical prodigy and you couldn't <span id="result"> <<link "Enslave _him2">> <<set $activeSlave.clothes = "no clothing">> - <<set $activeSlave.recruiter = 0>> <<replace "#artFrame">> /* 000-250-006 */ <<if $seeImages == 1>> @@ -139,7 +136,6 @@ Several weeks have passed since you gained the musical prodigy and you couldn't <</link>> <br><<link "Enslave _him2 and punish _him2 for their actions">> <<set $activeSlave.clothes = "no clothing">> - <<set $activeSlave.recruiter = 0>> <<run healthDamage($activeSlave, 20)>> <<replace "#artFrame">> /* 000-250-006 */ diff --git a/src/uncategorized/RETS.tw b/src/uncategorized/RETS.tw index a078763fdebba7435661744d685450ae7f5013a4..4e4fc6ce06998e1fd7c1aea25074a593c51fbfca 100644 --- a/src/uncategorized/RETS.tw +++ b/src/uncategorized/RETS.tw @@ -148,13 +148,9 @@ <<case "incestuous nursing">> -<<if $familyTesting == 0>> - <<set $subSlave = $slaves[$slaveIndices[$activeSlave.relationTarget]]>> -<<else>> - <<set $subSlave = randomAvailableDaughter($activeSlave)>> - <<if ndef $subSlave>> - <<set $subSlave = randomDaughter($activeSlave)>> - <</if>> +<<set $subSlave = randomAvailableDaughter($activeSlave)>> +<<if ndef $subSlave>> + <<set $subSlave = randomDaughter($activeSlave)>> <</if>> <<default>> @@ -949,7 +945,7 @@ $activeSlave.slaveName is almost in tears. <<case "incestuous nursing">> <<set _meal = either("breakfast", "lunch", "dinner")>> -<<if $familyTesting != 1 || $subSlave.mother == $activeSlave.ID>> +<<if $subSlave.mother == $activeSlave.ID>> <<set _mother = "mother">> <<set _mommy = "Mommy">> <<else>> diff --git a/src/uncategorized/REroyalblood.tw b/src/uncategorized/REroyalblood.tw index f262fe7468dfe38fc8c3d94775b2816d83b33831..d97b35e76ab26ff2f0977a39a05cc79f3cc57398 100644 --- a/src/uncategorized/REroyalblood.tw +++ b/src/uncategorized/REroyalblood.tw @@ -274,7 +274,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<run repX(-2000, "event", _princess)>> <<set $activeSlave = _princess>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <</replace>> <</link>> // You will need to utilize a portion of your reputation and <<print cashFormat(50000)>> to enslave $him.// <<else>> @@ -292,7 +291,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> <<set $activeSlave = _princess>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <<run repX(-18000, "event", $activeSlave)>> <</replace>> <</link>> //You will be despised for this action, and trade will be greatly damaged.// @@ -308,7 +306,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<run cashX(-35000, "slaveTransfer", _prince)>> <<set $activeSlave = _prince>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <</replace>> <</link>> // Purchasing the goods and hiring the VTOLs will cost about <<print cashFormat(35000)>>.// <<else>> @@ -327,7 +324,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> <<set $activeSlave = _prince>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <</replace>> <</link>> //You will be despised for this action, and trade will be greatly damaged.// <</if>> @@ -340,29 +336,14 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <br><br> /* princess */ <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was sold to you in exchange for aid.">> - <<set _princess.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _princess.mother = $missingParentID>> - <<set $missingParentID-->> - <<set _princess.father = $missingParentID>> - <<set $missingParentID-->> - <<else>> - <<set _princess.relation = "sister">> - <<set _princess.relationTarget = _prince.ID>> - <</if>> + <<run setMissingParents(_princess)>> <<run cashX(-60000, "slaveTransfer", _princess)>> <<run repX(-6000, "event", _princess)>> <<run newSlave(_princess)>> /* skip New Slave Intro */ /* prince */ <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was sold to you in exchange for aid.">> - <<set _prince.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _prince.mother = _princess.mother>> - <<set _prince.father = _princess.father>> - <<else>> - <<set _prince.relation = "sister">> - <<set _prince.relationTarget = _princess.ID>> - <</if>> + <<set _prince.mother = _princess.mother>> + <<set _prince.father = _princess.father>> <<run cashX(-40000, "slaveTransfer", _prince)>> <<run repX(-4000, "event", _prince)>> <<run newSlave(_prince)>> /* skip New Slave Intro */ @@ -382,28 +363,13 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set $arcologies[0].prosperity -= 15>> /* princess */ <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set _princess.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _princess.mother = $missingParentID>> - <<set $missingParentID-->> - <<set _princess.father = $missingParentID>> - <<set $missingParentID-->> - <<else>> - <<set _princess.relation = "sister">> - <<set _princess.relationTarget = _prince.ID>> - <</if>> + <<run setMissingParents(_princess)>> <<run newSlave(_princess)>> /* skip New Slave Intro */ <<run repX(-10000, "event", _princess)>> /* prince */ <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set _prince.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _prince.mother = _princess.mother>> - <<set _prince.father = _princess.father>> - <<else>> - <<set _prince.relation = "sister">> - <<set _prince.relationTarget = _princess.ID>> - <</if>> + <<set _prince.mother = _princess.mother>> + <<set _prince.father = _princess.father>> <<run newSlave(_prince)>> /* skip New Slave Intro */ <<run repX(-8000, "event", _prince)>> <</replace>> @@ -451,7 +417,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <<run cashX(-8333, "slaveTransfer", $activeSlave)>> <</for>> <</replace>> @@ -503,7 +468,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <<run repX(-3333, "event", $activeSlave)>> <</for>> <</replace>> @@ -532,7 +496,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<run cashX(-15000, "slaveTransfer", _queen)>> <<set $activeSlave = _queen>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <</replace>> <</link>> // It will cost about <<print cashFormat(15000)>> to enslave _him3.// <<else>> @@ -560,7 +523,6 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was acquired by "+$SF.Lower+".">> <<set $activeSlave = _queen>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <<run repX(-12000, "event", _queen)>> <</replace>> <</link>> //You will be despised for this action, and trade will be greatly damaged.// @@ -573,27 +535,14 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad Eventually they both arrive in your penthouse. The princess is flushed with embarrassment in $his compromising position, struggling to maintain a façade of poise and grace. The slightest trembling of $his balled up fists, the minute tremors that mar $his immaculate posture, $his inability to meet your eyes with $his own — all signs that $he is still a scared $girl despite all $his royal trappings. Nonetheless, though the princess's court training is unlikely to be very beneficial to $him in $his new life in the penthouse, it does stand in stark contrast to $his more common slave peers. The Queen, on the other hand, seems almost relieved and basks in the opulence of _his3 new surroundings. Yet, it seems likely that _his3 relief has more to do with saving _him3 from a lifetime of gang rape at the mercy of _his3 former subjects, than it does the familiar luxury. _He3 submits to biometric scanning obediently and without fuss<<if $seePreg != 0>>, during which you discover to _his3 surprise that _he3 is pregnant. Since _he3 hasn't begun to show yet, it's unclear whether the child is the former King's or the new arcology owner's. You don't have the means to discern the father of the child, but you notice _he3 cradles _his3 ever so slightly rounded stomach protectively nonetheless<</if>>. /* princess */ <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was sold for credits.">> - <<set _princess.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _princess.mother = _queen.ID>> - <<set _princess.father = $missingParentID>> - <<set $missingParentID-->> - <<else>> - <<set _princess.relation = "daughter">> - <<set _princess.relationTarget = _queen.ID>> - <</if>> + <<set _princess.mother = _queen.ID>> + <<run setMissingParents(_princess)>> <<run cashX(-400000, "slaveTransfer", _princess)>> <<run newSlave(_princess)>> /* skip New Slave Intro */ /*Queen*/ <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was sold for credits.">> - <<set _queen.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _queen.mother = 0>> - <<set _queen.father = 0>> - <<else>> - <<set _queen.relation = "mother">> - <<set _queen.relationTarget = _princess.ID>> - <</if>> + <<set _queen.mother = 0>> + <<set _queen.father = 0>> <<run cashX(-100000, "slaveTransfer", _queen)>> <<run newSlave(_queen)>> /* skip New Slave Intro */ <</replace>> @@ -611,27 +560,14 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set $arcologies[0].prosperity -= 13>> /* princess */ <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was sold for credits.">> - <<set _princess.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _princess.mother = _queen.ID>> - <<set _princess.father = $missingParentID>> - <<set $missingParentID-->> - <<else>> - <<set _princess.relation = "daughter">> - <<set _princess.relationTarget = _queen.ID>> - <</if>> + <<set _princess.mother = _queen.ID>> + <<run setMissingParents(_princess)>> <<run newSlave(_princess)>> /* skip New Slave Intro */ <<run repX(-10000, "event", _princess)>> /*Queen*/ <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was sold for credits.">> - <<set _queen.recruiter = 0>> - <<if $familyTesting == 1>> - <<set _queen.mother = 0>> - <<set _queen.father = 0>> - <<else>> - <<set _queen.relation = "mother">> - <<set _queen.relationTarget = _princess.ID>> - <</if>> + <<set _queen.mother = 0>> + <<set _queen.father = 0>> <<run newSlave(_queen)>> /* skip New Slave Intro */ <<run repX(-3000, "event", _queen)>> <</replace>> @@ -680,16 +616,11 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <<run cashX(-100000, "slaveTransfer", $activeSlave)>> <</for>> /*Queen*/ <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was sold for credits.">> - <<set _queen.recruiter = 0>> - <<set _queen.mother = $missingParentID>> - <<set $missingParentID-->> - <<set _queen.father = $missingParentID>> - <<set $missingParentID-->> + <<run setMissingParents(_queen)>> <<run newSlave(_queen)>> /* skip New Slave Intro */ <<run cashX(-200000, "slaveTransfer", _queen)>> <</replace>> @@ -740,176 +671,157 @@ Time is short, but you are well placed to acquire some choice slaves. With an ad <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ <<run repX(-3000, "event", $activeSlave)>> <</for>> /*Queen*/ <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set _queen.recruiter = 0>> - <<set _queen.mother = $missingParentID>> - <<set $missingParentID-->> - <<set _queen.father = $missingParentID>> - <<set $missingParentID-->> + <<run setMissingParents(_queen)>> <<run newSlave(_queen)>> /* skip New Slave Intro */ <<run repX(-4000, "event", _queen)>> <</replace>> <</link>> //You will be despised for this action, and trade will be greatly damaged.// <</if>> -<<if $cash >= 2500000 && $familyTesting == 1>> -<br><<link "Send an unheard amount of credits and goods to retrieve the entire court.">> - <<replace "#result">> - You take a tablet and transmit a communication request to the new arcology owner with your intent. Once his shock wears off, he readily accepts with little need for negotiation. Soon, a flight of VTOLs land in the new arcology laden with goods. When they take off again they have the prince and princess, clad in chains and bound face to face in a forced embrace, the Queen, who is resigned to _his3 fate, and a gaggle of terrified court ladies. - <br><br> - Eventually they all arrive in your penthouse. The prince and princess are flushed with embarrassment in their compromising position. The former prince is beside _himself2 with rage, but seems to be holding _himself2 back for _his2 little $sister's sake, while $he struggles to maintain a façade of poise and grace. The slightest trembling of $his balled up fists, the minute tremors that mar $his immaculate posture, $his inability to meet your eyes with $his own — all signs that $he is still a scared $girl despite all $his royal trappings. Nonetheless, though the princess's court training is unlikely to be very beneficial to $him in $his new life in the penthouse, it does stand in stark contrast to $his more common slave peers. However, the prince's submission to life as a slave is another question entirely. The Queen, on the other hand, seems almost relieved and basks in the opulence of _his3 new surroundings. Yet, it seems likely that _his3 relief has more to do with saving _him3 from a lifetime of gang rape at the mercy of _his3 former subjects, than it does the familiar luxury. _He3 submits to biometric scanning obediently and without fuss<<if $seePreg != 0>>, during which you discover to _his3 surprise that _he3 is pregnant. Since _he3 hasn't begun to show yet, it's unclear whether the child is the former King's or the new arcology owner's. You don't have the means to discern the father of the child, but you notice _he3 cradles _his3 ever so slightly rounded stomach protectively nonetheless<</if>>. Lastly, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over. - /* ladies */ - <<for $i = 0; $i < 3; $i++>> - <<set $activeSlaveOneTimeMinAge = 21>> - <<set $activeSlaveOneTimeMaxAge = ($retirementAge-2)>> - <<set $oneTimeDisableDisability = 1>> - <<set $fixedNationality = _princess.nationality>> - <<set $activeSlave = GenerateNewSlave("XX")>> - <<set _origin = "$He was a member of the court in an ancient kingdom, till it was overthrown and $he was sold for credits.">> - <<set $activeSlave.origin = _origin>> - <<set $activeSlave.career = "a lady courtier">> - <<set $activeSlave.prestige = 1>> - <<set $activeSlave.prestigeDesc = "$He was once a lady of the court of an ancient kingdom.">> - <<set $activeSlave.face = random(25,76)>> - <<set $activeSlave.devotion = random(10,20)>> - <<set $activeSlave.trust = random(-20,-30)>> - <<set $activeSlave.boobs = random(3,10)*100>> - <<set $activeSlave.vagina = 1>> - <<set $activeSlave.dick = 0>> - <<set $activeSlave.foreskin = 0>> - <<set $activeSlave.balls = 0>> - <<set $activeSlave.ovaries = 1>> - <<set $activeSlave.pubicHStyle = "waxed">> - <<set $activeSlave.underArmHStyle = "waxed">> - <<set $activeSlave.shoulders = random(-1,1)>> - <<set $activeSlave.hips = 1>> - <<set $activeSlave.butt = 1>> - <<set $activeSlave.anus = 0>> - <<set $activeSlave.weight = 0>> - <<set $activeSlave.intelligence = random(-50,70)>> - <<set $activeSlave.intelligenceImplant = 15>> - <<set $activeSlave.skill.entertainment = 25>> - <<set $activeSlave.skill.whoring = 0>> - <<run setHealth($activeSlave, jsRandom(30, 60), 0, 0, 0, 0)>> - <<set $activeSlave.canRecruit = 0>> - <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> - <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ - <<run cashX(-133333, "slaveTransfer", $activeSlave)>> - <</for>> - /* princess */ - <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was sold for credits.">> - <<set _princess.recruiter = 0>> - <<set _princess.mother = _queen.ID>> - <<set _princess.father = $missingParentID>> - <<set $missingParentID-->> - <<run newSlave(_princess)>> /* skip New Slave Intro */ - <<run cashX(-1100000, "slaveTransfer", _princess)>> - /* prince */ - <<if $seeDicks > 0>> - <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was sold for credits.">> - <<set _prince.recruiter = 0>> - <<set _prince.mother = _princess.mother>> - <<set _prince.father = _princess.father>> - <<run newSlave(_prince)>> /* skip New Slave Intro */ - <<run cashX(-750000, "slaveTransfer", _prince)>> - <</if>> - /*Queen*/ - <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was sold for credits.">> - <<set _queen.recruiter = 0>> - <<set _queen.mother = $missingParentID>> - <<set $missingParentID-->> - <<set _queen.father = $missingParentID>> - <<set $missingParentID-->> - <<run newSlave(_queen)>> /* skip New Slave Intro */ - <<run cashX(-250000, "slaveTransfer", _queen)>> - <</replace>> -<</link>> // It will cost about <<print cashFormat(2500000)>> to enslave the entire court.// -<<elseif $familyTesting == 1>> - <br>//You lack the necessary funds to enslave the entire court.// -<</if>> +<<if $limitFamilies !== 1>> + <<if $cash >= 2500000>> + <br><<link "Send an unheard amount of credits and goods to retrieve the entire court.">> + <<replace "#result">> + You take a tablet and transmit a communication request to the new arcology owner with your intent. Once his shock wears off, he readily accepts with little need for negotiation. Soon, a flight of VTOLs land in the new arcology laden with goods. When they take off again they have the prince and princess, clad in chains and bound face to face in a forced embrace, the Queen, who is resigned to _his3 fate, and a gaggle of terrified court ladies. + <br><br> + Eventually they all arrive in your penthouse. The prince and princess are flushed with embarrassment in their compromising position. The former prince is beside _himself2 with rage, but seems to be holding _himself2 back for _his2 little $sister's sake, while $he struggles to maintain a façade of poise and grace. The slightest trembling of $his balled up fists, the minute tremors that mar $his immaculate posture, $his inability to meet your eyes with $his own — all signs that $he is still a scared $girl despite all $his royal trappings. Nonetheless, though the princess's court training is unlikely to be very beneficial to $him in $his new life in the penthouse, it does stand in stark contrast to $his more common slave peers. However, the prince's submission to life as a slave is another question entirely. The Queen, on the other hand, seems almost relieved and basks in the opulence of _his3 new surroundings. Yet, it seems likely that _his3 relief has more to do with saving _him3 from a lifetime of gang rape at the mercy of _his3 former subjects, than it does the familiar luxury. _He3 submits to biometric scanning obediently and without fuss<<if $seePreg != 0>>, during which you discover to _his3 surprise that _he3 is pregnant. Since _he3 hasn't begun to show yet, it's unclear whether the child is the former King's or the new arcology owner's. You don't have the means to discern the father of the child, but you notice _he3 cradles _his3 ever so slightly rounded stomach protectively nonetheless<</if>>. Lastly, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over. + /* ladies */ + <<for $i = 0; $i < 3; $i++>> + <<set $activeSlaveOneTimeMinAge = 21>> + <<set $activeSlaveOneTimeMaxAge = ($retirementAge-2)>> + <<set $oneTimeDisableDisability = 1>> + <<set $fixedNationality = _princess.nationality>> + <<set $activeSlave = GenerateNewSlave("XX")>> + <<set _origin = "$He was a member of the court in an ancient kingdom, till it was overthrown and $he was sold for credits.">> + <<set $activeSlave.origin = _origin>> + <<set $activeSlave.career = "a lady courtier">> + <<set $activeSlave.prestige = 1>> + <<set $activeSlave.prestigeDesc = "$He was once a lady of the court of an ancient kingdom.">> + <<set $activeSlave.face = random(25,76)>> + <<set $activeSlave.devotion = random(10,20)>> + <<set $activeSlave.trust = random(-20,-30)>> + <<set $activeSlave.boobs = random(3,10)*100>> + <<set $activeSlave.vagina = 1>> + <<set $activeSlave.dick = 0>> + <<set $activeSlave.foreskin = 0>> + <<set $activeSlave.balls = 0>> + <<set $activeSlave.ovaries = 1>> + <<set $activeSlave.pubicHStyle = "waxed">> + <<set $activeSlave.underArmHStyle = "waxed">> + <<set $activeSlave.shoulders = random(-1,1)>> + <<set $activeSlave.hips = 1>> + <<set $activeSlave.butt = 1>> + <<set $activeSlave.anus = 0>> + <<set $activeSlave.weight = 0>> + <<set $activeSlave.intelligence = random(-50,70)>> + <<set $activeSlave.intelligenceImplant = 15>> + <<set $activeSlave.skill.entertainment = 25>> + <<set $activeSlave.skill.whoring = 0>> + <<run setHealth($activeSlave, jsRandom(30, 60), 0, 0, 0, 0)>> + <<set $activeSlave.canRecruit = 0>> + <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> + <<run newSlave($activeSlave)>> /* skip New Slave Intro */ + <<run cashX(-133333, "slaveTransfer", $activeSlave)>> + <</for>> + /* princess */ + <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was sold for credits.">> + <<set _princess.mother = _queen.ID>> + <<run setMissingParents(_princess)>> + <<run newSlave(_princess)>> /* skip New Slave Intro */ + <<run cashX(-1100000, "slaveTransfer", _princess)>> + /* prince */ + <<if $seeDicks > 0>> + <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was sold for credits.">> + <<set _prince.mother = _princess.mother>> + <<set _prince.father = _princess.father>> + <<run newSlave(_prince)>> /* skip New Slave Intro */ + <<run cashX(-750000, "slaveTransfer", _prince)>> + <</if>> + /*Queen*/ + <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was sold for credits.">> + <<run setMissingParents(_queen)>> + <<run newSlave(_queen)>> /* skip New Slave Intro */ + <<run cashX(-250000, "slaveTransfer", _queen)>> + <</replace>> + <</link>> // It will cost about <<print cashFormat(2500000)>> to enslave the entire court.// + <<else>> + <br>//You lack the necessary funds to enslave the entire court.// + <</if>> -<<if $SF.Toggle && $SF.Active >= 1 && $familyTesting == 1>> -<br><<link "Dispatch $SF.Lower on a night time raid to take everything of value.">> - <<replace "#result">> - <<set _loot = random(10,300)*100>> - Seizing a tablet, you quickly send a message to The Colonel. After dark, a flight of VTOLs land in the new arcology laden with troops. When they take off again they have the prince and princess, clad in chains and bound face to face in a forced embrace, the Queen, who is resigned to _his3 fate, a gaggle of terrified court ladies and as much loot as they could carry. - <br><br> - Eventually they all arrive in your penthouse. The prince and princess are flushed with embarrassment in their compromising position. The former prince is beside _himself2 with rage, but seems to be holding _himself2 back for _his2 little $sister's sake, while $he struggles to maintain a façade of poise and grace. The slightest trembling of $his balled up fists, the minute tremors that mar $his immaculate posture, $his inability to meet your eyes with $his own — all signs that $he is still a scared $girl despite all $his royal trappings. Nonetheless, though the princess's court training is unlikely to be very beneficial to $him in $his new life in the penthouse, it does stand in stark contrast to $his more common slave peers. However, the prince's submission to life as a slave is another question entirely. The Queen, on the other hand, seems almost relieved and basks in the opulence of _his3 new surroundings. Yet, it seems likely that _his3 relief has more to do with saving _him3 from a lifetime of gang rape at the mercy of _his3 former subjects, than it does the familiar luxury. _He3 submits to biometric scanning obediently and without fuss<<if $seePreg != 0>>, during which you discover to _his3 surprise that _he3 is pregnant. Since _he3 hasn't begun to show yet, it's unclear whether the child is the former King's or the new arcology owner's. You don't have the means to discern the father of the child, but you notice _he3 cradles _his3 ever so slightly rounded stomach protectively nonetheless<</if>>. Lastly, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over. You also scored @@.yellowgreen;<<print cashFormat(_loot)>>@@ in valuables from the raid. - <<set $arcologies[0].prosperity = 2>> - <<set _repShares = Math.trunc($rep/-15)>> /*this event is supposed to end in reputation at 0. In order to slice up that pie, we find shares of "everything" here and give them out later, before finally setting leftovers to 0. 3 ladies at one share each, +3 for prince, +4 for queen, +5 for princess is 15 shares.*/ + <<if $SF.Toggle && $SF.Active >= 1>> + <br><<link "Dispatch $SF.Lower on a night time raid to take everything of value.">> + <<replace "#result">> + <<set _loot = random(10,300)*100>> + Seizing a tablet, you quickly send a message to The Colonel. After dark, a flight of VTOLs land in the new arcology laden with troops. When they take off again they have the prince and princess, clad in chains and bound face to face in a forced embrace, the Queen, who is resigned to _his3 fate, a gaggle of terrified court ladies and as much loot as they could carry. + <br><br> + Eventually they all arrive in your penthouse. The prince and princess are flushed with embarrassment in their compromising position. The former prince is beside _himself2 with rage, but seems to be holding _himself2 back for _his2 little $sister's sake, while $he struggles to maintain a façade of poise and grace. The slightest trembling of $his balled up fists, the minute tremors that mar $his immaculate posture, $his inability to meet your eyes with $his own — all signs that $he is still a scared $girl despite all $his royal trappings. Nonetheless, though the princess's court training is unlikely to be very beneficial to $him in $his new life in the penthouse, it does stand in stark contrast to $his more common slave peers. However, the prince's submission to life as a slave is another question entirely. The Queen, on the other hand, seems almost relieved and basks in the opulence of _his3 new surroundings. Yet, it seems likely that _his3 relief has more to do with saving _him3 from a lifetime of gang rape at the mercy of _his3 former subjects, than it does the familiar luxury. _He3 submits to biometric scanning obediently and without fuss<<if $seePreg != 0>>, during which you discover to _his3 surprise that _he3 is pregnant. Since _he3 hasn't begun to show yet, it's unclear whether the child is the former King's or the new arcology owner's. You don't have the means to discern the father of the child, but you notice _he3 cradles _his3 ever so slightly rounded stomach protectively nonetheless<</if>>. Lastly, the ladies seem comforted by the opulence of their new surroundings. Though they still retain much of their aristocratic arrogance, they each submit to biometric scanning with relative obedience. It seems likely that their obedience is borne out of a delusional rationalization that enslavement by one wealthy master is better than enslavement by the unwashed masses they once lorded over. You also scored @@.yellowgreen;<<print cashFormat(_loot)>>@@ in valuables from the raid. + <<set $arcologies[0].prosperity = 2>> + <<set _repShares = Math.trunc($rep/-15)>> /*this event is supposed to end in reputation at 0. In order to slice up that pie, we find shares of "everything" here and give them out later, before finally setting leftovers to 0. 3 ladies at one share each, +3 for prince, +4 for queen, +5 for princess is 15 shares.*/ - /* ladies */ - <<for $i = 0; $i < 3; $i++>> - <<set $activeSlaveOneTimeMinAge = 21>> - <<set $activeSlaveOneTimeMaxAge = ($retirementAge-2)>> - <<set $fixedNationality = _princess.nationality>> - <<set $oneTimeDisableDisability = 1>> - <<set $activeSlave = GenerateNewSlave("XX")>> - <<set _origin = "$He was a member of the court in an ancient kingdom, till it was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set $activeSlave.origin = _origin>> - <<set $activeSlave.career = "a lady courtier">> - <<set $activeSlave.prestige = 1>> - <<set $activeSlave.prestigeDesc = "$He was once a lady of the court of an ancient kingdom.">> - <<set $activeSlave.face = random(25,76)>> - <<set $activeSlave.devotion = random(10,20)>> - <<set $activeSlave.trust = random(-20,-30)>> - <<set $activeSlave.boobs = random(3,10)*100>> - <<set $activeSlave.vagina = 1>> - <<set $activeSlave.dick = 0>> - <<set $activeSlave.foreskin = 0>> - <<set $activeSlave.balls = 0>> - <<set $activeSlave.ovaries = 1>> - <<set $activeSlave.pubicHStyle = "waxed">> - <<set $activeSlave.underArmHStyle = "waxed">> - <<set $activeSlave.shoulders = random(-1,1)>> - <<set $activeSlave.hips = 1>> - <<set $activeSlave.butt = 1>> - <<set $activeSlave.anus = 0>> - <<set $activeSlave.weight = 0>> - <<set $activeSlave.intelligence = random(-50,70)>> - <<set $activeSlave.intelligenceImplant = 15>> - <<set $activeSlave.skill.entertainment = 25>> - <<set $activeSlave.skill.whoring = 0>> - <<run setHealth($activeSlave, jsRandom(30, 60), 0, 0, 0, 0)>> - <<set $activeSlave.canRecruit = 0>> - <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> - <<run newSlave($activeSlave)>> /* skip New Slave Intro */ - <<set $activeSlave.recruiter = 0>> /* override New Slave Intro */ - <<run repX((1*_repShares), "event", $activeSlave)>> - <</for>> - /* princess */ - <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set _princess.recruiter = 0>> - <<set _princess.mother = _queen.ID>> - <<set _princess.father = $missingParentID>> - <<set $missingParentID-->> - <<run newSlave(_princess)>> /* skip New Slave Intro */ - <<run repX((5*_repShares), "event", $activeSlave)>> - /* prince */ - <<if $seeDicks > 0>> - <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set _prince.recruiter = 0>> - <<set _prince.mother = _princess.mother>> - <<set _prince.father = _princess.father>> - <<run newSlave(_prince)>> /* skip New Slave Intro */ - <<run repX((3*_repShares), "event", $activeSlave)>> - <</if>> - /*Queen*/ - <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was acquired by "+$SF.Lower+".">> - <<set _queen.recruiter = 0>> - <<set _queen.mother = $missingParentID>> - <<set $missingParentID-->> - <<set _queen.father = $missingParentID>> - <<set $missingParentID-->> - <<run newSlave(_queen)>> /* skip New Slave Intro */ - <<run repX((4*_repShares), "event", $activeSlave)>> - <<run repX(0-$rep, "event")>> /*Round off any remaining rep due to the trunc on shares*/ - <</replace>> -<</link>> //You will be loathed for this action and trade will be crippled.// + /* ladies */ + <<for $i = 0; $i < 3; $i++>> + <<set $activeSlaveOneTimeMinAge = 21>> + <<set $activeSlaveOneTimeMaxAge = ($retirementAge-2)>> + <<set $fixedNationality = _princess.nationality>> + <<set $oneTimeDisableDisability = 1>> + <<set $activeSlave = GenerateNewSlave("XX")>> + <<set _origin = "$He was a member of the court in an ancient kingdom, till it was overthrown and $he was acquired by "+$SF.Lower+".">> + <<set $activeSlave.origin = _origin>> + <<set $activeSlave.career = "a lady courtier">> + <<set $activeSlave.prestige = 1>> + <<set $activeSlave.prestigeDesc = "$He was once a lady of the court of an ancient kingdom.">> + <<set $activeSlave.face = random(25,76)>> + <<set $activeSlave.devotion = random(10,20)>> + <<set $activeSlave.trust = random(-20,-30)>> + <<set $activeSlave.boobs = random(3,10)*100>> + <<set $activeSlave.vagina = 1>> + <<set $activeSlave.dick = 0>> + <<set $activeSlave.foreskin = 0>> + <<set $activeSlave.balls = 0>> + <<set $activeSlave.ovaries = 1>> + <<set $activeSlave.pubicHStyle = "waxed">> + <<set $activeSlave.underArmHStyle = "waxed">> + <<set $activeSlave.shoulders = random(-1,1)>> + <<set $activeSlave.hips = 1>> + <<set $activeSlave.butt = 1>> + <<set $activeSlave.anus = 0>> + <<set $activeSlave.weight = 0>> + <<set $activeSlave.intelligence = random(-50,70)>> + <<set $activeSlave.intelligenceImplant = 15>> + <<set $activeSlave.skill.entertainment = 25>> + <<set $activeSlave.skill.whoring = 0>> + <<run setHealth($activeSlave, jsRandom(30, 60), 0, 0, 0, 0)>> + <<set $activeSlave.canRecruit = 0>> + <<set $activeSlave.behavioralFlaw = either("arrogant", "bitchy")>> + <<run newSlave($activeSlave)>> /* skip New Slave Intro */ + <<run repX((1*_repShares), "event", $activeSlave)>> + <</for>> + /* princess */ + <<set _princess.origin = "$He was a princess of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> + <<set _princess.mother = _queen.ID>> + <<run setMissingParents(_princess)>> + <<run newSlave(_princess)>> /* skip New Slave Intro */ + <<run repX((5*_repShares), "event", $activeSlave)>> + /* prince */ + <<if $seeDicks > 0>> + <<set _prince.origin = "$He was the crown prince of a royal kingdom, till $his family was overthrown and $he was acquired by "+$SF.Lower+".">> + <<set _prince.mother = _princess.mother>> + <<set _prince.father = _princess.father>> + <<run newSlave(_prince)>> /* skip New Slave Intro */ + <<run repX((3*_repShares), "event", $activeSlave)>> + <</if>> + /*Queen*/ + <<set _queen.origin = "$He was the Queen of a royal kingdom, till $his husband was overthrown and $he was acquired by "+$SF.Lower+".">> + <<run setMissingParents(_queen)>> + <<run newSlave(_queen)>> /* skip New Slave Intro */ + <<run repX((4*_repShares), "event", $activeSlave)>> + <<run repX(0-$rep, "event")>> /*Round off any remaining rep due to the trunc on shares*/ + <</replace>> + <</link>> //You will be loathed for this action and trade will be crippled.// + <</if>> <</if>> </span> diff --git a/src/uncategorized/householdLiquidator.tw b/src/uncategorized/householdLiquidator.tw index 8b9dcdc86242c09de94316ee9e53301b4ac51c2a..aed9638ba21f5d7e36ef42ab258d17055475d926 100644 --- a/src/uncategorized/householdLiquidator.tw +++ b/src/uncategorized/householdLiquidator.tw @@ -13,22 +13,13 @@ <<set $activeSlave.oldDevotion = $activeSlave.devotion>> <<set $activeSlave.oldTrust = $activeSlave.trust>> <<run setHealth($activeSlave, jsRandom(-50, 20))>> -<<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> -<</if>> +<<run setMissingParents($activeSlave)>> +<<set $activeSlave.canRecruit = 0>> The household liquidator is offering a set of siblings for sale. As usual, you will only be permitted to inspect the older, but there is a guarantee that the younger will be similar. <br><br> <<set _relativeSlave = generateRelatedSlave($activeSlave, "younger sibling")>> -<<if $familyTesting != 1>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = _relativeSlave.ID>> -<</if>> <<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>> <<set _slaveCost = slaveCost($activeSlave)>> @@ -54,19 +45,13 @@ The household liquidator is offering a set of siblings for sale. As usual, you w <<set $activeSlave.butt += 1>> <<if $activeSlave.vagina > -1>><<set $activeSlave.vagina += 1>><</if>> <<set $activeSlave.counter.birthsTotal = 1>> -<<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> -<</if>> +<<set $activeSlave.canRecruit = 0>> <<setLocalPronouns $activeSlave>> The household liquidator is offering a mother and $his daughter for sale. As usual, you will only be permitted to inspect the mother, but there is a guarantee that the daughter will be similar. <br><br> <<set _relativeSlave = generateRelatedSlave($activeSlave, "child")>> -<<if $familyTesting != 1>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = _relativeSlave.ID>> -<</if>> <<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>> <<set _slaveCost = slaveCost($activeSlave)>> @@ -83,22 +68,13 @@ The household liquidator is offering a mother and $his daughter for sale. As usu <<set $activeSlave.oldDevotion = $activeSlave.devotion>> <<set $activeSlave.oldTrust = $activeSlave.trust>> <<run setHealth($activeSlave, jsRandom(-50, 20))>> -<<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> -<</if>> +<<run setMissingParents($activeSlave)>> +<<set $activeSlave.canRecruit = 0>> The household liquidator is offering something special: identical twins. The markup is huge, but the merchandise isn't something you see every day. <br><br> <<set _relativeSlave = generateRelatedSlave($activeSlave, "twin")>> -<<if $familyTesting != 1>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = _relativeSlave.ID>> -<</if>> <<run _newSlaves.push($activeSlave), _newSlaves.push(_relativeSlave)>> <<set _slaveCost = slaveCost($activeSlave)>> diff --git a/src/uncategorized/longSlaveDescription.tw b/src/uncategorized/longSlaveDescription.tw index ce5ebfdba680962a8f22a40af9afceffd2b5f031..6e13851619e829825e685a7f1afa339bc5fe88a6 100644 --- a/src/uncategorized/longSlaveDescription.tw +++ b/src/uncategorized/longSlaveDescription.tw @@ -952,39 +952,22 @@ is <</if>> <</if>> -<<if $familyTesting == 1>> +<<= App.Desc.family($activeSlave)>> - <<= App.Desc.family($activeSlave)>> - - <<if $activeSlave.relationship >= 3 && totalRelatives($activeSlave) > 0>> - <<set _lover = getSlave($activeSlave.relationshipTarget)>> - <<if def _lover>> - <<set _relTerm = relativeTerm($activeSlave, _lover)>> - <<if _relTerm !== null>> - $He is in an <span class="lightgreen">incestuous relationship with $his _relTerm, <<= SlaveFullName(_lover)>>.</span> - <</if>> - <</if>> - <<elseif $activeSlave.relationship <= -2>> - <<set _relTerm = relativeTerm($activeSlave, $PC)>> +<<if $activeSlave.relationship >= 3 && totalRelatives($activeSlave) > 0>> + <<set _lover = getSlave($activeSlave.relationshipTarget)>> + <<if def _lover>> + <<set _relTerm = relativeTerm($activeSlave, _lover)>> <<if _relTerm !== null>> - $He is in an <span class="lightgreen">incestuous relationship with $his _relTerm, you.</span> + $He is in an <span class="lightgreen">incestuous relationship with $his _relTerm, <<= SlaveFullName(_lover)>>.</span> <</if>> <</if>> - -<<else>> - - <<if $activeSlave.relation != 0>> - <<set _lsd = $slaveIndices[$activeSlave.relationTarget]>> - <<if def _lsd>> - <<if ($slaves[_lsd].ID == $activeSlave.relationshipTarget) && ($activeSlave.relationship >= 3)>> - $He is <span class="lightgreen"><<= SlaveFullName($slaves[_lsd])>>'s $activeSlave.relation, making their relationship incestuous.</span> - <<else>> - $He is <span class="lightgreen"><<= SlaveFullName($slaves[_lsd])>>'s $activeSlave.relation.</span> - <</if>> - <</if>> +<<elseif $activeSlave.relationship <= -2>> + <<set _relTerm = relativeTerm($activeSlave, $PC)>> + <<if _relTerm !== null>> + $He is in an <span class="lightgreen">incestuous relationship with $his _relTerm, you.</span> <</if>> - -<</if>> /* closes extended family mode */ +<</if>> <<if $activeSlave.rivalry != 0>> <<set _lsd = $slaveIndices[$activeSlave.rivalryTarget]>> diff --git a/src/uncategorized/managePenthouse.tw b/src/uncategorized/managePenthouse.tw index f59c83755ff599b9ef88923e8e1061bde871b8e8..c639e08f5851112f733e1646b24b758280f78b3a 100644 --- a/src/uncategorized/managePenthouse.tw +++ b/src/uncategorized/managePenthouse.tw @@ -87,14 +87,14 @@ <</if>> </div> - <<if $familyTesting == 1 && $seePreg != 0>> + <<if $seePreg != 0>> <<if $experimental.nursery == 1>> <div> <<if $nursery == 0>> [[Build a nursery to raise children from birth|Manage Penthouse][cashX(forceNeg(Math.trunc(5000*$upgradeMultiplierArcology)), "capEx"), $nursery = 5, $nurseryNannies = 1, $PC.skill.engineering += 1]] <span class="detail">Costs <<print cashFormat(Math.trunc(5000*$upgradeMultiplierArcology))>></span> <<else>> - The penthouse has a nursery built where infants can be brought up. + The penthouse has a nursery built where infants can be brought up. <</if>> </div> <</if>> @@ -118,7 +118,7 @@ <</if>> </div> - <<if $familyTesting == 1 && $seePreg != 0>> + <<if $seePreg != 0>> <div> <<if $arcologyUpgrade.grid == 1>> <<if $incubator == 0>> diff --git a/src/uncategorized/newSlaveIntro.tw b/src/uncategorized/newSlaveIntro.tw index a27f70cef9e02d81c285aff351d46df85bc432c7..32fbebe2f67eef8d34bc5ace5783a37d71eb2867 100644 --- a/src/uncategorized/newSlaveIntro.tw +++ b/src/uncategorized/newSlaveIntro.tw @@ -186,21 +186,6 @@ The legalities completed, <span class='slave-name'><<= SlaveFullName($activeSlav <</if>> <</if>> -<<if $familyTesting == 0 && ($activeSlave.indenture < 0) && ($activeSlave.relation == 0)>> - <<if random(1,100) <= 5>> - <<set $activeSlave.recruiter = "twin">> - <<elseif ($activeSlave.actualAge > 32) && ($activeSlave.vagina != 0) && $activeSlave.trueVirgin != 1 && (random(1,100) <= 41)>> - <<set $activeSlave.recruiter = "mother">> - <<elseif ($activeSlave.actualAge < 24) && (random(1,100) <= 40)>> - <<set $activeSlave.recruiter = "daughter">> - <<elseif ($activeSlave.actualAge < 43) && (random(1,100) <= 20)>> - <<set $activeSlave.recruiter = "older sister">> - <<elseif ($activeSlave.actualAge < 25) && ($activeSlave.actualAge > 18) && (random(1,100) <= 20)>> - <<set $activeSlave.recruiter = "young sister">> - <</if>> -<</if>> - - <<if ($activeSlave.vagina > -1) && ($activeSlave.dick == 0)>> <<if ($PC.dick == 0) && ($PC.boobs >= 300)>> $He looks to you and sees a fellow woman, and is @@.mediumaquamarine;a little less afraid@@ that you will rape and abuse $him. diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw index 9f4727009d04da0c447ebf128d82b5d034406936..428f88a704990be9813e9109bb650dfa881fc63c 100644 --- a/src/uncategorized/nextWeek.tw +++ b/src/uncategorized/nextWeek.tw @@ -150,9 +150,6 @@ <<if $slaves[_i].weekAcquired < 0>> <<set $slaves[_i].weekAcquired = 0>> <</if>> - <<if $slaves[_i].relation == 0>> - <<set $slaves[_i].relationTarget = 0>> - <</if>> <<if $slaves[_i].relationship == 0>> <<set $slaves[_i].relationshipTarget = 0>> <</if>> diff --git a/src/uncategorized/options.tw b/src/uncategorized/options.tw index 754611073112b5d293cb6d70a53c540810d31920..0823ef295685bf21279bbcf794f63ed896d7bec7 100644 --- a/src/uncategorized/options.tw +++ b/src/uncategorized/options.tw @@ -58,13 +58,11 @@ This save was created using FC version $ver build $releaseID. <<goto "Options">> <</link>> <</if>> -<<if $familyTesting == 1>> - <br><<link "Reset extended family mode controllers">> - <<run resetFamilyCounters()>> - <<replace "#familyHint">>//@@.lightgreen;Done:@@ all family relations flushed and rebuilt.//<</replace>> - <</link>> - <span id="familyHint">//Clears and rebuilds .sister and .daughter tracking.//</span> -<</if>> +<br><<link "Reset extended family mode controllers">> + <<run resetFamilyCounters()>> + <<replace "#familyHint">>//@@.lightgreen;Done:@@ all family relations flushed and rebuilt.//<</replace>> + <</link>> +<span id="familyHint">//Clears and rebuilds .sister and .daughter tracking.//</span> <<if isNaN($rep)>> <br>[[Reset Reputation|Options][$rep = 0]] <</if>> @@ -609,19 +607,25 @@ This save was created using FC version $ver build $releaseID. <<option 0 "Disabled">> <</options>> - <<if $familyTesting > 0>> - <<options $allowFamilyTitles>> - Family titles for relatives - <<option 1 "Enabled">> - <<option 0 "Disabled">> - <</options>> + <<options $allowFamilyTitles>> + Family titles for relatives + <<option 1 "Enabled">> + <<option 0 "Disabled">> + <</options>> - <<options $showDistantRelatives>> - Distant relatives such as aunts, nieces and cousins are - <<option 1 "Enabled">> - <<option 0 "Disabled">> - <</options>> - <</if>> + <<options $limitFamilies>> + Limit family growth + <<option 1 "Enabled">> + <<option 0 "Disabled">> + <<comment>> + Restricts acquisition of additional relatives, by means other than birth, for slaves with families. + <</options>> + + <<options $showDistantRelatives>> + Distant relatives such as aunts, nieces and cousins are + <<option 1 "Enabled">> + <<option 0 "Disabled">> + <</options>> </div> </div> @@ -1062,7 +1066,7 @@ This save was created using FC version $ver build $releaseID. <<print App.UI.DOM.includeDOM(App.UI.Theme.selector(), "themeSelector")>> </p> - <<if ($familyTesting === 1 && $seePreg !== 0)>> + <<if $seePreg !== 0>> <<options $experimental.nursery>> Nursery is <<option 1 "Enabled">> diff --git a/src/uncategorized/pCoupAttempt.tw b/src/uncategorized/pCoupAttempt.tw index a60504571cfbb4ee8ec48ab24e2e26ccb9322fbe..91c108978c94b6f4b1a250b7bf72abf70ef9ea9b 100644 --- a/src/uncategorized/pCoupAttempt.tw +++ b/src/uncategorized/pCoupAttempt.tw @@ -226,55 +226,45 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc <<run setHealth($traitor, $traitor.health.condition, $traitor.health.condition - $traitor.health.shortDamage + 80, $traitor.health.longDamage, $traitor.health.illness, $traitor.health.tired)>> <<set $traitor.origin = "$He was your slave, but you freed $him, which $he repaid by participating in a coup attempt against you. It failed, and $he is again your chattel.">> <</if>> - <<if $familyTesting == 1>> - <<if $traitorStats.PCpregSource > 0 && $PC.preg > 0 && $PC.pregSource == 0>> - <<set $PC.pregSource = $traitor.ID>> + <<if $traitorStats.PCpregSource > 0 && $PC.preg > 0 && $PC.pregSource == 0>> + <<set $PC.pregSource = $traitor.ID>> + <</if>> + <<if $traitorStats.PCmother > 0>> + <<set $PC.mother = $traitor.ID>> + <</if>> + <<if $traitorStats.PCfather > 0>> + <<set $PC.father = $traitor.ID>> + <</if>> + <<for _pca = 0; _pca < $slaves.length; _pca++>> + <<if $traitorStats.traitorMother.includes($slaves[_pca].ID)>> + <<set $slaves[_pca].mother = $traitor.ID>> <</if>> - <<if $traitorStats.PCmother > 0>> - <<set $PC.mother = $traitor.ID>> + <<if $traitorStats.traitorFather.includes($slaves[_pca].ID)>> + <<set $slaves[_pca].father = $traitor.ID>> <</if>> - <<if $traitorStats.PCfather > 0>> - <<set $PC.father = $traitor.ID>> + <<if $traitorStats.traitorPregSources.includes($slaves[_pca].ID) && $slaves[_pca].preg > 0 && $slaves[_pca].pregSource == 0>> + <<set $slaves[_pca].pregSource = $traitor.ID>> <</if>> - <<for _pca = 0; _pca < $slaves.length; _pca++>> - <<if $traitorStats.traitorMother.includes($slaves[_pca].ID)>> - <<set $slaves[_pca].mother = $traitor.ID>> + <</for>> + <<if $incubator > 0>> + <<for _pca = 0; _pca < $tanks.length; _pca++>> + <<if $traitorStats.traitorMotherTank.includes($tanks[_pca].ID)>> + <<set $tanks[_pca].mother = $traitor.ID>> + <</if>> + <<if $traitorStats.traitorFatherTank.includes($tanks[_pca].ID)>> + <<set $tanks[_pca].father = $traitor.ID>> <</if>> - <<if $traitorStats.traitorFather.includes($slaves[_pca].ID)>> - <<set $slaves[_pca].father = $traitor.ID>> + <</for>> + <</if>> + <<if $nursery > 0>> + <<for _pca = 0; _pca < $cribs.length; _pca++>> + <<if $traitorStats.traitorMotherTank.includes($cribs[_pca].ID)>> + <<set $cribs[_pca].mother = $traitor.ID>> <</if>> - <<if $traitorStats.traitorPregSources.includes($slaves[_pca].ID) && $slaves[_pca].preg > 0 && $slaves[_pca].pregSource == 0>> - <<set $slaves[_pca].pregSource = $traitor.ID>> + <<if $traitorStats.traitorFatherTank.includes($cribs[_pca].ID)>> + <<set $cribs[_pca].father = $traitor.ID>> <</if>> <</for>> - <<if $incubator > 0>> - <<for _pca = 0; _pca < $tanks.length; _pca++>> - <<if $traitorStats.traitorMotherTank.includes($tanks[_pca].ID)>> - <<set $tanks[_pca].mother = $traitor.ID>> - <</if>> - <<if $traitorStats.traitorFatherTank.includes($tanks[_pca].ID)>> - <<set $tanks[_pca].father = $traitor.ID>> - <</if>> - <</for>> - <</if>> - <<if $nursery > 0>> - <<for _pca = 0; _pca < $cribs.length; _pca++>> - <<if $traitorStats.traitorMotherTank.includes($cribs[_pca].ID)>> - <<set $cribs[_pca].mother = $traitor.ID>> - <</if>> - <<if $traitorStats.traitorFatherTank.includes($cribs[_pca].ID)>> - <<set $cribs[_pca].father = $traitor.ID>> - <</if>> - <</for>> - <</if>> - <<else>> - <<if $traitorStats.traitorPregSources.length > 0>> - <<for _pca = 0; _pca < $slaves.length; _pca++>> - <<if $traitorStats.traitorPregSources.includes($slaves[_pca].ID) && $slaves[_pca].preg > 0 && $slaves[_pca].pregSource == 0>> - <<set $slaves[_pca].pregSource = $traitor.ID>> - <</if>> - <</for>> - <</if>> <</if>> <<if $traitorStats.boomerangBody > 0>> <<set _pca = $slaveIndices[$traitorStats.traitorBody]>> diff --git a/src/uncategorized/pCoupBetrayal.tw b/src/uncategorized/pCoupBetrayal.tw index 1258d68f7fce9d36552a3d6cdac1a874c74059dd..9d7efefcfcb226e3acc043c0cc982dd856270c3b 100644 --- a/src/uncategorized/pCoupBetrayal.tw +++ b/src/uncategorized/pCoupBetrayal.tw @@ -51,55 +51,45 @@ You are awakened in the middle of the night by a jolt that shakes the entire arc When $traitor.slaveName finally manages to return to you, $he explains what happened. $He caught wind of the military contractors working in the area and succeeded in goading the Daughters of Liberty into attacking the supposed slaver troop. Once it became clear that the untrained ex-slaves and their saviors stood no chance against a coordinated force, they beat a hasty retreat for your arcology under the assumption that the codes you gave them would allow them a fortifiable position. But alas, they found nothing more than their demise. <<set $traitor.assignment = "rest">> -<<if $familyTesting == 1>> - <<if $traitorStats.PCpregSource > 0 && $PC.preg > 0 && $PC.pregSource == 0>> - <<set $PC.pregSource = $traitor.ID>> +<<if $traitorStats.PCpregSource > 0 && $PC.preg > 0 && $PC.pregSource == 0>> + <<set $PC.pregSource = $traitor.ID>> +<</if>> +<<if $traitorStats.PCmother > 0>> + <<set $PC.mother = $traitor.ID>> +<</if>> +<<if $traitorStats.PCfather > 0>> + <<set $PC.father = $traitor.ID>> +<</if>> +<<for _pca = 0; _pca < $slaves.length; _pca++>> + <<if $traitorStats.traitorMother.includes($slaves[_pca].ID)>> + <<set $slaves[_pca].mother = $traitor.ID>> <</if>> - <<if $traitorStats.PCmother > 0>> - <<set $PC.mother = $traitor.ID>> + <<if $traitorStats.traitorFather.includes($slaves[_pca].ID)>> + <<set $slaves[_pca].father = $traitor.ID>> <</if>> - <<if $traitorStats.PCfather > 0>> - <<set $PC.father = $traitor.ID>> + <<if $traitorStats.traitorPregSources.includes($slaves[_pca].ID) && $slaves[_pca].preg > 0 && $slaves[_pca].pregSource == 0>> + <<set $slaves[_pca].pregSource = $traitor.ID>> <</if>> - <<for _pca = 0; _pca < $slaves.length; _pca++>> - <<if $traitorStats.traitorMother.includes($slaves[_pca].ID)>> - <<set $slaves[_pca].mother = $traitor.ID>> +<</for>> +<<if $incubator > 0>> + <<for _pca = 0; _pca < $tanks.length; _pca++>> + <<if $traitorStats.traitorMotherTank.includes($tanks[_pca].ID)>> + <<set $tanks[_pca].mother = $traitor.ID>> <</if>> - <<if $traitorStats.traitorFather.includes($slaves[_pca].ID)>> - <<set $slaves[_pca].father = $traitor.ID>> + <<if $traitorStats.traitorFatherTank.includes($tanks[_pca].ID)>> + <<set $tanks[_pca].father = $traitor.ID>> <</if>> - <<if $traitorStats.traitorPregSources.includes($slaves[_pca].ID) && $slaves[_pca].preg > 0 && $slaves[_pca].pregSource == 0>> - <<set $slaves[_pca].pregSource = $traitor.ID>> + <</for>> +<</if>> +<<if $nursery > 0>> + <<for _pca = 0; _pca < $cribs.length; _pca++>> + <<if $traitorStats.traitorMotherTank.includes($cribs[_pca].ID)>> + <<set $cribs[_pca].mother = $traitor.ID>> + <</if>> + <<if $traitorStats.traitorFatherTank.includes($cribs[_pca].ID)>> + <<set $cribs[_pca].father = $traitor.ID>> <</if>> <</for>> - <<if $incubator > 0>> - <<for _pca = 0; _pca < $tanks.length; _pca++>> - <<if $traitorStats.traitorMotherTank.includes($tanks[_pca].ID)>> - <<set $tanks[_pca].mother = $traitor.ID>> - <</if>> - <<if $traitorStats.traitorFatherTank.includes($tanks[_pca].ID)>> - <<set $tanks[_pca].father = $traitor.ID>> - <</if>> - <</for>> - <</if>> - <<if $nursery > 0>> - <<for _pca = 0; _pca < $cribs.length; _pca++>> - <<if $traitorStats.traitorMotherTank.includes($cribs[_pca].ID)>> - <<set $cribs[_pca].mother = $traitor.ID>> - <</if>> - <<if $traitorStats.traitorFatherTank.includes($cribs[_pca].ID)>> - <<set $cribs[_pca].father = $traitor.ID>> - <</if>> - <</for>> - <</if>> -<<else>> - <<if $traitorStats.traitorPregSources.length > 0>> - <<for _pca = 0; _pca < $slaves.length; _pca++>> - <<if $traitorStats.traitorPregSources.includes($slaves[_pca].ID) && $slaves[_pca].preg > 0 && $slaves[_pca].pregSource == 0>> - <<set $slaves[_pca].pregSource = $traitor.ID>> - <</if>> - <</for>> - <</if>> <</if>> <<if $traitorStats.boomerangBody > 0>> <<set _pca = $slaveIndices[$traitorStats.traitorBody]>> diff --git a/src/uncategorized/pUndergroundRailroad.tw b/src/uncategorized/pUndergroundRailroad.tw index 4852044a7281b9350ed17e442c2d4ef9670fc4d4..a341d1473d1a8b708daaa10f4e316f2f7df0fe3d 100644 --- a/src/uncategorized/pUndergroundRailroad.tw +++ b/src/uncategorized/pUndergroundRailroad.tw @@ -137,59 +137,49 @@ This is disturbing, to say the least. After close investigation, it appears some <<set $traitor.pregControl = "none">> <<set $traitor.inflation = 0, $traitor.inflationType = "none", $traitor.inflationMethod = 0, SetBellySize($traitor)>> <<set $traitorStats = {PCpregSource: 0, PCmother: 0, PCfather: 0, traitorMother: [], traitorFather: [], traitorPregSources: [], traitorMotherTank: [], traitorFatherTank: [], traitorBody: 0}>> - <<if $familyTesting == 1>> - <<if $traitor.ID == $PC.pregSource>> - <<set $traitorStats.PCpregSource = $traitor.ID>> - <</if>> - <<if $PC.mother == $traitor.ID>> - <<set $traitorStats.PCmother = $traitor.ID>> - <</if>> - <<if $PC.father == $traitor.ID>> - <<set $traitorStats.PCfather = $traitor.ID>> + <<if $traitor.ID == $PC.pregSource>> + <<set $traitorStats.PCpregSource = $traitor.ID>> + <</if>> + <<if $PC.mother == $traitor.ID>> + <<set $traitorStats.PCmother = $traitor.ID>> + <</if>> + <<if $PC.father == $traitor.ID>> + <<set $traitorStats.PCfather = $traitor.ID>> + <</if>> + <<for _pur = 0; _pur < $slaves.length; _pur++>> + <<if $slaves[_pur].ID != $traitor.ID>> + <<if $slaves[_pur].mother == $traitor.ID>> + <<set $traitorStats.traitorMother.push($slaves[_pur].ID)>> + <</if>> + <<if $slaves[_pur].father == $traitor.ID>> + <<set $traitorStats.traitorFather.push($slaves[_pur].ID)>> + <</if>> + <<if $traitor.ID == $slaves[_pur].pregSource>> + <<set $traitorStats.traitorPregSources.push($slaves[_pur].ID)>> + <</if>> <</if>> - <<for _pur = 0; _pur < $slaves.length; _pur++>> - <<if $slaves[_pur].ID != $traitor.ID>> - <<if $slaves[_pur].mother == $traitor.ID>> - <<set $traitorStats.traitorMother.push($slaves[_pur].ID)>> - <</if>> - <<if $slaves[_pur].father == $traitor.ID>> - <<set $traitorStats.traitorFather.push($slaves[_pur].ID)>> - <</if>> - <<if $traitor.ID == $slaves[_pur].pregSource>> - <<set $traitorStats.traitorPregSources.push($slaves[_pur].ID)>> - <</if>> + <</for>> + <<if $incubator > 0>> + <<for _z = 0; _z < $tanks.length; _z++>> + <<if $traitor.ID == $tanks[_z].mother>> + <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> + <</if>> + <<if $traitor.ID == $tanks[_z].father>> + <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> <</if>> <</for>> - <<if $incubator > 0>> - <<for _z = 0; _z < $tanks.length; _z++>> - <<if $traitor.ID == $tanks[_z].mother>> - <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> - <</if>> - <<if $traitor.ID == $tanks[_z].father>> - <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> - <</if>> - <</for>> - <</if>> - <<if $nursery > 0>> - <<for _z = 0; _z < $cribs.length; _z++>> - <<if $traitor.ID == $cribs[_z].mother>> - <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> - <</if>> - <<if $traitor.ID == $cribs[_z].father>> - <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> - <</if>> - <</for>> - <</if>> - <<set $traitor.sisters = 0, $traitor.daughters = 0>> - <<else>> - <<for _pur = 0; _pur < $slaves.length; _pur++>> - <<if $slaves[_pur].ID != $traitor.ID>> - <<if $traitor.ID == $slaves[_pur].pregSource>> - <<set $traitorStats.traitorPregSources.push($slaves[_pur].ID)>> - <</if>> + <</if>> + <<if $nursery > 0>> + <<for _z = 0; _z < $cribs.length; _z++>> + <<if $traitor.ID == $cribs[_z].mother>> + <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> + <</if>> + <<if $traitor.ID == $cribs[_z].father>> + <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> <</if>> <</for>> <</if>> + <<set $traitor.sisters = 0, $traitor.daughters = 0>> <<if $traitor.bodySwap > 0>> <<set _myBody = $slaves.findIndex(function(s) { return s.origBodyOwnerID == $traitor.ID; })>> <<if _myBody != -1>> @@ -277,59 +267,49 @@ This is disturbing, to say the least. After close investigation, it appears some <<set $traitor.pregControl = "none">> <<set $traitor.inflation = 0, $traitor.inflationType = "none", $traitor.inflationMethod = 0, SetBellySize($traitor)>> <<set $traitorStats = {PCpregSource: 0, PCmother: 0, PCfather: 0, traitorMother: [], traitorFather: [], traitorPregSources: [], traitorMotherTank: [], traitorFatherTank: [], traitorBody: 0}>> - <<if $familyTesting == 1>> - <<if $traitor.ID == $PC.pregSource>> - <<set $traitorStats.PCpregSource = $traitor.ID>> - <</if>> - <<if $PC.mother == $traitor.ID>> - <<set $traitorStats.PCmother = $traitor.ID>> - <</if>> - <<if $PC.father == $traitor.ID>> - <<set $traitorStats.PCfather = $traitor.ID>> + <<if $traitor.ID == $PC.pregSource>> + <<set $traitorStats.PCpregSource = $traitor.ID>> + <</if>> + <<if $PC.mother == $traitor.ID>> + <<set $traitorStats.PCmother = $traitor.ID>> + <</if>> + <<if $PC.father == $traitor.ID>> + <<set $traitorStats.PCfather = $traitor.ID>> + <</if>> + <<for _pur = 0; _pur < $slaves.length; _pur++>> + <<if $slaves[_pur].ID != $traitor.ID>> + <<if $slaves[_pur].mother == $traitor.ID>> + <<set $traitorStats.traitorMother.push($slaves[_pur].ID)>> + <</if>> + <<if $slaves[_pur].father == $traitor.ID>> + <<set $traitorStats.traitorFather.push($slaves[_pur].ID)>> + <</if>> + <<if $traitor.ID == $slaves[_pur].pregSource>> + <<set $traitorStats.traitorPregSources.push($slaves[_pur].ID)>> + <</if>> <</if>> - <<for _pur = 0; _pur < $slaves.length; _pur++>> - <<if $slaves[_pur].ID != $traitor.ID>> - <<if $slaves[_pur].mother == $traitor.ID>> - <<set $traitorStats.traitorMother.push($slaves[_pur].ID)>> - <</if>> - <<if $slaves[_pur].father == $traitor.ID>> - <<set $traitorStats.traitorFather.push($slaves[_pur].ID)>> - <</if>> - <<if $traitor.ID == $slaves[_pur].pregSource>> - <<set $traitorStats.traitorPregSources.push($slaves[_pur].ID)>> - <</if>> + <</for>> + <<if $incubator > 0>> + <<for _z = 0; _z < $tanks.length; _z++>> + <<if $traitor.ID == $tanks[_z].mother>> + <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> + <</if>> + <<if $traitor.ID == $tanks[_z].father>> + <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> <</if>> <</for>> - <<if $incubator > 0>> - <<for _z = 0; _z < $tanks.length; _z++>> - <<if $traitor.ID == $tanks[_z].mother>> - <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> - <</if>> - <<if $traitor.ID == $tanks[_z].father>> - <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> - <</if>> - <</for>> - <</if>> - <<if $nursery > 0>> - <<for _z = 0; _z < $cribs.length; _z++>> - <<if $traitor.ID == $cribs[_z].mother>> - <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> - <</if>> - <<if $traitor.ID == $cribs[_z].father>> - <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> - <</if>> - <</for>> - <</if>> - <<set $traitor.sisters = 0, $traitor.daughters = 0>> - <<else>> - <<for _pur = 0; _pur < $slaves.length; _pur++>> - <<if $slaves[_pur].ID != $traitor.ID>> - <<if $traitor.ID == $slaves[_pur].pregSource>> - <<set $traitorStats.traitorPregSources.push($slaves[_pur].ID)>> - <</if>> + <</if>> + <<if $nursery > 0>> + <<for _z = 0; _z < $cribs.length; _z++>> + <<if $traitor.ID == $cribs[_z].mother>> + <<set $traitorStats.traitorMotherTank.push($slaves[_z].ID)>> + <</if>> + <<if $traitor.ID == $cribs[_z].father>> + <<set $traitorStats.traitorFatherTank.push($slaves[_z].ID)>> <</if>> <</for>> <</if>> + <<set $traitor.sisters = 0, $traitor.daughters = 0>> <<if $traitor.bodySwap > 0>> <<set _myBody = $slaves.findIndex(function(s) { return s.origBodyOwnerID == $traitor.ID; })>> <<if _myBody != -1>> diff --git a/src/uncategorized/randomNonindividualEvent.tw b/src/uncategorized/randomNonindividualEvent.tw index fed74bc6481e8fffaaccc3d06f5d8dd370038409..f5cd82da80b64a6537c6ff3fd95895c4442b0f4a 100644 --- a/src/uncategorized/randomNonindividualEvent.tw +++ b/src/uncategorized/randomNonindividualEvent.tw @@ -118,111 +118,57 @@ /* Relationship Events */ <<if $seeIncest == 1>> - <<if $familyTesting == 0>> - - <<set _relatedSlaves = $slaves.filter(function(s) { return s.relation != 0; })>> - - <<set _devMothers = _relatedSlaves.filter(function(s) { return s.relation == "mother" && s.devotion > 50 && s.anus != 0 && s.relationshipTarget != s.relationTarget && canWalk(s); })>> - <<for _devMothers.length > 0>> - <<set $devMother = _devMothers.pluck()>> - <<set $devDaughter = getSlave($devMother.relationTarget)>> - <<if (def $devDaughter) && $devDaughter.devotion > 50 && $devDaughter.anus != 0 && canWalk($devDaughter)>> - <<set $events.push("RE devoted mother daughter")>> - <<set $devMother = $devMother.ID>> - <<set $devDaughter = $devDaughter.ID>> - <<break>> - <</if>> - <</for>> - - <<set _resMothers = _relatedSlaves.filter(function(s) { return s.relation == "mother" && s.devotion < 10 && s.anus != 0 && s.relationshipTarget != s.relationTarget && canWalk(s); })>> - <<for _resMothers.length > 0>> - <<set $motherSlave = _resMothers.pluck()>> - <<set $daughterSlave = getSlave($motherSlave.relationTarget)>> - <<if (def $daughterSlave) && $daughterSlave.devotion < 10 && $daughterSlave.anus != 0 && canWalk($daughterSlave)>> - <<set $events.push("RE resistant mother daughter")>> - <<set $motherSlave = $motherSlave.ID>> - <<set $daughterSlave = $daughterSlave.ID>> - <<break>> - <</if>> - <</for>> - - <<set _youngerSisters = _relatedSlaves.filter(function(s) { return s.relation == "sister" && s.origin == "$He was sold into slavery by $his older sister." && canPenetrate(s); })>> - <<for _youngerSisters.length > 0>> - <<set $youngerSister = _youngerSisters.pluck()>> - <<set $olderSister = getSlave($youngerSister.relationTarget)>> - <<if (def $olderSister) && $olderSister.anus == 0 && $youngerSister.devotion > ($olderSister.devotion+20)>> - <<set $events.push("RE sibling revenge")>> - <<set $youngerSister = $youngerSister.ID>> - <<set $olderSister = $olderSister.ID>> - <<break>> - <</if>> - <</for>> - - <<set _twins = _relatedSlaves.filter(function(s) { return s.relation == "twin" && s.anus > 0 && s.devotion > 50 && canWalk(s); })>> - <<for _twins.length > 0>> - <<set $alphaTwin = _twins.pluck()>> - <<set $betaTwin = getSlave($alphaTwin.relationTarget)>> - <<if (def $betaTwin) && $betaTwin.anus > 0 && $betaTwin.devotion > 50 && canWalk($betaTwin)>> - <<set $events.push("RE devoted twins")>> - <<set $alphaTwin = $alphaTwin.ID>> - <<set $betaTwin = $betaTwin.ID>> - <<break>> - <</if>> - <</for>> - <<else>> /* $familyTesting == 1 */ + <<set _relatedSlaves = $slaves.filter(function(s) { return s.daughters > 0 || s.sisters > 0; })>> + + <<set _devMothers = _relatedSlaves.filter(function(s) { return s.daughters > 0 && s.devotion > 50 && s.anus != 0 && canWalk(s); })>> + <<for _devMothers.length > 0>> + <<set $devMother = _devMothers.pluck()>> + <<set $devDaughter = randomDaughter($devMother)>> + <<if (def $devDaughter) && ($devDaughter.devotion > 50) && ($devDaughter.anus != 0) && canWalk($devDaughter)>> + <<set $events.push("RE devoted mother daughter")>> + <<set $devMother = $devMother.ID>> + <<set $devDaughter = $devDaughter.ID>> + <<break>> + <</if>> + <</for>> - <<set _relatedSlaves = $slaves.filter(function(s) { return s.daughters > 0 || s.sisters > 0; })>> + <<set _resMothers = _relatedSlaves.filter(function(s) { return s.daughters > 0 && s.devotion < 10 && s.anus != 0 && canWalk(s); })>> + <<for _resMothers.length > 0>> + <<set $motherSlave = _resMothers.pluck()>> + <<set $daughterSlave = randomDaughter($motherSlave)>> + <<if (def $daughterSlave) && ($daughterSlave.devotion < 10) && ($daughterSlave.anus != 0) && canWalk($daughterSlave)>> + <<set $events.push("RE resistant mother daughter")>> + <<set $motherSlave = $motherSlave.ID>> + <<set $daughterSlave = $daughterSlave.ID>> + <<break>> + <</if>> + <</for>> - <<set _devMothers = _relatedSlaves.filter(function(s) { return s.daughters > 0 && s.devotion > 50 && s.anus != 0 && canWalk(s); })>> - <<for _devMothers.length > 0>> - <<set $devMother = _devMothers.pluck()>> - <<set $devDaughter = randomDaughter($devMother)>> - <<if (def $devDaughter) && ($devDaughter.devotion > 50) && ($devDaughter.anus != 0) && canWalk($devDaughter)>> - <<set $events.push("RE devoted mother daughter")>> - <<set $devMother = $devMother.ID>> - <<set $devDaughter = $devDaughter.ID>> - <<break>> - <</if>> - <</for>> - - <<set _resMothers = _relatedSlaves.filter(function(s) { return s.daughters > 0 && s.devotion < 10 && s.anus != 0 && canWalk(s); })>> - <<for _resMothers.length > 0>> - <<set $motherSlave = _resMothers.pluck()>> - <<set $daughterSlave = randomDaughter($motherSlave)>> - <<if (def $daughterSlave) && ($daughterSlave.devotion < 10) && ($daughterSlave.anus != 0) && canWalk($daughterSlave)>> - <<set $events.push("RE resistant mother daughter")>> - <<set $motherSlave = $motherSlave.ID>> - <<set $daughterSlave = $daughterSlave.ID>> - <<break>> - <</if>> - <</for>> - - <<set _youngerSisters = _relatedSlaves.filter(function(s) { return s.sisters > 0 && s.origin == "$He was sold into slavery by $his older sister." && canPenetrate(s); })>> - <<for _youngerSisters.length > 0>> - <<set $youngerSister = _youngerSisters.pluck()>> - <<set $olderSister = randomSister($youngerSister)>> - <<if (def $olderSister) && ($olderSister.anus == 0) && $youngerSister.devotion > ($olderSister.devotion+20)>> - <<set $events.push("RE sibling revenge")>> - <<set $youngerSister = $youngerSister.ID>> - <<set $olderSister = $olderSister.ID>> - <<break>> - <</if>> - <</for>> - - <<set _twins = _relatedSlaves.filter(function(s) { return s.sisters > 0 && s.anus > 0 && s.devotion > 50 && canWalk(s); })>> - <<for _twins.length > 0>> - <<set $alphaTwin = _twins.pluck()>> - <<set $betaTwin = randomTwinSister($alphaTwin)>> - <<if (def $betaTwin) && ($betaTwin.anus > 0) && ($betaTwin.devotion > 50) && canWalk($betaTwin)>> - <<set $events.push("RE devoted twins")>> - <<set $alphaTwin = $alphaTwin.ID>> - <<set $betaTwin = $betaTwin.ID>> - <<break>> - <</if>> - <</for>> + <<set _youngerSisters = _relatedSlaves.filter(function(s) { return s.sisters > 0 && s.origin == "$He was sold into slavery by $his older sister." && canPenetrate(s); })>> + <<for _youngerSisters.length > 0>> + <<set $youngerSister = _youngerSisters.pluck()>> + <<set $olderSister = randomSister($youngerSister)>> + <<if (def $olderSister) && ($olderSister.anus == 0) && $youngerSister.devotion > ($olderSister.devotion+20)>> + <<set $events.push("RE sibling revenge")>> + <<set $youngerSister = $youngerSister.ID>> + <<set $olderSister = $olderSister.ID>> + <<break>> + <</if>> + <</for>> + + <<set _twins = _relatedSlaves.filter(function(s) { return s.sisters > 0 && s.anus > 0 && s.devotion > 50 && canWalk(s); })>> + <<for _twins.length > 0>> + <<set $alphaTwin = _twins.pluck()>> + <<set $betaTwin = randomTwinSister($alphaTwin)>> + <<if (def $betaTwin) && ($betaTwin.anus > 0) && ($betaTwin.devotion > 50) && canWalk($betaTwin)>> + <<set $events.push("RE devoted twins")>> + <<set $alphaTwin = $alphaTwin.ID>> + <<set $betaTwin = $betaTwin.ID>> + <<break>> + <</if>> + <</for>> - <</if>> /* closes extended family mode */ <</if>> /* Fetish Interest Events */ @@ -756,11 +702,7 @@ <</if>> <</if>> - <<if $familyTesting == 1>> - <<set _recruiterSlaves = $slaves.filter(function(s) { return s.fuckdoll == 0 && s.canRecruit == 1 && s.devotion > 50 && canWalk(s); })>> - <<else>> - <<set _recruiterSlaves = $slaves.filter(function(s) { return s.recruiter != 0 && s.fuckdoll == 0 && s.devotion > 50 && s.relation == 0 && canWalk(s); })>> - <</if>> + <<set _recruiterSlaves = $slaves.filter(function(s) { return s.fuckdoll === 0 && (s.canRecruit === 1 && (totalRelatives(s) === 0 || $limitFamilies !== 1) && s.devotion > 50 && canWalk(s); })>> <<for _recruiterSlaves.length > 0>> <<set $recruiterSlave = _recruiterSlaves.pluck()>> diff --git a/src/uncategorized/reBoomerang.tw b/src/uncategorized/reBoomerang.tw index a8c1d886d6889311062195e4380dbed240c57d51..5b9c738af13f23f8bdc86795751ee8d445158058 100644 --- a/src/uncategorized/reBoomerang.tw +++ b/src/uncategorized/reBoomerang.tw @@ -381,70 +381,45 @@ It isn't obvious how $he managed to escape, though no doubt you could review the <<if $cash >= _ContractCost>> <br><<link "Obfuscate $his appearance and re-enslave $him">> <<run cashX(forceNeg(_ContractCost), "slaveTransfer", $activeSlave)>> - <<if $familyTesting == 1>> - <<if $boomerangStats.PCpregSource > 0 && $PC.preg > 0 && $PC.pregSource == 0>> - <<set $PC.pregSource = $activeSlave.ID>> + <<if $boomerangStats.PCpregSource > 0 && $PC.preg > 0 && $PC.pregSource == 0>> + <<set $PC.pregSource = $activeSlave.ID>> + <</if>> + <<if $boomerangStats.PCmother > 0>> + <<set $PC.mother = $activeSlave.ID>> + <</if>> + <<if $boomerangStats.PCfather > 0>> + <<set $PC.father = $activeSlave.ID>> + <</if>> + <<for _reb = 0; _reb < $slaves.length; _reb++>> + <<if $boomerangStats.boomerangMother.includes($slaves[_reb].ID)>> + <<set $slaves[_reb].mother = $activeSlave.ID>> <</if>> - <<if $boomerangStats.PCmother > 0>> - <<set $PC.mother = $activeSlave.ID>> + <<if $boomerangStats.boomerangFather.includes($slaves[_reb].ID)>> + <<set $slaves[_reb].father = $activeSlave.ID>> <</if>> - <<if $boomerangStats.PCfather > 0>> - <<set $PC.father = $activeSlave.ID>> + <<if $boomerangStats.boomerangPregSources.includes($slaves[_reb].ID) && $slaves[_reb].preg > 0 && $slaves[_reb].pregSource == 0>> + <<set $slaves[_reb].pregSource = $activeSlave.ID>> <</if>> - <<for _reb = 0; _reb < $slaves.length; _reb++>> - <<if $boomerangStats.boomerangMother.includes($slaves[_reb].ID)>> - <<set $slaves[_reb].mother = $activeSlave.ID>> - <</if>> - <<if $boomerangStats.boomerangFather.includes($slaves[_reb].ID)>> - <<set $slaves[_reb].father = $activeSlave.ID>> + <</for>> + <<if $incubator > 0>> + <<for _reb = 0; _reb < $tanks.length; _reb++>> + <<if $boomerangStats.boomerangMotherTank.includes($tanks[_reb].ID)>> + <<set $tanks[_reb].mother = $activeSlave.ID>> <</if>> - <<if $boomerangStats.boomerangPregSources.includes($slaves[_reb].ID) && $slaves[_reb].preg > 0 && $slaves[_reb].pregSource == 0>> - <<set $slaves[_reb].pregSource = $activeSlave.ID>> + <<if $boomerangStats.boomerangFatherTank.includes($tanks[_reb].ID)>> + <<set $tanks[_reb].father = $activeSlave.ID>> <</if>> <</for>> - <<if $incubator > 0>> - <<for _reb = 0; _reb < $tanks.length; _reb++>> - <<if $boomerangStats.boomerangMotherTank.includes($tanks[_reb].ID)>> - <<set $tanks[_reb].mother = $activeSlave.ID>> - <</if>> - <<if $boomerangStats.boomerangFatherTank.includes($tanks[_reb].ID)>> - <<set $tanks[_reb].father = $activeSlave.ID>> - <</if>> - <</for>> - <</if>> - <<if $nursery > 0>> - <<for _reb = 0; _reb < $cribs.length; _reb++>> - <<if $boomerangStats.boomerangMotherTank.includes($cribs[_reb].ID)>> - <<set $cribs[_reb].mother = $activeSlave.ID>> - <</if>> - <<if $boomerangStats.boomerangFatherTank.includes($cribs[_reb].ID)>> - <<set $cribs[_reb].father = $activeSlave.ID>> - <</if>> - <</for>> - <</if>> - <<else>> - <<if $boomerangStats.boomerangRelation > 0>> - <<set _reb = $slaveIndices[$boomerangStats.boomerangRelation]>> - <<if def _reb>> - <<if $activeSlave.relation == "mother">> - <<set $slaves[_reb].relation = "daughter">> - <<elseif $activeSlave.relation == "daughter">> - <<set $slaves[_reb].relation = "mother">> - <<else>> - <<set $slaves[_reb].relation = $activeSlave.relation>> - <</if>> - <<set $slaves[_reb].relationshipTarget = $activeSlave.ID>> - <<else>> - <<set $activeSlave.relation = 0, $activeSlave.relationTarget = 0>> + <</if>> + <<if $nursery > 0>> + <<for _reb = 0; _reb < $cribs.length; _reb++>> + <<if $boomerangStats.boomerangMotherTank.includes($cribs[_reb].ID)>> + <<set $cribs[_reb].mother = $activeSlave.ID>> <</if>> - <</if>> - <<if $boomerangStats.boomerangPregSources.length > 0>> - <<for _reb = 0; _reb < $slaves.length; _reb++>> - <<if $boomerangStats.boomerangPregSources.includes($slaves[_reb].ID) && $slaves[_reb].preg > 0 && $slaves[_reb].pregSource == 0>> - <<set $slaves[_reb].pregSource = $activeSlave.ID>> - <</if>> - <</for>> - <</if>> + <<if $boomerangStats.boomerangFatherTank.includes($cribs[_reb].ID)>> + <<set $cribs[_reb].father = $activeSlave.ID>> + <</if>> + <</for>> <</if>> <<if $boomerangStats.boomerangRelationship > 0>> <<set _reb = $slaveIndices[$boomerangStats.boomerangRelationship]>> diff --git a/src/uncategorized/reFSEgyptianRevivalistAcquisition.tw b/src/uncategorized/reFSEgyptianRevivalistAcquisition.tw index 68e1c672f553cd45f43d806e8e712df1c76a4daf..5d2b3634a7f71bf6cb21a733d583fc446ca2cc0d 100644 --- a/src/uncategorized/reFSEgyptianRevivalistAcquisition.tw +++ b/src/uncategorized/reFSEgyptianRevivalistAcquisition.tw @@ -14,14 +14,8 @@ <<set $activeSlave.devotion = random(5,15)>> <<set $activeSlave.trust = random(-15,-5)>> <<run setHealth($activeSlave, jsRandom(-20, 0))>> -<<set _slaveCost = slaveCost($activeSlave)>> -<<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $activeSlave.canRecruit = 0>> - <<set $missingParentID-->> -<</if>> +<<run setMissingParents($activeSlave)>> +<<set $activeSlave.canRecruit = 0>> <<if ($activeSlave.dick > 0) && ($activeSlave.balls == 0)>><<set $activeSlave.balls = random(1,5)>><</if>> <<set _oppositeSex = $seeDicks > 0 && $seeDicks < 100 && (random(1, 4) <= 3)>> @@ -31,10 +25,6 @@ <<set _secondSlave.relationshipTarget = $activeSlave.ID>> <<set $activeSlave.relationship = 4>> <<set $activeSlave.relationshipTarget = _secondSlave.ID>> -<<if $familyTesting != 1>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = _secondSlave.ID>> -<</if>> <<if (_secondSlave.actualAge <= 22)>> <<set _secondSlave.career = setup.youngCareers.random()>> @@ -72,7 +62,9 @@ You receive so many messages, as a noted titan of the new Free Cities world, tha <br><br> This call is coming from a public kiosk, which is usually an indication that the person on the other end is a transient individual who has decided to take slavery over homelessness. In this case, however, the story is more unusual — the callers seem stressed, but otherwise normal. They haltingly and quietly explain, with many nervous glances off-camera to ensure they are not overheard, that they are both siblings and lovers, and their attempts to keep the truth of the nature of their relationship from their friends, family, and society at large have failed. They had heard of $arcologies[0].name's reverence for incestuous relationships, and have managed to talk themselves into the questionable conclusion that their only chance to be together was for them to sell themselves to someone who would not just accept but encourage their incest — namely, you. <br><br> -//Enslaving them will cost <<print cashFormat(_contractCost)>>. Selling them immediately will bring in approximately <<print cashFormat(_slaveCost*2-3000)>>.// + +<<set _totalValue = slaveCost($activeSlave) + slaveCost(_secondSlave)>> +//Enslaving them will cost <<print cashFormat(_contractCost)>>. Selling them immediately will bring in approximately <<print cashFormat(_totalValue-_contractCost)>>.// <br><br> <<set $saleDescription = 0>> <<include "Long Slave Description">> diff --git a/src/uncategorized/reMilfTourist.tw b/src/uncategorized/reMilfTourist.tw index fce56ffc972acb64a986901980f3cf35d8253b02..89a30b0184ff351a326ba457f1fc3619a71c9b14 100644 --- a/src/uncategorized/reMilfTourist.tw +++ b/src/uncategorized/reMilfTourist.tw @@ -172,7 +172,6 @@ <br> <<run cashX(-20000, "event", $activeSlave)>> <<include "New Slave Intro">> - <<set $activeSlave.recruiter = 0>> <</replace>> <</link>> //This will require an unprofitable <<print cashFormat(20000)>>, since _he2 is wealthy and obfuscating _his2 fate will require considerable spending// <<else>> diff --git a/src/uncategorized/reRelativeRecruiter.tw b/src/uncategorized/reRelativeRecruiter.tw index 3e2898a9c697b4a428fd366069528e00eb1dde35..b835a48d5fbeaad08ed71ab478fa55566495718d 100644 --- a/src/uncategorized/reRelativeRecruiter.tw +++ b/src/uncategorized/reRelativeRecruiter.tw @@ -2,8 +2,6 @@ <<set $nextButton = "Continue", $nextLink = "RIE Eligibility Check", $returnTo = "RIE Eligibility Check">> -<<if $familyTesting == 1>> - <<set $eventSlave = getSlave($recruiterSlave)>> <<set $activeSlave = BaseSlave()>> <<set $activeSlave = Object.assign($activeSlave, clone($genePool.find(function(o) { return o.ID == $eventSlave.ID; })))>> @@ -807,333 +805,3 @@ You look up the _relationType. _He2 costs <<print cashFormat(_slaveCost)>>, a ba </span> <</if>> /* _recruitedType.length */ - -<<else>> /* vanilla */ - -<<set $i = $slaveIndices[$recruiterSlave]>> -<<set $j = $genePool.findIndex(function(o) { return o.ID == $slaves[$i].ID; })>> - -<<set $eventSlave = $slaves[$i]>> -<<set $activeSlave = BaseSlave()>> -<<set $activeSlave = Object.assign($activeSlave, clone($genePool[$j]))>> -<<run Enunciate($eventSlave)>> - -<span id="artFrame"> -/* 000-250-006 */ -<<if $seeImages == 1>> - <<if $imageChoice == 1>> - <div class="imageRef lrgVector"><div class="mask"> </div><<= SlaveArt($eventSlave, 2, 0)>></div> - <<else>> - <div class="imageRef lrgRender"><div class="mask"> </div><<= SlaveArt($eventSlave, 2, 0)>></div> - <</if>> -<</if>> -/* 000-250-006 */ -</span> - -<<if (random(0,99) < $seeDicks)>> - <<if random(1,100) > 60>> - <<if $activeSlave.dick > 0>> - <<set $activeSlave.dick = 0>> - <<set $activeSlave.balls = 0>> - <<set $activeSlave.scrotum = 0>> - <<set $activeSlave.ovaries = 1>> - <<set $activeSlave.vagina = either(0,1,1,1,2,2)>> - <<set $activeSlave.boobs += 100*random(1,4)>> - <<set $activeSlave.butt += random(1,2)>> - <<if $activeSlave.muscles > 5>> - <<set $activeSlave.muscles -= random(0,10)>> - <</if>> - <<if $activeSlave.height >= 150>> - <<set $activeSlave.height -= 10*random(0,1)>> - <</if>> - <<else>> - <<set $activeSlave.dick = random(1,4)>> - <<set $activeSlave.balls = random(1,4)>> - <<set $activeSlave.ovaries = 0>> - <<set $activeSlave.vagina = -1>> - <<set $activeSlave.boobs = 100*random(1,4)>> - <<if $activeSlave.boobsImplant > 0>> - <<set $activeSlave.boobs += $activeSlave.boobsImplant>> - <</if>> - <<set $activeSlave.butt = random(1,3)>> - <<if $activeSlave.buttImplant > 0>> - <<set $activeSlave.butt += $activeSlave.buttImplant>> - <</if>> - <<if $activeSlave.muscles <= 95>> - <<set $activeSlave.muscles += random(0,10)>> - <</if>> - <</if>> - <</if>> -<</if>> - -<<switch $eventSlave.recruiter>> -<<case "mother">> - <<set $activeSlave.origin = "$He was recruited into your service by $his mother.">> - <<set $activeSlave.anus = 0>> - <<if $activeSlave.vagina > -1>><<set $activeSlave.vagina = 0>><</if>> - <<set $activeSlave.preg = -1>> - <<set $activeSlave.skill.oral = 0>> - <<set $activeSlave.skill.vaginal = 0>> - <<set $activeSlave.skill.anal = 0>> - <<set $activeSlave.skill.entertainment = 0>> - <<set $activeSlave.skill.whoring = 0>> - <<set $activeSlave.lactation = 0>> - <<set $activeSlave.lactationDuration = 0>> - <<set $activeSlave.boobsMilk = 0>> - <<set $activeSlave.induceLactation = 0>> - <<set $activeSlaveOneTimeMaxAge = Math.max($minimumSlaveAge, Math.min(18, ($activeSlave.actualAge - Math.min(11, $fertilityAge))))>> - <<set $activeSlaveOneTimeMinAge = Math.max($minimumSlaveAge, Math.min(14, $activeSlaveOneTimeMaxAge))>> - <<if $pedo_mode == 1>><<set $activeSlaveOneTimeMinAge = $minimumSlaveAge>><</if>> - <<set $activeSlave.actualAge = random($activeSlaveOneTimeMinAge, $activeSlaveOneTimeMaxAge)>> - <<set $activeSlave.birthWeek = 0>> -<<case "daughter">> - <<set $activeSlave.origin = "$He was recruited into your service by $his daughter.">> - <<if $activeSlave.vagina == 0>> - <<set $activeSlave.vagina = 1>> - <</if>> - <<set $activeSlave.preg = -1>> - <<set $activeSlave.skill.oral += random(0,20)>> - <<set $activeSlave.skill.vaginal += random(0,20)>> - <<set $activeSlave.skill.anal += random(0,20)>> - <<set $activeSlave.skill.entertainment += random(0,20)>> - <<set $activeSlave.skill.whoring += random(0,20)>> - <<set $activeSlave.lactation = 0>> - <<set $activeSlave.lactationDuration = 0>> - <<set $activeSlave.boobsMilk = 0>> - <<set $activeSlave.induceLactation = 0>> - <<set $activeSlave.actualAge += random(15,20)>> -<<case "older sister">> - <<set $activeSlave.origin = "$He was recruited into your service by $his older sister.">> - <<if $activeSlave.ovaries == 1>> - <<set $activeSlave.boobs += 200>> - <<set $activeSlave.butt += 1>> - <</if>> - <<set $activeSlave.actualAge = $activeSlave.actualAge-2>> -<<case "young sister">> - <<set $activeSlave.origin = "$He was recruited into your service by $his younger sister.">> - <<if $activeSlave.ovaries == 1>> - <<set $activeSlave.boobs = Math.trunc($activeSlave.boobs-200,0,50000)>> - <<set $activeSlave.butt = Math.trunc($activeSlave.butt-1,0,10)>> - <</if>> - <<set $activeSlave.actualAge = $activeSlave.actualAge+2>> -<<default>> - <<set $activeSlave.origin = "$He was recruited into your service by $his twin sister.">> -<</switch>> - -<<if $eventSlave.recruiter != "twin">> - <<set $activeSlave.devotion = random(25,45)>> - <<set $activeSlave.trust = random(-15,15)>> - <<if $activeSlave.weight > 30>> - <<set $activeSlave.weight -= random(0,50)>> - <<elseif $activeSlave.weight < -30>> - <<set $activeSlave.weight += random(0,50)>> - <<else>> - <<set $activeSlave.weight += random(-20,20)>> - <</if>> - <<set $activeSlave.height += random(-5,5)>> -<</if>> - -<<set $activeSlave.visualAge = $activeSlave.actualAge>> -<<set $activeSlave.physicalAge = $activeSlave.actualAge>> -<<set $activeSlave.ovaryAge = $activeSlave.actualAge>> -<<set $activeSlave.pubertyAgeXX = $fertilityAge>> -<<if $activeSlave.ovaries == 1>> - <<if $activeSlave.physicalAge >= $activeSlave.pubertyAgeXX>> - <<set $activeSlave.pubertyXX = 1>> - <<else>> - <<set $activeSlave.pubertyXX = 0>> - <</if>> -<<else>> - <<set $activeSlave.pubertyXX = 0>> -<</if>> -<<set $activeSlave.pubertyAgeXY = $potencyAge>> -<<if $activeSlave.balls > 0>> - <<if $activeSlave.physicalAge >= $activeSlave.pubertyAgeXY>> - <<set $activeSlave.pubertyXY = 1>> - <<else>> - <<set $activeSlave.pubertyXY = 0>> - <</if>> -<<else>> - <<set $activeSlave.pubertyXY = 0>> -<</if>> -<<set $activeSlave.ageImplant = 0>> -<<if $activeSlave.career != "a Futanari Sister">><<set $activeSlave.career = "a slave">><</if>> -<<set $activeSlave.relationship = 0>> -<<set $activeSlave.relationshipTarget = 0>> -<<set $activeSlave.counter.births = 0>> -<<set $activeSlave.counter.oral = 0>> -<<set $activeSlave.counter.vaginal = 0>> -<<set $activeSlave.counter.anal = 0>> -<<set $activeSlave.counter.mammary = 0>> -<<set $activeSlave.counter.penetrative = 0>> -<<set $activeSlave.counter.pitKills = 0>> -<<set $activeSlave.drugs = "no drugs">> -<<set $activeSlave.shoes = "none">> -<<set $activeSlave.clothes = "no clothing">> -<<set $activeSlave.hormones = 0>> -<<set $activeSlave.assignment = "rest">> -<<set $activeSlave.choosesOwnAssignment = 0>> -<<set $activeSlave.fetishStrength = random(0,90)>> -<<set $activeSlave.fetish = either("boobs", "buttslut", "cumslut", "humiliation", "none", "none", "none", "none", "none", "none", "pregnancy", "submissive")>> -<<set $activeSlave.sexualFlaw = either("hates anal", "hates oral", "hates penetration", "none", "none", "none", "none")>> -<<set $activeSlave.behavioralFlaw = either("anorexic", "arrogant", "bitchy", "hates men", "hates women", "hates women", "none", "none", "none", "odd")>> -<<set $activeSlave.weekAcquired = $week>> -<<run randomizeAttraction($activeSlave)>> -<<if $activeSlave.nipples == "fuckable">> - <<set $activeSlave.nipples = either("cute", "inverted", "partially inverted", "puffy")>> -<</if>> -<<set $activeSlave.prestige = 0>> -<<set $activeSlave.porn = new App.Entity.SlavePornPerformanceState()>> -<<set $activeSlave.prestigeDesc = "">> -<<if ndef $activeSlave.geneMods>> - <<set $activeSlave.geneMods = {NCS: 0, rapidCellGrowth: 0}>> -<<else>> - <<set $activeSlave.geneMods.NCS = 0>> - <<set $activeSlave.geneMods.rapidCellGrowth = 0>> -<</if>> -<<set $activeSlave.NCSyouthening = 0>> -<<set $activeSlave.slaveCost = 0>> -<<set $activeSlave.lifetimeCashExpenses = 0>> -<<set $activeSlave.lifetimeCashIncome = 0>> -<<set $activeSlave.lastWeeksCashIncome = 0>> -<<set $activeSlave.lifetimeRepExpenses = 0>> -<<set $activeSlave.lifetimeRepIncome = 0>> -<<set $activeSlave.lastWeeksRepIncome = 0>> -<<set $activeSlave.custom.desc = "">> - -<<set _slaveCost = slaveCost($activeSlave)>> - -<<if $activeSlave.slaveSurname>><<set _familyName = $activeSlave.slaveSurname>><</if>> -<<set _familyBirthSurname = $activeSlave.birthSurname>> -<<run nationalityToName($activeSlave)>> -<<if _familyName>><<set $activeSlave.slaveSurname = _familyName>><</if>> -<<set $activeSlave.birthSurname = _familyBirthSurname>> - -<<set $activeSlave.slaveName = $activeSlave.birthName>> -<<set $activeSlave.ID += 1000>> -<<set $activeSlave.relation = $eventSlave.recruiter>> -<<if $activeSlave.relation.indexOf("sister") != -1>><<set $activeSlave.relation = "sister">><</if>> -<<set $activeSlave.relation = relationTargetWord($activeSlave)>> -<<set $activeSlave.relationTarget = $eventSlave.ID>> -<<set $activeSlave.recruiter = 0>> - -<<run generatePronouns($activeSlave)>> -<<setLocalPronouns $activeSlave 2>> -<<setSpokenLocalPronouns $eventSlave $activeSlave>> - -$eventSlave.slaveName requests an interview with you. $He's a devoted slave, and you grant it, and are happy you did when you see the troubled expression on $his face. $He explains<<if !canTalk($eventSlave)>> with desperate gestures<</if>> that -<<switch $eventSlave.recruiter>> -<<case "mother">> - $he had a _daughter2, who was sent to the slave orphanages. $He's heard a rumor through other slaves that $his _daughter2 will go up for sale soon. -<<case "daughter">> - $his _mother2 has been enslaved. _He2 was free the last $eventSlave.slaveName knew of _him2. $He's heard a rumor through other slaves that $his _mother2 will go up for sale soon. -<<case "older sister">> - $his older _sister2 is being sold. _He2 was likely to be enslaved the last $eventSlave.slaveName knew of _him2, and now $he's heard a rumor through other slaves that $his big _sister2 is going to be sold to a new owner. -<<case "young sister">> - $his younger _sister2 is being sold. _He2 was likely to be enslaved the last $eventSlave.slaveName knew of _him2, and now $he's heard a rumor through other slaves that $his little _sister2 is going to be sold to a new owner. -<<default>> - $he has a twin _sister2, who was still free the last $eventSlave.slaveName knew of _him2. $He's heard a rumor through other slaves that $his twin has finally been enslaved, and will soon go up for sale. -<</switch>> -<br><br> -<<if !canTalk($eventSlave)>>$He urgently gestures for permission to write. It's unusual, but $he seems quite serious, so you grant it. $He writes,<</if>> -"You've been <<s>>o good to me, <<Master>>. I'm <<s>>ure <<he 2>> look<<s>> like I did when you bought me. Plea<<s>>e, <<Master>>, will you buy _him2 like you bought me? I'm afraid <<he 2>>'ll go to a cruel <<Master>>." $He bites $his lip. "And, <<Master>>, I'm <<s>>ure <<he 2>>'d learn to love -<<if $eventSlave.fetish == "cumslut">> - the ta<<s>>te of your cum -<<elseif $eventSlave.fetish == "submissive">> - <<s>>ubmi<<ss>>ion -<<elseif $eventSlave.fetish == "humiliation">> - being treated like a dirty <<s>>lut -<<elseif $eventSlave.fetish == "buttslut">> - the feeling of your cock in <<his 2>> butt -<<elseif $eventSlave.fetish == "sadist">> - hurting your other <<s>>laves -<<elseif $eventSlave.fetish == "pregnancy">> - being pregnant -<<elseif $eventSlave.fetish == "masochist">> - being beaten -<<elseif $eventSlave.fetish == "dom">> - fucking your other <<s>>lave<<s>> -<<elseif $eventSlave.energy > 95>> - being a good nympho <<s>>lut -<<elseif $eventSlave.addict > 2>> - being a druggie whore -<<elseif $eventSlave.counter.births > 3>> - bearing children -<<elseif $eventSlave.bellyPreg >= 50 && $eventSlave.pregKnown == 1>> - <<s>>welling with life -<<elseif $eventSlave.anus > 2>> - getting <<his 2>> butt <<s>>tretched out -<<elseif $eventSlave.boobsImplant > 500>> - getting turned into a bimbo <<s>>lut -<<else>> - the feeling of your cock in _him2 -<</if>> -a<<s>> much a<<s>> I do. -<<if $eventSlave.fetish == "cumslut">> - We could blow you at the <<s>>ame time, <<Master>>! And <<sh>>are cum!" -<<elseif $eventSlave.fetish == "submissive">> - You could u<<s>>e u<<s>> together, <<Master>>!" -<<elseif $eventSlave.fetish == "humiliation">> - You could make u<<s>> fuck each other in public, <<Master>>!" -<<elseif $eventSlave.fetish == "buttslut">> - You could fuck our butt<<s>> right ne<<x>>t to each other, <<Master>>!" -<<elseif $eventSlave.fetish == "pregnancy">> - You could knock u<<s>> up ne<<x>>t to each other, <<Master>>!" -<<elseif $eventSlave.fetish == "sadist">> - I'm <<s>>ure <<he 2>>'d love to help me, <<Master>>!" -<<elseif $eventSlave.fetish == "masochist">> - You could whip u<<s>> both, <<Master>>!" -<<elseif $eventSlave.fetish == "dom">> - I'm <<s>>ure <<he 2>>'d love to help me u<<s>>e other <<s>>lave<<s>>, <<Master>>!" -<<elseif $eventSlave.energy > 95>> - I'm <<s>>ure <<he 2>>'d love to have three<<s>>ome<<s>>, <<Master>>!" -<<elseif $eventSlave.counter.births > 3>> - <<if $PC.dick != 0>> - We could compete over who carried more of your children, <<Master>>! - <<else>> - We could compete over who carried more children for you, <<Master>>! - <</if>> -<<elseif $eventSlave.bellyPreg >= 50 && $eventSlave.pregKnown == 1>> - You could compare how big our bellie<<s>> are ne<<x>>t to each other, <<Master>>! -<<else>> - You could fuck u<<s>> together, <<Master>>!" -<</if>> -$He waits anxiously for your decision. - -<br><br> - -You look up the $activeSlave.relation. _He2 costs <<print cashFormat(_slaveCost)>>, a bargain, but you won't be able to inspect _him2 beyond _his2 likely resemblance to _his2 <<print relationTargetWord($activeSlave)>>. - -<br><br> - -<<set $slaves[$i].recruiter = 0>> /* the chance to recruit this particular related slave will not be offered again, regardless of player decision */ - -<span id="result"> -<<link "Buy _him2">> - <<replace "#artFrame">> - /* 000-250-006 */ - <<if $seeImages == 1>> - <div class="imageColumn"> - <div class="imageRef medImg"> - <<= SlaveArt($activeSlave, 2, 0)>> - </div> - <div class="imageRef medImg"> - <<= SlaveArt($eventSlave, 2, 0)>> - </div> - </div> - <</if>> - /* 000-250-006 */ - <</replace>> - <<replace "#result">> - /* update $slaves[$i] (eventSlave) before calling any widgets */ - <<set $slaves[$i].relation = relationTargetWord($activeSlave)>> - <<set $slaves[$i].relationTarget = $activeSlave.ID>> - <<run cashX(forceNeg(_slaveCost), "slaveTransfer", $activeSlave)>> - <<set $desc = SlaveTitle($eventSlave)>> - You complete the legalities and biometric scanning quickly and without fuss. $activeSlave.slaveName arrives shortly. The two slaves remember each other only dimly — they parted a long time ago — but they embrace. The devoted $desc explains the situation and encourages $his $activeSlave.relation to be a good slave to you. $activeSlave.slaveName looks a little fearful but clearly realizes that _he2's lucky to be here. - <<include "New Slave Intro">> - <</replace>> -<</link>> -</span> - -<</if>> /* close extended family mode */ diff --git a/src/uncategorized/recETS.tw b/src/uncategorized/recETS.tw index 539e03999cb8abd07f98f39dd87cbd5fa66ae640..dad4abeab5d5357722cd34904eead199906af106 100644 --- a/src/uncategorized/recETS.tw +++ b/src/uncategorized/recETS.tw @@ -87,12 +87,7 @@ <<run setHealth($activeSlave, jsRandom(-60, 20), Math.max(normalRandInt(5, 3), 0), Math.max(normalRandInt(5, 3), 0))>> <<set $activeSlave.pubicHStyle = "waxed">> <<set $activeSlave.underArmHStyle = "waxed">> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.counter.birthsTotal += 1>> <<set _slaveCost = slaveCost($activeSlave)>> <<set _slaveCost -= 1000>> @@ -132,12 +127,7 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "neat">> <<set $activeSlave.underArmHStyle = "shaved">> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set _slaveCost = slaveCost($activeSlave)>> <<set _slaveCost -= 1500>> <<case "incest mother son">> @@ -178,12 +168,7 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "bushy">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -207,12 +192,7 @@ <<set $activeSlave.clothes = "conservative clothing">> <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -247,16 +227,8 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "in a strip">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -281,16 +253,8 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "in a strip">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -313,16 +277,8 @@ <<set $activeSlave.attrXY = 80>> <<set $activeSlave.pubicHStyle = "bushy">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -345,16 +301,8 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "in a strip">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -376,16 +324,8 @@ <<set $activeSlave.attrXY = 80>> <<set $activeSlave.pubicHStyle = "bushy">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> <<case "incest twins mixed">> @@ -408,16 +348,8 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "in a strip">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -452,12 +384,7 @@ <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.pubicHStyle = "bushy">> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -481,12 +408,7 @@ <<set $activeSlave.clothes = "conservative clothing">> <<run setHealth($activeSlave, jsRandom(20, 40), 0, 0, 0)>> <<set $activeSlave.behavioralQuirk = "sinful">> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> /* _slaveCost not needed, no option to sell */ @@ -531,16 +453,8 @@ <<set $activeSlave.hStyle = "in twin tails">> <<set $activeSlave.pubicHStyle = "waxed">> <<set $activeSlave.underArmHStyle = "waxed">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.rivalry = 3>> <<set $activeSlave.rivalryTarget = $activeSlave.ID + 1000>> <<set _slaveCost = slaveCost($activeSlave)>> @@ -583,18 +497,8 @@ <<set $activeSlave.underArmHStyle = "waxed">> <<set $activeSlave.sexualFlaw = "none">> <<set $activeSlave.behavioralFlaw = "none">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $activeSlave.canRecruit = 0>> - <<set $missingParentID-->> - <<else>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 2>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> <<set _slaveCost = slaveCost($activeSlave)>> @@ -641,16 +545,8 @@ <<set $activeSlave.pubicHStyle = "waxed">> <<set $activeSlave.sexualQuirk = "none">> <<set $activeSlave.behavioralQuirk = "none">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $activeSlave.canRecruit = 0>> - <<set $missingParentID-->> - <<else>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 2>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> <<set _slaveCost = slaveCost($activeSlave)>> @@ -707,16 +603,8 @@ <<set $activeSlave.fetishStrength = 100>> <<set $activeSlave.sexualQuirk = "perverted">> <<set $activeSlave.behavioralQuirk = "none">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $missingParentID>> - <<set $missingParentID-->> - <<set $activeSlave.father = $missingParentID>> - <<set $activeSlave.canRecruit = 0>> - <<set $missingParentID-->> - <<else>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<run setMissingParents($activeSlave)>> + <<set $activeSlave.canRecruit = 0>> <<set $activeSlave.relationship = 4>> <<set $activeSlave.relationshipTarget = $activeSlave.ID + 1000>> <<set _slaveCost = slaveCost($activeSlave)>> @@ -771,12 +659,7 @@ <<set $activeSlave.bellySag = 20>> <<set $activeSlave.bellySagPreg = 20>> <<set $activeSlave.pubertyXX = 1>> - <<if $familyTesting == 1>> - <<set $activeSlave.canRecruit = 0>> - <<else>> - <<set $activeSlave.relation = "mother">> - <<set $activeSlave.relationTarget = $activeSlave.ID + 1000>> - <</if>> + <<set $activeSlave.canRecruit = 0>> <<set _slaveCost = slaveCost($activeSlave)>> <<set _slaveCost -= 1500>> <</switch>> @@ -801,12 +684,7 @@ <<set $activeSlaveOneTimeMinAge = Math.min(Math.max(15, $minimumSlaveAge), $activeSlaveOneTimeMaxAge)>> <<if $pedo_mode == 1>><<set $activeSlaveOneTimeMinAge = $minimumSlaveAge>><</if>> <<set $activeSlave.actualAge = random($activeSlaveOneTimeMinAge, $activeSlaveOneTimeMaxAge)>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.counter.birthsTotal = 0>> <<set $activeSlave.visualAge = $activeSlave.actualAge>> <<set $activeSlave.physicalAge = $activeSlave.actualAge>> @@ -834,12 +712,7 @@ <<set $activeSlaveOneTimeMinAge = Math.min(18, $activeSlaveOneTimeMaxAge)>> <<if $pedo_mode == 1>><<set $activeSlaveOneTimeMinAge = $minimumSlaveAge>><</if>> <<set $activeSlave.actualAge = random($activeSlaveOneTimeMinAge, $activeSlaveOneTimeMaxAge)>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.counter.birthsTotal = 0>> <<set $activeSlave.preg = 0>> <<set $activeSlave.visualAge = $activeSlave.actualAge>> @@ -889,12 +762,7 @@ <<set $activeSlave.butt -= 2>> <<set $activeSlave.behavioralQuirk = "none">> <<set $activeSlave.sexualQuirk = "perverted">> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<if $activeSlave.physicalAge < 6>> @@ -940,12 +808,7 @@ <<set $activeSlave.faceShape = "cute">> <<set $activeSlave.behavioralQuirk = "none">> <<set $activeSlave.sexualQuirk = "perverted">> - <<if $familyTesting == 1>> - <<set $activeSlave.father = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.father = $activeSlave.ID - 1000>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<if $activeSlave.physicalAge < 6>> @@ -984,11 +847,6 @@ <<set $activeSlave.behavioralQuirk = "none">> <<set $activeSlave.sexualQuirk = "perverted">> <<set $activeSlave.clothes = "conservative clothing">> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<if $activeSlave.physicalAge < 6>> @@ -1005,11 +863,6 @@ <<set $activeSlave.ovaryAge = $activeSlave.actualAge>> <<= resyncSlaveHight($activeSlave)>> <<set $activeSlave.pubicHStyle = "shaved">> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "incest brother brother">> @@ -1027,11 +880,6 @@ <<if $activeSlave.foreskin>> <<set $activeSlave.foreskin = $activeSlave.dick>> <</if>> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<if $activeSlave.physicalAge < 6>> @@ -1043,22 +891,12 @@ <<set $activeSlave.slaveName = $activeSlave.birthName>> <<set $activeSlave.ID = $activeSlave.ID + 1000>> <<set $activeSlave.height += random(-5,5)>> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "incest twin brother">> <<set $activeSlave.slaveName = $activeSlave.birthName>> <<set $activeSlave.ID = $activeSlave.ID + 1000>> <<set $activeSlave.height += random(-5,5)>> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "incest twins mixed">> @@ -1086,11 +924,6 @@ <<set $activeSlave.behavioralQuirk = "none">> <<set $activeSlave.sexualQuirk = "perverted">> <<set $activeSlave.clothes = "conservative clothing">> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "incest mother daughter">> @@ -1123,12 +956,7 @@ <<set $activeSlave.boobsImplant = 0>> <<set $activeSlave.boobsImplantType = "none">> <<set $activeSlave.butt -= 2>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<if $activeSlave.physicalAge < 6>> @@ -1159,12 +987,7 @@ <<set $activeSlave.dick -= 2>> <<set $activeSlave.balls -= 1>> <<set $activeSlave.scrotum -= 1>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.relationship = 3>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<if $activeSlave.physicalAge < 6>> @@ -1204,11 +1027,6 @@ <<set $activeSlave.visualAge = $activeSlave.actualAge>> <<set $activeSlave.physicalAge = $activeSlave.actualAge>> <<set $activeSlave.ovaryAge = $activeSlave.actualAge>> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "sister">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.rivalry = 3>> <<set $activeSlave.rivalryTarget = $activeSlave.ID - 1000>> <<case "matched pair">> @@ -1226,20 +1044,10 @@ <<set $activeSlave.boobsImplantType = "none">> <<set $activeSlave.buttImplant = 0>> <<set $activeSlave.buttImplantType = "none">> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 2>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "identical pair">> <<set $activeSlave.ID = $activeSlave.ID + 1000>> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 2>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "identical herm pair">> @@ -1252,11 +1060,6 @@ <<set $activeSlave.pregWeek = $activeSlave.preg>> <<set $activeSlave.belly = 14000>> <<set $activeSlave.bellyPreg = 14000>> - <<if $familyTesting == 1>> - <<else>> - <<set $activeSlave.relation = "twin">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> <<set $activeSlave.relationship = 4>> <<set $activeSlave.relationshipTarget = $activeSlave.ID - 1000>> <<case "desperate broodmother">> @@ -1307,12 +1110,7 @@ <<set $activeSlave.scrotum = 3>> <<set $activeSlave.prostate = 1>> <<set $activeSlave.actualAge = 3>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.visualAge = $activeSlave.actualAge>> <<set $activeSlave.physicalAge = $activeSlave.actualAge>> <<set $activeSlave.ovaryAge = $activeSlave.actualAge>> @@ -1371,12 +1169,7 @@ <<set $activeSlave.pregWeek = $activeSlave.preg>> <<run SetBellySize($activeSlave)>> <<set $activeSlave.actualAge = 3>> - <<if $familyTesting == 1>> - <<set $activeSlave.mother = $activeSlave.ID - 1000>> - <<else>> - <<set $activeSlave.relation = "daughter">> - <<set $activeSlave.relationTarget = $activeSlave.ID - 1000>> - <</if>> + <<set $activeSlave.mother = $activeSlave.ID - 1000>> <<set $activeSlave.visualAge = $activeSlave.actualAge>> <<set $activeSlave.physicalAge = $activeSlave.actualAge>> <<set $activeSlave.ovaryAge = $activeSlave.actualAge>> @@ -1611,10 +1404,8 @@ <<switch $RecETSevent>> <<case "addict mother daughter">> <<link "Accept $his proposal and enslave $him">> - <<set $activeSlave.relation = 0>> - <<set $activeSlave.relationTarget = 0>> - <<set $activeSlave.counter.oral += 1>> - <<set $oralTotal += 1>> + <<set $activeSlave.counter.oral += 1>> + <<set $oralTotal += 1>> <<run newSlave($activeSlave)>> <<run cashX(forceNeg(_ContractCost), "slaveTransfer", $activeSlave)>> <<replace "#result">> @@ -1623,8 +1414,6 @@ <</link>> <<case "posh mother daughter">> <<link "Enslave the mother">> - <<set $activeSlave.relation = 0>> - <<set $activeSlave.relationTarget = 0>> <<run newSlave($activeSlave)>> <<run cashX(forceNeg(_ContractCost), "slaveTransfer", $activeSlave)>> <<replace "#result">> @@ -1635,8 +1424,6 @@ <<link "Enslave the sissy slut">> <<set $activeSlave.mother = 0>> <<set $activeSlave.father = 0>> - <<set $activeSlave.relation = 0>> - <<set $activeSlave.relationTarget = 0>> <<set $activeSlave.rivalry = 0>> <<set $activeSlave.rivalryTarget = 0>> <<run newSlave($activeSlave)>> @@ -1647,8 +1434,6 @@ <</link>> <<case "desperate broodmother">> <<link "Enslave the mother">> - <<set $activeSlave.relation = 0>> - <<set $activeSlave.relationTarget = 0>> <<run newSlave($activeSlave)>> <<run cashX(forceNeg(_ContractCost), "slaveTransfer", $activeSlave)>> <<replace "#result">> diff --git a/src/uncategorized/saRecruitGirls.tw b/src/uncategorized/saRecruitGirls.tw index 0b213e145f2473f8f25c3858e3b5a82fadbee0fb..ab845cf34c5c5dd39f7c21155c437de0f7aded64 100644 --- a/src/uncategorized/saRecruitGirls.tw +++ b/src/uncategorized/saRecruitGirls.tw @@ -739,7 +739,7 @@ <</if>> <</if>> <<elseif $arcologies[0].FSEgyptianRevivalist != "unset">> - <<set _recruiterRelation = ($familyTesting === 1) ? randomAvailableRelatedSlave($slaves[$i]) : getSlave($slaves[$i].relationTarget)>> + <<set _recruiterRelation = randomAvailableRelatedSlave($slaves[$i])>> <<if def _recruiterRelation>> /* willingness; protip: relationship optional, and actual sex doesn't need to be allowed */ <<if ($slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted") && (_recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted")>> @@ -1113,53 +1113,29 @@ Dressed as $he is in the garments of a barbarian, the citizens of the New Rome ignore $him. <</if>> <<elseif $arcologies[0].FSEgyptianRevivalist != "unset">> - <<if $familyTesting == 1>> - <<if totalRelatives($slaves[$i]) > 0>> - <<if def _recruiterRelation>> - <<setLocalPronouns _recruiterRelation 2>> - <<set _relationType = relativeTerm($slaves[$i], _recruiterRelation)>> - <<if $slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted">> - <<if _recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted">> - $slaves[$i].slaveName and $his _relationType _recruiterRelation.slaveName collaborate on a series of short commercials showing them <<if canWalk($slaves[$i]) || canWalk(_recruiterRelation)>>walking and <</if>>playing in your arcology's public spaces. A little <<if hasAnyArms($slaves[$i]) || hasAnyArms(_recruiterRelation)>>hand on the ass<<else>>cuddling<</if>> here, a little lips almost touching there, and it's enough to tease your Ancient Egyptian sensibility about incest without running afoul of too many old world censors. - <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> - Even though their incestuous relationship is not condemned here, $his _relationType _recruiterRelation.slaveName is too shy to act it out in front of the world. - <<else>> - The Ancient Egyptian sensibility of your arcology features slave incest, but your recruiter can't convince $his shy _relationType to play along for publicity. - <</if>> + <<if totalRelatives($slaves[$i]) > 0>> + <<if def _recruiterRelation>> + <<setLocalPronouns _recruiterRelation 2>> + <<set _relationType = relativeTerm($slaves[$i], _recruiterRelation)>> + <<if $slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted">> + <<if _recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted">> + $slaves[$i].slaveName and $his _relationType _recruiterRelation.slaveName collaborate on a series of short commercials showing them <<if canWalk($slaves[$i]) || canWalk(_recruiterRelation)>>walking and <</if>>playing in your arcology's public spaces. A little <<if hasAnyArms($slaves[$i]) || hasAnyArms(_recruiterRelation)>>hand on the ass<<else>>cuddling<</if>> here, a little lips almost touching there, and it's enough to tease your Ancient Egyptian sensibility about incest without running afoul of too many old world censors. <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> - Even though $he shares a properly incestuous relationship with $his _relationType, $he is too shy to bring it on camera for the whole world. + Even though their incestuous relationship is not condemned here, $his _relationType _recruiterRelation.slaveName is too shy to act it out in front of the world. <<else>> - The Ancient Egyptian sensibility of your arcology features slave incest, but $he's too shy even to play-act with $his _relationType for publicity. + The Ancient Egyptian sensibility of your arcology features slave incest, but your recruiter can't convince $his shy _relationType to play along for publicity. <</if>> + <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> + Even though $he shares a properly incestuous relationship with $his _relationType, $he is too shy to bring it on camera for the whole world. <<else>> - One idea that comes up while brainstorming is to act out Ancient Egyptian incest with a family member, but all of them are confined and unavailable. + The Ancient Egyptian sensibility of your arcology features slave incest, but $he's too shy even to play-act with $his _relationType for publicity. <</if>> <<else>> - One of the most prominent features of your Egyptian Revival is an open, even expectant, attitude toward slave incest, but $he doesn't have any close family living in your household. + One idea that comes up while brainstorming is to act out Ancient Egyptian incest with a family member, but all of them are confined and unavailable. <</if>> <<else>> - <<if $slaves[$i].relation != 0 && (!(_recruiterRelation.assignment == "be your agent" || _recruiterRelation.assignment == "live with your agent"))>> - <<if !isSlaveAvailable(_recruiterRelation)>> - One idea that comes up while brainstorming is to act out Ancient Egyptian incest with $his _recruiterRelation.relation, but _recruiterRelation.slaveName is confined and unavailable. - <<else>> - <<if $slaves[$i].energy > 60 || $slaves[$i].sexualQuirk == "tease" || $slaves[$i].sexualQuirk == "perverted">> - <<if _recruiterRelation.energy > 60 || _recruiterRelation.sexualQuirk == "tease" || _recruiterRelation.sexualQuirk == "perverted">> - $slaves[$i].slaveName and $his _recruiterRelation.relation _recruiterRelation.slaveName collaborate on a series of short commercials showing them <<if canWalk($slaves[$i]) || canWalk(_recruiterRelation)>>walking and <</if>>playing in your arcology's public spaces. A little <<if hasAnyArms($slaves[$i]) || hasAnyArms(_recruiterRelation)>>hand on the ass<<else>>cuddling<</if>> here, a little lips almost touching there, and it's enough to tease your Ancient Egyptian sensibility about incest without running afoul of too many old world censors. - <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> - Even though their incestuous relationship is not condemned here, $his _recruiterRelation.relation _recruiterRelation.slaveName is too shy to act it out in front of the world. - <<else>> - The Ancient Egyptian sensibility of your arcology features slave incest, but your recruiter can't convince $his shy _recruiterRelation.relation to play along for publicity. - <</if>> - <<elseif $slaves[$i].relationshipTarget == _recruiterRelation.ID>> - Even though $he shares a properly incestuous relationship with $his _recruiterRelation.relation, $he is too shy to bring it on camera for the whole world. - <<else>> - The Ancient Egyptian sensibility of your arcology features slave incest, but $he's too shy even to playact with $his _recruiterRelation.relation for publicity. - <</if>> - <</if>> - <<else>> - One of the most prominent features of your Egyptian Revival is an open, even expectant, attitude toward slave incest, but $he doesn't have any close family living in your household. - <</if>> - <</if>> /*end extended family mode */ + One of the most prominent features of your Egyptian Revival is an open, even expectant, attitude toward slave incest, but $he doesn't have any close family living in your household. + <</if>> <<elseif $arcologies[0].FSEdoRevivalist != "unset">> <<if $clubDecoration != "standard" && $ClubiIDs.length > 1>> <<if _clubSeed >= 3>> diff --git a/src/uncategorized/saRelationships.tw b/src/uncategorized/saRelationships.tw index ac9c3018dad90f06de39f5c045d373eb9b379cae..98ea14731b8fcd167d56c77c6fb764cf160ecfb5 100644 --- a/src/uncategorized/saRelationships.tw +++ b/src/uncategorized/saRelationships.tw @@ -232,7 +232,7 @@ <</if>> <<set _drop = 1>> <</if>> - <<if (_SlaveI.relationship > 0) || (_SlaveI.relation > 0)>> + <<if (_SlaveI.relationship > 0)>> <<set _J = $slaveIndices[_SlaveI.relationshipTarget]>> <<if def _J>> <<set _SlaveJ = $slaves[_J], _SlaveJ.relationshipTarget = _SlaveI.ID, _SlaveJ.relationship = _SlaveI.relationship>> @@ -934,64 +934,34 @@ <</if>> /% CLOSES RELATIONSHIP CHECK FOR LONG TERM RELATIONSHIP EFFECTS %/ /% FAMILY FEELINGS %/ - <<if $familyTesting == 1>> - <<if totalRelatives(_SlaveI) > 0 && _SlaveI.trust <= 95>> - <<set _relatives = $slaves.filter((s) => areRelated(_SlaveI, s))>> - <<for _j = 0; _j < _relatives.length; _j++>> - <<setLocalPronouns _relatives[_j] 2>> - <<if _SlaveI.trust < -20>> - <<if _SlaveI.rivalryTarget != _relatives[_j].ID>> - <<if isParentP(_relatives[_j], _SlaveI)>> - _SlaveI.slaveName is @@.gold;agonizingly aware@@ that $his child _relatives[_j].slaveName is also your slave and might suffer if either of them angers you, and @@.hotpink;does $his best@@ to protect _him2. - <<set _SlaveI.trust -= 2, _SlaveI.devotion += 6>> - <<else>> - _SlaveI.slaveName is @@.gold;painfully conscious@@ that $his <<print relativeTerm(_SlaveI, _relatives[_j])>> _relatives[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@.hotpink;tries to obey@@ as best $he can. - <<set _SlaveI.trust -= 1, _SlaveI.devotion += 3>> - <</if>> - <</if>> - <<else>> - _SlaveI.slaveName knows that $his <<print relativeTerm(_SlaveI, _relatives[_j])>> _relatives[_j].slaveName - <<if _relatives[_j].devotion > 50>> - loves being your sex slave, and is @@.hotpink;happy@@ for _him2. - <<set _SlaveI.devotion += 4>> - <<elseif (_relatives[_j].devotion > 20) || (_relatives[_j].trust < -20)>> - is an obedient sex slave, and hopes _he2'll avoid punishment. + <<if totalRelatives(_SlaveI) > 0 && _SlaveI.trust <= 95>> + <<set _relatives = $slaves.filter((s) => areRelated(_SlaveI, s))>> + <<for _j = 0; _j < _relatives.length; _j++>> + <<setLocalPronouns _relatives[_j] 2>> + <<if _SlaveI.trust < -20>> + <<if _SlaveI.rivalryTarget != _relatives[_j].ID>> + <<if isParentP(_relatives[_j], _SlaveI)>> + _SlaveI.slaveName is @@.gold;agonizingly aware@@ that $his child _relatives[_j].slaveName is also your slave and might suffer if either of them angers you, and @@.hotpink;does $his best@@ to protect _him2. + <<set _SlaveI.trust -= 2, _SlaveI.devotion += 6>> <<else>> - hates being a sex slave, and is @@.gold;afraid@@ for _him2. - <<set _SlaveI.trust -= 1>> + _SlaveI.slaveName is @@.gold;painfully conscious@@ that $his <<print relativeTerm(_SlaveI, _relatives[_j])>> _relatives[_j].slaveName is also your slave and might suffer if either of them displeases you, and @@.hotpink;tries to obey@@ as best $he can. + <<set _SlaveI.trust -= 1, _SlaveI.devotion += 3>> <</if>> <</if>> - <</for>> - <</if>> - <<else>> - <<if _SlaveI.rivalryTarget != _SlaveI.relationTarget>> - <<set _K = $slaveIndices[_SlaveI.relationTarget]>> - <<if (def _K) && _SlaveI.trust <= 95>> - <<setLocalPronouns $slaves[_K] 2>> - _SlaveI.slaveName - <<if _SlaveI.trust < -20>> - <<if _SlaveI.relation == "daughter" || _SlaveI.relation == "son">> - is @@.gold;agonizingly aware@@ that $his child $slaves[_K].slaveName is also your slave and might suffer if either of them angers you, and @@.hotpink;does $his best@@ to protect _him2. - <<set _SlaveI.trust -= 4, _SlaveI.devotion += 4>> - <<else>> - is @@.gold;painfully conscious@@ that $his _SlaveI.relation $slaves[_K].slaveName is also your slave and might suffer if either of them displeases you, and @@.hotpink;tries to obey@@ as best $he can. - <<set _SlaveI.trust -= 2, _SlaveI.devotion += 2>> - <</if>> + <<else>> + _SlaveI.slaveName knows that $his <<print relativeTerm(_SlaveI, _relatives[_j])>> _relatives[_j].slaveName + <<if _relatives[_j].devotion > 50>> + loves being your sex slave, and is @@.hotpink;happy@@ for _him2. + <<set _SlaveI.devotion += 4>> + <<elseif (_relatives[_j].devotion > 20) || (_relatives[_j].trust < -20)>> + is an obedient sex slave, and hopes _he2'll avoid punishment. <<else>> - knows that $his _SlaveI.relation $slaves[_K].slaveName - <<if $slaves[_K].devotion > 50>> - loves being your sex slave, and is @@.hotpink;happy@@ for _him2. - <<set _SlaveI.devotion += 2>> - <<elseif ($slaves[_K].devotion > 20) || ($slaves[_K].trust < -20)>> - is an obedient sex slave, and hopes $he'll avoid punishment. - <<else>> - hates being a sex slave, and is @@.gold;afraid@@ for _him2. - <<set _SlaveI.trust -= 2>> - <</if>> + hates being a sex slave, and is @@.gold;afraid@@ for _him2. + <<set _SlaveI.trust -= 1>> <</if>> <</if>> - <</if>> - <</if>> /* closes family mod */ + <</for>> + <</if>> <<set $slaves[$i] = _SlaveI>> <<if _SlaveJ != null>> diff --git a/src/uncategorized/saRules.tw b/src/uncategorized/saRules.tw index 27fd6685f543bff957221c21f283f35ab62f3c3f..2f598239a79dfeb161527a297a506a1713a5aee8 100644 --- a/src/uncategorized/saRules.tw +++ b/src/uncategorized/saRules.tw @@ -1374,7 +1374,7 @@ <<else>> <<set _lover = 0>> <</if>> - <<if _lover == 0 && $seeIncest == 1 && $familyTesting == 1>> + <<if _lover == 0 && $seeIncest == 1>> <<set _famVisitor = randomRelatedSlave($slaves[$i], (s) => { return canWalk(s) && isSlaveAvailable(s) && App.Utils.sexAllowed($slaves[$i], s); } )>> <</if>> <<if $slaves[$i].devotion < -50>> diff --git a/src/uncategorized/seLethalPit.tw b/src/uncategorized/seLethalPit.tw index 97400193cf1dea17e1686fd30ee8d75a86e26c40..51ce4fefb42b17e373f55bbcbb5567da4eac21de 100644 --- a/src/uncategorized/seLethalPit.tw +++ b/src/uncategorized/seLethalPit.tw @@ -670,15 +670,6 @@ In any case, <<if $pitAnimal == 0>>both of the slaves have<<else>>the slave and <<set _winner.devotion -= 50>> <</if>> <</switch>> - <<elseif (_winner.relation != 0) && (_loser.ID == _winner.relationTarget)>> - <<if (_winner.devotion > 95)>> - $He is so worshipful of you that $he sees the death of $his <<print relativeTerm(_winner, _loser)>> at $his own hand as an @@.hotpink;honorable@@ end to their doomed family. - <<set _winner.devotion += 4>> - <<else>> - $He shows little reaction to the death of $his <<print relativeTerm(_winner, _loser)>> at $his own hand. In the coming days, it becomes clear that this is because $he is @@.red;no longer capable@@ of reacting to anything on an emotional level. Ever again. - <<set _winner.fetish = "mindbroken">> - <<set _winner.fetishKnown = 1>> - <</if>> <</if>> <<else>> /*if fighting an animal*/ <<if _winner == _fighterOne>> /*if slave wins*/ diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index 9cfd66d8d664329417ecabfd3cace7fd579e6e99..ec392d9ba244ab0c949272cec1ee3c26f211a61a 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -89,9 +89,7 @@ <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Rules')" id="tab Rules">Rules</button> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Financial')" id="tab Financial">Financial</button> <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'Customize'), App.UI.SlaveInteract.custom(getSlave(V.activeSlave.ID))" id="tab Customize">Customize</button> - <<if $familyTesting == 1>> - <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'FamilyTab'), renderFamilyTree(V.slaves, V.activeSlave.ID)" id="tab FamilyTab">Family</button> - <</if>> + <button class="tablinks" onclick="App.UI.tabbar.openTab(event, 'FamilyTab'), renderFamilyTree(V.slaves, V.activeSlave.ID)" id="tab FamilyTab">Family</button> </div> <div id="artFrame"> @@ -724,11 +722,9 @@ <div id="FamilyTab" class="tabcontent"> <div class="content"> - <<if $familyTesting == 1>> - <p id="family"> - <div id="familyTree"></div> - <span id="familyTreeLink"></span> - </p> - <</if>> + <p id="family"> + <div id="familyTree"></div> + <span id="familyTreeLink"></span> + </p> </div> </div> diff --git a/src/uncategorized/slaveSold.tw b/src/uncategorized/slaveSold.tw index 88b2b92183cb03a695722b8c3a5e5b3c1a7e545c..4d2d6cb79cf0434fae16eb511f7461259d3167c5 100644 --- a/src/uncategorized/slaveSold.tw +++ b/src/uncategorized/slaveSold.tw @@ -16,62 +16,49 @@ <<set $boomerangSlave = clone($activeSlave), $boomerangWeeks = 1, $boomerangBuyer = $buyer>> <<set $boomerangSlave.assignment = "rest">> <<set $boomerangStats = {PCpregSource: 0, PCmother: 0, PCfather: 0, boomerangMother: [], boomerangFather: [], boomerangPregSources: [], boomerangMotherTank: [], boomerangFatherTank: [], boomerangRelationship: 0, boomerangRivalry: 0, boomerangRelation: 0, boomerangBody: 0}>> - <<if $familyTesting == 1>> - <<if $activeSlave.ID == $PC.pregSource>> - <<set $boomerangStats.PCpregSource = $activeSlave.ID>> - <</if>> - <<if $PC.mother == $activeSlave.ID>> - <<set $boomerangStats.PCmother = $activeSlave.ID>> - <</if>> - <<if $PC.father == $activeSlave.ID>> - <<set $boomerangStats.PCfather = $activeSlave.ID>> + <<if $activeSlave.ID == $PC.pregSource>> + <<set $boomerangStats.PCpregSource = $activeSlave.ID>> + <</if>> + <<if $PC.mother == $activeSlave.ID>> + <<set $boomerangStats.PCmother = $activeSlave.ID>> + <</if>> + <<if $PC.father == $activeSlave.ID>> + <<set $boomerangStats.PCfather = $activeSlave.ID>> + <</if>> + <<for _ss = 0; _ss < $slaves.length; _ss++>> + <<if $slaves[_ss].ID != $activeSlave.ID>> + <<if $slaves[_ss].mother == $activeSlave.ID>> + <<set $boomerangStats.boomerangMother.push($slaves[_ss].ID)>> + <</if>> + <<if $slaves[_ss].father == $activeSlave.ID>> + <<set $boomerangStats.boomerangFather.push($slaves[_ss].ID)>> + <</if>> + <<if $activeSlave.ID == $slaves[_ss].pregSource>> + <<set $boomerangStats.boomerangPregSources.push($slaves[_ss].ID)>> + <</if>> <</if>> - <<for _ss = 0; _ss < $slaves.length; _ss++>> - <<if $slaves[_ss].ID != $activeSlave.ID>> - <<if $slaves[_ss].mother == $activeSlave.ID>> - <<set $boomerangStats.boomerangMother.push($slaves[_ss].ID)>> - <</if>> - <<if $slaves[_ss].father == $activeSlave.ID>> - <<set $boomerangStats.boomerangFather.push($slaves[_ss].ID)>> - <</if>> - <<if $activeSlave.ID == $slaves[_ss].pregSource>> - <<set $boomerangStats.boomerangPregSources.push($slaves[_ss].ID)>> - <</if>> + <</for>> + <<if $incubator > 0>> + <<for _z = 0; _z < $tanks.length; _z++>> + <<if $activeSlave.ID == $tanks[_z].mother>> + <<set $boomerangStats.boomerangMotherTank.push($slaves[_z].ID)>> + <</if>> + <<if $activeSlave.ID == $tanks[_z].father>> + <<set $boomerangStats.boomerangFatherTank.push($slaves[_z].ID)>> <</if>> <</for>> - <<if $incubator > 0>> - <<for _z = 0; _z < $tanks.length; _z++>> - <<if $activeSlave.ID == $tanks[_z].mother>> - <<set $boomerangStats.boomerangMotherTank.push($slaves[_z].ID)>> - <</if>> - <<if $activeSlave.ID == $tanks[_z].father>> - <<set $boomerangStats.boomerangFatherTank.push($slaves[_z].ID)>> - <</if>> - <</for>> - <</if>> - <<if $nursery > 0>> - <<for _z = 0; _z < $cribs.length; _z++>> - <<if $activeSlave.ID == $cribs[_z].mother>> - <<set $boomerangStats.boomerangMotherTank.push($slaves[_z].ID)>> - <</if>> - <<if $activeSlave.ID == $cribs[_z].father>> - <<set $boomerangStats.boomerangFatherTank.push($slaves[_z].ID)>> - <</if>> - <</for>> - <</if>> - <<set $boomerangSlave.sisters = 0, $boomerangSlave.daughters = 0>> - <<else>> - <<if $activeSlave.relation != 0>> - <<set $boomerangStats.boomerangRelation = $activeSlave.relationTarget>> - <</if>> - <<for _ss = 0; _ss < $slaves.length; _ss++>> - <<if $slaves[_ss].ID != $activeSlave.ID>> - <<if $activeSlave.ID == $slaves[_ss].pregSource>> - <<set $boomerangStats.boomerangPregSources.push($slaves[_ss].ID)>> - <</if>> + <</if>> + <<if $nursery > 0>> + <<for _z = 0; _z < $cribs.length; _z++>> + <<if $activeSlave.ID == $cribs[_z].mother>> + <<set $boomerangStats.boomerangMotherTank.push($slaves[_z].ID)>> + <</if>> + <<if $activeSlave.ID == $cribs[_z].father>> + <<set $boomerangStats.boomerangFatherTank.push($slaves[_z].ID)>> <</if>> <</for>> <</if>> + <<set $boomerangSlave.sisters = 0, $boomerangSlave.daughters = 0>> <<if $activeSlave.relationship > 0>> <<set $boomerangStats.boomerangRelationship = $activeSlave.relationshipTarget>> <</if>> @@ -93,56 +80,43 @@ <</if>> <</if>> -<<if $familyTesting == 1>> - <<for _ss = 0; _ss < $slaves.length; _ss++>> - <<setLocalPronouns $slaves[_ss] 2>> - <<if $activeSlave.mother == $slaves[_ss].ID>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 $daughter. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <</if>> - <<if $activeSlave.father == $slaves[_ss].ID>> - $slaves[_ss].slaveName is @@.mediumorchid;disappointed@@ that you are selling _his2 $daughter. - <br><br> - <<set $slaves[_ss].devotion -= 10>> - <</if>> - <<if $activeSlave.ID == $slaves[_ss].father>> - $slaves[_ss].slaveName is @@.mediumorchid;saddened@@ that you are selling _his2 father. - <br><br> - <<set $slaves[_ss].devotion -= 10>> - <</if>> - <<if $activeSlave.ID == $slaves[_ss].mother>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 mother. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <</if>> - <<switch areSisters($activeSlave, $slaves[_ss])>> - <<case 1>> - $slaves[_ss].slaveName is @@.mediumorchid;devastated@@ that you are selling _his2 twin. - <br><br> - <<set $slaves[_ss].devotion -= 30>> - <<case 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 $sister. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <<case 3>> - $slaves[_ss].slaveName is @@.mediumorchid;disheartened@@ that you are selling _his2 half-<<= $sister>>. - <br><br> - <<set $slaves[_ss].devotion -= 10>> - <</switch>> - <</for>> -<<else>> - <<if $activeSlave.relation != 0>> - <<set _ss = $slaveIndices[$activeSlave.relationTarget]>> - <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> - <<setLocalPronouns $slaves[_ss] 2>> - $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 $activeSlave.relation. - <br><br> - <<set $slaves[_ss].devotion -= 20>> - <<set $display = 1>> - <</if>> +<<for _ss = 0; _ss < $slaves.length; _ss++>> + <<setLocalPronouns $slaves[_ss] 2>> + <<if $activeSlave.mother == $slaves[_ss].ID>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 $daughter. + <br><br> + <<set $slaves[_ss].devotion -= 20>> <</if>> -<</if>> + <<if $activeSlave.father == $slaves[_ss].ID>> + $slaves[_ss].slaveName is @@.mediumorchid;disappointed@@ that you are selling _his2 $daughter. + <br><br> + <<set $slaves[_ss].devotion -= 10>> + <</if>> + <<if $activeSlave.ID == $slaves[_ss].father>> + $slaves[_ss].slaveName is @@.mediumorchid;saddened@@ that you are selling _his2 father. + <br><br> + <<set $slaves[_ss].devotion -= 10>> + <</if>> + <<if $activeSlave.ID == $slaves[_ss].mother>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 mother. + <br><br> + <<set $slaves[_ss].devotion -= 20>> + <</if>> + <<switch areSisters($activeSlave, $slaves[_ss])>> + <<case 1>> + $slaves[_ss].slaveName is @@.mediumorchid;devastated@@ that you are selling _his2 twin. + <br><br> + <<set $slaves[_ss].devotion -= 30>> + <<case 2>> + $slaves[_ss].slaveName is @@.mediumorchid;grieved@@ that you are selling _his2 $sister. + <br><br> + <<set $slaves[_ss].devotion -= 20>> + <<case 3>> + $slaves[_ss].slaveName is @@.mediumorchid;disheartened@@ that you are selling _his2 half-<<= $sister>>. + <br><br> + <<set $slaves[_ss].devotion -= 10>> + <</switch>> +<</for>> <<if $activeSlave.relationship > 0>> <<set _ss = $slaveIndices[$activeSlave.relationshipTarget]>> <<if (def _ss) && $slaves[_ss].fetish != "mindbroken">> diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw index f83d91f1d75216b71228b501532a65a48eda3396..f3138c83028a21cf2f6499b0416cf6ac16e2e928 100644 --- a/src/uncategorized/surgeryDegradation.tw +++ b/src/uncategorized/surgeryDegradation.tw @@ -129,37 +129,25 @@ As the remote surgery's long recovery cycle completes, <<switch $surgeryType>> <<case "fuckdoll">> <<run App.Utils.setLocalPronouns(getSlave($AS))>> - <<if $familyTesting == 1>> - <<set _rels = $slaves.filter((s) => areRelated(s, getSlave($AS)) && !(s.ID === getSlave($AS).relationshipTarget))>> - <<for _rel range _rels>> - <<setLocalPronouns _rel 2>> - <<if isParentP(getSlave($AS), _rel) || isParentP(_rel, getSlave($AS))>> - _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 <<print relativeTerm(_rel, getSlave($AS))>> is now a Fuckdoll. - <<set _rel.devotion -= 40, _rel.trust -= 40>> - <</if>> - <<switch areSisters(getSlave($AS), _rel)>> - <<case 1>> - _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 twin is now a Fuckdoll. Is _he2 next? - <<set _rel.devotion -= 50, _rel.trust -= 50>> - <<case 2>> - _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 $sister is now a Fuckdoll. - <<set _rel.devotion -= 40, _rel.trust -= 40>> - <<case 3>> - _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 half-<<= $sister>> is now a Fuckdoll. - <<set _rel.devotion -= 30,_rel.trust -= 30>> - <</switch>> - <</for>> - <<else>> - <<if getSlave($AS).relation != 0>> - <<set $j = $slaveIndices[getSlave($AS).relationTarget]>> - <<if def $j>> - <<setLocalPronouns $slaves[$j] 2>> - $slaves[$j].slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 <<= getSlave($AS).relation>> is now a Fuckdoll. - <<set $slaves[$j].devotion -= 40>> - <<set $slaves[$j].trust -= 40>> - <</if>> - <</if>> - <</if>> /*closes extended family mode */ + <<set _rels = $slaves.filter((s) => areRelated(s, getSlave($AS)) && !(s.ID === getSlave($AS).relationshipTarget))>> + <<for _rel range _rels>> + <<setLocalPronouns _rel 2>> + <<if isParentP(getSlave($AS), _rel) || isParentP(_rel, getSlave($AS))>> + _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 <<print relativeTerm(_rel, getSlave($AS))>> is now a Fuckdoll. + <<set _rel.devotion -= 40, _rel.trust -= 40>> + <</if>> + <<switch areSisters(getSlave($AS), _rel)>> + <<case 1>> + _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 twin is now a Fuckdoll. Is _he2 next? + <<set _rel.devotion -= 50, _rel.trust -= 50>> + <<case 2>> + _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 $sister is now a Fuckdoll. + <<set _rel.devotion -= 40, _rel.trust -= 40>> + <<case 3>> + _rel.slaveName will be @@.mediumorchid;horrified@@ and @@.gold;afraid@@ when _he2 finds out that _his2 half-<<= $sister>> is now a Fuckdoll. + <<set _rel.devotion -= 30,_rel.trust -= 30>> + <</switch>> + <</for>> <<if getSlave($AS).relationship > 0>> <<set $j = $slaveIndices[getSlave($AS).relationshipTarget]>> <<if def $j>>