diff --git a/.jshintrc b/.jshintrc index a1947112bf21a9e16f15cf94cc5d0bf746adb335..3be7392d7eddf06ac873c8b06f1de07b2e98e0a7 100644 --- a/.jshintrc +++ b/.jshintrc @@ -5,8 +5,8 @@ "esversion": 6, "eqeqeq": true, "nocomma": true, - "undef": true, - "maxerr": 150, + "undef": false, + "maxerr": 250, "unused": true, "globals": { "SugarCube": false, @@ -20,5 +20,7 @@ "prerender": true, "postrender": true, "postdisplay": true - } + }, + "-W008": false, + "-W014": false } diff --git a/devNotes/VersionChangeLog-Premod+LoliMod.txt b/devNotes/VersionChangeLog-Premod+LoliMod.txt index e14abd2573ab3fffec284f26348a251e03f3b82c..d723d796cb412d74c5a3168a37ed959c50e8ef88 100644 --- a/devNotes/VersionChangeLog-Premod+LoliMod.txt +++ b/devNotes/VersionChangeLog-Premod+LoliMod.txt @@ -1,5 +1,17 @@ Pregmod +0.10.7.1-2.1.x + +02/01/2019 + + 1 + -fixes + + 0 + -added ear surgery (elf) + -groundwork for multiple marriage + -fixes and cleaning + 0.10.7.1-2.0.x 01/29/2019 diff --git a/devTools/embed_favicon.py b/devTools/embed_favicon.py index 4b59bb93be8597b5a4bdcd45d58dc8d43a00d7f9..79d82ab4ff1c9801d1d0b136c6fa20043c06ae46 100755 --- a/devTools/embed_favicon.py +++ b/devTools/embed_favicon.py @@ -1,14 +1,14 @@ #!/usr/bin/env python3 ''' -Script for embedding favicons into the SugarCube Header. +Script for embedding favicons into a HTML Header. Script file is expected to reside in devTools directory. Note: This does not actually check the image file's contents for size detection. Usage: -python3 embed_favicon.py +python3 embed_favicon.py [FC_pregmod.html] ''' import sys @@ -22,22 +22,28 @@ ext2mimetype = { '.ico': 'image/x-icon' } + # reads a file, turns it into a data uri def data_uri_from_file(filename, mimetype): - data = open(filename,'rb').read() + data = open(filename, 'rb').read() base64data = base64.b64encode(data).decode('ascii') - out = 'data:%s;base64,%s'%(mimetype, base64data) + out = 'data:%s;base64,%s' % (mimetype, base64data) return out + if __name__ == "__main__": # find project root directory path # (script file is expected to reside in devTools) project_root_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - # path to SugarCube's header.html - header_html_path = os.path.join( - project_root_path, - 'devTools/tweeGo/storyFormats/sugarcube-2/header.html' - ) + html_path = '' + if (len(sys.argv) > 1): + html_path = sys.argv[1] + else: + # path to bin/FC_pregmod.html + html_path = os.path.join( + project_root_path, + 'bin/FC_pregmod.html' + ) # path to directory containing all favicons to embed favicons_source_path = os.path.join( project_root_path, @@ -45,18 +51,19 @@ if __name__ == "__main__": ) # walk directory for all files favicons_paths = [ - os.path.join(dirpath, filename) - for dirpath, dirnames, filenames in os.walk(favicons_source_path) - for filename in filenames + os.path.join(dirpath, filename) + for dirpath, dirnames, filenames in os.walk(favicons_source_path) + for filename in filenames ] # ignore files with unknown extensions - favicons_paths = [f for f in favicons_paths if f[-4:] in ext2mimetype.keys()] - + favicons_paths = [f for f in favicons_paths + if f[-4:] in ext2mimetype.keys()] + # prepare embedded data size_from_filename = re.compile(r'([0-9]+)\....$') favicons_html = [] for fp in favicons_paths: - print('Found favicon source file "%s".'%(fp)) + print('Found favicon source file "%s".' % (fp)) # get mimetype by file extension mimetype = ext2mimetype[fp[-4:]] if (mimetype == 'image/x-icon'): @@ -65,19 +72,19 @@ if __name__ == "__main__": else: # guess icon size from file name size = size_from_filename.search(fp).group(1) - sizes = '%sx%s'%(size, size) + sizes = '%sx%s' % (size, size) data = data_uri_from_file(fp, mimetype) favicons_html.append( # prepare html with favicon data embedded - '<link rel="icon" type="%s" sizes="%s" href="%s">\n'%( + '<link rel="icon" type="%s" sizes="%s" href="%s">\n' % ( mimetype, sizes, data ) ) # modify header file - with open(header_html_path,'r+',encoding='utf-8') as hf: - print('Rewriting "%s"...'%(header_html_path)) - lines_in = hf.readlines() # read whole file + with open(html_path, 'r+', encoding='utf-8') as hf: + print('Rewriting "%s"...' % (html_path)) + lines_in = hf.readlines() # read whole file lines_out = [] for line in lines_in: # embed favicons into head @@ -86,8 +93,8 @@ if __name__ == "__main__": # remove all currently embedded favicons if (not (line.startswith('<link') and 'icon' in line)): lines_out.append(line) - hf.seek(0) # move to beginning of file - hf.write(''.join(lines_out)) # overwrite with new data - hf.truncate() # remove trailing old data - + hf.seek(0) # move to beginning of file + hf.write(''.join(lines_out)) # overwrite with new data + hf.truncate() # remove trailing old data + print('Finished.') diff --git a/src/init/storyInit.tw b/src/init/storyInit.tw index 3bbf18b63b1e7806d5678a840a2174b3192be69c..6cc3acae993f0734c6d45e23c13a6bf0bfa9c4b7 100644 --- a/src/init/storyInit.tw +++ b/src/init/storyInit.tw @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with thi <<set $returnTo = "init", $nextButton = "Continue", $nextLink = "Alpha disclaimer">> <<unset $releaseID>> -<<set $ver = "0.10.7", $pmodVer = "2.0.X", $releaseID = 1040>> -<<if ndef $pmodVer>><<set $pmodVer = "2.0.X">><</if>> +<<set $ver = "0.10.7", $pmodVer = "2.1.X", $releaseID = 1041>> +<<if ndef $pmodVer>><<set $pmodVer = "2.1.X">><</if>> /* This needs to be broken down into individual files that can be added to StoryInit instead. */ @@ -206,6 +206,7 @@ You should have received a copy of the GNU General Public License along with thi <<set $showMissingSlavesSD = false>> <</if>> +<<set $marrying = []>> /* array of slave being married this week*/ <<set $organs = []>> <<set $ArcadeiIDs = [], $BrothiIDs = [], $CellBiIDs = [], $CliniciIDs = [], $ClubiIDs = [], $DairyiIDs = [], $FarmyardiIDs = [], $HGSuiteiIDs = [], $MastSiIDs = [], $SchlRiIDs = [], $ServQiIDs = [], $SpaiIDs = [], $NurseryiIDs = []>> @@ -933,7 +934,6 @@ You should have received a copy of the GNU General Public License along with thi <<set $year = 2037>> <<set $weddingPlanned = 0>> -<<set $weddingSlaveID = 0>> <<set $personalAttention = "sex">> <<set $HeadGirl = 0>> <<set $HGTimeInGrade = 0>> diff --git a/src/js/DefaultRules.js b/src/js/DefaultRules.js index b723149cbc4271e4e93854c9cc3d62b63b803764..db6e52410f032f8d4457d0fa477791cbc14cbd70 100644 --- a/src/js/DefaultRules.js +++ b/src/js/DefaultRules.js @@ -93,7 +93,7 @@ window.DefaultRules = (function() { break; case "be confined in the arcade": - if ((V.arcadeSlaves < V.arcade && slave.indentureRestrictions <= 0 && (slave.breedingMark != 1 || V.propOutcome === 0))) + if ((V.arcadeSlaves < V.arcade && slave.indentureRestrictions <= 0 && (slave.breedingMark !== 1 || V.propOutcome === 0))) break; else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment @@ -111,7 +111,7 @@ window.DefaultRules = (function() { break; case "get treatment in the clinic": - if ((V.clinicSlaves < V.clinic && (slave.health < 20 || (slave.chem > 15 && V.Nurse !== 0 && V.clinicUpgradeFilters == 1)) || ((slave.bellyImplant > -1) && (V.bellyImplants == 1)) || slave.preg > 1)) + if ((V.clinicSlaves < V.clinic && (slave.health < 20 || (slave.chem > 15 && V.Nurse !== 0 && V.clinicUpgradeFilters === 1)) || ((slave.bellyImplant > -1) && (V.bellyImplants === 1)) || slave.preg > 1)) break; else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment @@ -120,7 +120,7 @@ window.DefaultRules = (function() { break; case "rest in the spa": - if ((V.spaSlaves < V.spa) && (slave.health < 20) || (slave.trust < 60) || (slave.devotion <= 60) || (slave.fetish == "mindbroken") && (slave.devotion >= -20)) + if ((V.spaSlaves < V.spa) && (slave.health < 20) || (slave.trust < 60) || (slave.devotion <= 60) || (slave.fetish === "mindbroken") && (slave.devotion >= -20)) break; else { RAFacilityRemove(slave,rule); // before deleting rule.setAssignment @@ -138,7 +138,7 @@ window.DefaultRules = (function() { break; case "work in the brothel": - if ((V.brothelSlaves < V.brothel && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark != 1 || V.propOutcome === 0))) + if ((V.brothelSlaves < V.brothel && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark !== 1 || V.propOutcome === 0))) break; else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment @@ -147,7 +147,7 @@ window.DefaultRules = (function() { break; case "serve in the club": - if ((V.clubSlaves < V.club && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark != 1 || V.propOutcome === 0))) + if ((V.clubSlaves < V.club && (slave.devotion > 50 || slave.trust > 50 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)) && (slave.breedingMark !== 1 || V.propOutcome === 0))) break; else { RAFacilityRemove(slave, rule); // before deleting rule.setAssignment @@ -159,13 +159,13 @@ window.DefaultRules = (function() { if ((V.dairy > V.dairySlaves+V.bioreactorsXY+V.bioreactorsXX+V.bioreactorsHerm+V.bioreactorsBarren)) { if ((slave.indentureRestrictions > 0) && (V.dairyRestraintsSetting > 1)) break; - else if (((slave.indentureRestrictions > 1) && (V.dairyRestraintsSetting > 0)) || (slave.breedingMark == 1 && V.propOutcome == 1 && V.dairyRestriantsSettings > 0) || ((V.dairyPregSetting > 0) && ((slave.bellyImplant != -1) || (slave.broodmother !== 0)))) + else if (((slave.indentureRestrictions > 1) && (V.dairyRestraintsSetting > 0)) || (slave.breedingMark === 1 && V.propOutcome === 1 && V.dairyRestriantsSettings > 0) || ((V.dairyPregSetting > 0) && ((slave.bellyImplant !== -1) || (slave.broodmother !== 0)))) break; else { - if ((slave.lactation > 0 || ((V.dairySlimMaintainUpgrade === 0 || V.dairySlimMaintain === 0) && (slave.boobs > 300 || slave.dick === 0 || V.dairyImplantsSetting == 1) && V.dairyImplantsSetting != 2)) || (slave.balls > 0)) { - if ((slave.devotion > 20) || ((slave.devotion >= -50) && (slave.trust < -20)) || (slave.trust < -50) || (slave.amp == 1) || (V.dairyRestraintsUpgrade == 1)) { - if ((V.dairyStimulatorsSetting < 2) || (slave.anus > 2) || (V.dairyPrepUpgrade == 1)) { - if ((V.dairyPregSetting < 2) || (slave.vagina > 2) || (slave.ovaries === 0) || (V.dairyPrepUpgrade == 1)) + if ((slave.lactation > 0 || ((V.dairySlimMaintainUpgrade === 0 || V.dairySlimMaintain === 0) && (slave.boobs > 300 || slave.dick === 0 || V.dairyImplantsSetting === 1) && V.dairyImplantsSetting !== 2)) || (slave.balls > 0)) { + if ((slave.devotion > 20) || ((slave.devotion >= -50) && (slave.trust < -20)) || (slave.trust < -50) || (slave.amp === 1) || (V.dairyRestraintsUpgrade === 1)) { + if ((V.dairyStimulatorsSetting < 2) || (slave.anus > 2) || (V.dairyPrepUpgrade === 1)) { + if ((V.dairyPregSetting < 2) || (slave.vagina > 2) || (slave.ovaries === 0) || (V.dairyPrepUpgrade === 1)) break; else { RAFacilityRemove(slave,rule); // before deleting rule.setAssignment @@ -206,7 +206,7 @@ window.DefaultRules = (function() { break; case "learn in the schoolroom": - if ((V.schoolroomSlaves < V.schoolroom && slave.fetish != "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)))) + if ((V.schoolroomSlaves < V.schoolroom && slave.fetish !== "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.devotion >= -50 && slave.trust < -20)))) if ((slave.intelligenceImplant < 30) || (slave.voice !== 0 && slave.accent+V.schoolroomUpgradeLanguage > 2) || (slave.oralSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.whoreSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.entertainSkill <= 10+V.schoolroomUpgradeSkills*20) || (slave.analSkill < 10+V.schoolroomUpgradeSkills*20) || ((slave.vagina >= 0) && (slave.vaginalSkill < 10+V.schoolroomUpgradeSkills*20))) break; else { @@ -229,14 +229,14 @@ window.DefaultRules = (function() { break; case "take classes": - if (slave.intelligenceImplant < 15 && slave.fetish != "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.trust < -20 && slave.devotion >= -50))) + if (slave.intelligenceImplant < 15 && slave.fetish !== "mindbroken" && (slave.devotion >= -20 || slave.trust < -50 || (slave.trust < -20 && slave.devotion >= -50))) break; else delete rule.setAssignment; break; case "choose her own job": - if ((slave.fetish != "mindbroken")) + if ((slave.fetish !== "mindbroken")) break; else delete rule.setAssignment; @@ -257,7 +257,7 @@ window.DefaultRules = (function() { break; case "work a glory hole": - if (slave.indentureRestrictions <= 0 && (slave.breedingMark != 1 || V.propOutcome === 0)) + if (slave.indentureRestrictions <= 0 && (slave.breedingMark !== 1 || V.propOutcome === 0)) break; else delete rule.setAssignment; @@ -266,7 +266,7 @@ window.DefaultRules = (function() { case "whore": case "serve the public": case "stay confined": - if ((slave.fuckdoll === 0) && (slave.breedingMark != 1 || V.propOutcome === 0)) + if ((slave.fuckdoll === 0) && (slave.breedingMark !== 1 || V.propOutcome === 0)) break; else delete rule.setAssignment; @@ -281,8 +281,8 @@ window.DefaultRules = (function() { function AssignJobToSlave(slave, rule) { // place slave on assignment defined by the rule - if ((rule.setAssignment !== undefined && rule.setAssignment != "no default setting")) { - if (((rule.setAssignment == "choose her own job" && !slave.choosesOwnAssignment) || rule.setAssignment != slave.assignment)) { + if ((rule.setAssignment !== undefined && rule.setAssignment !== "no default setting")) { + if (((rule.setAssignment === "choose her own job" && !slave.choosesOwnAssignment) || rule.setAssignment !== slave.assignment)) { switch (rule.setAssignment) { case "live with your Head Girl": r += `<br>${slave.slaveName} has been automatically assigned to live in your Head Girl's private suite.`; @@ -338,7 +338,7 @@ window.DefaultRules = (function() { function ProcessClothing(slave, rule) { // apply clothes to slave if ((rule.clothes !== undefined) && (rule.clothes !== "no default setting")) { - if ((rule.clothes == "choosing her own clothes")) { + if ((rule.clothes === "choosing her own clothes")) { if ((slave.choosesOwnClothes === 0)) { slave.clothes = "choosing her own clothes"; slave.choosesOwnClothes = 1; @@ -354,20 +354,20 @@ window.DefaultRules = (function() { function ProcessCollar(slave, rule) { // apply collar to slave - if ((rule.collar !== undefined) && (rule.collar != "no default setting")) { + if ((rule.collar !== undefined) && (rule.collar !== "no default setting")) { if ((slave.collar !== rule.collar)) { r += '<br>'; - if (rule.collar == "preg biometrics" && slave.preg <= -1 && slave.ovaries === 0 && slave.mpreg === 0) { + if (rule.collar === "preg biometrics" && slave.preg <= -1 && slave.ovaries === 0 && slave.mpreg === 0) { slave.collar = "none"; r += `${slave.slaveName} cannot utilize preg biometrics. `; - } else if ((rule.collar == "massive dildo gag" && slave.oralSkill <= 50)) { + } else if ((rule.collar === "massive dildo gag" && slave.oralSkill <= 50)) { slave.collar = "none"; r += `${slave.slaveName} lacks the oral skill to successfully keep the massive dildo gag in her throat. `; } else slave.collar = rule.collar; - if ((slave.collar == "none")) + if ((slave.collar === "none")) r += `${slave.slaveName} has been given no collar.`; - else if ((slave.collar == "pretty jewelry")) + else if ((slave.collar === "pretty jewelry")) r += `${slave.slaveName} has been given ${slave.collar}.`; else if ((["dildo gag", "massive dildo gag", "ball gag", "bit gag", "neck corset", "porcelain mask", "bell collar", "bowtie"].includes(slave.collar))) r += `${slave.slaveName} has been given a ${slave.collar}.`; @@ -382,14 +382,14 @@ window.DefaultRules = (function() { if ((rule.eyewear !== undefined) && (rule.eyewear !== "no default setting")) { switch (rule.eyewear) { case "correct with glasses": - if (slave.eyes == -1) { - if (slave.eyewear != "corrective glasses") { + if (slave.eyes === -1) { + if (slave.eyewear !== "corrective glasses") { slave.eyewear = "corrective glasses"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given corrective glasses.`; } } else { - if (slave.eyewear != "none") { + if (slave.eyewear !== "none") { slave.eyewear = "none"; r += `<br>${slave.slaveName}'s eyewear has been removed.`; } @@ -397,14 +397,14 @@ window.DefaultRules = (function() { break; case "correct with contacts": - if (slave.eyes == -1) { - if (slave.eyewear != "corrective contacts") { + if (slave.eyes === -1) { + if (slave.eyewear !== "corrective contacts") { slave.eyewear = "corrective contacts"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given corrective contacts.`; } } else { - if (slave.eyewear != "none") { + if (slave.eyewear !== "none") { slave.eyewear = "none"; r += `<br>${slave.slaveName}'s eyewear has been removed.`; } @@ -413,13 +413,13 @@ window.DefaultRules = (function() { case "blur with glasses": if (slave.eyes > -1) { - if (slave.eyewear != "blurring glasses") { + if (slave.eyewear !== "blurring glasses") { slave.eyewear = "blurring glasses"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given blurring glasses.`; } } else { - if (slave.eyewear != "none") { + if (slave.eyewear !== "none") { slave.eyewear = "none"; r += `<br>${slave.slaveName}'s eyewear has been removed.`; } @@ -428,13 +428,13 @@ window.DefaultRules = (function() { case "blur with contacts": if (slave.eyes > -1) { - if (slave.eyewear != "blurring contacts") { + if (slave.eyewear !== "blurring contacts") { slave.eyewear = "blurring contacts"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given blurring contacts.`; } } else { - if (slave.eyewear != "none") { + if (slave.eyewear !== "none") { slave.eyewear = "none"; r += `<br>${slave.slaveName}'s eyewear has been removed.`; } @@ -442,14 +442,14 @@ window.DefaultRules = (function() { break; case "universal glasses": - if (slave.eyes == -1) { - if (slave.eyewear != "corrective glasses") { + if (slave.eyes === -1) { + if (slave.eyewear !== "corrective glasses") { slave.eyewear = "corrective glasses"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given corrective glasses.`; } } else { - if (slave.eyewear != "glasses") { + if (slave.eyewear !== "glasses") { slave.eyewear = "glasses"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given decorative glasses.`; @@ -458,7 +458,7 @@ window.DefaultRules = (function() { break; default: - if (slave.eyewear != "none") { + if (slave.eyewear !== "none") { slave.eyewear = "none"; r += `<br>${slave.slaveName}'s eyewear has been removed.`; } @@ -472,14 +472,14 @@ window.DefaultRules = (function() { if ((rule.earwear !== undefined) && (rule.earwear !== "no default setting")) { switch (rule.earwear) { case "correct with hearing aids": - if (slave.hears == -1) { - if (slave.earwear != "hearing aids") { + if (slave.hears === -1) { + if (slave.earwear !== "hearing aids") { slave.earwear = "hearing aids"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given hearing aids.`; } } else { - if (slave.earwear != "none") { + if (slave.earwear !== "none") { slave.earwear = "none"; r += `<br>${slave.slaveName}'s earwear has been removed.`; } @@ -488,13 +488,13 @@ window.DefaultRules = (function() { case "muffle with ear plugs": if (slave.hears > -1) { - if (slave.earwear != "muffling ear plugs") { + if (slave.earwear !== "muffling ear plugs") { slave.earwear = "muffling ear plugs"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given muffling ear plugs.`; } } else { - if (slave.earwear != "none") { + if (slave.earwear !== "none") { slave.earwear = "none"; r += `<br>${slave.slaveName}'s earwear has been removed.`; } @@ -503,13 +503,13 @@ window.DefaultRules = (function() { case "deafen with ear plugs": if (slave.hears > -2) { - if (slave.earwear != "deafening ear plugs") { + if (slave.earwear !== "deafening ear plugs") { slave.earwear = "deafening ear plugs"; cashX(forceNeg(V.modCost), "slaveMod", slave); r += `<br>${slave.slaveName} has been given deafening ear plugs.`; } } else { - if (slave.earwear != "none") { + if (slave.earwear !== "none") { slave.earwear = "none"; r += `<br>${slave.slaveName}'s earwear has been removed.`; } @@ -517,7 +517,7 @@ window.DefaultRules = (function() { break; default: - if (slave.earwear != "none") { + if (slave.earwear !== "none") { slave.earwear = "none"; r += `<br>${slave.slaveName}'s earwear has been removed.`; } @@ -553,21 +553,21 @@ window.DefaultRules = (function() { break; case "long dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so the virgin ${slave.slaveName} has been given a standard length dildo for her pussy.`; slave.vaginalAccessory = "dildo"; } break; case "long, large dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so the virgin ${slave.slaveName} has been given a standard length large dildo for her pussy.`; slave.vaginalAccessory = "large dildo"; } break; case "long, huge dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so the virgin ${slave.slaveName} has been given a standard length huge dildo for her pussy.`; slave.vaginalAccessory = "huge dildo"; } else { @@ -610,21 +610,21 @@ window.DefaultRules = (function() { break; case "long dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so the virgin ${slave.slaveName} has been given a standard length dildo for her pussy.`; slave.vaginalAccessory = "dildo"; } break; case "long, large dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so the virgin ${slave.slaveName} has been given a standard length large dildo for her pussy.`; slave.vaginalAccessory = "large dildo"; } break; case "long, huge dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so the virgin ${slave.slaveName} has been given a standard length huge dildo for her pussy.`; slave.vaginalAccessory = "huge dildo"; } else { @@ -667,21 +667,21 @@ window.DefaultRules = (function() { break; case "long dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so ${slave.slaveName} has been given a standard length dildo for her pussy.`; slave.vaginalAccessory = "dildo"; } break; case "long, large dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so ${slave.slaveName} has been given a standard length large dildo for her pussy.`; slave.vaginalAccessory = "large dildo"; } break; case "long, huge dildo": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of cervix penetrating dildos on marked slaves, so ${slave.slaveName} has been given a standard length huge dildo for her pussy.`; slave.vaginalAccessory = "huge dildo"; } else { @@ -713,7 +713,7 @@ window.DefaultRules = (function() { if ((rule.aVirginDickAccessory !== undefined) && (rule.aVirginDickAccessory !== "no default setting")) { if ((slave.dickAccessory !== rule.aVirginDickAccessory)) { slave.dickAccessory = rule.aVirginDickAccessory; - if (slave.dickAccessory == "none") + if (slave.dickAccessory === "none") r += `<br>${slave.slaveName} is a virgin and has been instructed not to wear a dick accessory.`; else r += `<br>${slave.slaveName} is a virgin and has been given a ${slave.dickAccessory} accessory for her cock.`; @@ -723,7 +723,7 @@ window.DefaultRules = (function() { if ((rule.dickAccessory !== undefined) && (rule.dickAccessory !== "no default setting")) { if ((slave.dickAccessory !== rule.dickAccessory)) { slave.dickAccessory = rule.dickAccessory; - if (slave.dickAccessory == "none") + if (slave.dickAccessory === "none") r += `<br>${slave.slaveName} has been instructed not to wear a dick accessory.`; else r += `<br>${slave.slaveName} has been given a ${slave.dickAccessory} accessory for her cock.`; @@ -737,7 +737,7 @@ window.DefaultRules = (function() { // apply shoes to slave if ((rule.shoes !== undefined) && (rule.shoes !== "no default setting")) { if ((slave.shoes !== rule.shoes)) { - if ((slave.amp != 1)) { + if ((slave.amp !== 1)) { slave.shoes = rule.shoes; r += `<br>${slave.slaveName}'s shoes have been set to ${slave.shoes}.`; } @@ -754,7 +754,7 @@ window.DefaultRules = (function() { slave.bellyAccessory = "none"; } else { slave.bellyAccessory = rule.bellyAccessory; - if (slave.bellyAccessory == "none") + if (slave.bellyAccessory === "none") r += `<br>${slave.slaveName} has been instructed not to wear a torso accessory.`; else r += `<br>${slave.slaveName} has been given ${slave.bellyAccessory} to wear.`; @@ -798,21 +798,21 @@ window.DefaultRules = (function() { break; case "long plug": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of anal plugs that can damage a growing fetus on marked slaves, so the anal virgin ${slave.slaveName} has been given a standard length plug for her anus.`; slave.buttplug = "plug"; } break; case "long, large plug": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of anal plugs that can damage a growing fetus on marked slaves, so the anal virgin ${slave.slaveName} has been given a standard length large plug for her anus.`; slave.buttplug = "large plug"; } break; case "long, huge plug": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of anal plugs that can damage a growing fetus on marked slaves, so the anal virgin ${slave.slaveName} has been given a standard length huge plug for her anus.`; slave.buttplug = "huge plug"; } else { @@ -855,21 +855,21 @@ window.DefaultRules = (function() { break; case "long plug": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of anal plugs that can damage a growing fetus on marked slaves, so ${slave.slaveName} has been given a standard length plug for her anus.`; slave.buttplug = "plug"; } break; case "long, large plug": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of anal plugs that can damage a growing fetus on marked slaves, so ${slave.slaveName} has been given a standard length large plug for her anus.`; slave.buttplug = "large plug"; } break; case "long, huge plug": - if (slave.breedingMark == 1 && V.propOutcome == 1) { + if (slave.breedingMark === 1 && V.propOutcome === 1) { r += `<br>Breeding regulations forbid the use of anal plugs that can damage a growing fetus on marked slaves, so ${slave.slaveName} has been given a standard length huge plug for her anus.`; slave.buttplug = "huge plug"; } else { @@ -1004,68 +1004,68 @@ window.DefaultRules = (function() { function ProcessAssetGrowthDrugs(slave, rule) { // Asset Growth const growth_drugs = new Set(["breast injections", "breast redistributors", "butt injections", "butt redistributors", "hyper breast injections", "hyper butt injections", "hyper penis enhancement", "hyper testicle enhancement", "intensive breast injections", "intensive butt injections", "intensive penis enhancement", "intensive testicle enhancement", "lip atrophiers", "lip injections", "penis atrophiers", "penis enhancement", "testicle atrophiers", "testicle enhancement"]); - if ((slave.drugs == "super fertility drugs" || slave.drugs == "fertility drugs") && isFertile(slave)) { + if ((slave.drugs === "super fertility drugs" || slave.drugs === "fertility drugs") && isFertile(slave)) { r += `<br>${slave.slaveName} is on ${slave.drugs} and will not be considered for drug enhancement until that regime is complete.`; return; - } else if ((rule.growth_boobs == "no default setting" && rule.growth_butt == "no default setting" && rule.growth_lips == "no default setting" && rule.growth_dick == "no default setting" && rule.growth_dick == "no default setting" && rule.growth_balls == "no default setting")) { + } else if ((rule.growth_boobs === "no default setting" && rule.growth_butt === "no default setting" && rule.growth_lips === "no default setting" && rule.growth_dick === "no default setting" && rule.growth_dick === "no default setting" && rule.growth_balls === "no default setting")) { return; } if (!rule.hyper_drugs) { // More resource intensive version with prioritizing. let _priorities = []; - if (rule.growth_boobs != "no default setting") { + if (rule.growth_boobs !== "no default setting") { let _priority; if (slave.boobs < rule.growth_boobs) { _priority = {drug: "breast injections", weight: (rule.growth_boobs-slave.boobs)/rule.growth_boobs}; _priorities.push(_priority); - } else if ((slave.boobs > parseInt(rule.growth_boobs)+200) && slave.weight < 100 && (V.arcologies[0].FSSlimnessEnthusiastResearch == 1)) { + } else if ((slave.boobs > parseInt(rule.growth_boobs)+200) && slave.weight < 100 && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "breast redistributors", weight: (1+((slave.boobs-slave.boobsImplant-slave.boobsMilk-rule.growth_boobs)/rule.growth_boobs)) }; _priorities.push(_priority); } } - if (rule.growth_butt != "no default setting") { + if (rule.growth_butt !== "no default setting") { let _priority; if (slave.butt < rule.growth_butt) { _priority = {drug: "butt injections", weight: (rule.growth_butt-slave.butt)/rule.growth_butt}; _priorities.push(_priority); - } else if ((Math.trunc(slave.butt) > rule.growth_butt) && slave.weight < 100 && (V.arcologies[0].FSSlimnessEnthusiastResearch == 1)) { + } else if ((Math.trunc(slave.butt) > rule.growth_butt) && slave.weight < 100 && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "butt redistributors", weight: (1+((slave.butt-slave.buttImplant-rule.growth_butt)/rule.growth_butt)) }; _priorities.push(_priority); } } - if (rule.growth_lips != "no default setting") { + if (rule.growth_lips !== "no default setting") { let _priority; if (slave.lips < rule.growth_lips) { _priority = {drug: "lip injections", weight: (rule.growth_lips-slave.lips)/rule.growth_lips}; _priorities.push(_priority); - } else if ((slave.lips > rule.growth_lips) && (V.arcologies[0].FSSlimnessEnthusiastResearch == 1)) { + } else if ((slave.lips > rule.growth_lips) && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "lip atrophiers", weight: (1+((slave.lips-slave.lipsImplant-rule.growth_lips)/rule.growth_lips))}; _priorities.push(_priority); } } - if (rule.growth_dick != "no default setting" && slave.dick) { + if (rule.growth_dick !== "no default setting" && slave.dick) { let _priority; if (slave.dick < rule.growth_dick) { _priority = {drug: "penis enhancement", weight: (rule.growth_dick-slave.dick)/rule.growth_dick}; _priorities.push(_priority); - } else if ((slave.dick > rule.growth_dick) && (V.arcologies[0].FSSlimnessEnthusiastResearch == 1)) { + } else if ((slave.dick > rule.growth_dick) && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "penis atrophiers", weight: (1+((slave.dick-rule.growth_dick)/rule.growth_dick))}; _priorities.push(_priority); } } - if (rule.growth_balls != "no default setting" && slave.balls) { + if (rule.growth_balls !== "no default setting" && slave.balls) { let _priority; if (slave.balls < rule.growth_balls) { _priority = {drug: "testicle enhancement", weight: (rule.growth_balls-slave.balls)/rule.growth_balls}; _priorities.push(_priority); - } else if ((slave.balls > rule.growth_balls) && (V.arcologies[0].FSSlimnessEnthusiastResearch == 1)) { + } else if ((slave.balls > rule.growth_balls) && (V.arcologies[0].FSSlimnessEnthusiastResearch === 1)) { _priority = { drug: "testicle atrophiers", weight: (1+((slave.balls-rule.growth_balls)/rule.growth_balls))}; @@ -1074,10 +1074,10 @@ window.DefaultRules = (function() { } if (_priorities.length > 1) { _priorities = _priorities.sort(function(a, b){if(a.weight > b.weight) return -1; if(a.weight < b.weight) return 1; return 0;}); - if (slave.drugs != _priorities[0].drug) { + if (slave.drugs !== _priorities[0].drug) { slave.drugs = _priorities[0].drug; r += `<br>${slave.slaveName} has been put on `; - if (rule.growth_intensity && slave.drugs != "lip injections" && slave.health > 0) { + if (rule.growth_intensity && slave.drugs !== "lip injections" && slave.health > 0) { slave.drugs = "intensive " + slave.drugs; r += `${slave.drugs}, since she's healthy enough to take them, and `; } else { @@ -1090,10 +1090,10 @@ window.DefaultRules = (function() { } return; } else if (_priorities.length > 0) { - if (slave.drugs != _priorities[0].drug) { + if (slave.drugs !== _priorities[0].drug) { slave.drugs = _priorities[0].drug; r += `<br>${slave.slaveName} has been put on `; - if (rule.growth_intensity && slave.drugs != "lip injections" && slave.health > 0) { + if (rule.growth_intensity && slave.drugs !== "lip injections" && slave.health > 0) { slave.drugs = "intensive " + slave.drugs; r += `${slave.drugs}, since she's healthy enough to take them, and `; } else @@ -1107,91 +1107,91 @@ window.DefaultRules = (function() { return; } } else { - if (rule.growth_boobs != "no default setting") { + if (rule.growth_boobs !== "no default setting") { if (slave.boobs < rule.growth_boobs) { - if (slave.drugs != "hyper breast injections") { + if (slave.drugs !== "hyper breast injections") { slave.drugs = "hyper breast injections"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_butt != "no default setting") { + if (rule.growth_butt !== "no default setting") { if (slave.butt < rule.growth_butt) { - if (slave.drugs != "hyper butt injections") { + if (slave.drugs !== "hyper butt injections") { slave.drugs = "hyper butt injections"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_lips != "no default setting") { + if (rule.growth_lips !== "no default setting") { if (slave.lips < rule.growth_lips) { - if (slave.drugs != "lip injections") { + if (slave.drugs !== "lip injections") { slave.drugs = "lip injections"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_dick != "no default setting" && slave.dick) { + if (rule.growth_dick !== "no default setting" && slave.dick) { if (slave.dick < rule.growth_dick) { - if (slave.drugs != "hyper penis enhancement") { + if (slave.drugs !== "hyper penis enhancement") { slave.drugs = "hyper penis enhancement"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_balls != "no default setting" && slave.balls) { + if (rule.growth_balls !== "no default setting" && slave.balls) { if (slave.balls < rule.growth_balls) { - if (slave.drugs != "hyper testicle enhancement") { + if (slave.drugs !== "hyper testicle enhancement") { slave.drugs = "hyper testicle enhancement"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (V.arcologies[0].FSSlimnessEnthusiastResearch == 1) { - if (rule.growth_boobs != "no default setting") { + if (V.arcologies[0].FSSlimnessEnthusiastResearch === 1) { + if (rule.growth_boobs !== "no default setting") { if (slave.boobs-slave.boobsImplant-slave.boobsMilk > parseInt(rule.growth_boobs)+200 && slave.weight < 100) { - if (slave.drugs != "breast redistributors") { + if (slave.drugs !== "breast redistributors") { slave.drugs = "breast redistributors"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_butt != "no default setting") { + if (rule.growth_butt !== "no default setting") { if (Math.trunc(slave.butt-slave.buttImplant) > rule.growth_butt && slave.weight < 100) { - if (slave.drugs != "butt redistributors") { + if (slave.drugs !== "butt redistributors") { slave.drugs = "butt redistributors"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_lips != "no default setting") { + if (rule.growth_lips !== "no default setting") { if (slave.lips-slave.lipsImplant > rule.growth_lips) { - if (slave.drugs != "lip atrophiers") { + if (slave.drugs !== "lip atrophiers") { slave.drugs = "lip atrophiers"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_dick != "no default setting" && slave.dick) { + if (rule.growth_dick !== "no default setting" && slave.dick) { if (slave.dick > rule.growth_dick) { - if (slave.drugs != "penis atrophiers") { + if (slave.drugs !== "penis atrophiers") { slave.drugs = "penis atrophiers"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } return; } } - if (rule.growth_balls != "no default setting" && slave.balls) { + if (rule.growth_balls !== "no default setting" && slave.balls) { if (slave.balls > rule.growth_balls) { - if (slave.drugs != "testicle atrophiers") { + if (slave.drugs !== "testicle atrophiers") { slave.drugs = "testicle atrophiers"; r += `<br>${slave.slaveName} has been put on ${slave.drugs}.`; } @@ -1223,17 +1223,17 @@ window.DefaultRules = (function() { break; case "sag-B-gone": - if (!(slave.boobs > 250 && slave.boobShape != "saggy")) + if (!(slave.boobs > 250 && slave.boobShape !== "saggy")) flag = false; break; case "female hormone injections": - if (!((slave.breedingMark != 1 || V.propOutcome == 0) && (slave.ovaries == 1 || slave.mpreg == 1) && slave.pubertyXX === 0)) + if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0)) flag = false; break; case "male hormone injections": - if (!((slave.breedingMark != 1 || V.propOutcome == 0) && slave.balls > 0 && slave.pubertyXY === 0)) + if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && slave.balls > 0 && slave.pubertyXY === 0)) flag = false; break; @@ -1288,7 +1288,7 @@ window.DefaultRules = (function() { break; case "super fertility drugs": - if (!(slave.indentureRestrictions < 1 && (slave.breedingMark !== 1 || V.propOutcome == 0))) + if (!(slave.indentureRestrictions < 1 && (slave.breedingMark !== 1 || V.propOutcome === 0))) flag = false; break; @@ -1338,7 +1338,7 @@ window.DefaultRules = (function() { break; case "female hormone injections": - if (!((slave.breedingMark !== 1 || V.propOutcome == 0) && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0)) + if (!((slave.breedingMark !== 1 || V.propOutcome === 0) && (slave.ovaries === 1 || slave.mpreg === 1) && slave.pubertyXX === 0)) flag = false; break; @@ -1414,10 +1414,10 @@ window.DefaultRules = (function() { if (rule.diet === "healthy" && slave.diet !== "healthy") { slave.diet = "healthy"; r += `<br>${slave.slaveName} has been assigned to a healthy diet.`; - } else if ((slave.boobs >= 1600) && (slave.muscles > 5) && (slave.diet == "muscle building") && ((rule.muscles == "no default setting") || (rule.muscles === 0))) { + } else if ((slave.boobs >= 1600) && (slave.muscles > 5) && (slave.diet === "muscle building") && ((rule.muscles === "no default setting") || (rule.muscles === 0))) { slave.diet = "healthy"; r += `<br>${slave.slaveName} has huge boobs, but she already has the back muscles to bear them, so she's been assigned to stop working out so hard.`; - } else if ((rule.dietGrowthSupport == 1) && ((slave.drugs == "breast injections") || (slave.drugs == "butt injections")) && (slave.weight <= 95)) { + } else if ((rule.dietGrowthSupport === 1) && ((slave.drugs === "breast injections") || (slave.drugs === "butt injections")) && (slave.weight <= 95)) { if (slave.diet !== "fattening") { slave.diet = "fattening"; r += `<br>${slave.slaveName} is on drugs designed to expand major body parts, so she's been put on a fattening diet to provide her body as much fuel for growth as possible.`; @@ -1435,7 +1435,7 @@ window.DefaultRules = (function() { slave.diet = "fattening"; r += `<br>${slave.slaveName} is too skinny so her diet has been set to fattening.`; } - } else if ((rule.muscles !== undefined) && (rule.muscles !== "no default setting") && (slave.amp != 1)) { + } else if ((rule.muscles !== undefined) && (rule.muscles !== "no default setting") && (slave.amp !== 1)) { if ((slave.muscles >= rule.muscles+8)) { if ((slave.diet !== "slimming")) { slave.diet = "slimming"; @@ -1458,7 +1458,7 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName} is at the target weight, so her diet has been normalized.`; } } - } else if ((rule.diet == "attractive")) { + } else if ((rule.diet === "attractive")) { if (((slave.weight > 95) || ((slave.weight > 30) && (slave.hips < 2)))) { if ((slave.diet !== "restricted")) { slave.diet = "restricted"; @@ -1469,7 +1469,7 @@ window.DefaultRules = (function() { slave.diet = "fattening"; r += `<br>${slave.slaveName} is too skinny so her diet has been set to fattening.`; } - } else if ((rule.muscles !== undefined) && (rule.muscles !== "no default setting") && (slave.amp != 1)) { + } else if ((rule.muscles !== undefined) && (rule.muscles !== "no default setting") && (slave.amp !== 1)) { if ((slave.muscles >= rule.muscles+8)) { if ((slave.diet !== "slimming")) { slave.diet = "slimming"; @@ -1492,18 +1492,18 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName} is at the target weight, so her diet has been normalized.`; } } - } else if ((rule.diet == "XX")) { + } else if ((rule.diet === "XX")) { if ((slave.diet !== "XX")) { slave.diet = "XX"; r += `<br>${slave.slaveName} has been put on a diet that favors feminine development.`; } - } else if ((rule.diet == "XY")) { + } else if ((rule.diet === "XY")) { if ((slave.diet !== "XY")) { slave.diet = "XY"; r += `<br>${slave.slaveName} has been put on a diet that favors masculine development.`; } - } else if ((rule.diet == "XXY")) { - if (slave.balls > 0 && (slave.ovaries == 1 || slave.mpreg == 1)) { + } else if ((rule.diet === "XXY")) { + if (slave.balls > 0 && (slave.ovaries === 1 || slave.mpreg === 1)) { if ((slave.diet !== "XXY")) { slave.diet = "XXY"; r += `<br>${slave.slaveName} has been put on a diet that enhances a herm's unique sexuality.`; @@ -1514,12 +1514,12 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName} has been put on a standard diet since she is not a hermaphrodite.`; } } - } else if ((rule.diet == "cleansing")) { + } else if ((rule.diet === "cleansing")) { if ((slave.diet !== "cleansing") && (slave.health < 90 || slave.chem >= 10)) { slave.diet = "cleansing"; r += `<br>${slave.slaveName} has been put on a diet of cleansers.`; } - } else if ((rule.diet == "fertility")) { + } else if ((rule.diet === "fertility")) { if (canGetPregnant(slave)) { if ((slave.diet !== "fertility")) { slave.diet = "fertility"; @@ -1536,7 +1536,7 @@ window.DefaultRules = (function() { } } } - } else if ((rule.diet == "cum production")) { + } else if ((rule.diet === "cum production")) { if ((slave.balls > 0)) { if ((slave.diet !== "cum production")) { slave.diet = "cum production"; @@ -1550,7 +1550,7 @@ window.DefaultRules = (function() { } } } - } else if ((rule.muscles !== undefined) && (rule.muscles !== "no default setting") && (slave.amp != 1)) { // no diet rule, muscles only + } else if ((rule.muscles !== undefined) && (rule.muscles !== "no default setting") && (slave.amp !== 1)) { // no diet rule, muscles only if ((slave.muscles >= rule.muscles+8)) { if ((slave.diet !== "slimming")) { slave.diet = "slimming"; @@ -1572,7 +1572,7 @@ window.DefaultRules = (function() { if (slave.drugs === "appetite suppressors" && slave.diet !== "restricted") { slave.drugs = "no drugs"; r += `<br>${slave.slaveName} is no longer losing weight, so she's no longer being given appetite suppressors.`; - } else if (slave.diet === "restricted" && V.arcologies[0].FSSlimnessEnthusiastResearch == 1 && (slave.drugs == "no drugs" || slave.drugs == "none")) { + } else if (slave.diet === "restricted" && V.arcologies[0].FSSlimnessEnthusiastResearch === 1 && (slave.drugs === "no drugs" || slave.drugs === "none")) { slave.drugs = "appetite suppressors"; r += `<br>${slave.slaveName} is losing weight so she will be given weight loss pills.`; } @@ -1583,7 +1583,7 @@ window.DefaultRules = (function() { if (slave.curatives !== rule.curatives) { if (rule.curatives === 2) { if (slave.health > 100) { - if ((slave.curatives != 1)) { + if ((slave.curatives !== 1)) { r += `<br>${slave.slaveName} has been put on preventatives, since curatives cannot improve her health further.`; slave.curatives = 1; } @@ -1600,8 +1600,8 @@ window.DefaultRules = (function() { } function ProcessAphrodisiacs(slave, rule) { - if ((rule.aphrodisiacs !== undefined) && (rule.aphrodisiacs != "no default setting")) { - if (slave.aphrodisiacs != rule.aphrodisiacs) { + if ((rule.aphrodisiacs !== undefined) && (rule.aphrodisiacs !== "no default setting")) { + if (slave.aphrodisiacs !== rule.aphrodisiacs) { r += `<br>${slave.slaveName} has been ${rule.aphrodisiacs > 0 ? `put on the proper` : `taken off`} aphrodisiacs.`; slave.aphrodisiacs = rule.aphrodisiacs; } @@ -1618,7 +1618,7 @@ window.DefaultRules = (function() { if (slave.indentureRestrictions >= 2) { slave.hormones = Math.clamp(slave.hormones, -1, 1); } - if (slave.hormones != _oldHormones) { + if (slave.hormones !== _oldHormones) { r += `<br>${slave.slaveName} is a gelding, so she has been put on the appropriate hormonal regime.`; } } @@ -1626,15 +1626,15 @@ window.DefaultRules = (function() { } else if ((slave.balls > 0)) { if ((rule.XY !== undefined) && (rule.XY !== "no default setting")) { if ((slave.hormones !== rule.XY)) { - if ((slave.assignment != "recruit girls")) { - if ((slave.assignment != "be the Wardeness")) { - if ((slave.assignment != "be the Madam")) { + if ((slave.assignment !== "recruit girls")) { + if ((slave.assignment !== "be the Wardeness")) { + if ((slave.assignment !== "be the Madam")) { const _oldHormones = slave.hormones; slave.hormones = rule.XY; if (slave.indentureRestrictions >= 2) { slave.hormones = Math.clamp(slave.hormones, -1, 1); } - if (slave.hormones != _oldHormones) { + if (slave.hormones !== _oldHormones) { r += `<br>${slave.slaveName} is a shemale, so she has been put on the appropriate hormonal regime.`; } } @@ -1654,7 +1654,7 @@ window.DefaultRules = (function() { if (slave.indentureRestrictions >= 2) { slave.hormones = Math.clamp(slave.hormones, -1, 1); } - if (slave.hormones != _oldHormones) { + if (slave.hormones !== _oldHormones) { r += `<br>${slave.slaveName} is a female, so she has been put on the appropriate hormonal regime.`; } } @@ -1662,25 +1662,25 @@ window.DefaultRules = (function() { } function ProcessPregnancyDrugs(slave, rule) { - if (slave.pregKnown == 1 && rule.pregSpeed != "no default setting" && (slave.breedingMark != 1 || V.propOutcome == 0) && slave.indentureRestrictions < 1 && slave.broodmother === 0) { - if (rule.pregSpeed == "slow" && slave.preg < slave.pregData.minLiveBirth) { + if (slave.pregKnown === 1 && rule.pregSpeed !== "no default setting" && (slave.breedingMark !== 1 || V.propOutcome === 0) && slave.indentureRestrictions < 1 && slave.broodmother === 0) { + if (rule.pregSpeed === "slow" && slave.preg < slave.pregData.minLiveBirth) { slave.pregControl = "slow gestation"; r += `<br>${slave.slaveName} is pregnant, so she has been put on the gestation slowing agents.`; - } else if (rule.pregSpeed == "fast" && slave.preg < slave.pregData.minLiveBirth && slave.health > -50) { + } else if (rule.pregSpeed === "fast" && slave.preg < slave.pregData.minLiveBirth && slave.health > -50) { slave.pregControl = "speed up"; r += `<br>${slave.slaveName} is pregnant, so she has been put on rapid gestation agents. CAUTION! Can be dangerous. Clinic supervision is recommended.`; - } else if (rule.pregSpeed == "suppress" && slave.preg >= slave.pregData.minLiveBirth && slave.health > -50) { + } else if (rule.pregSpeed === "suppress" && slave.preg >= slave.pregData.minLiveBirth && slave.health > -50) { slave.pregControl = "labor suppressors"; r += `<br>${slave.slaveName} is ready to birth, so she has been put on labor suppressing agents.`; - } else if (rule.pregSpeed == "stimulate" && slave.preg > slave.pregData.minLiveBirth && slave.health > -50) { + } else if (rule.pregSpeed === "stimulate" && slave.preg > slave.pregData.minLiveBirth && slave.health > -50) { slave.labor = 1; slave.induce = 1; V.birthee = 1; r += `<br>${slave.slaveName} is ready to birth, so her labor has been stimulated.`; - } else if (rule.pregSpeed == "fast" && slave.pregControl == "speed up" && slave.health <= -50) { + } else if (rule.pregSpeed === "fast" && slave.pregControl === "speed up" && slave.health <= -50) { slave.pregControl = "none"; r += `<br>${slave.slaveName} is on rapid gestation agents and dangerously unhealthy, so her agent regimen has been stopped.`; - } else if (rule.pregSpeed == "suppress" && slave.pregControl == "labor suppressors" && slave.health <= -50) { + } else if (rule.pregSpeed === "suppress" && slave.pregControl === "labor suppressors" && slave.health <= -50) { slave.pregControl = "none"; r += `<br>${slave.slaveName} is on labor suppression agents and unhealthy, so her agent regimen has been stopped.`; } @@ -1691,9 +1691,9 @@ window.DefaultRules = (function() { if ((rule.livingRules !== undefined) && (rule.livingRules !== "no default setting")) { if (setup.facilityCareers.includes(slave.assignment)) { r += ``; // `<br>${slave.slaveName}'s living standards are controlled by her assignment.`; - } else if (((slave.assignment == "be your Head Girl") && (V.HGSuite == 1)) || ((slave.assignment == "guard you") && (V.dojo > 1))) { + } else if (((slave.assignment === "be your Head Girl") && (V.HGSuite === 1)) || ((slave.assignment === "guard you") && (V.dojo > 1))) { r += `<br>${slave.slaveName} has a private room.`; - } else if ((slave.fetish == "mindbroken")) { + } else if ((slave.fetish === "mindbroken")) { if ((slave.livingRules !== "spare")) { slave.livingRules = "spare"; r += `<br>Since ${slave.slaveName} is mindbroken her living standard has been set to spare.`; @@ -1721,12 +1721,12 @@ window.DefaultRules = (function() { function ProcessSpeech(slave, rule) { if ((rule.speechRules !== undefined) && (rule.speechRules !== "no default setting")) { - if (slave.fetish == "mindbroken") { + if (slave.fetish === "mindbroken") { if ((slave.speechRules !== "restrictive")) { slave.speechRules = "restrictive"; r += `<br>Since ${slave.slaveName} is mindbroken her speech rules have been set to restrictive.`; } - } else if (slave.accent == 4) { + } else if (slave.accent === 4) { if (rule.speechRules === "accent elimination" && slave.speechRules !== "language lessons") { slave.speechRules = "language lessons"; r += `<br>Since ${slave.slaveName} does not know how to talk, her speech rules have been set to language learning.`; @@ -1768,7 +1768,7 @@ window.DefaultRules = (function() { _release = 1; else _release = 1; - if ((slave.fetish == "mindbroken") && (slave.releaseRules !== "permissive")) { + if ((slave.fetish === "mindbroken") && (slave.releaseRules !== "permissive")) { slave.releaseRules = "permissive"; r += `<br>Since ${slave.slaveName} is mindbroken her masturbation rules have been set to permissive.`; } else if ((slave.amp === 1 || slave.fuckdoll > 0) && (slave.releaseRules === "masturbation")) { @@ -1834,13 +1834,13 @@ window.DefaultRules = (function() { function ProcessDietCum(slave, rule) { if ((rule.dietCum !== undefined) && (rule.dietCum !== "no default setting")) { - if (slave.dietCum != rule.dietCum) { + if (slave.dietCum !== rule.dietCum) { slave.dietCum = rule.dietCum; - if (slave.dietCum == 2) { + if (slave.dietCum === 2) { r += `<br>${slave.slaveName} has been put on a diet based on cum.`; slave.dietMilk = 0; } - if (slave.dietCum == 1) + if (slave.dietCum === 1) r += `<br>${slave.slaveName} has had cum added to her diet.`; else r += `<br>${slave.slaveName} has had cum removed from her diet.`; @@ -1850,13 +1850,13 @@ window.DefaultRules = (function() { function ProcessDietMilk(slave, rule) { if ((rule.dietMilk !== undefined) && (rule.dietMilk !== "no default setting")) { - if (slave.dietMilk != rule.dietMilk) { + if (slave.dietMilk !== rule.dietMilk) { slave.dietMilk = rule.dietMilk; - if (slave.dietMilk == 2) { + if (slave.dietMilk === 2) { r += `<br>${slave.slaveName} has been put on a diet based on human milk.`; slave.dietCum = 0; } - if (slave.dietMilk == 1) + if (slave.dietMilk === 1) r += `<br>${slave.slaveName} has had human milk added to her diet.`; else r += `<br>${slave.slaveName} has had human milk removed from her diet.`; @@ -1868,7 +1868,7 @@ window.DefaultRules = (function() { if ((rule.onDiet !== undefined) && (rule.onDiet !== "no default setting")) { if ((slave.onDiet !== rule.onDiet)) { slave.onDiet = rule.onDiet ; - if (slave.onDiet == 1) + if (slave.onDiet === 1) r += `<br>${slave.slaveName} is not permitted to eat the solid slave food.`; else r += `<br>${slave.slaveName} is permitted to eat the solid slave food.`; @@ -1878,38 +1878,38 @@ window.DefaultRules = (function() { function ProcessTeeth(slave, rule) { if ((rule.teeth !== undefined) && (rule.teeth !== "no default setting")) { - if ((rule.teeth == "universal")) { - if ((slave.teeth == "crooked")) { + if ((rule.teeth === "universal")) { + if ((slave.teeth === "crooked")) { slave.teeth = "straightening braces"; cashX(forceNeg(V.modCost), "slaveSurgery", slave); r += `<br>${slave.slaveName} has been given braces for her crooked teeth.`; - } else if (slave.teeth == "gapped") { + } else if (slave.teeth === "gapped") { slave.teeth = "straightening braces"; cashX(forceNeg(V.modCost), "slaveSurgery", slave); r += `<br>${slave.slaveName} has been given braces to close the gap in her teeth.`; - } else if ((slave.teeth == "normal")) { + } else if ((slave.teeth === "normal")) { slave.teeth = "cosmetic braces"; cashX(forceNeg(V.modCost), "slaveSurgery", slave); r += `<br>${slave.slaveName} has been given cosmetic braces.`; } - } else if ((rule.teeth == "straighten")) { - if ((slave.teeth == "crooked")) { + } else if ((rule.teeth === "straighten")) { + if ((slave.teeth === "crooked")) { slave.teeth = "straightening braces"; cashX(forceNeg(V.modCost), "slaveSurgery", slave); r += `<br>${slave.slaveName} has been given braces for her crooked teeth.`; - } else if (slave.teeth == "gapped") { + } else if (slave.teeth === "gapped") { slave.teeth = "straightening braces"; cashX(forceNeg(V.modCost), "slaveSurgery", slave); r += `<br>${slave.slaveName} has been given braces to close the gap in her teeth.`; - } else if ((slave.teeth == "cosmetic braces")) { + } else if ((slave.teeth === "cosmetic braces")) { slave.teeth = "normal"; r += `<br>${slave.slaveName} has gotten her braces off, since her teeth are straight.`; } - } else if ((rule.teeth == "none")) { - if ((slave.teeth == "straightening braces")) { + } else if ((rule.teeth === "none")) { + if ((slave.teeth === "straightening braces")) { slave.teeth = "crooked"; r += `<br>${slave.slaveName} has gotten her braces off.`; - } else if ((slave.teeth == "cosmetic braces")) { + } else if ((slave.teeth === "cosmetic braces")) { slave.teeth = "normal"; r += `<br>${slave.slaveName} has gotten her braces off.`; } @@ -1934,7 +1934,7 @@ window.DefaultRules = (function() { } } - if ((slave.amp != 1)) { + if ((slave.amp !== 1)) { if (rule.nails !== undefined && (rule.nails !== "no default setting")) { if ((slave.nails !== rule.nails)) { slave.nails = rule.nails; @@ -1945,7 +1945,7 @@ window.DefaultRules = (function() { } if (rule.hColor !== undefined && (rule.hColor !== "no default setting")) { - if (slave.bald != 1) { + if (slave.bald !== 1) { if ((slave.hColor !== rule.hColor)) { slave.hColor = rule.hColor; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -1955,11 +1955,11 @@ window.DefaultRules = (function() { } if (rule.hStyle !== undefined && (rule.hStyle !== "no default setting")) { - if (slave.bald != 1) { + if (slave.bald !== 1) { if ((slave.hStyle !== rule.hStyle)) { slave.hStyle = rule.hStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); - if ((rule.hStyle == "shaved")) { + if ((rule.hStyle === "shaved")) { slave.hLength = 0; r += `<br>${slave.slaveName}'s hair has been shaved.`; } else @@ -1969,7 +1969,7 @@ window.DefaultRules = (function() { } if (rule.hLength !== undefined && (rule.hLength !== "no default setting")) { - if (slave.bald != 1) { + if (slave.bald !== 1) { if ((slave.hLength !== rule.hLength)) { if ((slave.hLength > rule.hLength)) { cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -1985,7 +1985,7 @@ window.DefaultRules = (function() { } if (rule.haircuts !== undefined && (rule.haircuts !== "no default setting")) { - if (slave.bald != 1) { + if (slave.bald !== 1) { if (rule.haircuts === 1 && slave.haircuts !== 1) { r += `<br>${slave.slaveName}'s hair will now be maintained at ${lengthToEitherUnit(slave.hLength)} long.`; slave.haircuts = 1; @@ -1997,7 +1997,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowHColor !== undefined && (rule.eyebrowHColor !== "no default setting")) { - if (slave.eyebrowHStyle != "bald" && slave.eyebrowHStyle != "hairless") { + if (slave.eyebrowHStyle !== "bald" && slave.eyebrowHStyle !== "hairless") { if ((slave.eyebrowHColor !== rule.eyebrowHColor)) { slave.eyebrowHColor = rule.eyebrowHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2007,7 +2007,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowHStyle !== undefined && (rule.eyebrowHStyle !== "no default setting")) { - if (slave.eyebrowHStyle != "bald" && slave.eyebrowHStyle != "hairless") { + if (slave.eyebrowHStyle !== "bald" && slave.eyebrowHStyle !== "hairless") { if ((slave.eyebrowHStyle !== rule.eyebrowHStyle)) { slave.eyebrowHStyle = rule.eyebrowHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2017,7 +2017,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowFullness !== undefined && (rule.eyebrowFullness !== "no default setting")) { - if (slave.eyebrowHStyle != "bald" && slave.eyebrowHStyle != "hairless") { + if (slave.eyebrowHStyle !== "bald" && slave.eyebrowHStyle !== "hairless") { if ((slave.eyebrowFullness !== rule.eyebrowFullness)) { slave.eyebrowFullness = rule.eyebrowFullness; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2027,7 +2027,7 @@ window.DefaultRules = (function() { } if (rule.pubicHColor !== undefined && (rule.pubicHColor !== "no default setting")) { - if (slave.pubicHStyle != "bald" && slave.pubicHStyle != "hairless") { + if (slave.pubicHStyle !== "bald" && slave.pubicHStyle !== "hairless") { if ((slave.pubicHColor !== rule.pubicHColor)) { slave.pubicHColor = rule.pubicHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2037,7 +2037,7 @@ window.DefaultRules = (function() { } if (rule.pubicHStyle !== undefined && (rule.pubicHStyle !== "no default setting")) { - if (slave.pubicHStyle != "bald" && slave.pubicHStyle != "hairless") { + if (slave.pubicHStyle !== "bald" && slave.pubicHStyle !== "hairless") { if ((slave.pubicHStyle !== rule.pubicHStyle)) { slave.pubicHStyle = rule.pubicHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2047,7 +2047,7 @@ window.DefaultRules = (function() { } if (rule.underArmHColor !== undefined && (rule.underArmHColor !== "no default setting")) { - if (slave.underArmHStyle != "bald" && slave.underArmHStyle != "hairless") { + if (slave.underArmHStyle !== "bald" && slave.underArmHStyle !== "hairless") { if ((slave.underArmHColor !== rule.underArmHColor)) { slave.underArmHColor = rule.underArmHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2057,7 +2057,7 @@ window.DefaultRules = (function() { } if (rule.underArmHStyle !== undefined && (rule.underArmHStyle !== "no default setting")) { - if (slave.underArmHStyle != "bald" && slave.underArmHStyle != "hairless") { + if (slave.underArmHStyle !== "bald" && slave.underArmHStyle !== "hairless") { if ((slave.underArmHStyle !== rule.underArmHStyle)) { slave.underArmHStyle = rule.underArmHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2067,7 +2067,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowHColor !== undefined && (rule.eyebrowHColor !== "no default setting")) { - if (slave.eyebrowHStyle != "bald") { + if (slave.eyebrowHStyle !== "bald") { if ((slave.eyebrowHColor !== rule.eyebrowHColor)) { slave.eyebrowHColor = rule.eyebrowHColor; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2077,7 +2077,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowHStyle !== undefined && (rule.eyebrowHStyle !== "no default setting")) { - if (slave.eyebrowHStyle != "bald") { + if (slave.eyebrowHStyle !== "bald") { if ((slave.eyebrowHStyle !== rule.eyebrowHStyle)) { slave.eyebrowHStyle = rule.eyebrowHStyle; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2087,7 +2087,7 @@ window.DefaultRules = (function() { } if (rule.eyebrowFullness !== undefined && (rule.eyebrowFullness !== "no default setting")) { - if (slave.eyebrowHStyle != "bald") { + if (slave.eyebrowHStyle !== "bald") { if ((slave.eyebrowFullness !== rule.eyebrowFullness)) { slave.eyebrowFullness = rule.eyebrowFullness; cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2140,14 +2140,14 @@ window.DefaultRules = (function() { else r += `<br>${slave.slaveName}'s clit piercing has been removed.`; - } else if ((slave.vagina != -1) || (slave.dick !== 0)) { + } else if ((slave.vagina !== -1) || (slave.dick !== 0)) { slave.clitPiercing = rule.clitPiercing; if (slave.dick > 0) r += `<br>${slave.slaveName}'s frenulum has been pierced.`; else r += `<br>${slave.slaveName}'s clit has been pierced.`; - if (rule.clitPiercing == 3) + if (rule.clitPiercing === 3) cashX(-1000, "slaveMod"); else cashX(forceNeg(V.modCost), "slaveMod", slave); @@ -2155,7 +2155,7 @@ window.DefaultRules = (function() { } } - if ((slave.vagina != -1)) { + if ((slave.vagina !== -1)) { if (rule.vaginaPiercing !== undefined && (rule.vaginaPiercing !== "no default setting")) { if ((slave.vaginaPiercing !== rule.vaginaPiercing)) { if ((rule.vaginaPiercing === 0)) { @@ -2291,7 +2291,7 @@ window.DefaultRules = (function() { } function ProcessSmartPiercings(slave, rule) { - if ((slave.clitPiercing == 3)) { + if ((slave.clitPiercing === 3)) { let _used = 0; if (rule.clitSetting !== undefined && (rule.clitSetting !== "no default setting")) { if (slave.clitSetting !== rule.clitSetting) { @@ -2438,7 +2438,7 @@ window.DefaultRules = (function() { r += `<br>${slave.slaveName}'s lower back has been tattooed.`; } } - if ((rule.autoBrand == 1)) { + if ((rule.autoBrand === 1)) { if ((slave.brand === 0)) { if ((slave.health > -20)) { slave.brand = V.brandDesign; @@ -2462,7 +2462,7 @@ window.DefaultRules = (function() { } slave.pornFeed = rule.pornFeed; let yesno = slave.pornFeed ? "are now" : "are no longer"; - if (slave.pornFeed === 0) {slave.pornFameSpending = 0}; + if (slave.pornFeed === 0) { slave.pornFameSpending = 0;} r += `<br>Highlights of ${slave.slaveName}'s sex life ${yesno} being released.`; } diff --git a/src/js/PenthouseNaming.js b/src/js/PenthouseNaming.js index 0bf340af6ff9896b7d2a0a1c9b16b9428891c09f..bd4a1f0d02694a431adf00a01d0e50f997389647 100644 --- a/src/js/PenthouseNaming.js +++ b/src/js/PenthouseNaming.js @@ -1,27 +1,30 @@ -window.MasterSuiteUIName = function() { +window.MasterSuiteUIName = function () { const V = State.variables; var name = ""; if (V.masterSuiteNameCaps === "The Master Suite") - name = "Master Suite" + name = "Master Suite"; else name = V.masterSuiteNameCaps; - return `<<link "${name}""Master Suite">><</link>> `} -window.HeadGirlSuiteUIName = function() { + return `<<link "${name}""Master Suite">><</link>> `; +}; +window.HeadGirlSuiteUIName = function () { const V = State.variables; var name = ""; if (V.HGSuiteNameCaps === "The Head Girl Suite") - name = "Head Girl Suite" + name = "Head Girl Suite"; else name = V.HGSuiteNameCaps; - return `<<link "${name}""Head Girl Suite">><</link>> `} -window.ServantQuartersUIName = function() { + return `<<link "${name}""Head Girl Suite">><</link>> `; +}; +window.ServantQuartersUIName = function () { const V = State.variables; var name = ""; if (V.servantsQuartersNameCaps === "The Servants' Quarters") - name = "Servants' Quarters" + name = "Servants' Quarters"; else name = V.servantsQuartersNameCaps; - return `<<link "${name}""Servants' Quarters">><</link>> `} + return `<<link "${name}""Servants' Quarters">><</link>> `; +}; window.SpaUIName = function() { const V = State.variables; var name = ""; @@ -30,43 +33,48 @@ window.SpaUIName = function() { else name = V.spaNameCaps; return `<<link "${name}""Spa">><</link>> `} -window.NurseryUIName = function() { +window.NurseryUIName = function () { const V = State.variables; var name = ""; if (V.nurseryNameCaps === "The Nursery") - name = "Nursery" + name = "Nursery"; else name = V.nurseryNameCaps; - return `<<link "${name}""Nursery">><</link>> `} -window.ClinicUIName = function() { + return `<<link "${name}""Nursery">><</link>> `; +}; +window.ClinicUIName = function () { const V = State.variables; var name = ""; if (V.clinicNameCaps === "The Clinic") - name = "Clinic" + name = "Clinic"; else name = V.clinicNameCaps; - return `<<link "${name}""Clinic">><</link>> `} -window.SchoolRoomUIName = function() { + return `<<link "${name}""Clinic">><</link>> `; +}; +window.SchoolRoomUIName = function () { const V = State.variables; var name = ""; if (V.schoolroomNameCaps === "The Schoolroom") - name = "Schoolroom" + name = "Schoolroom"; else name = V.schoolroomNameCaps; - return `<<link "${name}""Schoolroom">><</link>> `} -window.CellblockUIName = function() { + return `<<link "${name}""Schoolroom">><</link>> `; +}; +window.CellblockUIName = function () { const V = State.variables; var name = ""; if (V.cellblockNameCaps === "The Cellblock") - name = "Cellblock" + name = "Cellblock"; else name = V.cellblockNameCaps; - return `<<link "${name}""Cellblock">><</link>> `} -window.IncubatorUIName = function() { + return `<<link "${name}""Cellblock">><</link>> `; +}; +window.IncubatorUIName = function () { const V = State.variables; var name = ""; if (V.incubatorNameCaps === "The Incubator") - name = "Incubator" + name = "Incubator"; else name = V.incubatorNameCaps; - return `<<link "${name}""Incubator">><</link>> `} \ No newline at end of file + return `<<link "${name}""Incubator">><</link>> `; +}; diff --git a/src/js/SetBellySize.js b/src/js/SetBellySize.js index c003635b6a40282d6384b7f2d5a45e3f54993e39..cc164d372eaac91885b57e1079896b982eaf171d 100644 --- a/src/js/SetBellySize.js +++ b/src/js/SetBellySize.js @@ -8,11 +8,11 @@ window.SetBellySize = function SetBellySize(slave) { else _implantSize = 0; - if (slave.inflation == 3) + if (slave.inflation === 3) slave.bellyFluid = 10000; - else if (slave.inflation == 2) + else if (slave.inflation === 2) slave.bellyFluid = 5000; - else if (slave.inflation == 1) + else if (slave.inflation === 1) slave.bellyFluid = 2000; else slave.bellyFluid = 0; diff --git a/src/js/accordianJS.js b/src/js/accordianJS.js index 8946465faa6decdb6b0cd108f738e9244cd2a8b7..622a41c09b24c0bf0150731990e481fe3e3c1ff8 100644 --- a/src/js/accordianJS.js +++ b/src/js/accordianJS.js @@ -16,11 +16,11 @@ postdisplay["doAccordionSet"] = function (content) { if (variables().useAccordion == 1) { Array.prototype.slice.call(document.querySelectorAll('.macro-include')) - .forEach(function(element) { - element.classList.add('accHidden'); - }); + .forEach(function (element) { + element.classList.add('accHidden'); + }); } -} +}; postdisplay["doAccordion"] = function (content) { var acc = document.getElementsByClassName("accordion"); @@ -33,7 +33,7 @@ postdisplay["doAccordion"] = function (content) { if (panel.style.maxHeight) { panel.style.maxHeight = null; } else { - panel.style.maxHeight = 2*panel.scrollHeight + "px"; + panel.style.maxHeight = 2 * panel.scrollHeight + "px"; } }; } diff --git a/src/js/assayJS.js b/src/js/assayJS.js index fc2f810f07ffe397915d10b337bf68fcc23d9255..f778ef1d8e78c1d3ccdc56ac821477b0de3f5c40 100644 --- a/src/js/assayJS.js +++ b/src/js/assayJS.js @@ -246,7 +246,7 @@ window.properMaster = function properMaster() { window.newSlave = function newSlave(slave) { const V = State.variables; - if (slave.override_Eye_Color != 1) { + if (slave.override_Eye_Color !== 1) { switch (slave.eyeColor) { case "blind blue": slave.origEye = "deep blue"; @@ -261,22 +261,22 @@ window.newSlave = function newSlave(slave) { } } - if (slave.override_Race != 1) { + if (slave.override_Race !== 1) { slave.origRace = slave.race; } - if (slave.override_H_Color != 1) { + if (slave.override_H_Color !== 1) { slave.origHColor = slave.hColor; } - if (slave.override_Arm_H_Color != 1) { + if (slave.override_Arm_H_Color !== 1) { slave.underArmHColor = slave.hColor; } - if (slave.override_Pubic_H_Color != 1) { + if (slave.override_Pubic_H_Color !== 1) { slave.pubicHColor = slave.hColor; } - if (slave.override_Brow_H_Color != 1) { + if (slave.override_Brow_H_Color !== 1) { slave.eyebrowHColor = slave.hColor; } - if (slave.override_Skin != 1) { + if (slave.override_Skin !== 1) { slave.origSkin = slave.skin; } @@ -377,7 +377,7 @@ window.newChild = function newChild(child) { child.age = 0; /* not sure if this is the correct way to do this or if more is required */ child.birthWeek = 0; /* Child comes out at 0,0. That's all that's needed. The specifics are defined later.*/ - if (child.override_Eye_Color != 1) { + if (child.override_Eye_Color !== 1) { switch (child.eyeColor) { case "blind blue": child.origEye = "deep blue"; @@ -392,22 +392,22 @@ window.newChild = function newChild(child) { } } - if (child.override_Race != 1) { + if (child.override_Race !== 1) { child.origRace = child.race; } - if (child.override_H_Color != 1) { + if (child.override_H_Color !== 1) { child.origHColor = child.hColor; } - if (child.override_Arm_H_Color != 1) { + if (child.override_Arm_H_Color !== 1) { child.underArmHColor = child.hColor; } - if (child.override_Pubic_H_Color != 1) { + if (child.override_Pubic_H_Color !== 1) { child.pubicHColor = child.hColor; } - if (child.override_Brow_H_Color != 1) { + if (child.override_Brow_H_Color !== 1) { child.eyebrowHColor = child.hColor; } - if (child.override_Skin != 1) { + if (child.override_Skin !== 1) { child.origSkin = child.skin; } @@ -477,6 +477,7 @@ window.getSlave = function getSlave(ID) { else return State.variables.slaves[index]; }; window.getChild = function getChild(ID) { + const V = State.variables; return V.cribs.find(function(s) { return s.ID == ID; }); }; window.getPronouns = function getPronouns(slave) { @@ -1812,7 +1813,7 @@ window.DegradingName = function DegradingName(slave) { } else if (slave.intelligence+slave.intelligenceImplant < -50) { names.push("Cretin", "Dumb", "Retarded", "Stupid"); } - if (slave.vagina === 1 && slave.vaginaSkill <= 10) { + if (slave.vagina === 1 && slave.vaginalSkill <= 10) { names.push("Fresh", "New", "Tight"); } if (slave.devotion < -75) { @@ -2052,7 +2053,7 @@ window.SlaveSort = function SlaveSort(slaves, main=false) { window.slaveSortMinor = function slaveSortMinor(slaves) { slaves = slaves.sort((a, b) => a.slaveName < b.slaveName ? -1 : 1); -} +}; window.MenialPopCap = function MenialPopCap () { const V = State.variables; @@ -2260,7 +2261,7 @@ window.Deadliness = function Deadliness(slave) { if (!canHear(slave)) { deadliness -= 4; - } else if ((slave.hears == -1 && slave.earwear !== "hearing aids") || (slave.hears == 0 && slave.earwear === "muffling ear plugs")) { + } else if ((slave.hears === -1 && slave.earwear !== "hearing aids") || (slave.hears === 0 && slave.earwear === "muffling ear plugs")) { deadliness -= 1; } diff --git a/src/js/assignJS.js b/src/js/assignJS.js index dd58152a1d5cebed72bd73fe9876a4e2e911f4cb..77f89fbbee078531dfdded588ac28f699f570eb9 100644 --- a/src/js/assignJS.js +++ b/src/js/assignJS.js @@ -276,7 +276,7 @@ window.assignJob = function assignJob(slave, job) { if (V.dojo > 1) { slave.livingRules = "luxurious"; } - if (V.pitBG == 1 && V.fighterIDs.includes(slave.ID)) + if (V.pitBG === 1 && V.fighterIDs.includes(slave.ID)) V.fighterIDs.delete(slave.ID); break; @@ -302,7 +302,7 @@ window.assignJob = function assignJob(slave, job) { if (slave.assignmentVisible === 0 && Array.isArray(V.personalAttention)) { const awi = V.personalAttention.findIndex(function(s) { return s.ID === slave.ID; }); - if (awi != -1) { + if (awi !== -1) { V.personalAttention.deleteAt(awi); if (V.personalAttention.length === 0) { if (V.PC.career === "escort") @@ -515,4 +515,4 @@ window.removeJob = function removeJob(slave, assignment) { V.slaves[idx] = slave; return r; -}; \ No newline at end of file +}; diff --git a/src/js/birthJS.js b/src/js/birthJS.js index dfda1b3e0168045e8fdec53773594c3173d1e2c6..6f38f46a463014ca1475368f0ea9a45df5e9f7b4 100644 --- a/src/js/birthJS.js +++ b/src/js/birthJS.js @@ -2,77 +2,100 @@ window.BirthDestinationText = function(choice,slave) { var pronouns = getPronouns(slave); var he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun; var He = capFirstChar(he), His = capFirstChar(his); - const V = State.variables,T = State.temporary, sn = SlaveFullName(slave); + const V = State.variables, T = State.temporary, sn = SlaveFullName(slave); var child = T.count > 1 ? 'children' : 'child'; var r = ``; - if (T.call !== 1) { if (choice !== "Private") r += `sent to one of ${V.arcologies[0].name}'s `; - } else { if (choice !== "Sold") r += ` ${sn} `; + if (T.call !== 1) { + if (choice !== "Private") { + r += `sent to one of ${V.arcologies[0].name}'s `; + } + } else if (choice !== "Sold" && slave.burst < 1) { + r += ` ${sn} `; } switch(choice) { case "Breeder": - if (T.call !== 1) r += `future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction. ${sn} `; - if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { - r += `has few thoughts about the matter.`; - } else if (slave.devotion > 95) { - r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this. ${He} can't wait to see ${his} ${child} proudly furthering your cause.`; - slave.devotion += 4; - } else if (slave.devotion > 50) { - r += `heard about these and will be <span class='hotpink;happy that ${his} ${child} will have a purpose in your society other than slavery.</span> ${He} will miss ${his} ${child}, but ${he} expected that.`; - slave.devotion += 4; - } else if (slave.devotion > 20) { - r += `will naturally miss ${his} ${child}, but will is broken enough to hope that ${his} offspring will have a better life, or at least an enjoyable one.`; + if (T.call !== 1) { + r += `future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction.`; + } + if (slave.burst > 0) { + r += ` Hopefully there they will be trained to not suffer the same fate.`; } else { - r += `will of course <span class='mediumorchid'>hate you for this.</span> The mere thought of ${his} ${V.fertilityAge} year old daughter${T.count > 1 ? 's':''} swollen with life, and proud of it, fills ${him} with <span class='gold'>disdain.</span>`; - slave.devotion -= 4, slave.trust -= 4; + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { + r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this. ${He} can't wait to see ${his} ${child} proudly furthering your cause.`; + slave.devotion += 4; + } else if (slave.devotion > 50) { + r += `heard about these and will be <span class='hotpink;happy that ${his} ${child} will have a purpose in your society other than slavery.</span> ${He} will miss ${his} ${child}, but ${he} expected that.`; + slave.devotion += 4; + } else if (slave.devotion > 20) { + r += `will naturally miss ${his} ${child}, but will is broken enough to hope that ${his} offspring will have a better life, or at least an enjoyable one.`; + } else { + r += `will of course <span class='mediumorchid'>hate you for this.</span> The mere thought of ${his} ${V.fertilityAge} year old daughter${T.count > 1 ? 's':''} swollen with life, and proud of it, fills ${him} with <span class='gold'>disdain.</span>`; + slave.devotion -= 4, slave.trust -= 4; + } } break; case "Orphanage": - if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { - r += `has few thoughts about the matter.`; - } else if (slave.devotion > 95) { - r += `worships you so completely that ${he} will not resent this.`; - } else if ( slave.devotion > 50) { - r += `is devoted to you, but ${he} will <span class='mediumorchid'>struggle to accept this.</span>`; - slave.devotion -= 2; - } else if ( slave.devotion > 20) { - r += `has accepted being a sex slave, but ${he} will <span class='mediumorchid'>resent this intensely.</span>`; - slave.devotion -= 3; - } else { - r += `will of course <span class='mediumorchid'>hate you for this.</span>`; - slave.devotion -= 4; + if (V.slave.burst < 1) { + if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { + r += `worships you so completely that ${he} will not resent this.`; + } else if ( slave.devotion > 50) { + r += `is devoted to you, but ${he} will <span class='mediumorchid'>struggle to accept this.</span>`; + slave.devotion -= 2; + } else if ( slave.devotion > 20) { + r += `has accepted being a sex slave, but ${he} will <span class='mediumorchid'>resent this intensely.</span>`; + slave.devotion -= 3; + } else { + r += `will of course <span class='mediumorchid'>hate you for this.</span>`; + slave.devotion -= 4; + } } break; case "Citizen": - if (T.call !== 1) r += `citizen schools, to be brought up coequal with the arcology's other young people. ${sn} `; - if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { - r += `has few thoughts about the matter.`; - } else if (slave.devotion > 95) { - r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this.`; - } else if (slave.devotion > 50) { - r += `knows about these and will be <span class='hotpink'>overjoyed,</span> ${he} will miss ${his} ${child}, but ${he} expected that.`; - } else if (slave.devotion > 20) { - r += `will naturally miss ${his} ${child}, but will <span class='hotpink;take comfort@@ in the hope that ${his} offspring will have a better life.`; - } else { - r += `will naturally retain some resentment over being separated from ${his} ${child}, but this should be balanced by hope that ${his} offspring will have a better life.`; + if (T.call !== 1) { + r += `citizen schools, to be brought up coequal with the arcology's other young people.`; + } + if (V.slave.burst < 1) { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { + r += `loves you already, but ${he}'ll <span class='hotpink'>love you even more</span> for this.`; + } else if (slave.devotion > 50) { + r += `knows about these and will be <span class='hotpink'>overjoyed,</span> ${he} will miss ${his} ${child}, but ${he} expected that.`; + } else if (slave.devotion > 20) { + r += `will naturally miss ${his} ${child}, but will <span class='hotpink'>;take comfort@@ in the hope that ${his} offspring will have a better life.`; + } else { + r += `will naturally retain some resentment over being separated from ${his} ${child}, but this should be balanced by hope that ${his} offspring will have a better life.`; + } } break; case "Private": - if (T.call !== 1) r += `${T.count > 1 ? 'ren are':' is'} sent to be privately raised, to be brought up as a future high class citizen. ${sn} `; - if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { - r += `has few thoughts about the matter.`; - } else if (slave.devotion > 95) { - r += `will <span class='hotpink'>worship you utterly</span> for this.`; - } else if (slave.devotion > 50) { - r += `understands that this is the best possible outcome for the offspring of a slave, and will be <span class='hotpink'>overjoyed.</span>`; - } else if (slave.devotion > 20) { - r += `will miss ${his} ${child}, but will be <span class='hotpink'>very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`; - } else { - r += `will resent being separated from ${his} ${child}, but <span class='hotpink'>should understand and be grateful</span> that this is the best possible outcome here.`; + if (T.call !== 1) r += `${child} ${T.count > 1 ? ' are':' is'} sent to be privately raised, to be brought up as a future high class citizen.`; + if (V.slave.burst < 1) { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { + r += `will <span class='hotpink'>worship you utterly</span> for this.`; + } else if (slave.devotion > 50) { + r += `understands that this is the best possible outcome for the offspring of a slave, and will be <span class='hotpink'>overjoyed.</span>`; + } else if (slave.devotion > 20) { + r += `will miss ${his} ${child}, but will be <span class='hotpink'>very grateful,</span> since ${he}'ll understand this is the best possible outcome for a slave mother.`; + } else { + r += `will resent being separated from ${his} ${child}, but <span class='hotpink'>should understand and be grateful</span> that this is the best possible outcome here.`; + } } r += ` The ${child} will be raised privately, with expert care and tutoring, an expensive proposition.`; break; case "Sold": - r += `${T.call !== 1 ? "${V.his} ${T.count > 1 ? 'babies':'baby'}":"Where they"} `; + if (T.call !== 1) { + r += `${T.call !== 1 ? "${his} ${T.count > 1 ? 'babies':'baby'}":"Where they"} `; + } if (slave.prestige > 1 || slave.pornPrestige > 2) { T.babyCost = jsRandom(-12,100); if (slave.prematureBirth > 0) { T.babyCost = jsRandom(-32,40); } @@ -84,23 +107,25 @@ window.BirthDestinationText = function(choice,slave) { } const cash = cashFormat(T.count*(50+T.babyCost));r += ` <span class='yellowgreen'>${cash}.</span>`; if (slave.prematureBirth > 0) r += ` A low price due to the added costs of caring for ${T.count > 1 ? 'them':'it'}.`; - if (slave.devotion > 20) r += ` ${sn} `; - if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { - r += `has few thoughts about the matter.`; - } else if (slave.devotion > 95) { - r += `adheres to your thoughts so strongly that even though you backed out of caring for ${his} ${child}, ${he} still truly believes you are doing ${him} an honor.`; - } else if (slave.devotion > 50) { - r += `is <span class='mediumorchid'>deeply hurt</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} trust in your words <span class='gold'>wavers</span> as ${he} thinks of ${his} ${child}'s future.`; - slave.trust -= 5, slave.devotion -= 5; - } else if (slave.devotion > 20) { - r += `is <span class='mediumorchid'>devastated</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} mind struggles to comprehend <span class='gold'>such betrayal.</span>`; - slave.trust -= 10, slave.devotion -= 10; - } else { - r += `For a moment, ${he} saw a glimmer of good in you; <span class='mediumorchid'>${He} was clearly wrong.</span> ${His} mind struggles to comprehend <span class='gold'>why ${he} could ever even think of trusting such a person.</span>`; - slave.trust -= 30, slave.devotion -= 30; + if (V.slave.burst < 1) { + r += ` ${sn} `; + if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { + r += `has few thoughts about the matter.`; + } else if (slave.devotion > 95) { + r += `adheres to your thoughts so strongly that even though you backed out of caring for ${his} ${child}, ${he} still truly believes you are doing ${him} an honor.`; + } else if (slave.devotion > 50) { + r += `is <span class='mediumorchid'>deeply hurt</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} trust in your words <span class='gold'>wavers</span> as ${he} thinks of ${his} ${child}'s future.`; + slave.trust -= 5, slave.devotion -= 5; + } else if (slave.devotion > 20) { + r += `is <span class='mediumorchid'>devastated</span> by your sudden decision to sell ${his} ${child} instead of having ${T.count > 1 ? 'them':'it'} cared for. ${His} mind struggles to comprehend <span class='gold'>such betrayal.</span>`; + slave.trust -= 10, slave.devotion -= 10; + } else { + r += `For a moment, ${he} saw a glimmer of good in you; <span class='mediumorchid'>${He} was clearly wrong.</span> ${His} mind struggles to comprehend <span class='gold'>why ${he} could ever even think of trusting such a person.</span>`; + slave.trust -= 30, slave.devotion -= 30; + } } cashX(T.curBabies*(50+T.babyCost), "babyTransfer", slave); break; } return r; -}; \ No newline at end of file +}; diff --git a/src/js/colorModeJS.js b/src/js/colorModeJS.js index f5b61a7b863209187ad0c80e00beeb610cfb5528..a18e3231016867970de95ffc71daf44284514ddb 100644 --- a/src/js/colorModeJS.js +++ b/src/js/colorModeJS.js @@ -1,28 +1,28 @@ -window.flipColors = function (lightColorMap){ - if ( !window.savedColorMap ){ +window.flipColors = function (lightColorMap) { + if (!window.savedColorMap) { window.savedColorMap = setColors(lightColorMap); } else { restoreColors(window.savedColorMap); window.savedColorMap = null; } -} +}; -window.setColors = function(colorMap){ +window.setColors = function (colorMap) { let originalState = []; - let props = ["color","backgroundColor","backgroundImage"]; + let props = ["color", "backgroundColor", "backgroundImage"]; let styleSheetArray = Array.from(document.styleSheets); - styleSheetArray.forEach( styleSheet => { + styleSheetArray.forEach(styleSheet => { let cssRules = Array.from(styleSheet.cssRules); - cssRules.forEach( cssRule => { - if ( cssRule.type === 1 ){ - props.forEach( propName => { + cssRules.forEach(cssRule => { + if (cssRule.type === 1) { + props.forEach(propName => { let currentValue = cssRule.style[propName]; if ( - currentValue != "" && - currentValue != "inherit" && - currentValue != "transparent"){ + currentValue !== "" && + currentValue !== "inherit" && + currentValue !== "transparent") { let newVal = colorMap[currentValue]; - if ( typeof newVal != "undefined" ){ + if (typeof newVal !== "undefined") { cssRule.style[propName] = newVal; originalState.push( { @@ -33,17 +33,17 @@ window.setColors = function(colorMap){ ); } } - }) + }); } }); }); return originalState; -} +}; window.restoreColors = function(styleMap){ styleMap.forEach( item => { - item.element.style[item.propName] = item.value + item.element.style[item.propName] = item.value; } - ) -} + ); +}; diff --git a/src/js/datatypeCleanupJS.js b/src/js/datatypeCleanupJS.js index 78f7f964775866224a8c6ff973b6c3d0b24b083e..419284878d70ba628235d22ffbdb5559b649b8c9 100644 --- a/src/js/datatypeCleanupJS.js +++ b/src/js/datatypeCleanupJS.js @@ -449,7 +449,7 @@ window.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { function slaveRelationDatatypeCleanup(slave) { slave.mother = +slave.mother || 0; slave.father = +slave.father || 0; - if (V.familyTesting == 0) { + if (V.familyTesting === 0) { slave.relationTarget = Math.max(+slave.relationTarget, 0) || 0; } slave.canRecruit = Math.clamp(+slave.canRecruit, 0, 1) || 0; @@ -1009,7 +1009,7 @@ 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) { + if (State.variables.familyTesting === 0) { child.relationTarget = Math.max(+child.relationTarget, 0) || 0; } child.canRecruit = Math.clamp(+child.canRecruit, 0, 1) || 0; @@ -1219,7 +1219,7 @@ window.EconomyDatatypeCleanup = function EconomyDatatypeCleanup() { V.AProsperityCap = Math.max(+V.AProsperityCap, 0) || 0; V.arcologies[0].ownership = Math.clamp(+V.arcologies[0].ownership, 0, 100) || 0; V.arcologies[0].minority = Math.clamp(+V.arcologies[0].minority, 0, 100) || 0; - + V.food = Math.max(+V.food, 0) || 0; V.economy = Math.max(+V.economy, 20) || 100; @@ -1301,10 +1301,10 @@ window.ArcologyDatatypeCleanup = function ArcologyDatatypeCleanup() { V.shelterAbuse = Math.max(+V.shelterAbuse, 0) || 0; V.assistant = Math.clamp(+V.assistant, 0, 1) || 0; - if (typeof V.assistantPronouns != "object") { + if (typeof V.assistantPronouns !== "object") { V.assistantPronouns = {}; } - if (typeof V.marketAssistantPronouns != "object") { + if (typeof V.marketAssistantPronouns !== "object") { V.marketAssistantPronouns = {}; } generateAssistantPronouns(); diff --git a/src/js/economyJS.js b/src/js/economyJS.js index b9339bb6389e1f2e6063646d52280f4aec045e1e..f662f77e96d723201bbb1b67e2c62819c52c675c 100644 --- a/src/js/economyJS.js +++ b/src/js/economyJS.js @@ -11,7 +11,7 @@ window.PersonalAttention = Object.freeze({TRADE: 'trading', WAR: 'warfare', SLAV window.predictCost = function(array) { var array2 = array; - var totalCosts = ( + var totalCosts = ( getBrothelCosts() + getBrothelAdsCosts() + getArcadeCosts() + @@ -43,10 +43,10 @@ window.predictCost = function(array) { //these two apply a multiplicative effect to all costs so far. totalCosts = getEnvironmentCosts(totalCosts); totalCosts = getPCMultiplierCosts(totalCosts); - + //in the old order these were applied after multiplication. Not sure if deliberate, but I'm leaving it for now. totalCosts += ( - getSFCosts() + + getSFCosts() + getWeatherCosts() ); /* @@ -90,8 +90,8 @@ window.getCost = function(array) { cashX(forceNeg(getPCTrainingCosts()), "PCtraining"); cashX(forceNeg(getPCCosts()), "PCmedical"); getTotalSlaveCosts(array2); - - + + //these two apply a multiplicative effect to all costs so far. // Calculate what the deduced expenses would be, then subtract costSoFar = (oldCash - State.variables.cash); //How much we have spent by this point; expected to be positive. @@ -108,7 +108,7 @@ window.getCost = function(array) { //slave expenses window.predictTotalSlaveCosts = function(array3) { - var loopCosts = 0; + var loopCosts = 0; //slave expenses for (var slave of array3) { loopCosts += getSlaveCost(slave); @@ -140,7 +140,7 @@ window.getBrothelCosts = function() { window.getBrothelAdsCosts = function() { var brothel = State.variables.brothel; - var costs = 0 + var costs = 0; if(brothel > 0) { costs += State.variables.brothelAdsSpending; } @@ -211,7 +211,7 @@ window.getServantsQuartersCosts = function() { }; window.getMasterSuiteCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.masterSuitePregnancySlaveLuxuries === 1) { costs += 500; } @@ -239,7 +239,7 @@ window.getSecurityExpansionCost = function() { //security expansion var secExpCost = 0; var soldierMod = 0; - if(State.variables.secExp == 1) { + if(State.variables.secExp === 1) { if(State.variables.edictsUpkeep > 0) { secExpCost += State.variables.edictsUpkeep; } @@ -258,10 +258,10 @@ window.getSecurityExpansionCost = function() { if(State.variables.riotCenter > 0) { secExpCost += State.variables.riotUpkeep; } - if(State.variables.soldierWages == 0) { + if(State.variables.soldierWages === 0) { soldierMod = 1; } - else if(State.variables.soldierWages == 1) { + else if(State.variables.soldierWages === 1) { soldierMod = 1.5; } else { @@ -304,20 +304,20 @@ window.getLifestyleCosts = function() { window.getFSCosts = function() { var costs = 0; costs += State.variables.FSSpending; - if(State.variables.arcologies[0].FSRepopulationFocusLaw === 1 && State.variables.PC.pregKnown == 1) { + if(State.variables.arcologies[0].FSRepopulationFocusLaw === 1 && State.variables.PC.pregKnown === 1) { costs -= 500; } return costs; }; window.getCitizenOrphanageCosts = function() { - var costs = 0; + var costs = 0; costs += State.variables.citizenOrphanageTotal * 100; return costs; }; window.getPrivateOrphanageCosts = function() { - var costs = 0; + var costs = 0; costs += State.variables.privateOrphanageTotal * 500; if(State.variables.breederOrphanageTotal > 0) { costs += 50; @@ -326,7 +326,7 @@ window.getPrivateOrphanageCosts = function() { }; window.getPeacekeeperCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.peacekeepers !== 0 && State.variables.peacekeepers.undermining !== 0) { costs += State.variables.peacekeepers.undermining; } @@ -349,8 +349,8 @@ window.getMercenariesCosts = function() { }; window.getMenialRetirementCosts = function() { - var costs = 0; - if(State.variables.citizenRetirementMenials == 1) { + var costs = 0; + if(State.variables.citizenRetirementMenials === 1) { costs += State.variables.menials * 2; } return costs; @@ -358,7 +358,7 @@ window.getMenialRetirementCosts = function() { // policy and other expenses window.getRecruiterCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.Recruiter !== 0) { costs += 250; } @@ -366,7 +366,7 @@ window.getRecruiterCosts = function() { }; window.getSchoolCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.TSS.schoolPresent === 1) { costs += 1000; } @@ -445,7 +445,7 @@ window.getPolicyCosts = function() { }; window.getCyberModCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.cyberMod !== 0 && State.variables.researchLab.built === 'true') { costs += ((100 * State.variables.researchLab.maxSpace) + (300 * State.variables.researchLab.hired) + (100 * State.variables.researchLab.hired)); } @@ -455,7 +455,7 @@ window.getCyberModCosts = function() { //player expenses window.getPCTrainingCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.PC.actualAge >= State.variables.IsInPrimePC && State.variables.PC.actualAge < State.variables.IsPastPrimePC) { if(State.variables.personalAttention === PersonalAttention.TRADE) { costs += 10000*State.variables.AgeEffectOnTrainerPricingPC; @@ -474,7 +474,7 @@ window.getPCTrainingCosts = function() { return costs; }; window.getPCCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.PC.preg === -1) { costs += 25; } else if(State.variables.PC.fertDrugs === 1) { @@ -506,7 +506,7 @@ window.getPCMultiplierCosts = function(cost) { }; window.getEnvironmentCosts = function(cost) { - if(State.variables.secExp == 1) { + if(State.variables.secExp === 1) { if(State.variables.terrain === 'oceanic' || State.variables.terrain === 'marine') { if(State.variables.docks > 0) { cost *= (1 - State.variables.docks * 0.05); @@ -519,7 +519,7 @@ window.getEnvironmentCosts = function(cost) { }; window.getSFCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.SF.Toggle && State.variables.SF.Active >= 1) { if(State.variables.SF.Subsidy) { costs += Math.ceil( (10000*(State.variables.SF.Squad.Troops/10))+(1+(State.variables.arcologies[0].prosperity/100))+(1+(State.variables.SF.Size/100)) ); @@ -534,7 +534,7 @@ window.getSFCosts = function() { }; window.getWeatherCosts = function() { - var costs = 0; + var costs = 0; if(State.variables.econWeatherDamage && State.variables.disasterResponse > 0) { costs += Math.trunc(State.variables.disasterResponse * 200000 / State.variables.localEcon); } @@ -605,7 +605,7 @@ window.getSlaveCost = function(s) { case Job.DAIRY: if(State.variables.dairyRestraintsSetting >= 2) { cost += rulesCost * 0.75; - } else if(s.livingRules == LivingRule.NORMAL) { + } else if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 1.5; } else if(State.variables.dairyDecoration === 'Degradationist') { cost += rulesCost * 0.90; @@ -614,7 +614,7 @@ window.getSlaveCost = function(s) { } break; case Job.BROTHEL: - if(s.livingRules == LivingRule.NORMAL) { + if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 1.5; } else { cost += rulesCost; @@ -626,7 +626,7 @@ window.getSlaveCost = function(s) { case Job.CLINIC: if(s.livingRules === LivingRule.LUXURIOUS) { cost += rulesCost * 2; - } else if(s.livingRules == LivingRule.NORMAL) { + } else if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 1.5; } else { cost += rulesCost; @@ -635,14 +635,14 @@ window.getSlaveCost = function(s) { case Job.SPA: case Job.NANNY: if(s.livingRules === LivingRule.LUXURIOUS) { cost += rulesCost * 1.75; - } else if(s.livingRules == LivingRule.NORMAL) { + } else if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 1.5; } else { cost += rulesCost; } break; case Job.SERVANT: - if(s.livingRules == LivingRule.NORMAL) { + if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 1.5; } else { if(State.variables.servantsQuartersDecoration === 'Degradationist') { @@ -653,7 +653,7 @@ window.getSlaveCost = function(s) { } break; case Job.JAIL: - if(s.livingRules == LivingRule.NORMAL) { + if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 1.25; } else { cost += rulesCost * 0.90; @@ -667,7 +667,7 @@ window.getSlaveCost = function(s) { default: if(s.livingRules === LivingRule.LUXURIOUS) { cost += rulesCost * (s.relationship >= 4 ? 3 : 4); - } else if(s.livingRules == LivingRule.NORMAL) { + } else if(s.livingRules === LivingRule.NORMAL) { cost += rulesCost * 2; } else { cost += rulesCost; @@ -685,7 +685,7 @@ window.getSlaveCost = function(s) { cost -= foodCost; break; } - if(s.geneticQuirks.fertility == 2 && s.geneticQuirks.hyperFertility == 2 && s.preg == 0 && (s.ovaries == 1 || s.mpreg == 1)) { + if(s.geneticQuirks.fertility === 2 && s.geneticQuirks.hyperFertility === 2 && s.preg === 0 && (s.ovaries === 1 || s.mpreg === 1)) { cost += foodCost * 0.5; } if(s.weight > 130) { @@ -732,30 +732,30 @@ window.getSlaveCost = function(s) { // Accessibility costs if(State.variables.boobAccessibility !== 1 && s.boobs > 20000 - && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 50; } if(State.variables.pregAccessibility !== 1 - && (s.belly >= 60000) && s.assignment != Job.BABY_FACTORY && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + && (s.belly >= 60000) && s.assignment !== Job.BABY_FACTORY && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 100; } - if(State.variables.dickAccessibility != 1 && s.dick > 45 && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + if(State.variables.dickAccessibility !== 1 && s.dick > 45 && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 50; } - if(State.variables.ballsAccessibility != 1 && s.balls > 90 && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + if(State.variables.ballsAccessibility !== 1 && s.balls > 90 && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 50; } - if(State.variables.buttAccessibility != 1 && s.butt > 15 && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + if(State.variables.buttAccessibility !== 1 && s.butt > 15 && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 50; } - if(!canSee(s) && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + if(!canSee(s) && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 50; } else if(s.eyes <= -1 && s.eyewear !== 'corrective glasses' && s.eyewear !== 'corrective contacts') { cost += 25; } else if(s.eyewear === 'blurring glasses' || s.eyewear === 'blurring contacts') { cost += 25; } - if(!canHear(s) && (s.assignment != Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment != Job.ARCADE)) { + if(!canHear(s) && (s.assignment !== Job.DAIRY || State.variables.dairyRestraintsSetting < 2) && (s.assignment !== Job.ARCADE)) { cost += 40; } else if(s.hears <= -1 && s.earwear !== 'hearing aids') { cost += 15; @@ -1081,14 +1081,14 @@ window.initFacilityStatistics = function(facility) { return facility; }; -/* +/* Welcome to the new way to spend and make money, all while having it recorded: cashX! In the past, costs were directly deducted from $cash, with something like <<set $cash -= 100>>. The new system will still happily spend your money, but it will also record it in the appropriate budget category and (optinally) the appropriate slave as well. Let's say you were going to spend 100 on your favorite $activeSlave with cashX. You might try: - + <<run cashX(-100, "slaveMod", $activeSlave)>> There we go! @@ -1120,10 +1120,10 @@ window.cashX = function(cost, what, who) { V.lastWeeksErrors += `"${cost}" at ${what} is infinity, `; } else { - + //Spend the money V.cash += cost; - + //INCOME if(cost > 0) { @@ -1133,14 +1133,14 @@ window.cashX = function(cost, what, who) { } else { V.lastWeeksErrors += `Unknown place "${what}" gained you ${cost},`; } - + //record the slave, if available if (typeof who !== 'undefined'){ who.lastWeeksCashIncome += cost; who.lifetimeCashIncome += cost; } } - + //EXPENSES else if(cost < 0) { @@ -1172,4 +1172,3 @@ window.forceNeg = function(x) { Number.prototype.toFixedHTML = function() { return commaNum(Number.prototype.toFixed.apply(this, arguments)).replace(/\.0+$/, '<span style="opacity: 0.3">$&</span>'); }; - diff --git a/src/js/eventSelectionJS.js b/src/js/eventSelectionJS.js index 5365e1d048e1eec21caa02754bbfd62e7312293b..714fa412f4221116ad7517883cab89e16120e569 100644 --- a/src/js/eventSelectionJS.js +++ b/src/js/eventSelectionJS.js @@ -1,144 +1,145 @@ -window.generateRandomEventPoolStandard = function(eventSlave) { +window.generateRandomEventPoolStandard = function (eventSlave) { -/* STANDARD EVENTS */ + /* STANDARD EVENTS */ -if(eventSlave.fetish != "mindbroken") { - if(canWalk(eventSlave)) { - if(canTalk(eventSlave)) { + if (eventSlave.fetish !== "mindbroken") { + if (canWalk(eventSlave)) { + if (canTalk(eventSlave)) { - if(State.variables.RECockmilkInterceptionIDs.length > 1 || (State.variables.RECockmilkInterceptionIDs.length == 1 && eventSlave.ID != State.variables.RECockmilkInterceptionIDs[0])){ - if(eventSlave.devotion > 20) { - if (eventSlave.dietCum > 0 || (eventSlave.fetishKnown && eventSlave.fetish == "cumslut")) { - State.variables.RETSevent.push("cockmilk interception"); + if (State.variables.RECockmilkInterceptionIDs.length > 1 || (State.variables.RECockmilkInterceptionIDs.length === 1 && eventSlave.ID !== State.variables.RECockmilkInterceptionIDs[0])) { + if (eventSlave.devotion > 20) { + if (eventSlave.dietCum > 0 || (eventSlave.fetishKnown && eventSlave.fetish === "cumslut")) { + State.variables.RETSevent.push("cockmilk interception"); + } } } - } - if(State.variables.REInterslaveBeggingIDs.length > 1 || (State.variables.REInterslaveBeggingIDs.length == 1 && eventSlave.ID != State.variables.REInterslaveBeggingIDs[0])) { - if(State.variables.universalRulesConsent == 1) { - if(eventSlave.devotion > 20) { - if(eventSlave.energy > 40) { - if(canPenetrate(eventSlave)) { - if(canSee(eventSlave)) { - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - State.variables.RETSevent.push("interslave begging"); + if (State.variables.REInterslaveBeggingIDs.length > 1 || (State.variables.REInterslaveBeggingIDs.length === 1 && eventSlave.ID !== State.variables.REInterslaveBeggingIDs[0])) { + if (State.variables.universalRulesConsent === 1) { + if (eventSlave.devotion > 20) { + if (eventSlave.energy > 40) { + if (canPenetrate(eventSlave)) { + if (canSee(eventSlave)) { + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + State.variables.RETSevent.push("interslave begging"); + } } } } } } } - } - if(State.variables.familyTesting == 0) { - if(eventSlave.devotion > 20) { - if(eventSlave.sexualQuirk == "perverted" || eventSlave.energy > 80) { - if(eventSlave.relation == "mother") { - if(eventSlave.belly < 100000) { - if(eventSlave.lactation) { - if(eventSlave.nipples != "fuckable") { - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - State.variables.RETSevent.push("incestuous nursing"); + if (State.variables.familyTesting === 0) { + if (eventSlave.devotion > 20) { + if (eventSlave.sexualQuirk === "perverted" || eventSlave.energy > 80) { + if (eventSlave.relation === "mother") { + if (eventSlave.belly < 100000) { + if (eventSlave.lactation) { + if (eventSlave.nipples !== "fuckable") { + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + State.variables.RETSevent.push("incestuous nursing"); + } } } } } } } + } else { + if (eventSlave.devotion > 20 && (eventSlave.sexualQuirk === "perverted" || eventSlave.energy > 80) && eventSlave.belly < 100000 && eventSlave.lactation > 0 && eventSlave.nipples !== "fuckable" && eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity" && eventSlave.daughters > 0) { + State.variables.RETSevent.push("incestuous nursing"); + } } - } else { - if (eventSlave.devotion > 20 && (eventSlave.sexualQuirk == "perverted" || eventSlave.energy > 80) && eventSlave.belly < 100000 && eventSlave.lactation > 0 && eventSlave.nipples != "fuckable" && eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity" && eventSlave.daughters > 0) { - State.variables.RETSevent.push("incestuous nursing"); - } - } - if(eventSlave.intelligence+eventSlave.intelligenceImplant > 50) { - if(eventSlave.devotion > 50) { - if(eventSlave.intelligenceImplant >= 15) { - if(eventSlave.accent < 4) { - State.variables.RESSevent.push("devoted educated slave"); + if (eventSlave.intelligence + eventSlave.intelligenceImplant > 50) { + if (eventSlave.devotion > 50) { + if (eventSlave.intelligenceImplant >= 15) { + if (eventSlave.accent < 4) { + State.variables.RESSevent.push("devoted educated slave"); + } } } } - } - if(eventSlave.entertainSkill >= 60 || ["an exotic dancer", "a dancer", "a house DJ", "a party girl", "an aspiring pop star"].includes(eventSlave.career)) { - if(canHear(eventSlave)) { - if(eventSlave.health > 40) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - State.variables.RESSevent.push("happy dance"); + if (eventSlave.entertainSkill >= 60 || ["an exotic dancer", "a dancer", "a house DJ", "a party girl", "an aspiring pop star"].includes(eventSlave.career)) { + if (canHear(eventSlave)) { + if (eventSlave.health > 40) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + State.variables.RESSevent.push("happy dance"); + } } } } } - } - if(State.variables.RERepressedAnalVirginSubIDs.length > 0) { - if(eventSlave.anus == 0) { - if(eventSlave.devotion >= -50) { - if(eventSlave.trust >= -50) { - if(eventSlave.sexualFlaw == "repressed") { - State.variables.RETSevent.push("repressed anal virgin"); + if (State.variables.RERepressedAnalVirginSubIDs.length > 0) { + if (eventSlave.anus === 0) { + if (eventSlave.devotion >= -50) { + if (eventSlave.trust >= -50) { + if (eventSlave.sexualFlaw === "repressed") { + State.variables.RETSevent.push("repressed anal virgin"); + } } } } } - } - if(State.variables.assistant > 0) { - if(State.variables.assistantAppearance != "normal") { - if(eventSlave.devotion >= -20) { - if(canSee(eventSlave)) { - if(eventSlave.devotion <= 50) { - if(["be a servant", "work as a servant"].includes(eventSlave.assignment)) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("PA servant"); + if (State.variables.assistant > 0) { + if (State.variables.assistantAppearance !== "normal") { + if (eventSlave.devotion >= -20) { + if (canSee(eventSlave)) { + if (eventSlave.devotion <= 50) { + if (["be a servant", "work as a servant"].includes(eventSlave.assignment)) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("PA servant"); + } } - } - } else if(eventSlave.trust > 75) { - if(eventSlave.energy > 60) { - if((canDoAnal(eventSlave) && eventSlave.anus > 0) || (canDoVaginal(eventSlave) && eventSlave.vagina > 0)) { - State.variables.RESSevent.push("PA flirting"); + } else if (eventSlave.trust > 75) { + if (eventSlave.energy > 60) { + if ((canDoAnal(eventSlave) && eventSlave.anus > 0) || (canDoVaginal(eventSlave) && eventSlave.vagina > 0)) { + State.variables.RESSevent.push("PA flirting"); + } } } } } } } - } - if(eventSlave.clothes == "a succubus outfit") { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("sexy succubus"); + if (eventSlave.clothes === "a succubus outfit") { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("sexy succubus"); + } } } - } - if(State.variables.HeadGirl != 0) { - if(eventSlave.devotion <= 50) { - if(eventSlave.anus != 0 && canDoAnal(eventSlave)) { - if(State.variables.HGSeverity >= 0) { - State.variables.events.push("RE anal punishment"); + if (State.variables.HeadGirl !== 0) { + if (eventSlave.devotion <= 50) { + if (eventSlave.anus !== 0 && canDoAnal(eventSlave)) { + if (State.variables.HGSeverity >= 0) { + State.variables.events.push("RE anal punishment"); + } + State.variables.events.push("RE shower punishment"); } - State.variables.events.push("RE shower punishment"); } - } - if(eventSlave.ID == State.variables.HeadGirl.ID) { - if(eventSlave.trust > 50) { - State.variables.RESSevent.push("trusting HG"); + if (eventSlave.ID === State.variables.HeadGirl.ID) { + if (eventSlave.trust > 50) { + State.variables.RESSevent.push("trusting HG"); + } } - } - if(eventSlave.ID != State.variables.HeadGirl.ID) { - if(canSee(eventSlave) && canWalk(eventSlave)) { - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.trust > 75) { - if(eventSlave.devotion > 50) { - if(eventSlave.oralSkill > 30) { - if(eventSlave.intelligence+eventSlave.intelligenceImplant >= State.variables.HeadGirl.intelligence+State.variables.HeadGirl.intelligenceImplant) { - if(eventSlave.oralSkill > State.variables.HeadGirl.oralSkill) { - State.variables.events.push("RE HG replacement"); + if (eventSlave.ID !== State.variables.HeadGirl.ID) { + if (canSee(eventSlave) && canWalk(eventSlave)) { + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.trust > 75) { + if (eventSlave.devotion > 50) { + if (eventSlave.oralSkill > 30) { + if (eventSlave.intelligence + eventSlave.intelligenceImplant >= State.variables.HeadGirl.intelligence + State.variables.HeadGirl.intelligenceImplant) { + if (eventSlave.oralSkill > State.variables.HeadGirl.oralSkill) { + State.variables.events.push("RE HG replacement"); + } } } } @@ -147,60 +148,60 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(eventSlave.livingRules == "spare") { - if(eventSlave.devotion <= 20) { - if(eventSlave.devotion > -10) { - State.variables.RESSevent.push("sleeping ambivalent"); - } - if(eventSlave.trust < -20) { - State.variables.RESSevent.push("bad dream"); + if (eventSlave.livingRules === "spare") { + if (eventSlave.devotion <= 20) { + if (eventSlave.devotion > -10) { + State.variables.RESSevent.push("sleeping ambivalent"); + } + if (eventSlave.trust < -20) { + State.variables.RESSevent.push("bad dream"); + } } } - } - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20) { - if(eventSlave.weekAcquired > 0) { - if(State.variables.week-eventSlave.weekAcquired < 10) { - if(eventSlave.energy > 20) { - if(eventSlave.anus != 0) { - if(eventSlave.vagina != 0) { - State.variables.RESSevent.push("ignorant horny"); + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20) { + if (eventSlave.weekAcquired > 0) { + if (State.variables.week - eventSlave.weekAcquired < 10) { + if (eventSlave.energy > 20) { + if (eventSlave.anus !== 0) { + if (eventSlave.vagina !== 0) { + State.variables.RESSevent.push("ignorant horny"); + } } } } } } } - } - if(State.variables.RETasteTestSubIDs.length > 1) { - if(eventSlave.livingRules == "luxurious") { - if(eventSlave.devotion > 20) { - if(eventSlave.energy > 80) { - State.variables.RETSevent.push("taste test"); + if (State.variables.RETasteTestSubIDs.length > 1) { + if (eventSlave.livingRules === "luxurious") { + if (eventSlave.devotion > 20) { + if (eventSlave.energy > 80) { + State.variables.RETSevent.push("taste test"); + } } } } - } - if(State.variables.modRequestsAllowed > 0) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 20) { - if(eventSlave.dick != 0 || eventSlave.vagina != -1) { - if(eventSlave.nipples != "fuckable") { - if(eventSlave.speechRules == "permissive") { - if(eventSlave.corsetPiercing == 0) { - if(eventSlave.tonguePiercing == 0) { - if(eventSlave.anusPiercing == 0) { - if(eventSlave.nipplesPiercing == 0) { - if(eventSlave.dickPiercing == 0) { - if(eventSlave.vaginaPiercing == 0) { - if(eventSlave.lipsTat == 0 || eventSlave.lipsTat == "none") { - if(eventSlave.vaginaTat == 0 || eventSlave.vaginaTat == "none") { - State.variables.RESSevent.push("mods please"); + if (State.variables.modRequestsAllowed > 0) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 20) { + if (eventSlave.dick !== 0 || eventSlave.vagina !== -1) { + if (eventSlave.nipples !== "fuckable") { + if (eventSlave.speechRules === "permissive") { + if (eventSlave.corsetPiercing === 0) { + if (eventSlave.tonguePiercing === 0) { + if (eventSlave.anusPiercing === 0) { + if (eventSlave.nipplesPiercing === 0) { + if (eventSlave.dickPiercing === 0) { + if (eventSlave.vaginaPiercing === 0) { + if (eventSlave.lipsTat === 0 || eventSlave.lipsTat === "none") { + if (eventSlave.vaginaTat === 0 || eventSlave.vaginaTat === "none") { + State.variables.RESSevent.push("mods please"); + } } } } @@ -214,31 +215,31 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(eventSlave.muscles > 5) { - if(eventSlave.devotion > 20) { - if(eventSlave.diet != "slimming") { - State.variables.RESSevent.push("sore shoulders"); + if (eventSlave.muscles > 5) { + if (eventSlave.devotion > 20) { + if (eventSlave.diet !== "slimming") { + State.variables.RESSevent.push("sore shoulders"); + } } } - } - if(eventSlave.relationship > 3) { - var relationshipSlave = State.variables.slaves.find(function(s) { return s.ID == eventSlave.relationshipTarget; }); - if(relationshipSlave.devotion > 20) { - if(canWalk(relationshipSlave)) { - if(canTalk(relationshipSlave)) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - if(eventSlave.speechRules != "restrictive") { - State.variables.RETSevent.push("date please"); - } - if(relationshipSlave.anus != 0) { - if(relationshipSlave.dick != 1) { - if(relationshipSlave.dick == 0 || canAchieveErection(relationshipSlave)) { - if(relationshipSlave.fetish == "dom" || relationshipSlave.fetish == "sadist") { - State.variables.RETSevent.push("top exhaustion"); + if (eventSlave.relationship > 3) { + var relationshipSlave = State.variables.slaves.find(function (s) { return s.ID === eventSlave.relationshipTarget; }); + if (relationshipSlave.devotion > 20) { + if (canWalk(relationshipSlave)) { + if (canTalk(relationshipSlave)) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + if (eventSlave.speechRules !== "restrictive") { + State.variables.RETSevent.push("date please"); + } + if (relationshipSlave.anus !== 0) { + if (relationshipSlave.dick !== 1) { + if (relationshipSlave.dick === 0 || canAchieveErection(relationshipSlave)) { + if (relationshipSlave.fetish === "dom" || relationshipSlave.fetish === "sadist") { + State.variables.RETSevent.push("top exhaustion"); + } } } } @@ -248,414 +249,414 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(State.variables.REAnalCowgirlSubIDs.length > 1 || (State.variables.REAnalCowgirlSubIDs.length == 1 && eventSlave.ID != State.variables.REAnalCowgirlSubIDs[0])) { - if(eventSlave.devotion > 20) { - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - if(eventSlave.fetish == "buttslut" || eventSlave.fetish == "sadist" || eventSlave.fetish == "dom") { - if((eventSlave.dickAccessory != "chastity" && eventSlave.dickAccessory != "combined chastity") || eventSlave.dick == 0) { - State.variables.RETSevent.push("anal cowgirl"); + if (State.variables.REAnalCowgirlSubIDs.length > 1 || (State.variables.REAnalCowgirlSubIDs.length === 1 && eventSlave.ID !== State.variables.REAnalCowgirlSubIDs[0])) { + if (eventSlave.devotion > 20) { + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + if (eventSlave.fetish === "buttslut" || eventSlave.fetish === "sadist" || eventSlave.fetish === "dom") { + if ((eventSlave.dickAccessory !== "chastity" && eventSlave.dickAccessory !== "combined chastity") || eventSlave.dick === 0) { + State.variables.RETSevent.push("anal cowgirl"); + } } } } } - } - if(State.variables.REBoobCollisionSubIDs.length > 1) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(eventSlave.boobs > 3000) { - if(eventSlave.attrXX >= 50 || (eventSlave.fetish == "boobs" && eventSlave.fetishStrength > 95)) { - State.variables.RETSevent.push("boob collision"); + if (State.variables.REBoobCollisionSubIDs.length > 1) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (eventSlave.boobs > 3000) { + if (eventSlave.attrXX >= 50 || (eventSlave.fetish === "boobs" && eventSlave.fetishStrength > 95)) { + State.variables.RETSevent.push("boob collision"); + } } } } } - } - if(State.variables.weatherToday.severity <= 1) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 20) { - if(eventSlave.anus != 0 && canDoAnal(eventSlave)) { - if(eventSlave.vagina != 0) { - State.variables.RESSevent.push("confident tanning"); + if (State.variables.weatherToday.severity <= 1) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 20) { + if (eventSlave.anus !== 0 && canDoAnal(eventSlave)) { + if (eventSlave.vagina !== 0) { + State.variables.RESSevent.push("confident tanning"); + } } } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - var giver = 0; - if(State.variables.HeadGirl == 0) { - giver = 1; - } else if(State.variables.HeadGirl.ID != eventSlave.ID) { - giver = 1; - } - if(giver == 1) { - State.variables.RESSevent.push("a gift"); + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + var giver = 0; + if (State.variables.HeadGirl === 0) { + giver = 1; + } else if (State.variables.HeadGirl.ID !== eventSlave.ID) { + giver = 1; + } + if (giver === 1) { + State.variables.RESSevent.push("a gift"); + } } } - } - if(eventSlave.relationship >= 2) { - if(eventSlave.relationship < 5) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - State.variables.events.push("RE relationship advice"); + if (eventSlave.relationship >= 2) { + if (eventSlave.relationship < 5) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + State.variables.events.push("RE relationship advice"); + } } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.anus > 0) { - if(eventSlave.vagina != 0) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("devoted exhibition"); - State.variables.RESSevent.push("devoted lotion"); - } - if(eventSlave.energy > 95 && canDoAnal(eventSlave)) { - State.variables.RESSevent.push("devoted nympho"); - } - if(eventSlave.releaseRules == "permissive" || eventSlave.releaseRules == "masturbation") { - if(!["chastity", "combined chastity"].includes(eventSlave.dickAccessory) || eventSlave.dick == 0) { - State.variables.RESSevent.push("permitted masturbation"); + if (eventSlave.devotion > 50) { + if (eventSlave.anus > 0) { + if (eventSlave.vagina !== 0) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("devoted exhibition"); + State.variables.RESSevent.push("devoted lotion"); + } + if (eventSlave.energy > 95 && canDoAnal(eventSlave)) { + State.variables.RESSevent.push("devoted nympho"); + } + if (eventSlave.releaseRules === "permissive" || eventSlave.releaseRules === "masturbation") { + if (!["chastity", "combined chastity"].includes(eventSlave.dickAccessory) || eventSlave.dick === 0) { + State.variables.RESSevent.push("permitted masturbation"); + } } } } } - } - if(eventSlave.trust < -50) { - if(eventSlave.devotion <= 20) { - State.variables.RESSevent.push("terrified inspection"); + if (eventSlave.trust < -50) { + if (eventSlave.devotion <= 20) { + State.variables.RESSevent.push("terrified inspection"); + } } - } - if(eventSlave.dick > 0) { - if(eventSlave.anus > 0) { - if(eventSlave.devotion >= 10) { - if(State.variables.REFeminizationCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("feminization"); - } - if(eventSlave.trust >= 10) { - if(canAchieveErection(eventSlave)) { - if(State.variables.REFutaSisterCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("futa"); + if (eventSlave.dick > 0) { + if (eventSlave.anus > 0) { + if (eventSlave.devotion >= 10) { + if (State.variables.REFeminizationCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("feminization"); + } + if (eventSlave.trust >= 10) { + if (canAchieveErection(eventSlave)) { + if (State.variables.REFutaSisterCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("futa"); + } } } } } } - } - if(eventSlave.analSkill > 30) { - if(eventSlave.devotion >= 10) { - if(State.variables.REMILFCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("MILF"); + if (eventSlave.analSkill > 30) { + if (eventSlave.devotion >= 10) { + if (State.variables.REMILFCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("MILF"); + } } } - } - if(eventSlave.attrXY > 50) { - if(eventSlave.anus != 0) { - if(eventSlave.vagina != 0) { - if(eventSlave.devotion >= 10) { - if(State.variables.REOrientationCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("orientation"); + if (eventSlave.attrXY > 50) { + if (eventSlave.anus !== 0) { + if (eventSlave.vagina !== 0) { + if (eventSlave.devotion >= 10) { + if (State.variables.REOrientationCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("orientation"); + } } } } } - } - if(eventSlave.face >= -10) { - if(eventSlave.devotion >= 10) { - if(eventSlave.assignment == "serve the public" || eventSlave.assignment == "whore") { - if(State.variables.REUglyCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("ugly"); + if (eventSlave.face >= -10) { + if (eventSlave.devotion >= 10) { + if (eventSlave.assignment === "serve the public" || eventSlave.assignment === "whore") { + if (State.variables.REUglyCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("ugly"); + } } } } - } - if(eventSlave.anus > 1) { - if(eventSlave.anus < 4) { - if(eventSlave.analArea > 1) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - if(State.variables.REButtholeCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("butthole"); + if (eventSlave.anus > 1) { + if (eventSlave.anus < 4) { + if (eventSlave.analArea > 1) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + if (State.variables.REButtholeCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("butthole"); + } } } } } } - } - /* - if(eventSlave.drugs == "breast injections") { - if(eventSlave.anus > 0 || eventSlave.vagina > 0) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust >= -50) { - if(State.variables.REReductionCheckinIDs.includes(eventSlave.ID)) { - State.variables.RECIevent.push("reduction"); + /* + if(eventSlave.drugs == "breast injections") { + if(eventSlave.anus > 0 || eventSlave.vagina > 0) { + if(eventSlave.devotion <= 50) { + if(eventSlave.devotion >= -20) { + if(eventSlave.trust >= -50) { + if(State.variables.REReductionCheckinIDs.includes(eventSlave.ID)) { + State.variables.RECIevent.push("reduction"); + } } } } } } - } - */ + */ - if(eventSlave.assignment == "be a servant" || eventSlave.assignment == "work as a servant") { - if(eventSlave.devotion <= 95) { - if(eventSlave.intelligence+eventSlave.intelligenceImplant < -50) { - State.variables.RESSevent.push("cooler lockin"); + if (eventSlave.assignment === "be a servant" || eventSlave.assignment === "work as a servant") { + if (eventSlave.devotion <= 95) { + if (eventSlave.intelligence + eventSlave.intelligenceImplant < -50) { + State.variables.RESSevent.push("cooler lockin"); + } } } - } - if(State.variables.universalRulesConsent == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.fetish == "sadist" || eventSlave.fetish == "dom" || eventSlave.energy > 95) { - if(State.variables.REShowerForceSubIDs.length > 0) { - if(eventSlave.trust <= 75) { - State.variables.RETSevent.push("shower force"); + if (State.variables.universalRulesConsent === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.fetish === "sadist" || eventSlave.fetish === "dom" || eventSlave.energy > 95) { + if (State.variables.REShowerForceSubIDs.length > 0) { + if (eventSlave.trust <= 75) { + State.variables.RETSevent.push("shower force"); + } } - } - if(eventSlave.anus > 0) { - if(State.variables.RESadisticDescriptionSubIDs.length > 0) { - State.variables.RETSevent.push("sadistic description"); + if (eventSlave.anus > 0) { + if (State.variables.RESadisticDescriptionSubIDs.length > 0) { + State.variables.RETSevent.push("sadistic description"); + } } - } - if(State.variables.cockFeeder > 0) { - if(canPenetrate(eventSlave) || eventSlave.dick == 0) { - State.variables.RESSevent.push("kitchen molestation"); + if (State.variables.cockFeeder > 0) { + if (canPenetrate(eventSlave) || eventSlave.dick === 0) { + State.variables.RESSevent.push("kitchen molestation"); + } } } - } - if(State.variables.REIfYouEnjoyItSubIDs.length > 0) { - State.variables.RETSevent.push("if you enjoy it"); - } - if(State.variables.RESimpleAssaultIDs.length > 0) { - if(canPenetrate(eventSlave)) { - State.variables.RETSevent.push("simple assault"); + if (State.variables.REIfYouEnjoyItSubIDs.length > 0) { + State.variables.RETSevent.push("if you enjoy it"); + } + if (State.variables.RESimpleAssaultIDs.length > 0) { + if (canPenetrate(eventSlave)) { + State.variables.RETSevent.push("simple assault"); + } } } } - } - if(eventSlave.devotion < -50) { - if(eventSlave.trust >= -20) { - if(eventSlave.speechRules == "restrictive") { - State.variables.RESSevent.push("vocal disobedience"); + if (eventSlave.devotion < -50) { + if (eventSlave.trust >= -20) { + if (eventSlave.speechRules === "restrictive") { + State.variables.RESSevent.push("vocal disobedience"); + } } } - } - if(State.variables.boobAccessibility != 1 && State.variables.ballsAccessibility != 1 && State.variables.pregAccessibility != 1) { - if(eventSlave.boobs > 10000) { - if(eventSlave.devotion >= -20) { - if(State.variables.slaves.length > 2) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("huge tits"); + if (State.variables.boobAccessibility !== 1 && State.variables.ballsAccessibility !== 1 && State.variables.pregAccessibility !== 1) { + if (eventSlave.boobs > 10000) { + if (eventSlave.devotion >= -20) { + if (State.variables.slaves.length > 2) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("huge tits"); + } } } } } - } - if(eventSlave.physicalAge > 30) { - if(eventSlave.ageImplant > 0) { - if(eventSlave.devotion > 20) { - State.variables.RESSevent.push("age implant"); + if (eventSlave.physicalAge > 30) { + if (eventSlave.ageImplant > 0) { + if (eventSlave.devotion > 20) { + State.variables.RESSevent.push("age implant"); + } } } - } - if(State.variables.seeAge != 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.birthWeek >= 51) { - /* lets give this a much higher chance of appearing */ - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); + if (State.variables.seeAge !== 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.birthWeek >= 51) { + /* lets give this a much higher chance of appearing */ + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + } } } } - } - if(eventSlave.clothes == "a penitent nuns habit") { - if(eventSlave.anus > 0) { - if(eventSlave.devotion >= -20) { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("penitent"); + if (eventSlave.clothes === "a penitent nuns habit") { + if (eventSlave.anus > 0) { + if (eventSlave.devotion >= -20) { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("penitent"); + } } } } - } - if(eventSlave.slaveName != eventSlave.birthName && eventSlave.birthName !== "") { - if(eventSlave.devotion <= 20) { - if(eventSlave.trust >= -20) { - if(eventSlave.anus > 0 && canDoAnal(eventSlave)) { - State.variables.RESSevent.push("not my name"); + if (eventSlave.slaveName !== eventSlave.birthName && eventSlave.birthName !== "") { + if (eventSlave.devotion <= 20) { + if (eventSlave.trust >= -20) { + if (eventSlave.anus > 0 && canDoAnal(eventSlave)) { + State.variables.RESSevent.push("not my name"); + } } } } - } - if(State.variables.slaves.length > 2) { - if(eventSlave.devotion >= -20) { - if(eventSlave.heels == 1) { - if(eventSlave.shoes == "heels" || eventSlave.shoes == "boots" || eventSlave.shoes == "extreme heels") { - State.variables.RESSevent.push("tendon fall"); + if (State.variables.slaves.length > 2) { + if (eventSlave.devotion >= -20) { + if (eventSlave.heels === 1) { + if (eventSlave.shoes === "heels" || eventSlave.shoes === "boots" || eventSlave.shoes === "extreme heels") { + State.variables.RESSevent.push("tendon fall"); + } } } } - } - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.devotion <= 50) { - if(eventSlave.vagina < 0) { - if(canDoAnal(eventSlave)) { - if(eventSlave.anus > 0) { - if(eventSlave.analSkill <= 30) { - State.variables.RESSevent.push("obedient shemale"); + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.devotion <= 50) { + if (eventSlave.vagina < 0) { + if (canDoAnal(eventSlave)) { + if (eventSlave.anus > 0) { + if (eventSlave.analSkill <= 30) { + State.variables.RESSevent.push("obedient shemale"); + } } } } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 20) { - if(eventSlave.physicalAge > 37) { - if(eventSlave.anus > 0) { - if(eventSlave.vagina > 0) { - State.variables.RESSevent.push("devoted old"); + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 20) { + if (eventSlave.physicalAge > 37) { + if (eventSlave.anus > 0) { + if (eventSlave.vagina > 0) { + State.variables.RESSevent.push("devoted old"); + } } } } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(eventSlave.actualAge > 35) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(State.variables.PC.actualAge < 25) { - State.variables.RESSevent.push("young PC age difference"); + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (eventSlave.actualAge > 35) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (State.variables.PC.actualAge < 25) { + State.variables.RESSevent.push("young PC age difference"); + } } } } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(eventSlave.actualAge < 22) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(State.variables.PC.actualAge >= 50) { - State.variables.RESSevent.push("old PC age difference"); + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (eventSlave.actualAge < 22) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (State.variables.PC.actualAge >= 50) { + State.variables.RESSevent.push("old PC age difference"); + } } } } } - } - if(eventSlave.fetish == "humiliation" || eventSlave.energy > 95) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus != 0) { - if(eventSlave.fetishKnown == 1) { - State.variables.RESSevent.push("fearful humiliation"); + if (eventSlave.fetish === "humiliation" || eventSlave.energy > 95) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus !== 0) { + if (eventSlave.fetishKnown === 1) { + State.variables.RESSevent.push("fearful humiliation"); + } } } } } } } - } - if(eventSlave.livingRules == "luxurious") { - if(eventSlave.devotion <= 75) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("newly devoted sunrise"); + if (eventSlave.livingRules === "luxurious") { + if (eventSlave.devotion <= 75) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("newly devoted sunrise"); + } } } - } - if(State.variables.PC.dick == 1) { - if(State.variables.PC.belly < 5000) { - if(["be a servant", "work as a servant"].includes(eventSlave.assignment)) { - if(eventSlave.attrXY <= 35 || eventSlave.behavioralFlaw == "hates men" || eventSlave.sexualFlaw == "repressed") { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("frightening dick"); + if (State.variables.PC.dick === 1) { + if (State.variables.PC.belly < 5000) { + if (["be a servant", "work as a servant"].includes(eventSlave.assignment)) { + if (eventSlave.attrXY <= 35 || eventSlave.behavioralFlaw === "hates men" || eventSlave.sexualFlaw === "repressed") { + if (eventSlave.devotion >= -20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("frightening dick"); + } } } } } } - } - if(State.variables.spa > 0) { - if(eventSlave.boobs > 2000) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("spa boobs"); + if (State.variables.spa > 0) { + if (eventSlave.boobs > 2000) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("spa boobs"); + } } } } } - } - if(eventSlave.lactation > 0) { - if(eventSlave.boobs > 800) { - if(eventSlave.nipples != "fuckable") { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("cow milking"); + if (eventSlave.lactation > 0) { + if (eventSlave.boobs > 800) { + if (eventSlave.nipples !== "fuckable") { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("cow milking"); + } } } } } - } - if(eventSlave.dietCum > 0) { - if(eventSlave.devotion <= 20) { - if((eventSlave.fetish != "cumslut" && eventSlave.fetish != "masochist" && eventSlave.fetishStrength < 60) || eventSlave.fetishKnown == 0) { - State.variables.RESSevent.push("retching cum feeding"); + if (eventSlave.dietCum > 0) { + if (eventSlave.devotion <= 20) { + if ((eventSlave.fetish !== "cumslut" && eventSlave.fetish !== "masochist" && eventSlave.fetishStrength < 60) || eventSlave.fetishKnown === 0) { + State.variables.RESSevent.push("retching cum feeding"); + } } } - } - if(State.variables.arcologies[0].FSSubjugationist != "unset") { - if(eventSlave.race != State.variables.arcologies[0].FSSubjugationistRace) { - if(State.variables.week-eventSlave.weekAcquired > 1) { - if(State.variables.week-eventSlave.weekAcquired < 10) { - if(eventSlave.devotion < -20) { - if(eventSlave.trust >= -20) { - if(eventSlave.health > -20) { - if(eventSlave.race == eventSlave.origRace) { - if(eventSlave.indentureRestrictions < 1) { - State.variables.RESSevent.push("subjugation blues"); + if (State.variables.arcologies[0].FSSubjugationist !== "unset") { + if (eventSlave.race !== State.variables.arcologies[0].FSSubjugationistRace) { + if (State.variables.week - eventSlave.weekAcquired > 1) { + if (State.variables.week - eventSlave.weekAcquired < 10) { + if (eventSlave.devotion < -20) { + if (eventSlave.trust >= -20) { + if (eventSlave.health > -20) { + if (eventSlave.race === eventSlave.origRace) { + if (eventSlave.indentureRestrictions < 1) { + State.variables.RESSevent.push("subjugation blues"); + } } } } @@ -664,19 +665,19 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(canTalk(eventSlave)) { - if(eventSlave.dietCum > 0) { - if(eventSlave.diet == "fattening") { - if(eventSlave.trust >= -50) { - if(eventSlave.fetish != "cumslut") { - if(eventSlave.weight < -30) { - if(eventSlave.health > -80) { - if(eventSlave.behavioralFlaw != "anorexic") { - if(eventSlave.sexualFlaw != "self hating") { - if(eventSlave.fetishStrength <= 60 || eventSlave.fetishKnown != 1) { - State.variables.RESSevent.push("too thin for cum diet"); + if (canTalk(eventSlave)) { + if (eventSlave.dietCum > 0) { + if (eventSlave.diet === "fattening") { + if (eventSlave.trust >= -50) { + if (eventSlave.fetish !== "cumslut") { + if (eventSlave.weight < -30) { + if (eventSlave.health > -80) { + if (eventSlave.behavioralFlaw !== "anorexic") { + if (eventSlave.sexualFlaw !== "self hating") { + if (eventSlave.fetishStrength <= 60 || eventSlave.fetishKnown !== 1) { + State.variables.RESSevent.push("too thin for cum diet"); + } } } } @@ -686,17 +687,17 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(eventSlave.drugs == "intensive breast injections" || eventSlave.drugs == "hyper breast injections") { - if(eventSlave.boobs <= 8000) { - if(eventSlave.boobs > 2000) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -50) { - if(eventSlave.trust >= -50) { - if(eventSlave.fetish != "boobs") { - if(eventSlave.intelligence+eventSlave.intelligenceImplant >= -50) { - State.variables.RESSevent.push("breast expansion blues"); + if (eventSlave.drugs === "intensive breast injections" || eventSlave.drugs === "hyper breast injections") { + if (eventSlave.boobs <= 8000) { + if (eventSlave.boobs > 2000) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -50) { + if (eventSlave.trust >= -50) { + if (eventSlave.fetish !== "boobs") { + if (eventSlave.intelligence + eventSlave.intelligenceImplant >= -50) { + State.variables.RESSevent.push("breast expansion blues"); + } } } } @@ -704,105 +705,105 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(eventSlave.physicalAge > 35) { - if(eventSlave.speechRules != "restrictive") { - if(["whore", "serve the public", "work in the brothel", "serve in the club"].includes(eventSlave.assignment)) { - if(eventSlave.devotion >= -20) { - if(eventSlave.devotion <= 95) { - State.variables.RESSevent.push("ara ara"); + if (eventSlave.physicalAge > 35) { + if (eventSlave.speechRules !== "restrictive") { + if (["whore", "serve the public", "work in the brothel", "serve in the club"].includes(eventSlave.assignment)) { + if (eventSlave.devotion >= -20) { + if (eventSlave.devotion <= 95) { + State.variables.RESSevent.push("ara ara"); + } } } } } - } - if(eventSlave.anus > 3) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - State.variables.RESSevent.push("gaped asshole"); + if (eventSlave.anus > 3) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + State.variables.RESSevent.push("gaped asshole"); + } } } - } - if(eventSlave.health > 90) { - if(eventSlave.muscles > 5) { - if(eventSlave.weight <= 30) { - if(eventSlave.weight >= -30) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("passing declaration"); + if (eventSlave.health > 90) { + if (eventSlave.muscles > 5) { + if (eventSlave.weight <= 30) { + if (eventSlave.weight >= -30) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("passing declaration"); + } } } } } } - } - if(eventSlave.trust < -50) { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("im scared"); + if (eventSlave.trust < -50) { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("im scared"); + } } - } - if(eventSlave.fetish == "sadist") { - if(eventSlave.fetishStrength > 20) { - if(State.variables.arcadeSlaves > 0) { - if(eventSlave.trust >= -20) { - if(eventSlave.devotion > 50) { - if(eventSlave.belly < 300000) { - State.variables.RESSevent.push("arcade sadist"); + if (eventSlave.fetish === "sadist") { + if (eventSlave.fetishStrength > 20) { + if (State.variables.arcadeSlaves > 0) { + if (eventSlave.trust >= -20) { + if (eventSlave.devotion > 50) { + if (eventSlave.belly < 300000) { + State.variables.RESSevent.push("arcade sadist"); + } } } } } } - } - if(eventSlave.dick == 0) { - if(eventSlave.vagina == -1) { - if(canDoAnal(eventSlave)) { - if(eventSlave.energy > 20) { - if(eventSlave.devotion >= -50) { - if(eventSlave.fetish != "buttslut" || eventSlave.fetishStrength <= 20) { - if(eventSlave.nipples != "fuckable") { - State.variables.RESSevent.push("desperate null"); + if (eventSlave.dick === 0) { + if (eventSlave.vagina === -1) { + if (canDoAnal(eventSlave)) { + if (eventSlave.energy > 20) { + if (eventSlave.devotion >= -50) { + if (eventSlave.fetish !== "buttslut" || eventSlave.fetishStrength <= 20) { + if (eventSlave.nipples !== "fuckable") { + State.variables.RESSevent.push("desperate null"); + } } } } } } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.boobs > 2000) { - State.variables.RESSevent.push("back stretch"); + if (eventSlave.devotion > 20) { + if (eventSlave.boobs > 2000) { + State.variables.RESSevent.push("back stretch"); + } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.choosesOwnClothes !== 1) { - if(setup.modestClothes.includes(eventSlave.clothes)) { - State.variables.RESSevent.push("modest clothes"); + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.choosesOwnClothes !== 1) { + if (setup.modestClothes.includes(eventSlave.clothes)) { + State.variables.RESSevent.push("modest clothes"); + } } } } } - } - if(State.variables.PC.vagina == 1) { - if(eventSlave.devotion <= 20) { - if((eventSlave.trust >= -20 && eventSlave.behavioralFlaw == "arrogant") || (eventSlave.trust > 20)) { - if(eventSlave.muscles > 30) { - if(eventSlave.health > 20) { - if(eventSlave.energy > 50) { - if(canPenetrate(eventSlave)) { - if(State.variables.Bodyguard == 0) { - State.variables.RESSevent.push("mutinery attempt"); + if (State.variables.PC.vagina === 1) { + if (eventSlave.devotion <= 20) { + if ((eventSlave.trust >= -20 && eventSlave.behavioralFlaw === "arrogant") || (eventSlave.trust > 20)) { + if (eventSlave.muscles > 30) { + if (eventSlave.health > 20) { + if (eventSlave.energy > 50) { + if (canPenetrate(eventSlave)) { + if (State.variables.Bodyguard === 0) { + State.variables.RESSevent.push("mutinery attempt"); + } } } } @@ -810,470 +811,470 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - } /* closes mute exempt */ + } /* closes mute exempt */ - if(eventSlave.devotion > 20) { - if(["ball gag", "bit gag", "dildo gag", "massive dildo gag"].includes(eventSlave.collar)) { - State.variables.RESSevent.push("gagged slave"); + if (eventSlave.devotion > 20) { + if (["ball gag", "bit gag", "dildo gag", "massive dildo gag"].includes(eventSlave.collar)) { + State.variables.RESSevent.push("gagged slave"); + } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.butt > 5) { - if(!["no clothing", "body oil", "a toga", "a kimono", "shibari ropes", "a slutty maid outfit", "a string bikini", "a scalemail bikini", "shimapan panties", "a chattel habit", "a slave gown", "a halter top dress", "a ball gown", "a mini dress", "harem gauze", "a schutzstaffel uniform", "a slutty schutzstaffel uniform", "a red army uniform", "a monokini", "a burkini"].includes(eventSlave.clothes)) { - State.variables.RESSevent.push("ass fitting"); + if (eventSlave.devotion > 20) { + if (eventSlave.butt > 5) { + if (!["no clothing", "body oil", "a toga", "a kimono", "shibari ropes", "a slutty maid outfit", "a string bikini", "a scalemail bikini", "shimapan panties", "a chattel habit", "a slave gown", "a halter top dress", "a ball gown", "a mini dress", "harem gauze", "a schutzstaffel uniform", "a slutty schutzstaffel uniform", "a red army uniform", "a monokini", "a burkini"].includes(eventSlave.clothes)) { + State.variables.RESSevent.push("ass fitting"); + } } } - } - if(eventSlave.trust > 20) { - if(eventSlave.devotion > 20) { - if(eventSlave.energy > 40) { - if(eventSlave.belly < 300000) { - if(State.variables.PC.belly < 5000 && State.variables.PC.ballsImplant < 3 && State.variables.PC.balls < 3) { - if(canSee(eventSlave)) { - State.variables.RESSevent.push("comfortable seat"); + if (eventSlave.trust > 20) { + if (eventSlave.devotion > 20) { + if (eventSlave.energy > 40) { + if (eventSlave.belly < 300000) { + if (State.variables.PC.belly < 5000 && State.variables.PC.ballsImplant < 3 && State.variables.PC.balls < 3) { + if (canSee(eventSlave)) { + State.variables.RESSevent.push("comfortable seat"); + } } } } } } - } - if(eventSlave.vaginaLube > 1) { - if(eventSlave.devotion > 20) { - if(canDoVaginal(State.variables.activeSlave)) { - State.variables.RESSevent.push("moist pussy"); + if (eventSlave.vaginaLube > 1) { + if (eventSlave.devotion > 20) { + if (canDoVaginal(State.variables.activeSlave)) { + State.variables.RESSevent.push("moist pussy"); + } } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.trust <= -20) { - if(eventSlave.genes == "XY") { - if(eventSlave.dick > 0) { - if(!["chastity", "combined chastity"].includes(eventSlave.dickAccessory)) { - if(eventSlave.vagina == -1) { - if(eventSlave.attrXY < 50) { - State.variables.RESSevent.push("transition anxiety"); + if (eventSlave.devotion <= 20) { + if (eventSlave.trust <= -20) { + if (eventSlave.genes === "XY") { + if (eventSlave.dick > 0) { + if (!["chastity", "combined chastity"].includes(eventSlave.dickAccessory)) { + if (eventSlave.vagina === -1) { + if (eventSlave.attrXY < 50) { + State.variables.RESSevent.push("transition anxiety"); + } } } } } } } - } - if(State.variables.seeAge == 1) { - if(eventSlave.actualAge < 18) { - if(eventSlave.devotion > 20) { - if(eventSlave.ovaries == 1) { - if(eventSlave.pubertyXX == 0) { - if(eventSlave.preg == 0) { - if(eventSlave.physicalAge >= eventSlave.pubertyAgeXX-.5) { - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); + if (State.variables.seeAge === 1) { + if (eventSlave.actualAge < 18) { + if (eventSlave.devotion > 20) { + if (eventSlave.ovaries === 1) { + if (eventSlave.pubertyXX === 0) { + if (eventSlave.preg === 0) { + if (eventSlave.physicalAge >= eventSlave.pubertyAgeXX - .5) { + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + } } } } - } - if(canPenetrate(eventSlave)) { - if(eventSlave.balls > 0) { - if(eventSlave.pubertyXY == 0) { - if(eventSlave.physicalAge >= eventSlave.pubertyAgeXY-.5) { - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); + if (canPenetrate(eventSlave)) { + if (eventSlave.balls > 0) { + if (eventSlave.pubertyXY === 0) { + if (eventSlave.physicalAge >= eventSlave.pubertyAgeXY - .5) { + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + } } } } } } - } - } /* closes aging exemption */ + } /* closes aging exemption */ - if(eventSlave.devotion >= -150) { - if(eventSlave.devotion <= 50) { - State.variables.events.push("RE standard punishment"); + if (eventSlave.devotion >= -150) { + if (eventSlave.devotion <= 50) { + State.variables.events.push("RE standard punishment"); + } } - } - if(eventSlave.boobs > 600) { - if(eventSlave.boobShape == "torpedo-shaped") { - if(eventSlave.devotion >= -50) { - State.variables.RESSevent.push("torpedo squeeze"); + if (eventSlave.boobs > 600) { + if (eventSlave.boobShape === "torpedo-shaped") { + if (eventSlave.devotion >= -50) { + State.variables.RESSevent.push("torpedo squeeze"); + } } } - } - if(eventSlave.assignment == "serve the public") { - if(eventSlave.fetishKnown == 1) { - if(State.variables.FSDegradationist == "unset") { - if(State.variables.arcologyUpgrade.drones == 1) { - State.variables.RESSevent.push("mean girls"); + if (eventSlave.assignment === "serve the public") { + if (eventSlave.fetishKnown === 1) { + if (State.variables.FSDegradationist === "unset") { + if (State.variables.arcologyUpgrade.drones === 1) { + State.variables.RESSevent.push("mean girls"); + } } } } - } - if(eventSlave.balls > 0) { - if(eventSlave.hormoneBalance >= 100) { - if(State.variables.hormoneUpgradeMood == 0) { - if(eventSlave.trust >= -50) { - if(eventSlave.devotion >= -20) { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("orchiectomy please"); + if (eventSlave.balls > 0) { + if (eventSlave.hormoneBalance >= 100) { + if (State.variables.hormoneUpgradeMood === 0) { + if (eventSlave.trust >= -50) { + if (eventSlave.devotion >= -20) { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("orchiectomy please"); + } } } } } } - } - if(eventSlave.trust > 20) { - if(eventSlave.devotion > 50) { - if(State.variables.PC.belly < 5000) { - State.variables.RESSevent.push("shower slip"); - } - if(eventSlave.amp < 0) { - State.variables.RESSevent.push("plimb help"); + if (eventSlave.trust > 20) { + if (eventSlave.devotion > 50) { + if (State.variables.PC.belly < 5000) { + State.variables.RESSevent.push("shower slip"); + } + if (eventSlave.amp < 0) { + State.variables.RESSevent.push("plimb help"); + } } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.devotion >= -50) { - if(eventSlave.trust >= -20) { - if(State.variables.suppository != 0) { - if(eventSlave.fetish != "buttslut") { - State.variables.RESSevent.push("suppository resistance"); + if (eventSlave.devotion <= 20) { + if (eventSlave.devotion >= -50) { + if (eventSlave.trust >= -20) { + if (State.variables.suppository !== 0) { + if (eventSlave.fetish !== "buttslut") { + State.variables.RESSevent.push("suppository resistance"); + } } - } - if(State.variables.cockFeeder != 0) { - if(eventSlave.fetish != "cumslut") { - State.variables.RESSevent.push("cockfeeder resistance"); + if (State.variables.cockFeeder !== 0) { + if (eventSlave.fetish !== "cumslut") { + State.variables.RESSevent.push("cockfeeder resistance"); + } } } } } - } - if(eventSlave.relationship <= -2) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("bonded love"); + if (eventSlave.relationship <= -2) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("bonded love"); + } } } - } - if(eventSlave.trust > 20) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("objectifying visit"); + if (eventSlave.trust > 20) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("objectifying visit"); + } } - } - if (canWalk(eventSlave)) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > -10) { - if(eventSlave.ID != State.variables.HeadGirl.ID) { - if(eventSlave.ID != State.variables.Concubine.ID) { - State.variables.RESSevent.push("refreshment delivery"); + if (canWalk(eventSlave)) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > -10) { + if (eventSlave.ID !== State.variables.HeadGirl.ID) { + if (eventSlave.ID !== State.variables.Concubine.ID) { + State.variables.RESSevent.push("refreshment delivery"); + } } } } } - } - if(eventSlave.dick > 8) { - if(eventSlave.balls > 0) { - if(eventSlave.energy > 60) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.belly < 100000) { - State.variables.RESSevent.push("dick wringing"); + if (eventSlave.dick > 8) { + if (eventSlave.balls > 0) { + if (eventSlave.energy > 60) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.belly < 100000) { + State.variables.RESSevent.push("dick wringing"); + } } } } } } } - } - if(eventSlave.balls > 0) { - if(eventSlave.scrotum > 0) { - if(eventSlave.dickAccessory == "chastity" || eventSlave.dickAccessory == "combined chastity") { - if(eventSlave.devotion <= 95) { - if(eventSlave.energy > 50) { - if(eventSlave.energy < 95) { - if(eventSlave.devotion >= -20 || eventSlave.trust < -20) { - State.variables.RESSevent.push("cage relief"); + if (eventSlave.balls > 0) { + if (eventSlave.scrotum > 0) { + if (eventSlave.dickAccessory === "chastity" || eventSlave.dickAccessory === "combined chastity") { + if (eventSlave.devotion <= 95) { + if (eventSlave.energy > 50) { + if (eventSlave.energy < 95) { + if (eventSlave.devotion >= -20 || eventSlave.trust < -20) { + State.variables.RESSevent.push("cage relief"); + } } } } } } } - } - if(State.variables.PC.dick > 0) { - if(State.variables.PC.boobs > 0) { - if(canSee(eventSlave)) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20) { - if(((eventSlave.attrXY <= 35) && (eventSlave.attrXX > 65)) || ((eventSlave.attrXX <= 35) && (eventSlave.attrXY > 65))) { - State.variables.RESSevent.push("dickgirl PC"); + if (State.variables.PC.dick > 0) { + if (State.variables.PC.boobs > 0) { + if (canSee(eventSlave)) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20) { + if (((eventSlave.attrXY <= 35) && (eventSlave.attrXX > 65)) || ((eventSlave.attrXX <= 35) && (eventSlave.attrXY > 65))) { + State.variables.RESSevent.push("dickgirl PC"); + } } } } } } - } - if(eventSlave.voice > 0) { - if(eventSlave.lips <= 95) { - if(!["dildo gag", "massive dildo gag", "ball gag", "bit gag"].includes(eventSlave.collar)) { - if(eventSlave.accent == 3) { - if(eventSlave.devotion <= 50) { - if(eventSlave.trust > -10) { - if(eventSlave.devotion >= -20 || eventSlave.trust < -20) { - State.variables.RESSevent.push("language lesson"); + if (eventSlave.voice > 0) { + if (eventSlave.lips <= 95) { + if (!["dildo gag", "massive dildo gag", "ball gag", "bit gag"].includes(eventSlave.collar)) { + if (eventSlave.accent === 3) { + if (eventSlave.devotion <= 50) { + if (eventSlave.trust > -10) { + if (eventSlave.devotion >= -20 || eventSlave.trust < -20) { + State.variables.RESSevent.push("language lesson"); + } } } } } } } - } - if(eventSlave.energy > 40) { - if(canSee(eventSlave)) { - if(eventSlave.trust >= -50) { - if(eventSlave.devotion > 0) { - if(eventSlave.devotion <= 50) { - if(((eventSlave.attrXX >= 50) && (State.variables.PC.boobs == 1 || State.variables.PC.title == 0) && (State.variables.PC.belly < 5000)) - || ((eventSlave.attrXY >= 50) && (State.variables.PC.dick == 1) && (State.variables.PC.boobs == 0) && (State.variables.PC.belly < 1500)) - || (eventSlave.fetish == "pregnancy" && State.variables.PC.belly >= 5000) - || (eventSlave.fetish == "boobs" && State.variables.PC.belly < 5000 && State.variables.PC.boobsBonus > 0)) { - State.variables.RESSevent.push("hot PC"); + if (eventSlave.energy > 40) { + if (canSee(eventSlave)) { + if (eventSlave.trust >= -50) { + if (eventSlave.devotion > 0) { + if (eventSlave.devotion <= 50) { + if (((eventSlave.attrXX >= 50) && (State.variables.PC.boobs === 1 || State.variables.PC.title === 0) && (State.variables.PC.belly < 5000)) + || ((eventSlave.attrXY >= 50) && (State.variables.PC.dick === 1) && (State.variables.PC.boobs === 0) && (State.variables.PC.belly < 1500)) + || (eventSlave.fetish === "pregnancy" && State.variables.PC.belly >= 5000) + || (eventSlave.fetish === "boobs" && State.variables.PC.belly < 5000 && State.variables.PC.boobsBonus > 0)) { + State.variables.RESSevent.push("hot PC"); + } } } } } } - } - if(eventSlave.trust <= 20) { - if(eventSlave.trust >= -75) { - if(eventSlave.devotion <= 30) { - if(eventSlave.devotion >= -20) { - State.variables.RESSevent.push("like me"); + if (eventSlave.trust <= 20) { + if (eventSlave.trust >= -75) { + if (eventSlave.devotion <= 30) { + if (eventSlave.devotion >= -20) { + State.variables.RESSevent.push("like me"); + } } } } - } - if(eventSlave.boobs >= 2000) { - if(eventSlave.boobsImplant == 0) { - if(eventSlave.nipples != "tiny" && eventSlave.nipples != "fuckable") { - if(eventSlave.devotion > 20) { - State.variables.RESSevent.push("huge naturals"); + if (eventSlave.boobs >= 2000) { + if (eventSlave.boobsImplant === 0) { + if (eventSlave.nipples !== "tiny" && eventSlave.nipples !== "fuckable") { + if (eventSlave.devotion > 20) { + State.variables.RESSevent.push("huge naturals"); + } } } } - } - if(eventSlave.boobs > 800) { - if(Math.floor(eventSlave.boobsImplant/eventSlave.boobs) >= .60) { - if(eventSlave.devotion > 20) { - State.variables.RESSevent.push("implant inspection"); + if (eventSlave.boobs > 800) { + if (Math.floor(eventSlave.boobsImplant / eventSlave.boobs) >= .60) { + if (eventSlave.devotion > 20) { + State.variables.RESSevent.push("implant inspection"); + } } } - } - if(eventSlave.devotion < -20) { - if(eventSlave.trust >= -20) { - if(eventSlave.clothes == "uncomfortable straps") { - State.variables.RESSevent.push("bondage gear"); + if (eventSlave.devotion < -20) { + if (eventSlave.trust >= -20) { + if (eventSlave.clothes === "uncomfortable straps") { + State.variables.RESSevent.push("bondage gear"); + } } } - } - if(eventSlave.labia > 1 && eventSlave.vagina >= 0) { - if(eventSlave.muscles > 5 || eventSlave.diet == "muscle building") { - if(eventSlave.belly < 10000) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("inconvenient labia"); + if (eventSlave.labia > 1 && eventSlave.vagina >= 0) { + if (eventSlave.muscles > 5 || eventSlave.diet === "muscle building") { + if (eventSlave.belly < 10000) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("inconvenient labia"); + } } } } } - } - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.addict > 20) { - if(eventSlave.aphrodisiacs > 0 || eventSlave.inflationType == "aphrodisiac") { - State.variables.RESSevent.push("obedient addict"); + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.addict > 20) { + if (eventSlave.aphrodisiacs > 0 || eventSlave.inflationType === "aphrodisiac") { + State.variables.RESSevent.push("obedient addict"); + } } } - } - if(State.variables.seeExtreme == 1) { - if(eventSlave.devotion < -50) { - if(eventSlave.trust >= -50) { - if(eventSlave.assignment != "stay confined") { - if(eventSlave.heels != 1) { - State.variables.RESSevent.push("escapee"); + if (State.variables.seeExtreme === 1) { + if (eventSlave.devotion < -50) { + if (eventSlave.trust >= -50) { + if (eventSlave.assignment !== "stay confined") { + if (eventSlave.heels !== 1) { + State.variables.RESSevent.push("escapee"); + } } } } } - } - if(eventSlave.devotion <= 50) { - if(eventSlave.trust >= -50) { - if(eventSlave.behavioralFlaw == "gluttonous") { - if(eventSlave.diet == "restricted") { - State.variables.RESSevent.push("diet"); + if (eventSlave.devotion <= 50) { + if (eventSlave.trust >= -50) { + if (eventSlave.behavioralFlaw === "gluttonous") { + if (eventSlave.diet === "restricted") { + State.variables.RESSevent.push("diet"); + } } } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.devotion >= -50) { - State.variables.RESSevent.push("resistant shower"); + if (eventSlave.devotion <= 20) { + if (eventSlave.devotion >= -50) { + State.variables.RESSevent.push("resistant shower"); + } } - } - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust >= -20) { - if(eventSlave.energy > 75) { - if(eventSlave.fetish != "buttslut") { - if(eventSlave.vagina != 0 || eventSlave.anus != 0) { - State.variables.RESSevent.push("night visit"); + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.devotion >= -20) { + if (eventSlave.trust >= -20) { + if (eventSlave.energy > 75) { + if (eventSlave.fetish !== "buttslut") { + if (eventSlave.vagina !== 0 || eventSlave.anus !== 0) { + State.variables.RESSevent.push("night visit"); + } } } } } } - } - if (eventSlave.releaseRules == "restrictive" || eventSlave.releaseRules == "chastity") { - if(eventSlave.need) { - if(eventSlave.devotion <= 95) { - if(eventSlave.trust >= -20) { - if((eventSlave.dickAccessory != "chastity" && eventSlave.dickAccessory != "combined chastity") || (eventSlave.dick == 0)) { - State.variables.RESSevent.push("forbidden masturbation"); + if (eventSlave.releaseRules === "restrictive" || eventSlave.releaseRules === "chastity") { + if (eventSlave.need) { + if (eventSlave.devotion <= 95) { + if (eventSlave.trust >= -20) { + if ((eventSlave.dickAccessory !== "chastity" && eventSlave.dickAccessory !== "combined chastity") || (eventSlave.dick === 0)) { + State.variables.RESSevent.push("forbidden masturbation"); + } } } - } - if(eventSlave.devotion >= -20) { - if(eventSlave.trust >= -50) { - State.variables.RESSevent.push("desperately horny"); + if (eventSlave.devotion >= -20) { + if (eventSlave.trust >= -50) { + State.variables.RESSevent.push("desperately horny"); + } } } } - } - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - if(canPenetrate(eventSlave)) { - State.variables.RESSevent.push("slave dick on slave"); + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + if (canPenetrate(eventSlave)) { + State.variables.RESSevent.push("slave dick on slave"); + } } - } - if(eventSlave.muscles > 30) { - if(eventSlave.weight <= 10) { - if(eventSlave.anus != 0 || State.variables.PC.dick == 0) { - if(eventSlave.vagina != 0 || State.variables.PC.dick == 0) { - State.variables.RESSevent.push("muscles"); + if (eventSlave.muscles > 30) { + if (eventSlave.weight <= 10) { + if (eventSlave.anus !== 0 || State.variables.PC.dick === 0) { + if (eventSlave.vagina !== 0 || State.variables.PC.dick === 0) { + State.variables.RESSevent.push("muscles"); + } } } } - } - if(eventSlave.devotion >= -20) { - if(eventSlave.lactation > 1) { - if(canDoVaginal(eventSlave) || canDoAnal(eventSlave)) { - State.variables.RESSevent.push("milkgasm"); + if (eventSlave.devotion >= -20) { + if (eventSlave.lactation > 1) { + if (canDoVaginal(eventSlave) || canDoAnal(eventSlave)) { + State.variables.RESSevent.push("milkgasm"); + } } } - } - if(eventSlave.waist < -95) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - if(eventSlave.belly < 30000) { - if(eventSlave.weight <= 95) { - State.variables.RESSevent.push("devoted waist"); + if (eventSlave.waist < -95) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + if (eventSlave.belly < 30000) { + if (eventSlave.weight <= 95) { + State.variables.RESSevent.push("devoted waist"); + } } } } } - } - if(eventSlave.entertainSkill >= 100) { - if(eventSlave.trust > 50) { - if(["serve the public", "serve in the club"].includes(eventSlave.assignment)) { - State.variables.RESSevent.push("masterful entertainer"); + if (eventSlave.entertainSkill >= 100) { + if (eventSlave.trust > 50) { + if (["serve the public", "serve in the club"].includes(eventSlave.assignment)) { + State.variables.RESSevent.push("masterful entertainer"); + } } } - } - if(eventSlave.whoreSkill >= 100) { - if(eventSlave.trust > 50) { - if(["whore", "work in the brothel"].includes(eventSlave.assignment)) { - State.variables.RESSevent.push("masterful whore"); + if (eventSlave.whoreSkill >= 100) { + if (eventSlave.trust > 50) { + if (["whore", "work in the brothel"].includes(eventSlave.assignment)) { + State.variables.RESSevent.push("masterful whore"); + } } } - } - if(eventSlave.dick > 0) { - if(eventSlave.balls == 0) { - if(eventSlave.ovaries == 0) { - if(eventSlave.devotion <= 50) { - if(eventSlave.trust < -50) { - if(eventSlave.anus > 0) { - if(canDoAnal(eventSlave)) { - State.variables.RESSevent.push("resistant gelding"); + if (eventSlave.dick > 0) { + if (eventSlave.balls === 0) { + if (eventSlave.ovaries === 0) { + if (eventSlave.devotion <= 50) { + if (eventSlave.trust < -50) { + if (eventSlave.anus > 0) { + if (canDoAnal(eventSlave)) { + State.variables.RESSevent.push("resistant gelding"); + } } } } } } } - } - if(State.variables.seePreg != 0) { - if(isFertile(eventSlave)) { - if(eventSlave.devotion > 50) { - if(State.variables.PC.dick != 0) { - if(eventSlave.fetish == "pregnancy" || eventSlave.energy > 95) { - if(eventSlave.eggType == "human") { - if(eventSlave.fetishKnown == 1) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus > 0) { - State.variables.RESSevent.push("impregnation please"); + if (State.variables.seePreg !== 0) { + if (isFertile(eventSlave)) { + if (eventSlave.devotion > 50) { + if (State.variables.PC.dick !== 0) { + if (eventSlave.fetish === "pregnancy" || eventSlave.energy > 95) { + if (eventSlave.eggType === "human") { + if (eventSlave.fetishKnown === 1) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus > 0) { + State.variables.RESSevent.push("impregnation please"); + } } } } @@ -1282,120 +1283,120 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(["large plug", "long, large plug", "huge plug", "long, huge plug"].includes(eventSlave.buttplug)) { - if(eventSlave.assignment != "stay confined" && isSlaveAvailable(eventSlave)) { - if(eventSlave.devotion <= 20) { - if(eventSlave.trust >= -50) { - if(eventSlave.anus < 3) { - State.variables.RESSevent.push("plug disobedience"); + if (["large plug", "long, large plug", "huge plug", "long, huge plug"].includes(eventSlave.buttplug)) { + if (eventSlave.assignment !== "stay confined" && isSlaveAvailable(eventSlave)) { + if (eventSlave.devotion <= 20) { + if (eventSlave.trust >= -50) { + if (eventSlave.anus < 3) { + State.variables.RESSevent.push("plug disobedience"); + } } } } } - } - if(["whore", "serve the public", "work in the brothel", "serve in the club"].includes(eventSlave.assignment)) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus != 0) { - if(canDoAnal(eventSlave)) { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("used whore"); + if (["whore", "serve the public", "work in the brothel", "serve in the club"].includes(eventSlave.assignment)) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus !== 0) { + if (canDoAnal(eventSlave)) { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("used whore"); + } } } } } - } - if(eventSlave.assignment == "serve the public") { - if(eventSlave.devotion >= -20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("nice guys"); + if (eventSlave.assignment === "serve the public") { + if (eventSlave.devotion >= -20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("nice guys"); + } } } - } - if(eventSlave.assignment == "please you") { - if(eventSlave.devotion > 20) { - State.variables.RESSevent.push("lazy evening"); + if (eventSlave.assignment === "please you") { + if (eventSlave.devotion > 20) { + State.variables.RESSevent.push("lazy evening"); + } } - } - if(eventSlave.height < (Height.mean(eventSlave)*0.95)) { - if(eventSlave.physicalAge > 12) { - if(canDoAnal(eventSlave)) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust <= 95) { - State.variables.RESSevent.push("devoted shortstack"); + if (eventSlave.height < (Height.mean(eventSlave) * 0.95)) { + if (eventSlave.physicalAge > 12) { + if (canDoAnal(eventSlave)) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust <= 95) { + State.variables.RESSevent.push("devoted shortstack"); + } } } } } - } - } /* closes amp/crawling exempt */ + } /* closes amp/crawling exempt */ - if(canTalk(eventSlave)) { + if (canTalk(eventSlave)) { - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.boobsImplant > 400) { - if(eventSlave.lipsImplant >= 30) { - if(eventSlave.buttImplant > 3) { - if(eventSlave.boobs < 9000 || eventSlave.butt < 8) { - State.variables.RESSevent.push("surgery addict"); + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.boobsImplant > 400) { + if (eventSlave.lipsImplant >= 30) { + if (eventSlave.buttImplant > 3) { + if (eventSlave.boobs < 9000 || eventSlave.butt < 8) { + State.variables.RESSevent.push("surgery addict"); + } } } } } - } - if(eventSlave.assignment == "please you") { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(!["chastity", "combined chastity"].includes(eventSlave.dickAccessory) || eventSlave.dick == 0) { - if(State.variables.corpIncorporated != 0) { - State.variables.RESSevent.push("shift sleep"); - } - if(canWalk(eventSlave)) { - if(eventSlave.releaseRules == "permissive" || eventSlave.releaseRules == "masturbation") { - State.variables.RESSevent.push("shift masturbation"); + if (eventSlave.assignment === "please you") { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (!["chastity", "combined chastity"].includes(eventSlave.dickAccessory) || eventSlave.dick === 0) { + if (State.variables.corpIncorporated !== 0) { + State.variables.RESSevent.push("shift sleep"); + } + if (canWalk(eventSlave)) { + if (eventSlave.releaseRules === "permissive" || eventSlave.releaseRules === "masturbation") { + State.variables.RESSevent.push("shift masturbation"); + } + } + if (eventSlave.entertainSkill >= 60) { + State.variables.RESSevent.push("shift doorframe"); } } - if(eventSlave.entertainSkill >= 60) { - State.variables.RESSevent.push("shift doorframe"); - } - } - if(canDoVaginal(eventSlave)) { - if(State.variables.PC.vagina == 1) { - if(eventSlave.dick == 0) { - if(State.variables.fuckSlaves > 2) { - State.variables.RESSevent.push("fucktoy tribbing"); + if (canDoVaginal(eventSlave)) { + if (State.variables.PC.vagina === 1) { + if (eventSlave.dick === 0) { + if (State.variables.fuckSlaves > 2) { + State.variables.RESSevent.push("fucktoy tribbing"); + } } } } } } } - } - } else if(["serve in the master suite", "be your Concubine"].includes(eventSlave.assignment)) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if((!["chastity", "combined chastity"].includes(eventSlave.dickAccessory)) || (eventSlave.dick == 0)) { - if(State.variables.corpIncorporated != 0) { - State.variables.RESSevent.push("shift sleep"); - } - if(eventSlave.entertainSkill >= 60) { - State.variables.RESSevent.push("shift doorframe"); + } else if (["serve in the master suite", "be your Concubine"].includes(eventSlave.assignment)) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if ((!["chastity", "combined chastity"].includes(eventSlave.dickAccessory)) || (eventSlave.dick === 0)) { + if (State.variables.corpIncorporated !== 0) { + State.variables.RESSevent.push("shift sleep"); + } + if (eventSlave.entertainSkill >= 60) { + State.variables.RESSevent.push("shift doorframe"); + } } - } - if(canDoVaginal(eventSlave)) { - if(State.variables.PC.vagina == 1) { - if(eventSlave.dick == 0) { - if(State.variables.fuckSlaves > 2) { - State.variables.RESSevent.push("fucktoy tribbing"); + if (canDoVaginal(eventSlave)) { + if (State.variables.PC.vagina === 1) { + if (eventSlave.dick === 0) { + if (State.variables.fuckSlaves > 2) { + State.variables.RESSevent.push("fucktoy tribbing"); + } } } } @@ -1403,572 +1404,572 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.oralCount+eventSlave.vaginalCount+eventSlave.analCount > 900) { - if(eventSlave.oralCount+eventSlave.vaginalCount+eventSlave.analCount < 1100) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus > 0) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("millenary"); + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.oralCount + eventSlave.vaginalCount + eventSlave.analCount > 900) { + if (eventSlave.oralCount + eventSlave.vaginalCount + eventSlave.analCount < 1100) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus > 0) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("millenary"); + } } } } } } - } - if(eventSlave.assignment == "stay confined") { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("solitary desperation"); + if (eventSlave.assignment === "stay confined") { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("solitary desperation"); + } } - } - if(eventSlave.speechRules == "restrictive") { - if(eventSlave.devotion > 60) { - if(eventSlave.trust >= -20) { - State.variables.RESSevent.push("restricted profession"); + if (eventSlave.speechRules === "restrictive") { + if (eventSlave.devotion > 60) { + if (eventSlave.trust >= -20) { + State.variables.RESSevent.push("restricted profession"); + } } } - } - if(eventSlave.speechRules == "restrictive") { - if(eventSlave.intelligence > 15) { - if(eventSlave.trust >= -20) { - if(eventSlave.devotion <= 20) { - State.variables.RESSevent.push("restricted smart"); + if (eventSlave.speechRules === "restrictive") { + if (eventSlave.intelligence > 15) { + if (eventSlave.trust >= -20) { + if (eventSlave.devotion <= 20) { + State.variables.RESSevent.push("restricted smart"); + } } } } - } - if(State.variables.expansionRequestsAllowed > 0) { - if(eventSlave.drugs == "no drugs") { - if(eventSlave.speechRules == "permissive") { - if(eventSlave.health > 20) { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust > 20) { - if(State.variables.arcologies[0].FSSlimnessEnthusiast == "unset") { - State.variables.RESSevent.push("injections please"); + if (State.variables.expansionRequestsAllowed > 0) { + if (eventSlave.drugs === "no drugs") { + if (eventSlave.speechRules === "permissive") { + if (eventSlave.health > 20) { + if (eventSlave.devotion >= -20) { + if (eventSlave.trust > 20) { + if (State.variables.arcologies[0].FSSlimnessEnthusiast === "unset") { + State.variables.RESSevent.push("injections please"); + } } } } } } } - } - if(eventSlave.assignment == "serve the public") { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("serve the public devoted"); + if (eventSlave.assignment === "serve the public") { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("serve the public devoted"); + } } } - } - if(eventSlave.behavioralFlaw == "bitchy") { - if(canSee(eventSlave)) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - State.variables.RESSevent.push("obedient bitchy"); + if (eventSlave.behavioralFlaw === "bitchy") { + if (canSee(eventSlave)) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + State.variables.RESSevent.push("obedient bitchy"); + } } } } - } - } /* closes mute exempt */ + } /* closes mute exempt */ - if(State.variables.cockFeeder == 0) { - if(eventSlave.intelligence+eventSlave.intelligenceImplant < -50) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20 || eventSlave.trust < -20) { - State.variables.RESSevent.push("obedient idiot"); + if (State.variables.cockFeeder === 0) { + if (eventSlave.intelligence + eventSlave.intelligenceImplant < -50) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20 || eventSlave.trust < -20) { + State.variables.RESSevent.push("obedient idiot"); + } } } } - } - if(eventSlave.boobs > 25000) { - if(eventSlave.belly < 100000) { - State.variables.RESSevent.push("tittymonster inspection"); + if (eventSlave.boobs > 25000) { + if (eventSlave.belly < 100000) { + State.variables.RESSevent.push("tittymonster inspection"); + } } - } - if(State.variables.assistant > 1) { - if(eventSlave.fetishKnown == 1) { - if(eventSlave.energy > 95) { - if(eventSlave.devotion > 20) { - if(eventSlave.releaseRules == "permissive" || eventSlave.releaseRules == "masturbation") { - State.variables.RESSevent.push("nympho with assistant"); + if (State.variables.assistant > 1) { + if (eventSlave.fetishKnown === 1) { + if (eventSlave.energy > 95) { + if (eventSlave.devotion > 20) { + if (eventSlave.releaseRules === "permissive" || eventSlave.releaseRules === "masturbation") { + State.variables.RESSevent.push("nympho with assistant"); + } } } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - if(eventSlave.assignment == "please you" || eventSlave.assignment == "serve in the master suite" || eventSlave.assignment == "be your Concubine") { - State.variables.RESSevent.push("bed snuggle"); + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + if (eventSlave.assignment === "please you" || eventSlave.assignment === "serve in the master suite" || eventSlave.assignment === "be your Concubine") { + State.variables.RESSevent.push("bed snuggle"); + } } } - } - if(eventSlave.minorInjury == "sore ass") { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("sore ass"); + if (eventSlave.minorInjury === "sore ass") { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("sore ass"); + } } - } - if(eventSlave.sexualFlaw == "hates oral") { - if(State.variables.PC.dick != 0) { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("hates oral"); + if (eventSlave.sexualFlaw === "hates oral") { + if (State.variables.PC.dick !== 0) { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("hates oral"); + } } } - } - if(eventSlave.vagina == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 20) { - if(eventSlave.speechRules != "restrictive") { - State.variables.RESSevent.push("devoted virgin"); + if (eventSlave.vagina === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 20) { + if (eventSlave.speechRules !== "restrictive") { + State.variables.RESSevent.push("devoted virgin"); + } } } } - } - if(eventSlave.anus == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 20) { - if(eventSlave.speechRules != "restrictive") { - State.variables.RESSevent.push("devoted anal virgin"); + if (eventSlave.anus === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 20) { + if (eventSlave.speechRules !== "restrictive") { + State.variables.RESSevent.push("devoted anal virgin"); + } } } } - } - if(State.variables.seeExtreme == 1) { - if(eventSlave.balls > 1) { - if(eventSlave.scrotum > 0) { - if(eventSlave.devotion <= 20) { - if(eventSlave.trust <= 20) { - if(eventSlave.speechRules != "restrictive") { - State.variables.RESSevent.push("fearful balls"); + if (State.variables.seeExtreme === 1) { + if (eventSlave.balls > 1) { + if (eventSlave.scrotum > 0) { + if (eventSlave.devotion <= 20) { + if (eventSlave.trust <= 20) { + if (eventSlave.speechRules !== "restrictive") { + State.variables.RESSevent.push("fearful balls"); + } } } } } } - } - if(eventSlave.devotion <= 50) { - if(eventSlave.assignment == "work as a servant" || eventSlave.assignment == "be a servant") { - State.variables.RESSevent.push("scrubbing"); + if (eventSlave.devotion <= 50) { + if (eventSlave.assignment === "work as a servant" || eventSlave.assignment === "be a servant") { + State.variables.RESSevent.push("scrubbing"); + } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.assignment == "work as a servant" || eventSlave.assignment == "be a servant") { - if(eventSlave.clothes == "a slutty maid outfit" || eventSlave.clothes == "a nice maid outfit") { - State.variables.RESSevent.push("servant maid"); + if (eventSlave.devotion <= 20) { + if (eventSlave.assignment === "work as a servant" || eventSlave.assignment === "be a servant") { + if (eventSlave.clothes === "a slutty maid outfit" || eventSlave.clothes === "a nice maid outfit") { + State.variables.RESSevent.push("servant maid"); + } } } - } - if(eventSlave.speechRules != "restrictive") { - if(canDoVaginal(eventSlave)) { - if(eventSlave.fetish != "buttslut") { - if(eventSlave.vagina == 0) { - if(eventSlave.anus != 0) { - if(eventSlave.oralCount+eventSlave.vaginalCount+eventSlave.analCount > 100) { - State.variables.RESSevent.push("unhappy virgin"); + if (eventSlave.speechRules !== "restrictive") { + if (canDoVaginal(eventSlave)) { + if (eventSlave.fetish !== "buttslut") { + if (eventSlave.vagina === 0) { + if (eventSlave.anus !== 0) { + if (eventSlave.oralCount + eventSlave.vaginalCount + eventSlave.analCount > 100) { + State.variables.RESSevent.push("unhappy virgin"); + } } } } } } - } - if(eventSlave.aphrodisiacs > 1 || eventSlave.inflationType == "aphrodisiac") { - if(eventSlave.speechRules == "restrictive" && eventSlave.releaseRules !== "permissive") { - if(eventSlave.amp != 1) { - State.variables.RESSevent.push("extreme aphrodisiacs"); + if (eventSlave.aphrodisiacs > 1 || eventSlave.inflationType === "aphrodisiac") { + if (eventSlave.speechRules === "restrictive" && eventSlave.releaseRules !== "permissive") { + if (eventSlave.amp !== 1) { + State.variables.RESSevent.push("extreme aphrodisiacs"); + } } } - } - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - if(eventSlave.clit > 2) { - State.variables.RESSevent.push("slave clit on slave"); + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + if (eventSlave.clit > 2) { + State.variables.RESSevent.push("slave clit on slave"); + } } - } - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "chastity") { - if(eventSlave.dick > 4) { - if(eventSlave.amp != 1){ - if(canAchieveErection(eventSlave)) { - if(eventSlave.belly < 10000) { - if(eventSlave.dickAccessory != "chastity" && eventSlave.dickAccessory != "combined chastity") { - State.variables.RESSevent.push("slave dick huge"); + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "chastity") { + if (eventSlave.dick > 4) { + if (eventSlave.amp !== 1) { + if (canAchieveErection(eventSlave)) { + if (eventSlave.belly < 10000) { + if (eventSlave.dickAccessory !== "chastity" && eventSlave.dickAccessory !== "combined chastity") { + State.variables.RESSevent.push("slave dick huge"); + } } } } } } - } - if(eventSlave.heels == 1) { - if(eventSlave.shoes == "heels" || eventSlave.shoes == "extreme heels") { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("heels"); + if (eventSlave.heels === 1) { + if (eventSlave.shoes === "heels" || eventSlave.shoes === "extreme heels") { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("heels"); + } } } - } - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "chastity") { - if(eventSlave.belly < 300000) { - if(eventSlave.anus > 2) { - if(eventSlave.fetish == "buttslut" || eventSlave.energy > 95) { - if(eventSlave.fetish != "none") { - if(canDoAnal(eventSlave)) { - State.variables.RESSevent.push("loose buttslut"); + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "chastity") { + if (eventSlave.belly < 300000) { + if (eventSlave.anus > 2) { + if (eventSlave.fetish === "buttslut" || eventSlave.energy > 95) { + if (eventSlave.fetish !== "none") { + if (canDoAnal(eventSlave)) { + State.variables.RESSevent.push("loose buttslut"); + } } } } } } - } - if(eventSlave.assignment == "whore") { - if(canDoAnal(eventSlave) && (eventSlave.vagina < 0 || canDoVaginal(eventSlave))) { - if(eventSlave.devotion < -20 && eventSlave.trust >= -20) { - State.variables.RESSevent.push("whore rebellious"); + if (eventSlave.assignment === "whore") { + if (canDoAnal(eventSlave) && (eventSlave.vagina < 0 || canDoVaginal(eventSlave))) { + if (eventSlave.devotion < -20 && eventSlave.trust >= -20) { + State.variables.RESSevent.push("whore rebellious"); + } } } - } - if(eventSlave.amp == 1) { - if(eventSlave.devotion > 20) { - if(eventSlave.anus > 0 && canDoAnal(eventSlave)) { - State.variables.RESSevent.push("devoted amp"); + if (eventSlave.amp === 1) { + if (eventSlave.devotion > 20) { + if (eventSlave.anus > 0 && canDoAnal(eventSlave)) { + State.variables.RESSevent.push("devoted amp"); + } + } + if (eventSlave.assignment === "rest") { + State.variables.RESSevent.push("resting amp"); } } - if(eventSlave.assignment == "rest") { - State.variables.RESSevent.push("resting amp"); - } - } - if(eventSlave.boobs < 500) { - if(eventSlave.butt < 3) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion > 20 && eventSlave.trust >= -20) { - if(eventSlave.weight <= 10) { - if(eventSlave.muscles <= 30) { - State.variables.RESSevent.push("obedient girlish"); + if (eventSlave.boobs < 500) { + if (eventSlave.butt < 3) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion > 20 && eventSlave.trust >= -20) { + if (eventSlave.weight <= 10) { + if (eventSlave.muscles <= 30) { + State.variables.RESSevent.push("obedient girlish"); + } } } } } } } - } - if(eventSlave.boobs > 1200) { - if(eventSlave.areolaeShape != "circle") { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("shaped areolae"); + if (eventSlave.boobs > 1200) { + if (eventSlave.areolaeShape !== "circle") { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("shaped areolae"); + } } } - } - if(eventSlave.behavioralFlaw == "arrogant") { - if(eventSlave.devotion < -50) { - if(eventSlave.trust >= -50) { - State.variables.RESSevent.push("rebellious arrogant"); + if (eventSlave.behavioralFlaw === "arrogant") { + if (eventSlave.devotion < -50) { + if (eventSlave.trust >= -50) { + State.variables.RESSevent.push("rebellious arrogant"); + } } } - } - if(State.variables.seePreg != 0) { - if(eventSlave.bellyPreg >= 10000) { - State.variables.RESSevent.push("hugely pregnant"); + if (State.variables.seePreg !== 0) { + if (eventSlave.bellyPreg >= 10000) { + State.variables.RESSevent.push("hugely pregnant"); + } } - } - if(eventSlave.hormoneBalance >= 50) { - if(eventSlave.vagina == -1) { - if(eventSlave.balls >= 0) { - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.devotion <= 50) { - if(eventSlave.fetish != "buttslut") { - if(eventSlave.speechRules == "permissive") { - State.variables.RESSevent.push("hormone dysfunction"); + if (eventSlave.hormoneBalance >= 50) { + if (eventSlave.vagina === -1) { + if (eventSlave.balls >= 0) { + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.devotion <= 50) { + if (eventSlave.fetish !== "buttslut") { + if (eventSlave.speechRules === "permissive") { + State.variables.RESSevent.push("hormone dysfunction"); + } } } } } } } - } - if(eventSlave.vaginaPiercing > 1) { - if(eventSlave.nipplesPiercing > 1) { - if(eventSlave.clitPiercing > 1) { - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.devotion <= 50) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("heavy piercing"); + if (eventSlave.vaginaPiercing > 1) { + if (eventSlave.nipplesPiercing > 1) { + if (eventSlave.clitPiercing > 1) { + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.devotion <= 50) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("heavy piercing"); + } } } } } } - } - if(eventSlave.fetishKnown == 1) { - if(eventSlave.fetish == "cumslut" || eventSlave.energy > 95) { - if(["whore", "serve the public", "work in the brothel", "serve in the club", "work a glory hole"].includes(eventSlave.assignment)) { - if(eventSlave.devotion > 20) { - if(State.variables.PC.dick != 0) { - State.variables.RESSevent.push("cumslut whore"); + if (eventSlave.fetishKnown === 1) { + if (eventSlave.fetish === "cumslut" || eventSlave.energy > 95) { + if (["whore", "serve the public", "work in the brothel", "serve in the club", "work a glory hole"].includes(eventSlave.assignment)) { + if (eventSlave.devotion > 20) { + if (State.variables.PC.dick !== 0) { + State.variables.RESSevent.push("cumslut whore"); + } } } } } - } - if(eventSlave.anus == 0) { - if(eventSlave.devotion < -20) { - if(eventSlave.trust >= -20) { - State.variables.RESSevent.push("resistant anal virgin"); + if (eventSlave.anus === 0) { + if (eventSlave.devotion < -20) { + if (eventSlave.trust >= -20) { + State.variables.RESSevent.push("resistant anal virgin"); + } } } - } - if(eventSlave.relationship == 4) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.events.push("RE slave marriage"); + if (eventSlave.relationship === 4) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.events.push("RE slave marriage"); + } } } - } - if(State.variables.PC.dick != 0) { - if (eventSlave.bellyPreg >= 300000) { - State.variables.RESSevent.push("hyperpreg stuck"); + if (State.variables.PC.dick !== 0) { + if (eventSlave.bellyPreg >= 300000) { + State.variables.RESSevent.push("hyperpreg stuck"); + } } - } - if(eventSlave.devotion >= 50) { - if(eventSlave.trust <= 20) { - if(canWalk(eventSlave)) { - State.variables.RESSevent.push("devoted fearful slave"); + if (eventSlave.devotion >= 50) { + if (eventSlave.trust <= 20) { + if (canWalk(eventSlave)) { + State.variables.RESSevent.push("devoted fearful slave"); + } } } - } - if(eventSlave.prestige == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { + if (eventSlave.prestige === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { - if(eventSlave.entertainSkill >= 100) { - if(eventSlave.assignment == "serve the public") { - State.variables.events.push("RE legendary entertainer"); + if (eventSlave.entertainSkill >= 100) { + if (eventSlave.assignment === "serve the public") { + State.variables.events.push("RE legendary entertainer"); + } } - } - if(eventSlave.whoreSkill >= 100) { - if(eventSlave.assignment == "whore") { - State.variables.events.push("RE legendary whore"); + if (eventSlave.whoreSkill >= 100) { + if (eventSlave.assignment === "whore") { + State.variables.events.push("RE legendary whore"); + } } - } - if(eventSlave.lactation > 0) { - if((eventSlave.boobs-eventSlave.boobsImplant) > 6000) { - if(eventSlave.assignment == "get milked") { - State.variables.events.push("RE legendary cow"); + if (eventSlave.lactation > 0) { + if ((eventSlave.boobs - eventSlave.boobsImplant) > 6000) { + if (eventSlave.assignment === "get milked") { + State.variables.events.push("RE legendary cow"); + } } } - } - if(eventSlave.bellyPreg >= 14000) { - if(eventSlave.broodmother == 0) { - if(eventSlave.births > 10) { - if(eventSlave.assignment == "whore" || eventSlave.assignment == "serve the public") { - if(eventSlave.amp != 1) { - State.variables.events.push("RE legendary womb"); + if (eventSlave.bellyPreg >= 14000) { + if (eventSlave.broodmother === 0) { + if (eventSlave.births > 10) { + if (eventSlave.assignment === "whore" || eventSlave.assignment === "serve the public") { + if (eventSlave.amp !== 1) { + State.variables.events.push("RE legendary womb"); + } } } } } - } - if(eventSlave.balls > 6) { - if(eventSlave.dick > 6) { - if(eventSlave.assignment == "work in the dairy" || eventSlave.assignment == "get milked") { - State.variables.events.push("RE legendary balls"); + if (eventSlave.balls > 6) { + if (eventSlave.dick > 6) { + if (eventSlave.assignment === "work in the dairy" || eventSlave.assignment === "get milked") { + State.variables.events.push("RE legendary balls"); + } } } - } - if(eventSlave.origin == "You sentenced her to enslavement as a punishment for attempted theft of a slave." || eventSlave.origin == "She is an enslaved Daughter of Liberty.") { - if(eventSlave.devotion > 95 && eventSlave.assignment == "please you") { - State.variables.events.push("RE former abolitionist"); + if (eventSlave.origin === "You sentenced her to enslavement as a punishment for attempted theft of a slave." || eventSlave.origin === "She is an enslaved Daughter of Liberty.") { + if (eventSlave.devotion > 95 && eventSlave.assignment === "please you") { + State.variables.events.push("RE former abolitionist"); + } } - } + } } } - } - /* NICKNAME EVENTS */ + /* NICKNAME EVENTS */ - if(State.variables.nicknamesAllowed == 1) { - var toSearch = eventSlave.slaveName.toLowerCase(); - if(toSearch.indexOf("'") == -1) { - if(State.variables.week-eventSlave.weekAcquired >= 4) { - State.variables.events.push("RE nickname"); - State.variables.seed = 0; - } - } /* closes nickname check */ - } /* closes no nicknames option */ + if (State.variables.nicknamesAllowed === 1) { + var toSearch = eventSlave.slaveName.toLowerCase(); + if (toSearch.indexOf("'") === -1) { + if (State.variables.week - eventSlave.weekAcquired >= 4) { + State.variables.events.push("RE nickname"); + State.variables.seed = 0; + } + } /* closes nickname check */ + } /* closes no nicknames option */ -} /* closes mindbreak exempt */ + } /* closes mindbreak exempt */ -if(eventSlave.fetish == "mindbroken") { - if(canWalk(eventSlave)) { - State.variables.RESSevent.push("mindbroken morning"); - } - if(eventSlave.kindness != undefined && eventSlave.kindness >= 100) { - if((isSlaveAvailable(eventSlave) && canWalk(eventSlave)) || (["please you", "serve in the master suite", "be your Concubine"].includes(eventSlave.assignment))) { - if(eventSlave.relationship == -3) { - if(jsRandom(1,200) < eventSlave.kindness) { - State.variables.RESSevent.push("surprising wakeup"); + if (eventSlave.fetish === "mindbroken") { + if (canWalk(eventSlave)) { + State.variables.RESSevent.push("mindbroken morning"); + } + if (eventSlave.kindness !== undefined && eventSlave.kindness >= 100) { + if ((isSlaveAvailable(eventSlave) && canWalk(eventSlave)) || (["please you", "serve in the master suite", "be your Concubine"].includes(eventSlave.assignment))) { + if (eventSlave.relationship === -3) { + if (jsRandom(1, 200) < eventSlave.kindness) { + State.variables.RESSevent.push("surprising wakeup"); + } } } } - } - if(eventSlave.career == "a breeding bull" && eventSlave.assignment == "serve in the master suite" && canPenetrate(eventSlave) && eventSlave.dick >= 5 && eventSlave.amp != 1 && State.variables.PC.vagina == 1 && State.variables.PC.preg == 0 && (eventSlave.muscles > 30 || eventSlave.weight > 30)) { - State.variables.RESSevent.push("breeding bull"); - if(State.variables.PC.fertDrugs > 0) { - State.variables.RESSevent.push("breeding bull"); - State.variables.RESSevent.push("breeding bull"); - } - if(State.variables.PC.forcedFertDrugs > 0) { - State.variables.RESSevent.push("breeding bull"); + if (eventSlave.career === "a breeding bull" && eventSlave.assignment === "serve in the master suite" && canPenetrate(eventSlave) && eventSlave.dick >= 5 && eventSlave.amp !== 1 && State.variables.PC.vagina === 1 && State.variables.PC.preg === 0 && (eventSlave.muscles > 30 || eventSlave.weight > 30)) { State.variables.RESSevent.push("breeding bull"); + if (State.variables.PC.fertDrugs > 0) { + State.variables.RESSevent.push("breeding bull"); + State.variables.RESSevent.push("breeding bull"); + } + if (State.variables.PC.forcedFertDrugs > 0) { + State.variables.RESSevent.push("breeding bull"); + State.variables.RESSevent.push("breeding bull"); + } } } -} -} +}; /* servants spend a lot of time in the penthouse, so should be eligible for a number (but not all) random events */ -window.generateRandomEventPoolServant = function(eventSlave) { +window.generateRandomEventPoolServant = function (eventSlave) { -/* STANDARD EVENTS */ + /* STANDARD EVENTS */ -if(eventSlave.fetish != "mindbroken") { - if(canWalk(eventSlave)) { - if(canTalk(eventSlave)) { + if (eventSlave.fetish !== "mindbroken") { + if (canWalk(eventSlave)) { + if (canTalk(eventSlave)) { - if(State.variables.RECockmilkInterceptionIDs.length > 1 || (State.variables.RECockmilkInterceptionIDs.length == 1 && eventSlave.ID != State.variables.RECockmilkInterceptionIDs[0])){ - if(eventSlave.devotion > 20) { - if (eventSlave.dietCum > 0 || (eventSlave.fetishKnown && eventSlave.fetish == "cumslut")) { - State.variables.RETSevent.push("cockmilk interception"); + if (State.variables.RECockmilkInterceptionIDs.length > 1 || (State.variables.RECockmilkInterceptionIDs.length === 1 && eventSlave.ID !== State.variables.RECockmilkInterceptionIDs[0])) { + if (eventSlave.devotion > 20) { + if (eventSlave.dietCum > 0 || (eventSlave.fetishKnown && eventSlave.fetish === "cumslut")) { + State.variables.RETSevent.push("cockmilk interception"); + } } } - } - if(State.variables.REInterslaveBeggingIDs.length > 1 || (State.variables.REInterslaveBeggingIDs.length == 1 && eventSlave.ID != State.variables.REInterslaveBeggingIDs[0])) { - if(State.variables.universalRulesConsent == 1) { - if(eventSlave.devotion > 20) { - if(eventSlave.energy > 40) { - if(canPenetrate(eventSlave)) { - if(canSee(eventSlave)) { - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - State.variables.RETSevent.push("interslave begging"); + if (State.variables.REInterslaveBeggingIDs.length > 1 || (State.variables.REInterslaveBeggingIDs.length === 1 && eventSlave.ID !== State.variables.REInterslaveBeggingIDs[0])) { + if (State.variables.universalRulesConsent === 1) { + if (eventSlave.devotion > 20) { + if (eventSlave.energy > 40) { + if (canPenetrate(eventSlave)) { + if (canSee(eventSlave)) { + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + State.variables.RETSevent.push("interslave begging"); + } } } } } } } - } - if(State.variables.familyTesting == 0) { - if(eventSlave.devotion > 20) { - if(eventSlave.sexualQuirk == "perverted" || eventSlave.energy > 80) { - if(eventSlave.relation == "mother") { - if(eventSlave.belly < 100000) { - if(eventSlave.lactation) { - if(eventSlave.nipples != "fuckable") { - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - State.variables.RETSevent.push("incestuous nursing"); + if (State.variables.familyTesting === 0) { + if (eventSlave.devotion > 20) { + if (eventSlave.sexualQuirk === "perverted" || eventSlave.energy > 80) { + if (eventSlave.relation === "mother") { + if (eventSlave.belly < 100000) { + if (eventSlave.lactation) { + if (eventSlave.nipples !== "fuckable") { + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + State.variables.RETSevent.push("incestuous nursing"); + } } } } } } } + } else { + if (eventSlave.devotion > 20 && (eventSlave.sexualQuirk === "perverted" || eventSlave.energy > 80) && eventSlave.belly < 100000 && eventSlave.lactation > 0 && eventSlave.nipples !== "fuckable" && eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity" && eventSlave.daughters > 0) { + State.variables.RETSevent.push("incestuous nursing"); + } } - } else { - if (eventSlave.devotion > 20 && (eventSlave.sexualQuirk == "perverted" || eventSlave.energy > 80) && eventSlave.belly < 100000 && eventSlave.lactation > 0 && eventSlave.nipples != "fuckable" && eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity" && eventSlave.daughters > 0) { - State.variables.RETSevent.push("incestuous nursing"); - } - } - if(State.variables.assistant > 0) { - if(State.variables.assistantAppearance != "normal") { - if(eventSlave.devotion >= -20) { - if(eventSlave.devotion <= 50) { - if(["be a servant", "work as a servant"].includes(eventSlave.assignment)) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("PA servant"); + if (State.variables.assistant > 0) { + if (State.variables.assistantAppearance !== "normal") { + if (eventSlave.devotion >= -20) { + if (eventSlave.devotion <= 50) { + if (["be a servant", "work as a servant"].includes(eventSlave.assignment)) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("PA servant"); + } } } } } } - } - if(State.variables.HeadGirl != 0) { - if(eventSlave.devotion <= 50) { - if(eventSlave.anus != 0 && canDoAnal(eventSlave)) { - if(State.variables.HGSeverity >= 0) { - State.variables.events.push("RE anal punishment"); + if (State.variables.HeadGirl !== 0) { + if (eventSlave.devotion <= 50) { + if (eventSlave.anus !== 0 && canDoAnal(eventSlave)) { + if (State.variables.HGSeverity >= 0) { + State.variables.events.push("RE anal punishment"); + } + State.variables.events.push("RE shower punishment"); } - State.variables.events.push("RE shower punishment"); } } - } - if(State.variables.RETasteTestSubIDs.length > 1) { - if(eventSlave.livingRules == "luxurious") { - if(eventSlave.devotion > 20) { - if(eventSlave.energy > 80) { - State.variables.RETSevent.push("taste test"); + if (State.variables.RETasteTestSubIDs.length > 1) { + if (eventSlave.livingRules === "luxurious") { + if (eventSlave.devotion > 20) { + if (eventSlave.energy > 80) { + State.variables.RETSevent.push("taste test"); + } } } } - } - if(eventSlave.relationship > 3) { - var relationshipSlave = State.variables.slaves.find(function(s) { return s.ID == eventSlave.relationshipTarget; }); - if(relationshipSlave.devotion > 20) { - if(canWalk(relationshipSlave)) { - if(canTalk(relationshipSlave)) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - if(relationshipSlave.anus != 0) { - if(relationshipSlave.dick != 1) { - if(relationshipSlave.dick == 0 || canAchieveErection(relationshipSlave)) { - if(relationshipSlave.fetish == "dom" || relationshipSlave.fetish == "sadist") { - State.variables.RETSevent.push("top exhaustion"); + if (eventSlave.relationship > 3) { + var relationshipSlave = State.variables.slaves.find(function (s) { return s.ID === eventSlave.relationshipTarget; }); + if (relationshipSlave.devotion > 20) { + if (canWalk(relationshipSlave)) { + if (canTalk(relationshipSlave)) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + if (relationshipSlave.anus !== 0) { + if (relationshipSlave.dick !== 1) { + if (relationshipSlave.dick === 0 || canAchieveErection(relationshipSlave)) { + if (relationshipSlave.fetish === "dom" || relationshipSlave.fetish === "sadist") { + State.variables.RETSevent.push("top exhaustion"); + } } } } @@ -1978,254 +1979,254 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(State.variables.weatherToday.severity <= 1) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 20) { - if(eventSlave.anus != 0 && canDoAnal(eventSlave)) { - if(eventSlave.vagina != 0) { - State.variables.RESSevent.push("confident tanning"); + if (State.variables.weatherToday.severity <= 1) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 20) { + if (eventSlave.anus !== 0 && canDoAnal(eventSlave)) { + if (eventSlave.vagina !== 0) { + State.variables.RESSevent.push("confident tanning"); + } } } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - var giver = 0; - if(State.variables.HeadGirl == 0) { - giver = 1; - } else if(State.variables.HeadGirl.ID != eventSlave.ID) { - giver = 1; - } - if(giver == 1) { - State.variables.RESSevent.push("a gift"); + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + var giver = 0; + if (State.variables.HeadGirl === 0) { + giver = 1; + } else if (State.variables.HeadGirl.ID !== eventSlave.ID) { + giver = 1; + } + if (giver === 1) { + State.variables.RESSevent.push("a gift"); + } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.anus > 0) { - if(eventSlave.vagina != 0) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("devoted lotion"); + if (eventSlave.devotion > 50) { + if (eventSlave.anus > 0) { + if (eventSlave.vagina !== 0) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("devoted lotion"); + } } } } - } - if(eventSlave.assignment == "be a servant" || eventSlave.assignment == "work as a servant") { - if(eventSlave.devotion <= 95) { - if(eventSlave.intelligence+eventSlave.intelligenceImplant < -50) { - State.variables.RESSevent.push("cooler lockin"); + if (eventSlave.assignment === "be a servant" || eventSlave.assignment === "work as a servant") { + if (eventSlave.devotion <= 95) { + if (eventSlave.intelligence + eventSlave.intelligenceImplant < -50) { + State.variables.RESSevent.push("cooler lockin"); + } } } - } - if(State.variables.universalRulesConsent == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.fetish == "sadist" || eventSlave.fetish == "dom" || eventSlave.energy > 95) { - if(State.variables.REShowerForceSubIDs.length > 0) { - if(eventSlave.trust <= 75) { - State.variables.RETSevent.push("shower force"); + if (State.variables.universalRulesConsent === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.fetish === "sadist" || eventSlave.fetish === "dom" || eventSlave.energy > 95) { + if (State.variables.REShowerForceSubIDs.length > 0) { + if (eventSlave.trust <= 75) { + State.variables.RETSevent.push("shower force"); + } } - } - if(eventSlave.anus > 0) { - if(State.variables.RESadisticDescriptionSubIDs.length > 0) { - State.variables.RETSevent.push("sadistic description"); + if (eventSlave.anus > 0) { + if (State.variables.RESadisticDescriptionSubIDs.length > 0) { + State.variables.RETSevent.push("sadistic description"); + } } - } - if(State.variables.cockFeeder > 0) { - if(canPenetrate(eventSlave) || eventSlave.dick == 0) { - State.variables.RESSevent.push("kitchen molestation"); + if (State.variables.cockFeeder > 0) { + if (canPenetrate(eventSlave) || eventSlave.dick === 0) { + State.variables.RESSevent.push("kitchen molestation"); + } } } - } - if(State.variables.REIfYouEnjoyItSubIDs.length > 0) { - State.variables.RETSevent.push("if you enjoy it"); - } - if(State.variables.RESimpleAssaultIDs.length > 0) { - if(canPenetrate(eventSlave)) { - State.variables.RETSevent.push("simple assault"); + if (State.variables.REIfYouEnjoyItSubIDs.length > 0) { + State.variables.RETSevent.push("if you enjoy it"); + } + if (State.variables.RESimpleAssaultIDs.length > 0) { + if (canPenetrate(eventSlave)) { + State.variables.RETSevent.push("simple assault"); + } } } } - } - if(State.variables.boobAccessibility != 1 && State.variables.ballsAccessibility != 1 && State.variables.pregAccessibility != 1) { - if(eventSlave.boobs > 10000) { - if(eventSlave.devotion >= -20) { - if(State.variables.slaves.length > 2) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("huge tits"); + if (State.variables.boobAccessibility !== 1 && State.variables.ballsAccessibility !== 1 && State.variables.pregAccessibility !== 1) { + if (eventSlave.boobs > 10000) { + if (eventSlave.devotion >= -20) { + if (State.variables.slaves.length > 2) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("huge tits"); + } } } } } - } - if(State.variables.seeAge != 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.birthWeek >= 51) { - /* lets give this a much higher chance of appearing */ - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); - State.variables.RESSevent.push("birthday"); + if (State.variables.seeAge !== 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.birthWeek >= 51) { + /* lets give this a much higher chance of appearing */ + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + State.variables.RESSevent.push("birthday"); + } } } } - } - if(eventSlave.slaveName != eventSlave.birthName && eventSlave.birthName !== "") { - if(eventSlave.devotion <= 20) { - if(eventSlave.trust >= -20) { - if(eventSlave.anus > 0 && canDoAnal(eventSlave)) { - State.variables.RESSevent.push("not my name"); + if (eventSlave.slaveName !== eventSlave.birthName && eventSlave.birthName !== "") { + if (eventSlave.devotion <= 20) { + if (eventSlave.trust >= -20) { + if (eventSlave.anus > 0 && canDoAnal(eventSlave)) { + State.variables.RESSevent.push("not my name"); + } } } } - } - if(State.variables.slaves.length > 2) { - if(eventSlave.devotion >= -20) { - if(eventSlave.heels == 1) { - if(eventSlave.shoes == "heels" || eventSlave.shoes == "boots" || eventSlave.shoes == "extreme heels") { - State.variables.RESSevent.push("tendon fall"); + if (State.variables.slaves.length > 2) { + if (eventSlave.devotion >= -20) { + if (eventSlave.heels === 1) { + if (eventSlave.shoes === "heels" || eventSlave.shoes === "boots" || eventSlave.shoes === "extreme heels") { + State.variables.RESSevent.push("tendon fall"); + } } } } - } - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.devotion <= 50) { - if(eventSlave.vagina < 0) { - if(canDoAnal(eventSlave)) { - if(eventSlave.anus > 0) { - if(eventSlave.analSkill <= 30) { - State.variables.RESSevent.push("obedient shemale"); + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.devotion <= 50) { + if (eventSlave.vagina < 0) { + if (canDoAnal(eventSlave)) { + if (eventSlave.anus > 0) { + if (eventSlave.analSkill <= 30) { + State.variables.RESSevent.push("obedient shemale"); + } } } } } } - } - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 20) { - if(eventSlave.physicalAge > 37) { - if(eventSlave.anus > 0) { - if(eventSlave.vagina > 0) { - State.variables.RESSevent.push("devoted old"); + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 20) { + if (eventSlave.physicalAge > 37) { + if (eventSlave.anus > 0) { + if (eventSlave.vagina > 0) { + State.variables.RESSevent.push("devoted old"); + } } } } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(eventSlave.actualAge > 35) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(State.variables.PC.actualAge < 25) { - State.variables.RESSevent.push("young PC age difference"); + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (eventSlave.actualAge > 35) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (State.variables.PC.actualAge < 25) { + State.variables.RESSevent.push("young PC age difference"); + } } } } } - } - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(eventSlave.actualAge < 22) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(State.variables.PC.actualAge >= 50) { - State.variables.RESSevent.push("old PC age difference"); + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (eventSlave.actualAge < 22) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (State.variables.PC.actualAge >= 50) { + State.variables.RESSevent.push("old PC age difference"); + } } } } } - } - if(eventSlave.fetish == "humiliation" || eventSlave.energy > 95) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus != 0) { - if(eventSlave.fetishKnown == 1) { - State.variables.RESSevent.push("fearful humiliation"); + if (eventSlave.fetish === "humiliation" || eventSlave.energy > 95) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus !== 0) { + if (eventSlave.fetishKnown === 1) { + State.variables.RESSevent.push("fearful humiliation"); + } } } } } } } - } - if(eventSlave.livingRules == "luxurious") { - if(eventSlave.devotion <= 75) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("newly devoted sunrise"); + if (eventSlave.livingRules === "luxurious") { + if (eventSlave.devotion <= 75) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("newly devoted sunrise"); + } } } - } - if(State.variables.PC.dick == 1) { - if(State.variables.PC.belly < 5000) { - if(["be a servant", "work as a servant"].includes(eventSlave.assignment)) { - if(eventSlave.attrXY <= 35 || eventSlave.behavioralFlaw == "hates men" || eventSlave.sexualFlaw == "repressed") { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("frightening dick"); + if (State.variables.PC.dick === 1) { + if (State.variables.PC.belly < 5000) { + if (["be a servant", "work as a servant"].includes(eventSlave.assignment)) { + if (eventSlave.attrXY <= 35 || eventSlave.behavioralFlaw === "hates men" || eventSlave.sexualFlaw === "repressed") { + if (eventSlave.devotion >= -20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("frightening dick"); + } } } } } } - } - if(State.variables.spa > 0) { - if(eventSlave.boobs > 2000) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("spa boobs"); + if (State.variables.spa > 0) { + if (eventSlave.boobs > 2000) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("spa boobs"); + } } } } } - } - if(eventSlave.lactation > 0) { - if(eventSlave.boobs > 800) { - if(eventSlave.nipples != "fuckable") { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("cow milking"); + if (eventSlave.lactation > 0) { + if (eventSlave.boobs > 800) { + if (eventSlave.nipples !== "fuckable") { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("cow milking"); + } } } } } - } - if(State.variables.arcologies[0].FSSubjugationist != "unset") { - if(eventSlave.race != State.variables.arcologies[0].FSSubjugationistRace) { - if(State.variables.week-eventSlave.weekAcquired > 1) { - if(State.variables.week-eventSlave.weekAcquired < 10) { - if(eventSlave.devotion < -20) { - if(eventSlave.trust >= -20) { - if(eventSlave.health > -20) { - if(eventSlave.race == eventSlave.origRace) { - if(eventSlave.indentureRestrictions < 1) { - State.variables.RESSevent.push("subjugation blues"); + if (State.variables.arcologies[0].FSSubjugationist !== "unset") { + if (eventSlave.race !== State.variables.arcologies[0].FSSubjugationistRace) { + if (State.variables.week - eventSlave.weekAcquired > 1) { + if (State.variables.week - eventSlave.weekAcquired < 10) { + if (eventSlave.devotion < -20) { + if (eventSlave.trust >= -20) { + if (eventSlave.health > -20) { + if (eventSlave.race === eventSlave.origRace) { + if (eventSlave.indentureRestrictions < 1) { + State.variables.RESSevent.push("subjugation blues"); + } } } } @@ -2234,19 +2235,19 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(canTalk(eventSlave)) { - if(eventSlave.dietCum > 0) { - if(eventSlave.diet == "fattening") { - if(eventSlave.trust >= -50) { - if(eventSlave.fetish != "cumslut") { - if(eventSlave.weight < -30) { - if(eventSlave.health > -80) { - if(eventSlave.behavioralFlaw != "anorexic") { - if(eventSlave.sexualFlaw != "self hating") { - if(eventSlave.fetishStrength <= 60 || eventSlave.fetishKnown != 1) { - State.variables.RESSevent.push("too thin for cum diet"); + if (canTalk(eventSlave)) { + if (eventSlave.dietCum > 0) { + if (eventSlave.diet === "fattening") { + if (eventSlave.trust >= -50) { + if (eventSlave.fetish !== "cumslut") { + if (eventSlave.weight < -30) { + if (eventSlave.health > -80) { + if (eventSlave.behavioralFlaw !== "anorexic") { + if (eventSlave.sexualFlaw !== "self hating") { + if (eventSlave.fetishStrength <= 60 || eventSlave.fetishKnown !== 1) { + State.variables.RESSevent.push("too thin for cum diet"); + } } } } @@ -2256,45 +2257,45 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(eventSlave.health > 90) { - if(eventSlave.muscles > 5) { - if(eventSlave.weight <= 30) { - if(eventSlave.weight >= -30) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("passing declaration"); + if (eventSlave.health > 90) { + if (eventSlave.muscles > 5) { + if (eventSlave.weight <= 30) { + if (eventSlave.weight >= -30) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("passing declaration"); + } } } } } } - } - if(eventSlave.fetish == "sadist") { - if(eventSlave.fetishStrength > 20) { - if(State.variables.arcadeSlaves > 0) { - if(eventSlave.trust >= -20) { - if(eventSlave.devotion > 50) { - if(eventSlave.belly < 300000) { - State.variables.RESSevent.push("arcade sadist"); + if (eventSlave.fetish === "sadist") { + if (eventSlave.fetishStrength > 20) { + if (State.variables.arcadeSlaves > 0) { + if (eventSlave.trust >= -20) { + if (eventSlave.devotion > 50) { + if (eventSlave.belly < 300000) { + State.variables.RESSevent.push("arcade sadist"); + } } } } } } - } - if(State.variables.PC.vagina == 1) { - if(eventSlave.devotion <= 20) { - if((eventSlave.trust >= -20 && eventSlave.behavioralFlaw == "arrogant") || (eventSlave.trust > 20)) { - if(eventSlave.muscles > 30) { - if(eventSlave.health > 20) { - if(eventSlave.energy > 50) { - if(canPenetrate(eventSlave)) { - if(State.variables.Bodyguard == 0) { - State.variables.RESSevent.push("mutinery attempt"); + if (State.variables.PC.vagina === 1) { + if (eventSlave.devotion <= 20) { + if ((eventSlave.trust >= -20 && eventSlave.behavioralFlaw === "arrogant") || (eventSlave.trust > 20)) { + if (eventSlave.muscles > 30) { + if (eventSlave.health > 20) { + if (eventSlave.energy > 50) { + if (canPenetrate(eventSlave)) { + if (State.variables.Bodyguard === 0) { + State.variables.RESSevent.push("mutinery attempt"); + } } } } @@ -2302,355 +2303,355 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - } /* closes mute exempt */ + } /* closes mute exempt */ - if(eventSlave.devotion > 20) { - if(["ball gag", "bit gag", "dildo gag", "massive dildo gag"].includes(eventSlave.collar)) { - State.variables.RESSevent.push("gagged slave"); + if (eventSlave.devotion > 20) { + if (["ball gag", "bit gag", "dildo gag", "massive dildo gag"].includes(eventSlave.collar)) { + State.variables.RESSevent.push("gagged slave"); + } } - } - if(eventSlave.trust > 20) { - if(eventSlave.devotion > 20) { - if(eventSlave.energy > 40) { - if(eventSlave.belly < 300000) { - if(State.variables.PC.belly < 5000 && State.variables.PC.ballsImplant < 3 && State.variables.PC.balls < 3) { - if(canSee(eventSlave)) { - State.variables.RESSevent.push("comfortable seat"); + if (eventSlave.trust > 20) { + if (eventSlave.devotion > 20) { + if (eventSlave.energy > 40) { + if (eventSlave.belly < 300000) { + if (State.variables.PC.belly < 5000 && State.variables.PC.ballsImplant < 3 && State.variables.PC.balls < 3) { + if (canSee(eventSlave)) { + State.variables.RESSevent.push("comfortable seat"); + } } } } } } - } - if(State.variables.seeAge == 1) { - if(eventSlave.actualAge < 18) { - if(eventSlave.devotion > 20) { - if(eventSlave.ovaries == 1) { - if(eventSlave.pubertyXX == 0) { - if(eventSlave.preg == 0) { - if(eventSlave.physicalAge >= eventSlave.pubertyAgeXX-.5) { - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); - State.variables.RESSevent.push("first period"); + if (State.variables.seeAge === 1) { + if (eventSlave.actualAge < 18) { + if (eventSlave.devotion > 20) { + if (eventSlave.ovaries === 1) { + if (eventSlave.pubertyXX === 0) { + if (eventSlave.preg === 0) { + if (eventSlave.physicalAge >= eventSlave.pubertyAgeXX - .5) { + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + State.variables.RESSevent.push("first period"); + } } } } - } - if(canPenetrate(eventSlave)) { - if(eventSlave.balls > 0) { - if(eventSlave.pubertyXY == 0) { - if(eventSlave.physicalAge >= eventSlave.pubertyAgeXY-.5) { - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); - State.variables.RESSevent.push("wet dreams"); + if (canPenetrate(eventSlave)) { + if (eventSlave.balls > 0) { + if (eventSlave.pubertyXY === 0) { + if (eventSlave.physicalAge >= eventSlave.pubertyAgeXY - .5) { + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + State.variables.RESSevent.push("wet dreams"); + } } } } } } - } - } /* closes aging exemption */ + } /* closes aging exemption */ - if(eventSlave.devotion >= -150) { - if(eventSlave.devotion <= 50) { - State.variables.events.push("RE standard punishment"); + if (eventSlave.devotion >= -150) { + if (eventSlave.devotion <= 50) { + State.variables.events.push("RE standard punishment"); + } } - } - if(eventSlave.trust > 20) { - if(eventSlave.devotion > 50) { - if(State.variables.PC.belly < 5000) { - State.variables.RESSevent.push("shower slip"); - } - if(eventSlave.amp < 0) { - State.variables.RESSevent.push("plimb help"); + if (eventSlave.trust > 20) { + if (eventSlave.devotion > 50) { + if (State.variables.PC.belly < 5000) { + State.variables.RESSevent.push("shower slip"); + } + if (eventSlave.amp < 0) { + State.variables.RESSevent.push("plimb help"); + } } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.devotion >= -50) { - if(eventSlave.trust >= -20) { - if(State.variables.suppository != 0) { - if(eventSlave.fetish != "buttslut") { - State.variables.RESSevent.push("suppository resistance"); + if (eventSlave.devotion <= 20) { + if (eventSlave.devotion >= -50) { + if (eventSlave.trust >= -20) { + if (State.variables.suppository !== 0) { + if (eventSlave.fetish !== "buttslut") { + State.variables.RESSevent.push("suppository resistance"); + } } - } - if(State.variables.cockFeeder != 0) { - if(eventSlave.fetish != "cumslut") { - State.variables.RESSevent.push("cockfeeder resistance"); + if (State.variables.cockFeeder !== 0) { + if (eventSlave.fetish !== "cumslut") { + State.variables.RESSevent.push("cockfeeder resistance"); + } } } } } - } - if(eventSlave.relationship <= -2) { - if(eventSlave.trust > 50) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("bonded love"); + if (eventSlave.relationship <= -2) { + if (eventSlave.trust > 50) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("bonded love"); + } } } - } - if(eventSlave.trust > 20) { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("objectifying visit"); + if (eventSlave.trust > 20) { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("objectifying visit"); + } } - } - if (canWalk(eventSlave)) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > -10) { - if(eventSlave.ID != State.variables.HeadGirl.ID) { - if(eventSlave.ID != State.variables.Concubine.ID) { - State.variables.RESSevent.push("refreshment delivery"); + if (canWalk(eventSlave)) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > -10) { + if (eventSlave.ID !== State.variables.HeadGirl.ID) { + if (eventSlave.ID !== State.variables.Concubine.ID) { + State.variables.RESSevent.push("refreshment delivery"); + } } } } } - } - if(eventSlave.dick > 8) { - if(eventSlave.balls > 0) { - if(eventSlave.energy > 60) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 50) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.belly < 100000) { - State.variables.RESSevent.push("dick wringing"); + if (eventSlave.dick > 8) { + if (eventSlave.balls > 0) { + if (eventSlave.energy > 60) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 50) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.belly < 100000) { + State.variables.RESSevent.push("dick wringing"); + } } } } } } } - } - if(eventSlave.balls > 0) { - if(eventSlave.scrotum > 0) { - if(eventSlave.dickAccessory == "chastity" || eventSlave.dickAccessory == "combined chastity") { - if(eventSlave.devotion <= 95) { - if(eventSlave.energy > 50) { - if(eventSlave.energy < 95) { - if(eventSlave.devotion >= -20 || eventSlave.trust < -20) { - State.variables.RESSevent.push("cage relief"); + if (eventSlave.balls > 0) { + if (eventSlave.scrotum > 0) { + if (eventSlave.dickAccessory === "chastity" || eventSlave.dickAccessory === "combined chastity") { + if (eventSlave.devotion <= 95) { + if (eventSlave.energy > 50) { + if (eventSlave.energy < 95) { + if (eventSlave.devotion >= -20 || eventSlave.trust < -20) { + State.variables.RESSevent.push("cage relief"); + } } } } } } } - } - if(State.variables.PC.dick > 0) { - if(State.variables.PC.boobs > 0) { - if(canSee(eventSlave)) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20) { - if(((eventSlave.attrXY <= 35) && (eventSlave.attrXX > 65)) || ((eventSlave.attrXX <= 35) && (eventSlave.attrXY > 65))) { - State.variables.RESSevent.push("dickgirl PC"); + if (State.variables.PC.dick > 0) { + if (State.variables.PC.boobs > 0) { + if (canSee(eventSlave)) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20) { + if (((eventSlave.attrXY <= 35) && (eventSlave.attrXX > 65)) || ((eventSlave.attrXX <= 35) && (eventSlave.attrXY > 65))) { + State.variables.RESSevent.push("dickgirl PC"); + } } } } } } - } - if(eventSlave.energy > 40) { - if(canSee(eventSlave)) { - if(eventSlave.trust >= -50) { - if(eventSlave.devotion > 0) { - if(eventSlave.devotion <= 50) { - if(((eventSlave.attrXX >= 50) && (State.variables.PC.boobs == 1 || State.variables.PC.title == 0) && (State.variables.PC.belly < 5000)) - || ((eventSlave.attrXY >= 50) && (State.variables.PC.dick == 1) && (State.variables.PC.boobs == 0) && (State.variables.PC.belly < 1500)) - || (eventSlave.fetish == "pregnancy" && State.variables.PC.belly >= 5000) - || (eventSlave.fetish == "boobs" && State.variables.PC.belly < 5000 && State.variables.PC.boobsBonus > 0)) { - State.variables.RESSevent.push("hot PC"); + if (eventSlave.energy > 40) { + if (canSee(eventSlave)) { + if (eventSlave.trust >= -50) { + if (eventSlave.devotion > 0) { + if (eventSlave.devotion <= 50) { + if (((eventSlave.attrXX >= 50) && (State.variables.PC.boobs === 1 || State.variables.PC.title === 0) && (State.variables.PC.belly < 5000)) + || ((eventSlave.attrXY >= 50) && (State.variables.PC.dick === 1) && (State.variables.PC.boobs === 0) && (State.variables.PC.belly < 1500)) + || (eventSlave.fetish === "pregnancy" && State.variables.PC.belly >= 5000) + || (eventSlave.fetish === "boobs" && State.variables.PC.belly < 5000 && State.variables.PC.boobsBonus > 0)) { + State.variables.RESSevent.push("hot PC"); + } } } } } } - } - if(eventSlave.trust <= 20) { - if(eventSlave.trust >= -75) { - if(eventSlave.devotion <= 30) { - if(eventSlave.devotion >= -20) { - State.variables.RESSevent.push("like me"); + if (eventSlave.trust <= 20) { + if (eventSlave.trust >= -75) { + if (eventSlave.devotion <= 30) { + if (eventSlave.devotion >= -20) { + State.variables.RESSevent.push("like me"); + } } } } - } - if(eventSlave.devotion < -20) { - if(eventSlave.trust >= -20) { - if(eventSlave.clothes == "uncomfortable straps") { - State.variables.RESSevent.push("bondage gear"); + if (eventSlave.devotion < -20) { + if (eventSlave.trust >= -20) { + if (eventSlave.clothes === "uncomfortable straps") { + State.variables.RESSevent.push("bondage gear"); + } } } - } - if(eventSlave.labia > 1 && eventSlave.vagina >= 0) { - if(eventSlave.muscles > 5 || eventSlave.diet == "muscle building") { - if(eventSlave.belly < 10000) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.RESSevent.push("inconvenient labia"); + if (eventSlave.labia > 1 && eventSlave.vagina >= 0) { + if (eventSlave.muscles > 5 || eventSlave.diet === "muscle building") { + if (eventSlave.belly < 10000) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.RESSevent.push("inconvenient labia"); + } } } } } - } - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.addict > 20) { - if(eventSlave.aphrodisiacs > 0 || eventSlave.inflationType == "aphrodisiac") { - State.variables.RESSevent.push("obedient addict"); + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.addict > 20) { + if (eventSlave.aphrodisiacs > 0 || eventSlave.inflationType === "aphrodisiac") { + State.variables.RESSevent.push("obedient addict"); + } } } - } - if(State.variables.seeExtreme == 1) { - if(eventSlave.devotion < -50) { - if(eventSlave.trust >= -50) { - if(eventSlave.assignment != "stay confined") { - if(eventSlave.heels != 1) { - State.variables.RESSevent.push("escapee"); + if (State.variables.seeExtreme === 1) { + if (eventSlave.devotion < -50) { + if (eventSlave.trust >= -50) { + if (eventSlave.assignment !== "stay confined") { + if (eventSlave.heels !== 1) { + State.variables.RESSevent.push("escapee"); + } } } } } - } - if(eventSlave.devotion <= 50) { - if(eventSlave.trust >= -50) { - if(eventSlave.behavioralFlaw == "gluttonous") { - if(eventSlave.diet == "restricted") { - State.variables.RESSevent.push("diet"); + if (eventSlave.devotion <= 50) { + if (eventSlave.trust >= -50) { + if (eventSlave.behavioralFlaw === "gluttonous") { + if (eventSlave.diet === "restricted") { + State.variables.RESSevent.push("diet"); + } } } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.devotion >= -50) { - State.variables.RESSevent.push("resistant shower"); + if (eventSlave.devotion <= 20) { + if (eventSlave.devotion >= -50) { + State.variables.RESSevent.push("resistant shower"); + } } - } - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust >= -20) { - if(eventSlave.energy > 75) { - if(eventSlave.fetish != "buttslut") { - if(eventSlave.vagina != 0 || eventSlave.anus != 0) { - State.variables.RESSevent.push("night visit"); + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.devotion >= -20) { + if (eventSlave.trust >= -20) { + if (eventSlave.energy > 75) { + if (eventSlave.fetish !== "buttslut") { + if (eventSlave.vagina !== 0 || eventSlave.anus !== 0) { + State.variables.RESSevent.push("night visit"); + } } } } } } - } - if(eventSlave.releaseRules == "restrictive") { - if(eventSlave.need) { - if(eventSlave.devotion <= 95) { - if(eventSlave.trust >= -20) { - if((eventSlave.dickAccessory != "chastity" && eventSlave.dickAccessory != "combined chastity") || (eventSlave.dick == 0)) { - State.variables.RESSevent.push("forbidden masturbation"); + if (eventSlave.releaseRules === "restrictive") { + if (eventSlave.need) { + if (eventSlave.devotion <= 95) { + if (eventSlave.trust >= -20) { + if ((eventSlave.dickAccessory !== "chastity" && eventSlave.dickAccessory !== "combined chastity") || (eventSlave.dick === 0)) { + State.variables.RESSevent.push("forbidden masturbation"); + } } } - } - if(eventSlave.devotion >= -20) { - if(eventSlave.trust >= -50) { - State.variables.RESSevent.push("desperately horny"); + if (eventSlave.devotion >= -20) { + if (eventSlave.trust >= -50) { + State.variables.RESSevent.push("desperately horny"); + } } } } - } - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - if(canPenetrate(eventSlave)) { - State.variables.RESSevent.push("slave dick on slave"); + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + if (canPenetrate(eventSlave)) { + State.variables.RESSevent.push("slave dick on slave"); + } } - } - if(eventSlave.muscles > 30) { - if(eventSlave.weight <= 10) { - if(eventSlave.anus != 0 || State.variables.PC.dick == 0) { - if(eventSlave.vagina != 0 || State.variables.PC.dick == 0) { - State.variables.RESSevent.push("muscles"); + if (eventSlave.muscles > 30) { + if (eventSlave.weight <= 10) { + if (eventSlave.anus !== 0 || State.variables.PC.dick === 0) { + if (eventSlave.vagina !== 0 || State.variables.PC.dick === 0) { + State.variables.RESSevent.push("muscles"); + } } } } - } - if(eventSlave.devotion >= -20) { - if(eventSlave.lactation > 1) { - if(canDoVaginal(eventSlave) || canDoAnal(eventSlave)) { - State.variables.RESSevent.push("milkgasm"); + if (eventSlave.devotion >= -20) { + if (eventSlave.lactation > 1) { + if (canDoVaginal(eventSlave) || canDoAnal(eventSlave)) { + State.variables.RESSevent.push("milkgasm"); + } } } - } - if(eventSlave.waist < -95) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - if(eventSlave.belly < 30000) { - if(eventSlave.weight <= 95) { - State.variables.RESSevent.push("devoted waist"); + if (eventSlave.waist < -95) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + if (eventSlave.belly < 30000) { + if (eventSlave.weight <= 95) { + State.variables.RESSevent.push("devoted waist"); + } } } } } - } - if(eventSlave.dick > 0) { - if(eventSlave.balls == 0) { - if(eventSlave.ovaries == 0) { - if(eventSlave.devotion <= 50) { - if(eventSlave.trust < -50) { - if(eventSlave.anus > 0) { - if(canDoAnal(eventSlave)) { - State.variables.RESSevent.push("resistant gelding"); + if (eventSlave.dick > 0) { + if (eventSlave.balls === 0) { + if (eventSlave.ovaries === 0) { + if (eventSlave.devotion <= 50) { + if (eventSlave.trust < -50) { + if (eventSlave.anus > 0) { + if (canDoAnal(eventSlave)) { + State.variables.RESSevent.push("resistant gelding"); + } } } } } } } - } - if(isFertile(eventSlave)) { - if(eventSlave.devotion > 50) { - if(State.variables.PC.dick != 0) { - if(eventSlave.fetish == "pregnancy" || eventSlave.energy > 95) { - if(eventSlave.eggType == "human") { - if(eventSlave.fetishKnown == 1) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus > 0) { - State.variables.RESSevent.push("impregnation please"); + if (isFertile(eventSlave)) { + if (eventSlave.devotion > 50) { + if (State.variables.PC.dick !== 0) { + if (eventSlave.fetish === "pregnancy" || eventSlave.energy > 95) { + if (eventSlave.eggType === "human") { + if (eventSlave.fetishKnown === 1) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus > 0) { + State.variables.RESSevent.push("impregnation please"); + } } } } @@ -2658,338 +2659,338 @@ if(eventSlave.fetish != "mindbroken") { } } } - } - if(["large plug", "long, large plug", "huge plug", "long, huge plug"].includes(eventSlave.buttplug)) { - if(eventSlave.assignment != "stay confined" && isSlaveAvailable(eventSlave)) { - if(eventSlave.devotion <= 20) { - if(eventSlave.trust >= -50) { - if(eventSlave.anus < 3) { - State.variables.RESSevent.push("plug disobedience"); + if (["large plug", "long, large plug", "huge plug", "long, huge plug"].includes(eventSlave.buttplug)) { + if (eventSlave.assignment !== "stay confined" && isSlaveAvailable(eventSlave)) { + if (eventSlave.devotion <= 20) { + if (eventSlave.trust >= -50) { + if (eventSlave.anus < 3) { + State.variables.RESSevent.push("plug disobedience"); + } } } } } - } - } /* closes amp/crawling exempt */ + } /* closes amp/crawling exempt */ - if(canTalk(eventSlave)) { + if (canTalk(eventSlave)) { - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.boobsImplant > 400) { - if(eventSlave.lipsImplant >= 30) { - if(eventSlave.buttImplant > 3) { - if(eventSlave.boobs < 9000 || eventSlave.butt < 8) { - State.variables.RESSevent.push("surgery addict"); + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.boobsImplant > 400) { + if (eventSlave.lipsImplant >= 30) { + if (eventSlave.buttImplant > 3) { + if (eventSlave.boobs < 9000 || eventSlave.butt < 8) { + State.variables.RESSevent.push("surgery addict"); + } } } } } - } - if(eventSlave.speechRules != "restrictive") { - if(eventSlave.oralCount+eventSlave.vaginalCount+eventSlave.analCount > 900) { - if(eventSlave.oralCount+eventSlave.vaginalCount+eventSlave.analCount < 1100) { - if(eventSlave.vagina != 0) { - if(eventSlave.anus > 0) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("millenary"); + if (eventSlave.speechRules !== "restrictive") { + if (eventSlave.oralCount + eventSlave.vaginalCount + eventSlave.analCount > 900) { + if (eventSlave.oralCount + eventSlave.vaginalCount + eventSlave.analCount < 1100) { + if (eventSlave.vagina !== 0) { + if (eventSlave.anus > 0) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("millenary"); + } } } } } } - } - if(State.variables.expansionRequestsAllowed > 0) { - if(eventSlave.drugs == "no drugs") { - if(eventSlave.speechRules == "permissive") { - if(eventSlave.health > 20) { - if(eventSlave.devotion >= -20) { - if(eventSlave.trust > 20) { - if(State.variables.arcologies[0].FSSlimnessEnthusiast == "unset") { - State.variables.RESSevent.push("injections please"); + if (State.variables.expansionRequestsAllowed > 0) { + if (eventSlave.drugs === "no drugs") { + if (eventSlave.speechRules === "permissive") { + if (eventSlave.health > 20) { + if (eventSlave.devotion >= -20) { + if (eventSlave.trust > 20) { + if (State.variables.arcologies[0].FSSlimnessEnthusiast === "unset") { + State.variables.RESSevent.push("injections please"); + } } } } } } } - } - if(eventSlave.behavioralFlaw == "bitchy") { - if(canSee(eventSlave)) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust >= -20) { - State.variables.RESSevent.push("obedient bitchy"); + if (eventSlave.behavioralFlaw === "bitchy") { + if (canSee(eventSlave)) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust >= -20) { + State.variables.RESSevent.push("obedient bitchy"); + } } } } - } - } /* closes mute exempt */ + } /* closes mute exempt */ - if(State.variables.cockFeeder == 0) { - if(eventSlave.intelligence+eventSlave.intelligenceImplant < -50) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion >= -20 || eventSlave.trust < -20) { - State.variables.RESSevent.push("obedient idiot"); + if (State.variables.cockFeeder === 0) { + if (eventSlave.intelligence + eventSlave.intelligenceImplant < -50) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion >= -20 || eventSlave.trust < -20) { + State.variables.RESSevent.push("obedient idiot"); + } } } } - } - if(State.variables.assistant > 1) { - if(eventSlave.fetishKnown == 1) { - if(eventSlave.energy > 95) { - if(eventSlave.devotion > 20) { - if(eventSlave.releaseRules == "permissive" || eventSlave.releaseRules == "masturbation") { - State.variables.RESSevent.push("nympho with assistant"); + if (State.variables.assistant > 1) { + if (eventSlave.fetishKnown === 1) { + if (eventSlave.energy > 95) { + if (eventSlave.devotion > 20) { + if (eventSlave.releaseRules === "permissive" || eventSlave.releaseRules === "masturbation") { + State.variables.RESSevent.push("nympho with assistant"); + } } } } } - } - if(eventSlave.minorInjury == "sore ass") { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("sore ass"); + if (eventSlave.minorInjury === "sore ass") { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("sore ass"); + } } - } - if(eventSlave.sexualFlaw == "hates oral") { - if(State.variables.PC.dick != 0) { - if(eventSlave.devotion <= 50) { - State.variables.RESSevent.push("hates oral"); + if (eventSlave.sexualFlaw === "hates oral") { + if (State.variables.PC.dick !== 0) { + if (eventSlave.devotion <= 50) { + State.variables.RESSevent.push("hates oral"); + } } } - } - if(eventSlave.vagina == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 20) { - if(eventSlave.speechRules != "restrictive") { - State.variables.RESSevent.push("devoted virgin"); + if (eventSlave.vagina === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 20) { + if (eventSlave.speechRules !== "restrictive") { + State.variables.RESSevent.push("devoted virgin"); + } } } } - } - if(eventSlave.anus == 0) { - if(eventSlave.devotion > 50) { - if(eventSlave.trust > 20) { - if(eventSlave.speechRules != "restrictive") { - State.variables.RESSevent.push("devoted anal virgin"); + if (eventSlave.anus === 0) { + if (eventSlave.devotion > 50) { + if (eventSlave.trust > 20) { + if (eventSlave.speechRules !== "restrictive") { + State.variables.RESSevent.push("devoted anal virgin"); + } } } } - } - if(eventSlave.devotion <= 50) { - if(eventSlave.assignment == "work as a servant" || eventSlave.assignment == "be a servant") { - State.variables.RESSevent.push("scrubbing"); + if (eventSlave.devotion <= 50) { + if (eventSlave.assignment === "work as a servant" || eventSlave.assignment === "be a servant") { + State.variables.RESSevent.push("scrubbing"); + } } - } - if(eventSlave.devotion <= 20) { - if(eventSlave.assignment == "work as a servant" || eventSlave.assignment == "be a servant") { - if(eventSlave.clothes == "a slutty maid outfit" || eventSlave.clothes == "a nice maid outfit") { - State.variables.RESSevent.push("servant maid"); + if (eventSlave.devotion <= 20) { + if (eventSlave.assignment === "work as a servant" || eventSlave.assignment === "be a servant") { + if (eventSlave.clothes === "a slutty maid outfit" || eventSlave.clothes === "a nice maid outfit") { + State.variables.RESSevent.push("servant maid"); + } } } - } - if(eventSlave.aphrodisiacs > 1 || eventSlave.inflationType == "aphrodisiac") { - if(eventSlave.speechRules == "restrictive" && eventSlave.releaseRules !== "permissive") { - if(eventSlave.amp != 1) { - State.variables.RESSevent.push("extreme aphrodisiacs"); + if (eventSlave.aphrodisiacs > 1 || eventSlave.inflationType === "aphrodisiac") { + if (eventSlave.speechRules === "restrictive" && eventSlave.releaseRules !== "permissive") { + if (eventSlave.amp !== 1) { + State.variables.RESSevent.push("extreme aphrodisiacs"); + } } } - } - if (eventSlave.releaseRules != "restrictive" && eventSlave.releaseRules != "masturbation" && eventSlave.releaseRules != "chastity") { - if(eventSlave.clit > 2) { - State.variables.RESSevent.push("slave clit on slave"); + if (eventSlave.releaseRules !== "restrictive" && eventSlave.releaseRules !== "masturbation" && eventSlave.releaseRules !== "chastity") { + if (eventSlave.clit > 2) { + State.variables.RESSevent.push("slave clit on slave"); + } } - } - if(eventSlave.releaseRules != "restrictive") { - if(eventSlave.dick > 4) { - if(eventSlave.amp != 1){ - if(canAchieveErection(eventSlave)) { - if(eventSlave.belly < 10000) { - if(eventSlave.dickAccessory != "chastity" && eventSlave.dickAccessory != "combined chastity") { - State.variables.RESSevent.push("slave dick huge"); + if (eventSlave.releaseRules !== "restrictive") { + if (eventSlave.dick > 4) { + if (eventSlave.amp !== 1) { + if (canAchieveErection(eventSlave)) { + if (eventSlave.belly < 10000) { + if (eventSlave.dickAccessory !== "chastity" && eventSlave.dickAccessory !== "combined chastity") { + State.variables.RESSevent.push("slave dick huge"); + } } } } } } - } - if(eventSlave.heels == 1) { - if(eventSlave.shoes == "heels" || eventSlave.shoes == "extreme heels") { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("heels"); + if (eventSlave.heels === 1) { + if (eventSlave.shoes === "heels" || eventSlave.shoes === "extreme heels") { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("heels"); + } } } - } - if(eventSlave.releaseRules != "restrictive") { - if(eventSlave.belly < 300000) { - if(eventSlave.anus > 2) { - if(eventSlave.fetish == "buttslut" || eventSlave.energy > 95) { - if(eventSlave.fetish != "none") { - if(canDoAnal(eventSlave)) { - State.variables.RESSevent.push("loose buttslut"); + if (eventSlave.releaseRules !== "restrictive") { + if (eventSlave.belly < 300000) { + if (eventSlave.anus > 2) { + if (eventSlave.fetish === "buttslut" || eventSlave.energy > 95) { + if (eventSlave.fetish !== "none") { + if (canDoAnal(eventSlave)) { + State.variables.RESSevent.push("loose buttslut"); + } } } } } } - } - if(eventSlave.boobs < 500) { - if(eventSlave.butt < 3) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - if(eventSlave.devotion <= 50) { - if(eventSlave.devotion > 20 && eventSlave.trust >= -20) { - if(eventSlave.weight <= 10) { - if(eventSlave.muscles <= 30) { - State.variables.RESSevent.push("obedient girlish"); + if (eventSlave.boobs < 500) { + if (eventSlave.butt < 3) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + if (eventSlave.devotion <= 50) { + if (eventSlave.devotion > 20 && eventSlave.trust >= -20) { + if (eventSlave.weight <= 10) { + if (eventSlave.muscles <= 30) { + State.variables.RESSevent.push("obedient girlish"); + } } } } } } } - } - if(eventSlave.boobs > 1200) { - if(eventSlave.areolaeShape != "circle") { - if(eventSlave.devotion > 50) { - State.variables.RESSevent.push("shaped areolae"); + if (eventSlave.boobs > 1200) { + if (eventSlave.areolaeShape !== "circle") { + if (eventSlave.devotion > 50) { + State.variables.RESSevent.push("shaped areolae"); + } } } - } - if(eventSlave.bellyPreg >= 10000) { - State.variables.RESSevent.push("hugely pregnant"); - } + if (eventSlave.bellyPreg >= 10000) { + State.variables.RESSevent.push("hugely pregnant"); + } - if(eventSlave.hormoneBalance >= 50) { - if(eventSlave.vagina == -1) { - if(eventSlave.balls >= 0) { - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.devotion <= 50) { - if(eventSlave.fetish != "buttslut") { - if(eventSlave.speechRules == "permissive") { - State.variables.RESSevent.push("hormone dysfunction"); + if (eventSlave.hormoneBalance >= 50) { + if (eventSlave.vagina === -1) { + if (eventSlave.balls >= 0) { + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.devotion <= 50) { + if (eventSlave.fetish !== "buttslut") { + if (eventSlave.speechRules === "permissive") { + State.variables.RESSevent.push("hormone dysfunction"); + } } } } } } } - } - if(eventSlave.vaginaPiercing > 1) { - if(eventSlave.nipplesPiercing > 1) { - if(eventSlave.clitPiercing > 1) { - if(eventSlave.devotion > 20 || eventSlave.trust < -20) { - if(eventSlave.devotion <= 50) { - if(canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { - State.variables.RESSevent.push("heavy piercing"); + if (eventSlave.vaginaPiercing > 1) { + if (eventSlave.nipplesPiercing > 1) { + if (eventSlave.clitPiercing > 1) { + if (eventSlave.devotion > 20 || eventSlave.trust < -20) { + if (eventSlave.devotion <= 50) { + if (canDoAnal(eventSlave) || canDoVaginal(eventSlave)) { + State.variables.RESSevent.push("heavy piercing"); + } } } } } } - } - if(eventSlave.anus == 0) { - if(eventSlave.devotion < -20) { - if(eventSlave.trust >= -20) { - State.variables.RESSevent.push("resistant anal virgin"); + if (eventSlave.anus === 0) { + if (eventSlave.devotion < -20) { + if (eventSlave.trust >= -20) { + State.variables.RESSevent.push("resistant anal virgin"); + } } } - } - if(State.variables.PC.dick != 0) { - if (eventSlave.bellyPreg >= 300000) { - State.variables.RESSevent.push("hyperpreg stuck"); + if (State.variables.PC.dick !== 0) { + if (eventSlave.bellyPreg >= 300000) { + State.variables.RESSevent.push("hyperpreg stuck"); + } } - } - if(eventSlave.devotion >= 50) { - if(eventSlave.trust <= 20) { - if(canWalk(eventSlave)) { - State.variables.RESSevent.push("devoted fearful slave"); + if (eventSlave.devotion >= 50) { + if (eventSlave.trust <= 20) { + if (canWalk(eventSlave)) { + State.variables.RESSevent.push("devoted fearful slave"); + } } } - } - if(eventSlave.relationship == 4) { - if(eventSlave.devotion > 20) { - if(eventSlave.trust > 20) { - State.variables.events.push("RE slave marriage"); + if (eventSlave.relationship === 4) { + if (eventSlave.devotion > 20) { + if (eventSlave.trust > 20) { + State.variables.events.push("RE slave marriage"); + } } } - } - /* NICKNAME EVENTS */ + /* NICKNAME EVENTS */ - if(State.variables.nicknamesAllowed == 1) { - var toSearch = eventSlave.slaveName.toLowerCase(); - if(toSearch.indexOf("'") == -1) { - if(State.variables.week-eventSlave.weekAcquired >= 4) { - State.variables.events.push("RE nickname"); - State.variables.seed = 0; - } - } /* closes nickname check */ - } /* closes no nicknames option */ + if (State.variables.nicknamesAllowed === 1) { + var toSearch = eventSlave.slaveName.toLowerCase(); + if (toSearch.indexOf("'") === -1) { + if (State.variables.week - eventSlave.weekAcquired >= 4) { + State.variables.events.push("RE nickname"); + State.variables.seed = 0; + } + } /* closes nickname check */ + } /* closes no nicknames option */ -} /* closes mindbreak exempt */ + } /* closes mindbreak exempt */ -if(eventSlave.fetish == "mindbroken") { - if(canWalk(eventSlave)) { - State.variables.RESSevent.push("mindbroken morning"); - } - if(eventSlave.kindness != undefined && eventSlave.kindness >= 100) { - if((isSlaveAvailable(eventSlave) && canWalk(eventSlave)) || (["please you", "serve in the master suite", "be your Concubine"].includes(eventSlave.assignment))) { - if(eventSlave.relationship == -3) { - if(jsRandom(1,200) < eventSlave.kindness) { - State.variables.RESSevent.push("surprising wakeup"); + if (eventSlave.fetish === "mindbroken") { + if (canWalk(eventSlave)) { + State.variables.RESSevent.push("mindbroken morning"); + } + if (eventSlave.kindness !== undefined && eventSlave.kindness >= 100) { + if ((isSlaveAvailable(eventSlave) && canWalk(eventSlave)) || (["please you", "serve in the master suite", "be your Concubine"].includes(eventSlave.assignment))) { + if (eventSlave.relationship === -3) { + if (jsRandom(1, 200) < eventSlave.kindness) { + State.variables.RESSevent.push("surprising wakeup"); + } } } } } -} -} +}; -window.populateEventArray = function(RESS = State.variables.RESSevent.length, RESSTR = State.variables.RESSTRevent.length, RETS = State.variables.RETSevent.length, RECI = State.variables.RECIevent.length) { +window.populateEventArray = function (RESS = State.variables.RESSevent.length, RESSTR = State.variables.RESSTRevent.length, RETS = State.variables.RETSevent.length, RECI = State.variables.RECIevent.length) { /* EVENT RANDOMIZATION */ var events = State.variables.events; + var i = 0; - for(var i = 0; i < RESS; i++) { + for (i = 0; i < RESS; i++) { events.push("RESS"); } - for(var i = 0; i < RESSTR; i++) { + for (i = 0; i < RESSTR; i++) { events.push("RESSTR"); } - for(var i = 0; i < RETS; i++) { + for (i = 0; i < RETS; i++) { events.push("RETS"); } - for(var i = 0; i < RECI; i++) { + for (i = 0; i < RECI; i++) { events.push("RECI"); } - if(events.length == 0) { + if (events.length === 0) { events.push("RE no event"); } return events; -} +}; diff --git a/src/js/extendedFamilyModeJS.js b/src/js/extendedFamilyModeJS.js index 64b0ffd1242bbe6dda6c6ea7272cc116ee3bfe01..805f26b5a82fd5e0a56db4942456ad37fc14ecb3 100644 --- a/src/js/extendedFamilyModeJS.js +++ b/src/js/extendedFamilyModeJS.js @@ -1,19 +1,19 @@ /* see documentation for details /devNotes/Extended Family Mode Explained.txt */ window.isMotherP = function isMotherP(daughter, mother) { - return daughter.mother === mother.ID -} + return daughter.mother === mother.ID; +}; window.isFatherP = function isFatherP(daughter, father) { - return daughter.father === father.ID -} + return daughter.father === father.ID; +}; window.isParentP = function isParentP(daughter, parent) { - return isMotherP(daughter,parent) || isFatherP(daughter,parent) -} + return isMotherP(daughter, parent) || isFatherP(daughter, parent); +}; window.sameDad = function(slave1, slave2){ - if ((slave1.father == slave2.father) && (slave1.father != 0 && slave1.father != -2)) { + if ((slave1.father === slave2.father) && (slave1.father !== 0 && slave1.father !== -2)) { return true; } else { return false; @@ -21,7 +21,7 @@ window.sameDad = function(slave1, slave2){ }; window.sameMom = function(slave1, slave2){ - if ((slave1.mother == slave2.mother) && (slave1.mother != 0 && slave1.mother != -2)) { + if ((slave1.mother === slave2.mother) && (slave1.mother !== 0 && slave1.mother !== -2)) { return true; } else { return false; @@ -30,11 +30,11 @@ window.sameMom = function(slave1, slave2){ // testtest catches the case if a mother is a father or a father a mother - thank you familyAnon, for this code window.sameTParent = function(slave1, slave2) { - if (slave1.mother == -1 && slave1.father == -1 && slave2.mother == -1 && slave2.father == -1) { + if (slave1.mother === -1 && slave1.father === -1 && slave2.mother === -1 && slave2.father === -1) { return 1; - } else if (slave1.mother == slave2.father && slave1.father == slave2.mother && slave1.mother != 0 && slave1.mother != -2 && slave1.father != 0 && slave1.father != -2 && slave1.mother != slave1.father) { + } else if (slave1.mother === slave2.father && slave1.father === slave2.mother && slave1.mother !== 0 && slave1.mother !== -2 && slave1.father !== 0 && slave1.father !== -2 && slave1.mother !== slave1.father) { return 2; - } else if ((slave1.mother == slave2.father || slave1.father == slave2.mother) && slave1.mother != 0 && slave1.mother != -2 && slave2.mother != 0 && slave2.mother != -2 && slave1.mother != slave1.father) { + } else if ((slave1.mother === slave2.father || slave1.father === slave2.mother) && slave1.mother !== 0 && slave1.mother !== -2 && slave2.mother !== 0 && slave2.mother !== -2 && slave1.mother !== slave1.father) { return 3; } else { return 0; @@ -56,7 +56,7 @@ window.areTwins = function(slave1, slave2) { return false; } else if (!sameMom(slave1, slave2)) { return false; - } else if (slave1.actualAge == slave2.actualAge && slave1.birthWeek == slave2.birthWeek) { + } else if (slave1.actualAge === slave2.actualAge && slave1.birthWeek === slave2.birthWeek) { return true; } else { return false; @@ -64,21 +64,21 @@ window.areTwins = function(slave1, slave2) { }; window.areSisters = function(slave1, slave2) { - if (slave1.ID == slave2.ID) { + if (slave1.ID === slave2.ID) { return 0; //you are not your own sister - } else if (((slave1.father == 0) || (slave1.father == -2)) && ((slave1.mother == 0) || (slave1.mother == -2))) { + } else if (((slave1.father === 0) || (slave1.father === -2)) && ((slave1.mother === 0) || (slave1.mother === -2))) { return 0; //not related } else { if (!sameDad(slave1, slave2) && sameMom(slave1, slave2)) { return 3; //half sisters } else if (sameDad(slave1, slave2) && !sameMom(slave1, slave2)) { return 3; //half sisters - } else if (sameTParent(slave1, slave2) == 3) { + } else if (sameTParent(slave1, slave2) === 3) { return 3; //half sisters - } else if (sameTParent(slave1, slave2) == 2) { + } else if (sameTParent(slave1, slave2) === 2) { return 2; //sisters } else if (sameDad(slave1, slave2) && sameMom(slave1, slave2)) { - if (slave1.actualAge == slave2.actualAge && slave1.birthWeek == slave2.birthWeek) { + if (slave1.actualAge === slave2.actualAge && slave1.birthWeek === slave2.birthWeek) { return 1; //twins } else { return 2; //sisters @@ -113,57 +113,57 @@ window.areSisters = function(c1, c2) { } */ -window.areRelated = function(slave1, slave2) { - return (slave1.father == slave2.ID || slave1.mother == slave2.ID || slave2.father == slave1.ID || slave2.mother == slave1.ID || areSisters(slave1, slave2) > 0); -} +window.areRelated = function (slave1, slave2) { + return (slave1.father === slave2.ID || slave1.mother === slave2.ID || slave2.father === slave1.ID || slave2.mother === slave1.ID || areSisters(slave1, slave2) > 0); +}; window.totalRelatives = function(slave) { var relatives = 0; if (slave.mother > 0) { - relatives += 1 + relatives += 1; } if (slave.father > 0) { - relatives += 1 + relatives += 1; } if (slave.daughters > 0) { - relatives += slave.daughters + relatives += slave.daughters; } if (slave.sisters > 0) { - relatives += slave.sisters + relatives += slave.sisters; } - return relatives + return relatives; }; -window.mutualChildren = function(slave1, slave2, slaves) { - return slaves.filter(function(s) { return s.ID != slave1.ID && s.ID != slave2.ID && s.mother > 0 && s.father > 0 && ((s.mother == slave1.ID && s.father == slave2.ID) || (s.mother == slave2.ID && s.father == slave1.ID)); }).length; -} +window.mutualChildren = function (slave1, slave2, slaves) { + return slaves.filter(function (s) { return s.ID !== slave1.ID && s.ID !== slave2.ID && s.mother > 0 && s.father > 0 && ((s.mother === slave1.ID && s.father === slave2.ID) || (s.mother === slave2.ID && s.father === slave1.ID)); }).length; +}; window.isSlaveAvailable = function(slave) { if (!slave) { return null; - } else if (slave.assignment == "be your agent") { + } else if (slave.assignment === "be your agent") { return false; - } else if (slave.assignment == "live with your agent") { + } else if (slave.assignment === "live with your agent") { return false; - } else if (slave.assignment == "be confined in the arcade") { + } else if (slave.assignment === "be confined in the arcade") { return false; - } else if (slave.assignment == "work in the dairy" && State.variables.DairyRestraintsSetting >= 2) { + } else if (slave.assignment === "work in the dairy" && State.variables.DairyRestraintsSetting >= 2) { return false; } else { return true; } }; -if (typeof DairyRestraintsSetting == "undefined") { +if (typeof DairyRestraintsSetting === "undefined") { var DairyRestraintsSetting = { setSetting: function (setting) { - setting = Number(setting) - return setting + setting = Number(setting); + return setting; } }; // Raise namespace scope to Global. window.DairyRestraintsSetting = DairyRestraintsSetting; -}; +} /* OLD window.randomRelatedSlave = function(slave, filterFunction) { @@ -173,89 +173,89 @@ window.randomRelatedSlave = function(slave, filterFunction) { } */ -window.randomRelatedSlave = function(slave, filterFunction) { - if(!slave || !SugarCube) { return undefined; } - if(typeof filterFunction !== 'function') { - filterFunction = function(s, index, array) { return true; }; +window.randomRelatedSlave = function (slave, filterFunction) { + if (!slave || !SugarCube) { return undefined; } + if (typeof filterFunction !== 'function') { + filterFunction = function (/*s, index, array*/) { return true; }; } - var arr = State.variables.slaves.filter(filterFunction) - arr.shuffle() - return arr.find(function(s, index, array) { - return areSisters(slave, s) - || slave.ID === s.mother - || slave.ID === s.father - || s.ID === slave.mother - || s.ID === slave.father; - }) -} + var arr = State.variables.slaves.filter(filterFunction); + arr.shuffle(); + return arr.find(function (s) { + return areSisters(slave, s) + || slave.ID === s.mother + || slave.ID === s.father + || s.ID === slave.mother + || s.ID === slave.father; + }); +}; -window.randomRelatedAvailableSlave = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return isSlaveAvailable(s); }); -} +window.randomRelatedAvailableSlave = function (slave) { + return randomRelatedSlave(slave, function (s) { return isSlaveAvailable(s); }); +}; -window.randomSister = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return areSisters(slave, s); }); -} +window.randomSister = function (slave) { + return randomRelatedSlave(slave, function (s) { return areSisters(slave, s); }); +}; window.randomTwinSister = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return areSisters(slave, s) == 1; }); -} + return randomRelatedSlave(slave, function(s) { return areSisters(slave, s) === 1; }); +}; -window.randomAvailableSister = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return isSlaveAvailable(s) && areSisters(slave, s); }); -} +window.randomAvailableSister = function (slave) { + return randomRelatedSlave(slave, function (s) { return isSlaveAvailable(s) && areSisters(slave, s); }); +}; -window.randomAvailableTwinSister = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return isSlaveAvailable(s) && areSisters(slave, s) == 1; }); -} +window.randomAvailableTwinSister = function (slave) { + return randomRelatedSlave(slave, function (s) { return isSlaveAvailable(s) && areSisters(slave, s) === 1; }); +}; -window.randomDaughter = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return s.mother == slave.ID || s.father == slave.ID; }); -} +window.randomDaughter = function (slave) { + return randomRelatedSlave(slave, function (s) { return s.mother === slave.ID || s.father === slave.ID; }); +}; -window.randomAvailableDaughter = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return isSlaveAvailable(s) && (s.mother == slave.ID || s.father == slave.ID); }); -} +window.randomAvailableDaughter = function (slave) { + return randomRelatedSlave(slave, function (s) { return isSlaveAvailable(s) && (s.mother === slave.ID || s.father === slave.ID); }); +}; -window.randomParent = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return s.ID == slave.mother || s.ID == slave.father; }); -} +window.randomParent = function (slave) { + return randomRelatedSlave(slave, function (s) { return s.ID === slave.mother || s.ID === slave.father; }); +}; -window.randomAvailableParent = function(slave) { - return randomRelatedSlave(slave, function(s, index, array) { return isSlaveAvailable(s) && (s.ID == slave.mother || s.ID == slave.father); }); -} +window.randomAvailableParent = function (slave) { + return randomRelatedSlave(slave, function (s) { return isSlaveAvailable(s) && (s.ID === slave.mother || s.ID === slave.father); }); +}; window.totalPlayerRelatives = function(pc) { var relatives = 0; if (pc.mother > 0) { - relatives += 1 + relatives += 1; } if (pc.father > 0) { - relatives += 1 + relatives += 1; } if (pc.daughters > 0) { - relatives += pc.daughters + relatives += pc.daughters; } if (pc.sisters > 0) { - relatives += pc.sisters + relatives += pc.sisters; } - return relatives + return relatives; }; -window.relativeTerm = function(slave1, slave2) { - if(slave2.mother == slave1.ID || slave2.father == slave1.ID) { +window.relativeTerm = function (slave1, slave2) { + if (slave2.mother === slave1.ID || slave2.father === slave1.ID) { return "daughter"; - } else if(slave1.mother == slave2.ID) { + } else if (slave1.mother === slave2.ID) { return "mother"; - } else if(slave1.father == slave2.ID) { + } else if (slave1.father === slave2.ID) { return "father"; - } else if(areSisters(slave2, slave1) == 1) { + } else if (areSisters(slave2, slave1) === 1) { return "twin"; - } else if(areSisters(slave2, slave1) == 2) { + } else if (areSisters(slave2, slave1) === 2) { return "sister"; - } else if(areSisters(slave2, slave1) == 3) { + } else if (areSisters(slave2, slave1) === 3) { return "half-sister"; } else { return "some unknown blood connection"; } -} +}; diff --git a/src/js/familyTreeJS.js b/src/js/familyTreeJS.js index 2a56df06e0424f6913e09cbe5d147c5fb8c05c3c..fb8943b8a05fe46b9b5bde9a4c13867c8ebbc0fb 100644 --- a/src/js/familyTreeJS.js +++ b/src/js/familyTreeJS.js @@ -1,5 +1,3 @@ -'use strict'; - var lastActiveSlave, lastSlaves, lastPC; /* @@ -17,6 +15,7 @@ var lastActiveSlave, lastSlaves, lastPC; */ window.renderFamilyTree = function(slaves, filterID) { + 'use strict'; var ftreeWidth,ftreeHeight; var chartWidth, chartHeight; @@ -27,7 +26,6 @@ window.renderFamilyTree = function(slaves, filterID) { .attr('id','ftree-canvas'); var chartLayer = svg.append('g').classed('chartLayer', true); - var range = 100; var data = buildFamilyTree(slaves, filterID); initFtreeSVG(data); @@ -47,15 +45,15 @@ window.renderFamilyTree = function(slaves, filterID) { ftreeHeight = 1200; } - margin = {top:0, left:0, bottom:0, right:0 } + margin = { top: 0, left: 0, bottom: 0, right: 0 }; - chartWidth = ftreeWidth - (margin.left+margin.right) - chartHeight = ftreeHeight - (margin.top+margin.bottom) + chartWidth = ftreeWidth - (margin.left + margin.right); + chartHeight = ftreeHeight - (margin.top + margin.bottom); - svg.attr('width', ftreeWidth).attr('height', ftreeHeight) + svg.attr('width', ftreeWidth).attr('height', ftreeHeight); - var defs = svg.append('defs'); + svg.append('defs'); svg.append('defs').append('marker') .attr('id','arrowhead') @@ -74,17 +72,17 @@ window.renderFamilyTree = function(slaves, filterID) { chartLayer .attr('width', chartWidth) .attr('height', chartHeight) - .attr('transform', 'translate('+[margin.left, margin.top]+')') + .attr('transform', 'translate('+[margin.left, margin.top]+')'); } function runFtreeSim(data) { var simulation = d3.forceSimulation() - .force('link', d3.forceLink().id(function(d) { return d.index })) - .force('collide',d3.forceCollide( function(d){ return 60; }).iterations(4) ) + .force('link', d3.forceLink().id(function (d) { return d.index; })) + .force('collide', d3.forceCollide(function (d) { return 60; }).iterations(4)) .force('charge', d3.forceManyBody().strength(-200).distanceMin(100).distanceMax(1000)) .force('center', d3.forceCenter(chartWidth / 2, chartHeight / 2)) .force('y', d3.forceY(100)) - .force('x', d3.forceX(200)) + .force('x', d3.forceX(200)); var link = svg.append('g') .attr('class', 'link') @@ -94,9 +92,9 @@ window.renderFamilyTree = function(slaves, filterID) { .append('line') .attr('marker-end','url(#arrowhead)') .attr('stroke', function(d) { - if(d.type == 'homologous') { + if(d.type === 'homologous') { return '#862d59'; - } else if(d.type == 'paternal') { + } else if(d.type === 'paternal') { return '#24478f'; } else { return '#aa909b'; @@ -115,7 +113,7 @@ window.renderFamilyTree = function(slaves, filterID) { .on('end', dragended)); node.append('circle') - .attr('r', function(d){ return d.r }) + .attr('r', function (d) { return d.r; }) .attr('stroke', function(d) { if(d.ID == filterID) { return '#ffff20'; @@ -131,14 +129,14 @@ window.renderFamilyTree = function(slaves, filterID) { var ssym; if(d.ID == -1) { if(d.dick == 1 && d.vagina == 1) { - ssym = '☿' + ssym = '☿'; } else if (d.dick == 1) { ssym = '♂'; } else if (d.vagina == 1) { ssym = '♀'; } } else if (d.dick > 0 && d.vagina > -1) { - ssym = '☿' + ssym = '☿'; } else if (d.dick > 0) { ssym = '♂'; } else if (d.vagina > -1) { @@ -165,19 +163,19 @@ window.renderFamilyTree = function(slaves, filterID) { } }); - var circles = svg.selectAll('.node-circle'); - var texts = svg.selectAll('.node-text'); + svg.selectAll('.node-circle'); + svg.selectAll('.node-text'); - var ticked = function() { + var ticked = function () { link - .attr('x1', function(d) { return d.source.x; }) - .attr('y1', function(d) { return d.source.y; }) - .attr('x2', function(d) { return d.target.x; }) - .attr('y2', function(d) { return d.target.y; }); + .attr('x1', function (d) { return d.source.x; }) + .attr('y1', function (d) { return d.source.y; }) + .attr('x2', function (d) { return d.target.x; }) + .attr('y2', function (d) { return d.target.y; }); node - .attr("transform", function (d) {return "translate(" + d.x + ", " + d.y + ")";}); - } + .attr("transform", function (d) { return "translate(" + d.x + ", " + d.y + ")"; }); + }; simulation.nodes(data.nodes) .on('tick', ticked); @@ -558,12 +556,12 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS return; if (child.father == slave.ID) { if(!spouseToChild[child.mother]) { - spouseToChild[child.mother] = [] + spouseToChild[child.mother] = []; } spouseToChild[child.mother].push(child); } else if (child.mother == slave.ID) { if(!spouseToChild[child.father]) { - spouseToChild[child.father] = [] + spouseToChild[child.father] = []; } spouseToChild[child.father].push(child); } @@ -591,7 +589,7 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS } var marriage = { "spouse": {"name": spouseName, "class": spouse.genes}, - "children": children.map(function(x) { return slaveInfo_(x, activeSlaveId, slavesAdded, depth+1)} ), + "children": children.map(function (x) { return slaveInfo_(x, activeSlaveId, slavesAdded, depth + 1);} ), }; data.marriages.push(marriage); } @@ -599,8 +597,8 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS return data; } - if(activeSlave == PC || activeSlave == null) - activeSlave = getSlave(-1) + if (activeSlave == PC || activeSlave == null) + activeSlave = getSlave(-1); const treeData = [slaveInfo(activeSlave, activeSlave.ID)]; console.log("Family tree is", treeData, 'and has:', numTreeNodes); @@ -619,7 +617,7 @@ window.updateFamilyTree = function(activeSlave = lastActiveSlave, slaves = lastS width: Math.min(200 + 40*numTreeNodes, parentWidth-200) + 200, callbacks: { - nodeClick: function(name, extra) { + nodeClick: function(/*name, extra*/) { } } }); diff --git a/src/js/food.js b/src/js/food.js index 717bf8d0cc7758ea03c90b17e0c06a5497bfd3b3..4cfa12cadfe6b51b0b352904a152f4b4658a65d5 100644 --- a/src/js/food.js +++ b/src/js/food.js @@ -1,5 +1,5 @@ window.foodAmount = function (slave) { - const V = State.variables + const V = State.variables; var food = 400; //kg / food produced by base slave / week if (!slave) { return null; @@ -39,12 +39,12 @@ window.foodAmount = function (slave) { } else if (slave.eyes < -1) { //slave is blind food *= 0.6; } - if (slave.hears == -1) { //slave is hard of hearing + if (slave.hears === -1) { //slave is hard of hearing food *= 0.8; } else if (slave.hears < -1) { //slave is deaf food *= 0.6; } - if (slave.tired == 1) { //slave is tired + if (slave.tired === 1) { //slave is tired food *= 0.8; } food = Math.trunc(food); @@ -56,262 +56,262 @@ window.foodAmount = function (slave) { window.farmShowsIncome = function (slave) { //TODO: incorporate farmyardRestraints const V = State.variables; - let arcology = V.arcologies[0] - let cash = 999 //TODO: this is just a placeholder + let arcology = V.arcologies[0]; + let cash = 999; //TODO: this is just a placeholder if (!slave) { return null; } else { if (V.Farmer !== 0) { //farmer is assigned - cash *= 1.1 + cash *= 1.1; if (V.Farmer.skillFA >= V.masteredXP) { //farmer is master - cash *= 1.1 + cash *= 1.1; } } /* OPEN FS EFFECTS */ - if (arcology.FSSupremacist != "unset") { + if (arcology.FSSupremacist !== "unset") { if (slave.race === arcology.FSSupremacistRace) { //slave is of supreme race - cash *= 0.9 //TODO: should supreme race slaves receive a penalty? - V.rep -= 10 //TODO: should this cause a rep loss + cash *= 0.9; //TODO: should supreme race slaves receive a penalty? + V.rep -= 10; //TODO: should this cause a rep loss } } - if (arcology.FSSubjugationist != "unset") { - if (slave.race == arcology.FSSubjugationistRace) { //slave is of subjugated race - cash *= 1.1 - V.rep += 10 //TODO: should this cause a rep gain? + if (arcology.FSSubjugationist !== "unset") { + if (slave.race === arcology.FSSubjugationistRace) { //slave is of subjugated race + cash *= 1.1; + V.rep += 10; //TODO: should this cause a rep gain? } else { - cash *= 0.9 //TODO: should unsubjugated race slaves receive a penalty? + cash *= 0.9; //TODO: should unsubjugated race slaves receive a penalty? } } - if (arcology.FSRepopulationFocus != "unset") { + if (arcology.FSRepopulationFocus !== "unset") { if (slave.pregWeek > 16) { //slave is visibly pregnant - if (slave.eggType != "human") { //with a non-human - cash *= 1.1 + if (slave.eggType !== "human") { //with a non-human + cash *= 1.1; } - cash *= 1.2 + cash *= 1.2; } else { //slave is not visibly pregnant - cash *= 0.8 //TODO: should non-pregnant slaves receieve a penalty? + cash *= 0.8; //TODO: should non-pregnant slaves receieve a penalty? } } - if (arcology.FSRestart != "unset") { + if (arcology.FSRestart !== "unset") { if (slave.pregWeek > 16) { //slave is visibly pregnant - if (slave.eggType != "human") { //with a non-human - cash *= 0.9 - rep -= 15 + if (slave.eggType !== "human") { //with a non-human + cash *= 0.9; + V.rep -= 15; } - cash *= 0.6 - rep -= 10 + cash *= 0.6; + V.rep -= 10; } } - if (arcology.FSGenderRadicalist != "unset") { - if (slave.genes == "XY") { //TODO: does this make sense? - cash *= 1.1 + if (arcology.FSGenderRadicalist !== "unset") { + if (slave.genes === "XY") { //TODO: does this make sense? + cash *= 1.1; } else { - cash *= 0.8 + cash *= 0.8; } } - if (arcology.FSGenderFundamentalist != "unset") { - if (slave.genes == "XX") { - cash *= 1.1 //TODO: does this make sense? + if (arcology.FSGenderFundamentalist !== "unset") { + if (slave.genes === "XX") { + cash *= 1.1; //TODO: does this make sense? } else { - cash *= 0.8 + cash *= 0.8; } } - if (arcology.FSPaternalist != "unset") { + if (arcology.FSPaternalist !== "unset") { if (V.seeBestiality === 1) { if (V.farmyardBreeding === 1) { //slaves are being bred - cash *= 0.8 + cash *= 0.8; } else { //slaves are putting on shows - cash *= 0.9 + cash *= 0.9; } } } - if (arcology.FSDegradationist != "unset") { + if (arcology.FSDegradationist !== "unset") { if (V.seeBestiality === 1) { if (V.farmyardBreeding === 1) { //slaves are being bred - cash *= 1.2 + cash *= 1.2; } else { //slaves are putting on shows - cash *= 1.1 + cash *= 1.1; } } } - if (arcology.FSBodyPurist != "unset") { + if (arcology.FSBodyPurist !== "unset") { if (slave.boobsImplant > 0) { //slave has breast implants - cash *= 0.9 + cash *= 0.9; } if (slave.buttImplant > 0) { //slave has butt implants - cash *= 0.9 + cash *= 0.9; } if (slave.faceImplant > 0) { //slave has had facial surgery - cash *= 0.9 + cash *= 0.9; } if (slave.lipsImplant > 0) { //slave has lip implants - cash *= 0.9 + cash *= 0.9; } } - if (arcology.FSTransformationFetishist != "unset") { + if (arcology.FSTransformationFetishist !== "unset") { if (slave.boobsImplant > 0) { //slave has breast implants - cash *= 1.1 + cash *= 1.1; } if (slave.buttImplant > 0) { //slave has butt implants - cash *= 1.1 + cash *= 1.1; } if (slave.faceImplant > 0) { //slave has had facial surgery - cash *= 1.1 + cash *= 1.1; } if (slave.lipsImplant > 0) { //slave has lip implants - cash *= 1.1 + cash *= 1.1; } } - if (arcology.FSYouthPreferentialist != "unset") { + if (arcology.FSYouthPreferentialist !== "unset") { if (slave.visualAge > 25) { //slave looks older than 25 - cash *= 0.8 //TODO: not sure what age this should be + cash *= 0.8; //TODO: not sure what age this should be } else { - cash *= 1.2 + cash *= 1.2; } } - if (arcology.FSMaturityPreferentialist != "unset") { + if (arcology.FSMaturityPreferentialist !== "unset") { if (slave.visualAge > 25) { //slave looks older than 25 - cash *= 1.2 //TODO: not sure what age this should be + cash *= 1.2; //TODO: not sure what age this should be } else { - cash *= 0.8 + cash *= 0.8; } } - if (arcology.FSSlimnessEnthusiast != "unset") { + if (arcology.FSSlimnessEnthusiast !== "unset") { if (slave.weight > 10) { //slave is curvy or more - cash *= 0.9 //TODO: not sure what weight this should be + cash *= 0.9; //TODO: not sure what weight this should be } //TODO: should implants affect income? if (slave.boobs > 799) { //slave has larger than a D cup - cash *= 0.9 //TODO: should this be smaller? + cash *= 0.9; //TODO: should this be smaller? } if (slave.butt > 3) { //slave has bigger than a bubble butt - cash *= 0.9 + cash *= 0.9; } } - if (arcology.FSAssetExpanionist != "unset") { + if (arcology.FSAssetExpanionist !== "unset") { if (slave.weight > 10) { //slave is curvy or more - cash *= 1.1 //TODO: not sure what weight this should be + cash *= 1.1; //TODO: not sure what weight this should be } //TODO: should implants affect income? if (slave.boobs > 799) { //slave has larger than a D cup - cash *= 1.1 //TODO: should this be smaller? + cash *= 1.1; //TODO: should this be smaller? } if (slave.butt > 3) { //slave has bigger than a bubble butt - cash *= 1.1 + cash *= 1.1; } } - if (arcology.FSPastoralist != "unset") { + if (arcology.FSPastoralist !== "unset") { if (slave.boobs > 799) { //slave has larger than a D cup - cash *= 1.2 + cash *= 1.2; } if (slave.lactation > 0) { //slave is lactating - cash *= 1.1 + cash *= 1.1; } } - if (arcology.FSPhysicalIdealist != "unset") { + if (arcology.FSPhysicalIdealist !== "unset") { if (slave.height > 169) { //slave is tall or taller - cash *= 1.1 + cash *= 1.1; } else if (slave.height < 160) { //slave is short or shorter - cash *= 0.9 + cash *= 0.9; } } - if (arcology.FSHedonisticDecadence != "unset") { + if (arcology.FSHedonisticDecadence !== "unset") { if (slave.weight > 10) { //slave is curvy or fatter - cash *= 1.1 + cash *= 1.1; } else if (slave.weight < -10) { //slave is thin or thinner - cash *= 0.9 + cash *= 0.9; } } - if (arcology.FSChattelReligionist != "unset") { //TODO: I don't know what to put for this one + if (arcology.FSChattelReligionist !== "unset") { //TODO: I don't know what to put for this one if (slave.devotion < 21) { //if slave is careful or less - cash *= 0.9 + cash *= 0.9; } } //TODO: should I add the ancient cultures FS? /* CLOSE FS EFFECTS */ if (setup.entertainmentCareers.includes(slave.career)) { - cash *= 1.1 + cash *= 1.1; } else if (setup.farmerCareers.includes(slave.career)) { - cash *= 1.1 + cash *= 1.1; } if (slave.prestige === 1) { //slave is prestigious - cash *= 1.1 + cash *= 1.1; } else if (slave.prestige === 2) { //slave is very prestigious - cash *= 1.2 + cash *= 1.2; } else if (slave.prestige === 3) { //slave is extremely prestigious - cash *= 1.3 + cash *= 1.3; } if (slave.pornPrestige === 1) { //slave is prestigious from porn - cash *= 1.1 + cash *= 1.1; } else if (slave.pornPrestige === 2) { //slave is very prestigious from porn - cash *= 1.2 + cash *= 1.2; } else if (slave.pornPrestige === 3) { //slave is extremely prestigious from porn - cash *= 1.3 + cash *= 1.3; } //TODO: add relationship checks if (slave.health > 20) { //slave is very healthy or more - cash *= 1.1 + cash *= 1.1; } else if (slave.health < -20) { //slave is less than unhealthy - cash *= 0.8 + cash *= 0.8; } if (slave.face > 10) { //slave is very pretty or more - cash *= 1.1 + cash *= 1.1; } else if (slave.face < -10) { //slave is less than unattractive - cash *= 0.8 + cash *= 0.8; } if (slave.devotion > 50) { //slave is devoted or more - cash *= 1.1 + cash *= 1.1; } else if (slave.devotion < -50) { //slave is reluctant or less - cash *= 0.8 + cash *= 0.8; } if (slave.trust > 50) { //slave is trusting or more - cash *= 1.1 + cash *= 1.1; } else if (slave.trust < -50) { //slave is less than frightened - cash *= 0.8 //TODO: should trust be a factor? + cash *= 0.8; //TODO: should trust be a factor? } if (slave.weight > 30) { //slave is curvy or more - cash *= 0.8 //TODO: tie in Hedonistic FS + cash *= 0.8; //TODO: tie in Hedonistic FS } else if (slave.weight < -30) { //slave is very thin or less - cash *= 0.8 //TODO: put this on a scale + cash *= 0.8; //TODO: put this on a scale } if (slave.muscles > 30) { //slave is muscular or more - cash *= 0.9 //TODO: tie in height eugenics policy + cash *= 0.9; //TODO: tie in height eugenics policy } else if (slave.muscles < -30) { //slave is very weak or less - cash *= 0.9 //TODO: should this be on a scale? + cash *= 0.9; //TODO: should this be on a scale? } if (slave.eyes < 1) { //slaves eyesight is nearsighted or worse - cash *= 0.9 //TODO: should nearsighted and blind slaves receive a penalty? + cash *= 0.9; //TODO: should nearsighted and blind slaves receive a penalty? } if (slave.hears < 0) { //slave is hard of hearing or less - cash *= 0.9 //TODO: should hard of hearing slaves receive a penalty? + cash *= 0.9; //TODO: should hard of hearing slaves receive a penalty? } if (slave.boobs > 800) { //slave has a DD cup or bigger - cash *= 0.9 //TODO: would this make sense? + cash *= 0.9; //TODO: would this make sense? } if (slave.butt > 4) { //slave has an enormous butt or bigger - cash *= 0.9 //TODO: would this make sense? + cash *= 0.9; //TODO: would this make sense? } if (slave.preg < 0) { //slave is not fertile - cash *= 0.8 //TODO: not sure how to incorporate pregnancy + cash *= 0.8; //TODO: not sure how to incorporate pregnancy } //TODO: incorporate skills - if (slave.tired == 1) { //slave is tired - cash *= 0.9 + if (slave.tired === 1) { //slave is tired + cash *= 0.9; } if (slave.chem > 10) { //slave has high genetic damage - cash *= 0.9 + cash *= 0.9; } if (slave.intelligence > 50) { //slave is very smart or better - cash *= 1.1 + cash *= 1.1; } else if (slave.intelligence < -50) { //slave is very slow or less - cash *= 0.8 + cash *= 0.8; } if (slave.energy < 20) { //slave has poor sex drive or less - cash *= 0.9 - } - if (slave.fetish == "submissive") { - cash *= 1.1 - } else if (slave.fetish == "humiliation") { - cash *= 1.1 - } else if (slave.fetish == "masochist") { - cash *= 1.1 + cash *= 0.9; + } + if (slave.fetish === "submissive") { + cash *= 1.1; + } else if (slave.fetish === "humiliation") { + cash *= 1.1; + } else if (slave.fetish === "masochist") { + cash *= 1.1; } //TODO: tie in quirks and flaws - return cash + return cash; } -}; \ No newline at end of file +}; diff --git a/src/js/generateGenetics.js b/src/js/generateGenetics.js index 4121ddfe06ae529b2bc5e9a10e1f325baeb497c8..98ab81f15c7f4c6123432e818ac86feb9061cba4 100644 --- a/src/js/generateGenetics.js +++ b/src/js/generateGenetics.js @@ -12,7 +12,7 @@ window.generateGenetics = (function() { V = State.variables; genes = {gender: "XX", name: "blank", surname: 0, mother: 0, motherName: "none", father: 0, fatherName: "none", nationality: "Stateless", race: "white", intelligence: 0, face: 0, faceShape: "cute", eyeColor: "brown", hColor: "black", skin: "white", markings: "none", behavioralFlaw: "none", sexualFlaw: "none", pubicHSyle: "bushy", underArmHStyle: "bushy", clone: 0, cloneID: 0, geneticQuirks: 0}; if (actor1.ID > 0) { - mother = V.genePool.find(function(s) { return s.ID == actor1.ID; }); + mother = V.genePool.find(function(s) { return s.ID === actor1.ID; }); if (mother === undefined) { mother = actor1; } @@ -25,7 +25,7 @@ window.generateGenetics = (function() { mother = V.PC; } if (actor2 > 0) { - father = V.genePool.find(function(s) { return s.ID == actor2.ID; }); + father = V.genePool.find(function(s) { return s.ID === actor2.ID; }); activeFather = V.slaves[V.slaveIndices[actor2]]; if (father === undefined) { father = V.slaves[V.slaveIndices[actor2]]; @@ -33,13 +33,13 @@ window.generateGenetics = (function() { } if (father === undefined) { if (V.incubator > 0) { - father = V.tanks.find(function(s) { return s.ID == actor2.ID; }); + father = V.tanks.find(function(s) { return s.ID === actor2.ID; }); activeFather = 0; // activeFather = father? } } if (father === undefined) { if (V.nursery > 0) { - father = V.cribs.find(function(s) { return s.ID == actor2.ID; }); + father = V.cribs.find(function(s) { return s.ID === actor2.ID; }); activeFather = 0; // activeFather = father? } } @@ -47,7 +47,7 @@ window.generateGenetics = (function() { father = 0; activeFather = 0; } - } else if (actor2 == -1) { + } else if (actor2 === -1) { father = V.PC; activeFather = V.PC; } else { @@ -83,13 +83,13 @@ window.generateGenetics = (function() { // gender function setGender(father, mother) { let gender; - if (V.seeDicksAffectsPregnancy == 1) { + if (V.seeDicksAffectsPregnancy === 1) { gender = Math.floor(Math.random()*100) < V.seeDicks ? "XY" : "XX"; - } else if (V.adamPrinciple == 1) { + } else if (V.adamPrinciple === 1) { if (father !== 0) { - if (father.genes == "XX" && mother.genes == "XX") { + if (father.genes === "XX" && mother.genes === "XX") { gender = "XX"; - } else if (father.genes != mother.genes) { + } else if (father.genes !== mother.genes) { gender = jsEither(["XX", "XY"]); } else { gender = jsEither(["XX", "XY", "XY", "YY"]); @@ -116,12 +116,12 @@ window.generateGenetics = (function() { // motherName function setMotherName(activeMother) { let motherName; - if (activeMother.ID == -1) { + if (activeMother.ID === -1) { motherName = activeMother.name; - if (activeMother.surname !== 0 && activeMother.surname !== "") { motherName + " " + activeMother.surname; } + if (activeMother.surname !== 0 && activeMother.surname !== "") { motherName += " " + activeMother.surname; } } else { motherName = activeMother.slaveName; - if (activeMother.slaveSurname !== 0 && activeMother.slaveSurname !== "") { motherName + " " + activeMother.slaveSurname; } + if (activeMother.slaveSurname !== 0 && activeMother.slaveSurname !== "") { motherName += " " + activeMother.slaveSurname; } } return motherName; } @@ -135,12 +135,12 @@ window.generateGenetics = (function() { function setFatherName(father, activeFather, actor2) { let fatherName; if (father !== 0) { - if (father.ID == -1) { + if (father.ID === -1) { fatherName = activeFather.name; - if (activeFather.surname !== 0 && activeFather.surname !== "") { fatherName + " " + activeFather.surname; } + if (activeFather.surname !== 0 && activeFather.surname !== "") { fatherName += " " + activeFather.surname; } } else { fatherName = activeFather.slaveName; - if (activeFather.slaveSurname !== 0 && activeFather.slaveSurname !== "") { fatherName + " " + activeFather.slaveSurname; } + if (activeFather.slaveSurname !== 0 && activeFather.slaveSurname !== "") { fatherName += " " + activeFather.slaveSurname; } } } else { switch(actor2) { @@ -170,7 +170,7 @@ window.generateGenetics = (function() { // nationality function setNationality(father, mother) { return (father === 0) ? "Stateless" - : (father.nationality == mother.nationality) ? mother.nationality + : (father.nationality === mother.nationality) ? mother.nationality : "Stateless"; } @@ -178,13 +178,13 @@ window.generateGenetics = (function() { function setRace(father, mother, actor2) { let race; if (father !== 0) { - race = (mother.origRace == father.origRace) ? mother.origRace - : (jsRandom(1,4)) == 4 ? jsEither([father.origRace, mother.origRace]) + race = (mother.origRace === father.origRace) ? mother.origRace + : (jsRandom(1,4)) === 4 ? jsEither([father.origRace, mother.origRace]) : "mixed race"; - } else if (actor2 == -2 || actor2 == -5) { - if (V.arcologies[0].FSSupremacist != "unset") { + } else if (actor2 === -2 || actor2 === -5) { + if (V.arcologies[0].FSSupremacist !== "unset") { race = jsEither([mother.origRace, V.arcologies[0].FSSupremacistRace, V.arcologies[0].FSSupremacistRace]); - if (mother.origRace != V.arcologies[0].FSSupremacistRace) { + if (mother.origRace !== V.arcologies[0].FSSupremacistRace) { if (jsRandom(1,100) > 50) { race = "mixed race"; } @@ -210,7 +210,6 @@ window.generateGenetics = (function() { dark: 15, 'dark olive': 14, bronze: 13, - tan: 12, tan: 11, olive: 10, 'light olive': 9, @@ -226,51 +225,33 @@ window.generateGenetics = (function() { let momSkinIndex = mother ? (skinToMelanin[mother.origSkin] || 11) : 8; let dadSkinIndex = father !== 0 ? (skinToMelanin[father.origSkin] || 11) : 8; let skinIndex = Math.round(Math.random() * (dadSkinIndex - momSkinIndex) + momSkinIndex); - return [ - 'pure white', - 'pure white', - 'extremely pale', - 'pale', - 'extremely fair', - 'very fair', - 'fair', - 'white', - 'light', - 'light olive', - 'olive', - 'natural', - 'tan', - 'tan', - 'bronze', - 'dark olive', - 'dark', - 'light brown', - 'brown', - 'dark brown', - 'ebony', - 'black', - 'pure black' - ][skinIndex]; - }; + + var prop = ''; + for (prop in skinToMelanin) { + if (!skinToMelanin.hasOwnProperty(prop)) continue; + if (skinIndex >= skinToMelanin[prop]) return prop; + } + return prop; // skinIndex can be zero + } // eyeColor function setEyeColor(father, mother, actor2) { let eyeColor; if (father !== 0) { - if (mother.origEye == father.origEye) { + if (mother.origEye === father.origEye) { eyeColor = mother.origEye; - } else if (mother.origEye == "red" || mother.origEye == "pale red" || mother.origEye == "light red" || mother.origEye == "pale gray" || mother.origEye == "milky white") { + } else if (mother.origEye === "red" || mother.origEye === "pale red" || mother.origEye === "light red" || mother.origEye === "pale gray" || mother.origEye === "milky white") { eyeColor = father.origEye; - } else if (father.origEye == "red" || father.origEye == "pale red" || father.origEye == "light red" || father.origEye == "pale gray" || father.origEye == "milky white") { + } else if (father.origEye === "red" || father.origEye === "pale red" || father.origEye === "light red" || father.origEye === "pale gray" || father.origEye === "milky white") { eyeColor = mother.origEye; - } else if (mother.origEye == "blue") { - if (jsRandom(1,4) == 2) { + } else if (mother.origEye === "blue") { + if (jsRandom(1,4) === 2) { eyeColor = mother.origEye; } else { eyeColor = father.origEye; } - } else if (father.origEye == "blue") { - if (jsRandom(1,4) == 2) { + } else if (father.origEye === "blue") { + if (jsRandom(1,4) === 2) { eyeColor = father.origEye; } else { eyeColor = mother.origEye; @@ -300,19 +281,19 @@ window.generateGenetics = (function() { function setHColor(father, mother, actor2) { let hairColor; if (father !== 0) { - if (mother.origHColor == father.origHColor) { + if (mother.origHColor === father.origHColor) { hairColor = mother.origHColor; - } else if (mother.origHColor == "white") { - hairColor = jsRandom(1,100) == 69 ? mother.origHColor : father.origHColor; - } else if (father.origHColor == "white") { - hairColor = jsRandom(1,100) == 69 ? father.origHColor : mother.origHColor; - } else if (mother.origHColor == "black") { + } else if (mother.origHColor === "white") { + hairColor = jsRandom(1,100) === 69 ? mother.origHColor : father.origHColor; + } else if (father.origHColor === "white") { + hairColor = jsRandom(1,100) === 69 ? father.origHColor : mother.origHColor; + } else if (mother.origHColor === "black") { hairColor = jsEither([mother.origHColor, mother.origHColor, mother.origHColor, mother.origHColor, mother.origHColor, mother.origHColor, mother.origHColor, father.origHColor]); - } else if (father.origHColor == "black") { + } else if (father.origHColor === "black") { hairColor = jsEither([father.origHColor, father.origHColor, father.origHColor, father.origHColor, father.origHColor, father.origHColor, father.origHColor, mother.origHColor]); - } else if (mother.origHColor == "brown") { + } else if (mother.origHColor === "brown") { hairColor = jsEither([mother.origHColor, mother.origHColor, mother.origHColor, father.origHColor]); - } else if (father.origHColor == "brown") { + } else if (father.origHColor === "brown") { hairColor = jsEither([father.origHColor, father.origHColor, father.origHColor, mother.origHColor]); } else { hairColor = jsEither([mother.origHColor, father.origHColor]); @@ -329,15 +310,15 @@ window.generateGenetics = (function() { function setUnderArmHStyle(father, mother) { let hair; if (father !== 0) { - if (mother.underArmHStyle == "hairless" && father.underArmHStyle == "hairless") { + if (mother.underArmHStyle === "hairless" && father.underArmHStyle === "hairless") { hair = "hairless"; - } else if (mother.underArmHStyle == "hairless" || father.underArmHStyle == "hairless") { - hair = (jsRandom(1,5) == 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); + } else if (mother.underArmHStyle === "hairless" || father.underArmHStyle === "hairless") { + hair = (jsRandom(1,5) === 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } else { hair = jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } - } else if (mother.underArmHStyle == "hairless") { - hair = (jsRandom(1,5) == 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); + } else if (mother.underArmHStyle === "hairless") { + hair = (jsRandom(1,5) === 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } else { hair = jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } @@ -348,15 +329,15 @@ window.generateGenetics = (function() { function setPubicHStyle(father, mother) { let hair; if (father !== 0) { - if (mother.pubicHStyle == "hairless" && father.pubicHStyle == "hairless") { + if (mother.pubicHStyle === "hairless" && father.pubicHStyle === "hairless") { hair = "hairless"; - } else if (mother.pubicHStyle == "hairless" || father.pubicHStyle == "hairless") { - hair = (jsRandom(1,5) == 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); + } else if (mother.pubicHStyle === "hairless" || father.pubicHStyle === "hairless") { + hair = (jsRandom(1,5) === 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } else { hair = jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } - } else if (mother.pubicHStyle == "hairless") { - hair = (jsRandom(1,5) == 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); + } else if (mother.pubicHStyle === "hairless") { + hair = (jsRandom(1,5) === 3) ? "hairless" : jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } else { hair = jsEither(["bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless"]); } @@ -366,12 +347,12 @@ window.generateGenetics = (function() { // markings function setMarkings(father, mother) { let markings; - if (jsRandom(1,8) == 1) { + if (jsRandom(1,8) === 1) { markings = jsEither(["beauty mark", "birthmark"]); } else { markings = "none"; } - if (markings == "none") { + if (markings === "none") { if (father !== 0) { markings = jsEither([mother.markings, father.markings, "none", "none"]); } else { @@ -411,15 +392,15 @@ window.generateGenetics = (function() { } else { fetish = jsEither(["none", "none", "none", "none", "none", mother.fetish, mother.fetish]); } - if (fetish == "mindbroken") { fetish = "none"; } + if (fetish === "mindbroken") { fetish = "none"; } return fetish; } //intelligence function setIntelligence(father, mother, activeMother, actor2) { let smarts; - if (mother.ID == -1) { - if (actor2 == -6) { + if (mother.ID === -1) { + if (actor2 === -6) { smarts = jsRandom(90,100); } else if (father !== 0) { if (father.intelligence < mother.intelligence) { @@ -439,15 +420,15 @@ window.generateGenetics = (function() { } else { smarts = jsRandom(mother.intelligence, father.intelligence); } - if (activeMother.breedingMark == 1 && smarts <= 50) { + if (activeMother.breedingMark === 1 && smarts <= 50) { smarts = jsRandom(60,100); } } else { smarts = mother.intelligence; } - if (V.inbreeding == 1) { - if (mother.ID != -1) { - if (father !== 0 && father.ID == -1 && activeMother.breedingMark != 1) { + if (V.inbreeding === 1) { + if (mother.ID !== -1) { + if (father !== 0 && father.ID === -1 && activeMother.breedingMark !== 1) { if (smarts >= -95 && jsRandom(1,100) < 40) { smarts -= jsRandom(1,10); if (smarts >= -95 && jsRandom(1,100) < 20) { @@ -470,8 +451,8 @@ window.generateGenetics = (function() { //face function setFace(father, mother, activeMother, actor2) { let face; - if (mother.ID == -1) { - if (actor2 == -6) { + if (mother.ID === -1) { + if (actor2 === -6) { face = jsRandom(90,100); } else if (father !== 0) { if (father.face < mother.face) { @@ -491,15 +472,15 @@ window.generateGenetics = (function() { } else { face = jsRandom(mother.face, father.face); } - if (activeMother.breedingMark == 1 && face < 60) { + if (activeMother.breedingMark === 1 && face < 60) { face = jsRandom(60,100); } } else { face = mother.face; } - if (V.inbreeding == 1) { - if (mother.ID != -1) { - if (father !== 0 && father.ID == -1 && activeMother.breedingMark != 1) { + if (V.inbreeding === 1) { + if (mother.ID !== -1) { + if (father !== 0 && father.ID === -1 && activeMother.breedingMark !== 1) { if (face > -100 && jsRandom(1,100) > 60) { face -= jsRandom(2,20); } @@ -520,7 +501,7 @@ window.generateGenetics = (function() { function setFaceShape(father, mother) { let shape; if (father !== 0) { - if (mother.faceShape == father.faceShape) { + if (mother.faceShape === father.faceShape) { shape = mother.faceShape; } else { shape = jsEither(["androgynous", "androgynous", "cute", "cute", "exotic", "normal", "normal", "sensual", mother.faceShape, mother.faceShape]); @@ -537,17 +518,17 @@ window.generateGenetics = (function() { let chance = 0; // fertility - if (mother.geneticQuirks.fertility == 2) { - if (sex == "XX") { + if (mother.geneticQuirks.fertility === 2) { + if (sex === "XX") { quirks.fertility = 2; } else { quirks.fertility = 1; } - } else if (mother.geneticQuirks.fertility == 1) { + } else if (mother.geneticQuirks.fertility === 1) { chance = jsRandom(0, 1000); if (father !== 0) { if (father.geneticQuirks.fertility >= 1) { - if (sex == "XX") { + if (sex === "XX") { if (chance > 500) { quirks.fertility = 2; } else if (chance > 50) { @@ -560,7 +541,7 @@ window.generateGenetics = (function() { } } } else { - if (sex == "XX") { + if (sex === "XX") { if (chance > 950) { quirks.fertility = 2; } else if (chance > 200) { @@ -573,19 +554,19 @@ window.generateGenetics = (function() { } } } - + // hyper fertility - if (mother.geneticQuirks.hyperFertility == 2) { - if (sex == "XX") { + if (mother.geneticQuirks.hyperFertility === 2) { + if (sex === "XX") { quirks.hyperFertility = 2; } else { quirks.hyperFertility = 1; } - } else if (mother.geneticQuirks.hyperFertility == 1) { + } else if (mother.geneticQuirks.hyperFertility === 1) { chance = jsRandom(0, 1000); if (father !== 0) { if (father.geneticQuirks.hyperFertility >= 1) { - if (sex == "XX") { + if (sex === "XX") { if (chance > 750) { quirks.hyperFertility = 2; } else if (chance > 500) { @@ -598,7 +579,7 @@ window.generateGenetics = (function() { } } } else { - if (sex == "XX") { + if (sex === "XX") { if (chance > 950) { quirks.hyperFertility = 2; } else if (chance > 700) { @@ -619,7 +600,7 @@ window.generateGenetics = (function() { })(); -window.generateChild = function(mother, ova, destination) { +window.generateChild = function (mother, ova, destination) { let V = State.variables; let genes = ova.genetics; //maybe just argument this? We'll see. @@ -627,11 +608,11 @@ window.generateChild = function(mother, ova, destination) { let child = {}; if (!destination) { //does extra work for the incubator if defined, otherwise builds a simple object - if (genes.gender == "XX") { + if (genes.gender === "XX") { child.genes = "XX"; child.slaveSurname = genes.surname; if (!pregUpgrade) { - if (genes.mother == -1) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your daughter"; } else { @@ -639,7 +620,7 @@ window.generateChild = function(mother, ova, destination) { } child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your daughter`; child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { @@ -669,15 +650,15 @@ window.generateChild = function(mother, ova, destination) { } } else { let childName = genes.name; - if (childName.indexOf("ovum") == 0) { - if (genes.mother == -1) { + if (childName.indexOf("ovum") === 0) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your son"; } else { child.slaveName = `Your and ${genes.fatherName}'s son`; } } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your son`; } else if (genes.father > 0) { child.slaveName = `${genes.motherName} and ${genes.fatherName}'s son`; @@ -688,10 +669,10 @@ window.generateChild = function(mother, ova, destination) { } else { child.slaveName = genes.name; } - if (genes.mother == -1) { + if (genes.mother === -1) { child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { let currentMother = getSlave(genes.mother); @@ -721,7 +702,7 @@ window.generateChild = function(mother, ova, destination) { child.genes = "XY"; child.slaveSurname = genes.surname; if (!pregUpgrade) { - if (genes.mother == -1) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your son"; } else { @@ -729,7 +710,7 @@ window.generateChild = function(mother, ova, destination) { } child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your son`; child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { @@ -759,15 +740,15 @@ window.generateChild = function(mother, ova, destination) { } } else { let childName = genes.name; - if (childName.indexOf("ovum") == 0) { - if (genes.mother == -1) { + if (childName.indexOf("ovum") === 0) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your son"; } else { child.slaveName = `Your and ${genes.fatherName}'s son`; } } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your son`; } else if (genes.father > 0) { child.slaveName = `${genes.motherName} and ${genes.fatherName}'s son`; @@ -778,10 +759,10 @@ window.generateChild = function(mother, ova, destination) { } else { child.slaveName = genes.name; } - if (genes.mother == -1) { + if (genes.mother === -1) { child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { let currentMother = getSlave(genes.mother); @@ -817,7 +798,7 @@ window.generateChild = function(mother, ova, destination) { child.intelligence = genes.intelligence; if (mother.prematureBirth > 0) { if (child.intelligence >= -90) { - child.intelligence -= jsRandom(0,10) + child.intelligence -= jsRandom(0, 10); } child.premature = 1; } @@ -839,10 +820,10 @@ window.generateChild = function(mother, ova, destination) { child.faceShape = genes.faceShape; } if (mother.addict > 0) { - child.addict = Math.trunc(mother.addict/2); + child.addict = Math.trunc(mother.addict / 2); } child.weekAcquired = V.week; - if (child.nationality == "Stateless") { + if (child.nationality === "Stateless") { if (V.arcologies[0].FSRomanRevivalist > 90) { child.nationality = "Roman Revivalist"; } else if (V.arcologies[0].FSAztecRevivalist > 90) { @@ -865,12 +846,12 @@ window.generateChild = function(mother, ova, destination) { V.one_time_age_overrides_pedo_mode = 1; V.ageAdjustOverride = 1; - if (genes.gender == "XX") { + if (genes.gender === "XX") { GenerateNewSlave("XX"); child = V.activeSlave; child.slaveSurname = genes.surname; if (!pregUpgrade) { - if (genes.mother == -1) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your daughter"; } else { @@ -878,7 +859,7 @@ window.generateChild = function(mother, ova, destination) { } child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your daughter`; child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { @@ -908,15 +889,15 @@ window.generateChild = function(mother, ova, destination) { } } else { let childName = genes.name; - if (childName.indexOf("ovum") == 0) { - if (genes.mother == -1) { + if (childName.indexOf("ovum") === 0) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your daughter"; } else { child.slaveName = `Your and ${genes.fatherName}'s daughter`; } } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your daughter`; } else if (genes.father > 0) { child.slaveName = `${genes.motherName} and ${genes.fatherName}'s daughter`; @@ -927,10 +908,10 @@ window.generateChild = function(mother, ova, destination) { } else { child.slaveName = genes.name; } - if (genes.mother == -1) { + if (genes.mother === -1) { child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { let currentMother = getSlave(genes.mother); @@ -961,7 +942,7 @@ window.generateChild = function(mother, ova, destination) { child = V.activeSlave; child.slaveSurname = genes.surname; if (!pregUpgrade) { - if (genes.mother == -1) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your son"; } else { @@ -969,7 +950,7 @@ window.generateChild = function(mother, ova, destination) { } child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your son`; child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { @@ -999,15 +980,15 @@ window.generateChild = function(mother, ova, destination) { } } else { let childName = genes.name; - if (childName.indexOf("ovum") == 0) { - if (genes.mother == -1) { + if (childName.indexOf("ovum") === 0) { + if (genes.mother === -1) { if (genes.father <= 0) { child.slaveName = "Your son"; } else { child.slaveName = `Your and ${genes.fatherName}'s son`; } } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveName = `${genes.motherName} and your son`; } else if (genes.father > 0) { child.slaveName = `${genes.motherName} and ${genes.fatherName}'s son`; @@ -1018,10 +999,10 @@ window.generateChild = function(mother, ova, destination) { } else { child.slaveName = genes.name; } - if (genes.mother == -1) { + if (genes.mother === -1) { child.slaveSurname = V.PC.surname; } else { - if (genes.father == -1) { + if (genes.father === -1) { child.slaveSurname = V.PC.surname; } else if (genes.father > 0) { let currentMother = getSlave(genes.mother); @@ -1064,7 +1045,7 @@ window.generateChild = function(mother, ova, destination) { child.intelligence = genes.intelligence; if (mother.prematureBirth > 0) { if (child.intelligence >= -90) { - child.intelligence -= jsRandom(0,10) + child.intelligence -= jsRandom(0, 10); } child.premature = 1; } @@ -1086,8 +1067,8 @@ window.generateChild = function(mother, ova, destination) { child.birthWeek = 0; child.energy = 0; child.anus = 0; - if (child.vagina > 0) {child.vagina = 0;} - if (child.fetish != "none") {child.fetishStrength = 20;} + if (child.vagina > 0) { child.vagina = 0; } + if (child.fetish !== "none") { child.fetishStrength = 20; } if (child.dick > 0) { child.foreskin = 1; child.balls = 1; @@ -1097,7 +1078,7 @@ window.generateChild = function(mother, ova, destination) { child.faceShape = genes.faceShape; } if (mother.addict > 0) { - child.addict = Math.trunc(mother.addict/2); + child.addict = Math.trunc(mother.addict / 2); } child.career = "a slave since birth"; child.birthName = child.slaveName; @@ -1105,7 +1086,7 @@ window.generateChild = function(mother, ova, destination) { child.devotion = 0; child.trust = 0; child.weekAcquired = V.week; - if (child.nationality == "Stateless") { + if (child.nationality === "Stateless") { if (V.arcologies[0].FSRomanRevivalist > 90) { child.nationality = "Roman Revivalist"; } else if (V.arcologies[0].FSAztecRevivalist > 90) { @@ -1173,7 +1154,7 @@ window.generateChild = function(mother, ova, destination) { child.canRecruit = 0; child.hStyle = "long"; child.hLength = 300; - if (V.incubatorImprintSetting == "terror") { + if (V.incubatorImprintSetting === "terror") { child.origin = "She was conditioned from birth into mindless terror in an aging tank."; child.tankBaby = 2; } else { @@ -1184,4 +1165,4 @@ window.generateChild = function(mother, ova, destination) { child.navelPiercing = 0; } return child; -} \ No newline at end of file +}; diff --git a/src/js/generateNewSlaveJS.js b/src/js/generateNewSlaveJS.js index deabc979139087027ca202f5732d2a466b3c395a..65880d2c4b34a4de8cadd08412facc96b6ff0479 100644 --- a/src/js/generateNewSlaveJS.js +++ b/src/js/generateNewSlaveJS.js @@ -13,9 +13,9 @@ window.GenerateNewSlave = (function(){ GenerateXYSlave(); } else if (V.seeDicks > 0) { var femaleSlaveGen = 80; - if (V.arcologies[0].FSGenderFundamentalistSMR == 1 || V.arcologies[0].FSRepopulationFocusSMR == 1) { + if (V.arcologies[0].FSGenderFundamentalistSMR === 1 || V.arcologies[0].FSRepopulationFocusSMR === 1) { femaleSlaveGen = 90; - } else if (V.arcologies[0].FSGenderRadicalist != "unset") { + } else if (V.arcologies[0].FSGenderRadicalist !== "unset") { femaleSlaveGen = 50; } if (jsRandom(1,100) > femaleSlaveGen && jsRandom(0,99) < V.seeDicks) { @@ -26,14 +26,14 @@ window.GenerateNewSlave = (function(){ } else { GenerateXXSlave(); } - } else if (sex == "XY") { + } else if (sex === "XY") { GenerateXYSlave(); } else { GenerateXXSlave(); } postGenCleanup(); - }; + } function preGenCombinedStats() { slave.ID = V.IDNumber++; @@ -52,7 +52,7 @@ window.GenerateNewSlave = (function(){ generateAccent(); nationalityToName(slave); generateRacialTraits(); - }; + } function postGenCleanup() { generateBoobTweaks(); /* split this up for female vs. male? */ @@ -63,7 +63,7 @@ window.GenerateNewSlave = (function(){ slave.origEye = slave.eyeColor; slave.origHColor = slave.hColor; slave.origSkin = slave.skin; - }; + } function GenerateXXSlave() { slave.ovaries = 1; @@ -83,7 +83,7 @@ window.GenerateNewSlave = (function(){ generateXXBodyHair(); generateXXPuberty(); generateXXGeneticQuirks(); - }; + } function GenerateXYSlave() { slave.genes = "XY"; @@ -106,7 +106,7 @@ window.GenerateNewSlave = (function(){ generateXYBodyHair(); generateXYPuberty(); generateXYGeneticQuirks(); - }; + } function generateXXBodyProportions() { slave.height = Math.round(Height.random(slave)); @@ -133,7 +133,7 @@ window.GenerateNewSlave = (function(){ } else { slave.waist = jsRandom(50,100); } - }; + } function generateXYBodyProportions() { slave.height = Math.round(Height.random(slave)); @@ -165,7 +165,7 @@ window.GenerateNewSlave = (function(){ } else { slave.waist = jsRandom(50,100); } - }; + } function generateVagina() { if (slave.physicalAge <= 13) { @@ -214,7 +214,7 @@ window.GenerateNewSlave = (function(){ slave.vaginaLube = 1; } slave.foreskin = jsRandom(0,4); - }; + } function generateDick() { slave.vagina = -1; @@ -223,7 +223,7 @@ window.GenerateNewSlave = (function(){ if (slave.physicalAge <= 13) { slave.dick = jsEither([1, 1, 1, 1, 2, 2, 2, 3]); - if (V.seeExtreme == 1) { + if (V.seeExtreme === 1) { slave.balls = jsEither([0, 0, 1, 1, 1, 2, 2, 2, 2, 3, 3]); } else { slave.balls = jsEither([1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3]); @@ -231,7 +231,7 @@ window.GenerateNewSlave = (function(){ slave.scrotum = slave.balls; } else if (slave.physicalAge <= 15) { slave.dick = jsEither([1, 1, 1, 2, 2, 2, 3]); - if (V.seeExtreme == 1) { + if (V.seeExtreme === 1) { slave.balls = jsEither([0, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4]); } else { slave.balls = jsEither([1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4]); @@ -239,7 +239,7 @@ window.GenerateNewSlave = (function(){ slave.scrotum = slave.balls; } else if (slave.physicalAge <= 17) { slave.dick = jsEither([1, 1, 2, 2, 3, 3]); - if (V.seeExtreme == 1) { + if (V.seeExtreme === 1) { slave.balls = jsEither([0, 1, 1, 2, 2, 2, 3, 3, 3, 4, 5]); } else { slave.balls = jsEither([1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 5]); @@ -247,12 +247,12 @@ window.GenerateNewSlave = (function(){ slave.scrotum = slave.balls; } else { slave.dick = jsEither([1, 2, 2, 2, 3, 3, 3, 4, 4, 5]); - if (V.seeExtreme == 1) { + if (V.seeExtreme === 1) { slave.balls = jsEither([0, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5]); } else { slave.balls = jsEither([1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 5]); } - if (slave.balls != 0) { + if (slave.balls !== 0) { slave.scrotum = slave.balls + jsEither([0, 0, 1]); } else { slave.scrotum = 0; @@ -261,7 +261,7 @@ window.GenerateNewSlave = (function(){ slave.vasectomy = 1; } } - }; + } function generateCircumcision() { /* The default rate of 50* is wildly unrepresentative, and there is extreme regional variation. */ @@ -274,7 +274,7 @@ window.GenerateNewSlave = (function(){ It would be better to break it down by both country and race if statistics are available. */ - if (V.seeCircumcision == 0) { + if (V.seeCircumcision === 0) { slave.foreskin = slave.dick + jsRandom(0,1); } else { /* Temporarily use activeSlave.foreskin to store the chance of circumcision. */ @@ -624,10 +624,10 @@ window.GenerateNewSlave = (function(){ slave.foreskin = 38; } /* Second pass for minorities in other countries. */ - if (slave.race == "middle eastern" && slave.foreskin < 76) { + if (slave.race === "middle eastern" && slave.foreskin < 76) { slave.foreskin = 76; } - if (slave.race == "semitic" && slave.foreskin < 90) { + if (slave.race === "semitic" && slave.foreskin < 90) { slave.foreskin = 90; } /* Chance activeSlave.foreskin back to the normal meaning. */ @@ -637,7 +637,7 @@ window.GenerateNewSlave = (function(){ slave.foreskin = slave.dick + jsRandom(0,1); } } - }; + } function generateXXPreferences() { randomizeAttraction(slave); @@ -645,18 +645,18 @@ window.GenerateNewSlave = (function(){ slave.fetish = jsEither(["boobs", "buttslut", "cumslut", "dom", "humiliation", "humiliation", "masochist", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "pregnancy", "sadist", "submissive", "submissive"]); slave.behavioralFlaw = jsEither(["anorexic", "arrogant", "bitchy", "devout", "gluttonous", "hates men", "hates women", "hates women", "liberated", "none", "none", "none", "odd"]); - if (slave.behavioralFlaw == "devout") { + if (slave.behavioralFlaw === "devout") { slave.sexualFlaw = jsEither(["apathetic", "crude", "judgemental", "none", "repressed", "shamefast"]); } else { slave.sexualFlaw = jsEither(["apathetic", "crude", "hates anal", "hates oral", "hates penetration", "idealistic", "judgemental", "none", "none", "none", "none", "repressed", "shamefast"]); } - if (slave.behavioralFlaw == "none" && jsRandom(1,10) == 1) { + if (slave.behavioralFlaw === "none" && jsRandom(1,10) === 1) { slave.behavioralQuirk = jsEither(["adores men", "adores women", "advocate", "confident", "cutting", "fitness", "funny", "insecure", "sinful"]); } - if (slave.sexualFlaw == "none" && jsRandom(1,10) == 1) { + if (slave.sexualFlaw === "none" && jsRandom(1,10) === 1) { slave.sexualQuirk = jsEither(["caring", "gagfuck queen", "painal queen", "perverted", "romantic", "size queen", "strugglefuck queen", "tease", "unflinching"]); } - }; + } function generateXYPreferences() { randomizeAttraction(slave); @@ -664,18 +664,18 @@ window.GenerateNewSlave = (function(){ slave.fetish = jsEither(["boobs", "buttslut", "buttslut", "cumslut", "dom", "humiliation", "masochist", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "none", "sadist", "submissive"]); slave.behavioralFlaw = jsEither(["anorexic", "arrogant", "bitchy", "devout", "gluttonous", "hates men", "hates men", "hates men", "hates women", "liberated", "none", "none", "none", "odd"]); - if (slave.behavioralFlaw == "devout") { + if (slave.behavioralFlaw === "devout") { slave.sexualFlaw = jsEither(["apathetic", "crude", "judgemental", "none", "repressed", "shamefast"]); } else { slave.sexualFlaw = jsEither(["apathetic", "crude", "hates anal", "hates anal", "hates oral", "idealistic", "judgemental", "none", "none", "none", "none", "repressed", "shamefast"]); } - if (slave.behavioralFlaw == "none" && jsRandom(1,10) == 1) { + if (slave.behavioralFlaw === "none" && jsRandom(1,10) === 1) { slave.behavioralQuirk = jsEither(["adores men", "adores women", "advocate", "confident", "cutting", "fitness", "funny", "insecure", "sinful"]); } - if (slave.sexualFlaw == "none" && jsRandom(1,10) == 1) { + if (slave.sexualFlaw === "none" && jsRandom(1,10) === 1) { slave.sexualQuirk = jsEither(["caring", "gagfuck queen", "painal queen", "perverted", "romantic", "size queen", "strugglefuck queen", "tease", "unflinching"]); } - }; + } function generateXXButt() { if (slave.physicalAge <= 11) { @@ -707,7 +707,7 @@ window.GenerateNewSlave = (function(){ slave.butt = jsEither([1, 2, 2, 3, 3, 4]); } } - if (V.weightAffectsAssets != 0) { + if (V.weightAffectsAssets !== 0) { if (slave.weight < -10 && slave.butt > 1) { slave.butt -= 1; } else if (slave.weight > 100 && slave.butt < 6) { @@ -718,7 +718,7 @@ window.GenerateNewSlave = (function(){ } slave.anus = jsEither([0, 0, 1, 1, 2]); slave.analArea = slave.anus + jsEither([0, 0, 0, 1]); - }; + } function generateXYButt() { if (slave.physicalAge <= 13) { @@ -726,7 +726,7 @@ window.GenerateNewSlave = (function(){ } else { slave.butt = jsEither([1, 1, 2, 3]); } - if (V.weightAffectsAssets != 0) { + if (V.weightAffectsAssets !== 0) { if (slave.weight < -10 && slave.butt > 1) { slave.butt -= 1; } else if (slave.weight > 100 && slave.butt < 6) { @@ -749,20 +749,20 @@ window.GenerateNewSlave = (function(){ } } slave.analArea = slave.anus + jsEither([0, 0, 0, 1]); - }; + } function generateXXBoobs() { if (slave.physicalAge <= 10) { slave.boobs = 100; - } else if (slave.physicalAge == 11) { + } else if (slave.physicalAge === 11) { slave.boobs = jsEither([100, 100, 150, 150, 150, 300]); - } else if (slave.physicalAge == 12) { + } else if (slave.physicalAge === 12) { slave.boobs = jsEither([100, 100, 150, 150, 150, 200, 200, 300]); - } else if (slave.physicalAge == 13) { + } else if (slave.physicalAge === 13) { slave.boobs = jsEither([100, 150, 200, 200, 300, 300, 300, 400]); - } else if (slave.physicalAge == 14) { + } else if (slave.physicalAge === 14) { slave.boobs = jsEither([100, 150, 200, 300, 300, 300, 350, 400, 400]); - } else if (slave.physicalAge == 15) { + } else if (slave.physicalAge === 15) { slave.boobs = jsEither([150, 200, 300, 300, 300, 350, 350, 350, 400, 400, 450, 450]); } else { switch (slave.race) { @@ -779,15 +779,15 @@ window.GenerateNewSlave = (function(){ slave.boobs = BoobGenerator.rollBreast(0); } } - }; + } function generateXYBoobs() { slave.boobs = jsEither([100, 200, 200, 300, 300, 400, 500]); - }; + } function generateXXFace() { slave.face = jsRandom(-60,60); - if (jsRandom(0,2) == 0) { + if (jsRandom(0,2) === 0) { slave.face = jsRandom(-10,10); } if (slave.physicalAge > 40) { @@ -816,11 +816,11 @@ window.GenerateNewSlave = (function(){ case "masculine": slave.face += jsRandom(-10,0); } - }; + } function generateXYFace() { slave.face = jsRandom(-70,20); - if (jsRandom(0,2) == 0) { + if (jsRandom(0,2) === 0) { slave.face = jsRandom(-40,-10); } if (slave.physicalAge > 40) { @@ -855,7 +855,7 @@ window.GenerateNewSlave = (function(){ case "masculine": slave.face += jsRandom(-10,0); } - }; + } function generateXXPregAdaptation() { if (slave.physicalAge <= 6) { @@ -873,7 +873,7 @@ window.GenerateNewSlave = (function(){ } else { slave.pregAdaptation = 50; } - }; + } function generateXYPregAdaptation() { if (slave.physicalAge <= 6) { @@ -885,7 +885,7 @@ window.GenerateNewSlave = (function(){ } else { slave.pregAdaptation = 20; } - }; + } function generateXXVoice() { if (slave.physicalAge <= 13) { @@ -895,7 +895,7 @@ window.GenerateNewSlave = (function(){ } else { slave.voice = jsEither([1, 2, 2, 2, 2, 2, 2, 3, 3, 3]); } - }; + } function generateXYVoice() { if (slave.physicalAge <= 11) { @@ -913,11 +913,11 @@ window.GenerateNewSlave = (function(){ slave.voice = jsEither([1, 2, 2]); } } - }; + } function generateXXTeeth() { var femaleCrookedTeethGen = slave.intelligence+slave.intelligenceImplant; - if ("American" == slave.nationality) { + if ("American" === slave.nationality) { femaleCrookedTeethGen += 20; } else if (["Andorran", "Antiguan", "Argentinian", "Aruban", "Australian", "Austrian", "Bahamian", "Bahraini", "Barbadian", "Belarusian", "Belgian", "Bermudian", "Brazilian", "British", "Bruneian", "Bulgarian", "Canadian", "Catalan", "Chilean", "a Cook Islander", "Croatian", "Curaçaoan", "Cypriot", "Czech", "Danish", "Dutch", "Emirati", "Estonian", "Finnish", "French", "German", "Greek", "Greenlandic", "Guamanian", "Hungarian", "Icelandic", "Irish", "Israeli", "Italian", "Japanese", "Kazakh", "Korean", "Kuwaiti", "Latvian", "a Liechtensteiner", "Lithuanian", "Luxembourgian", "Malaysian", "Maltese", "Mauritian", "Monégasque", "Montenegrin", "New Caledonian", "a New Zealander", "Niuean", "Norwegian", "Omani", "Palauan", "Panamanian", "Polish", "Portuguese", "Puerto Rican", "Qatari", "Romanian", "Russian", "Sammarinese", "Saudi", "Seychellois", "Singaporean", "Slovak", "Slovene", "Spanish", "Swedish", "Swiss", "Taiwanese", "Trinidadian", "Uruguayan", "Vatican"].includes(slave.nationality)) { /* do nothing */ @@ -934,11 +934,11 @@ window.GenerateNewSlave = (function(){ } else if (slave.physicalAge < 12) { slave.teeth = "mixed"; } - }; + } function generateXYTeeth() { var maleCrookedTeethGen = slave.intelligence+slave.intelligenceImplant; - if ("American" == slave.nationality) { + if ("American" === slave.nationality) { maleCrookedTeethGen += 22; } else if (["Andorran", "Antiguan", "Argentinian", "Aruban", "Australian", "Austrian", "Bahamian", "Bahraini", "Barbadian", "Belarusian", "Belgian", "Bermudian", "Brazilian", "British", "Bruneian", "Bulgarian", "Canadian", "Catalan", "Chilean", "a Cook Islander", "Croatian", "Curaçaoan", "Cypriot", "Czech", "Danish", "Dutch", "Emirati", "Estonian", "Finnish", "French", "German", "Greek", "Greenlandic", "Guamanian", "Hungarian", "Icelandic", "Irish", "Israeli", "Italian", "Japanese", "Kazakh", "Korean", "Kuwaiti", "Latvian", "a Liechtensteiner", "Lithuanian", "Luxembourgian", "Malaysian", "Maltese", "Mauritian", "Monégasque", "Montenegrin", "New Caledonian", "a New Zealander", "Niuean", "Norwegian", "Omani", "Palauan", "Panamanian", "Polish", "Portuguese", "Puerto Rican", "Qatari", "Romanian", "Russian", "Sammarinese", "Saudi", "Seychellois", "Singaporean", "Slovak", "Slovene", "Spanish", "Swedish", "Swiss", "Taiwanese", "Trinidadian", "Uruguayan", "Vatican"].includes(slave.nationality)) { /* do nothing */ @@ -955,10 +955,10 @@ window.GenerateNewSlave = (function(){ } else if (slave.physicalAge < 12) { slave.teeth = "mixed"; } - }; + } function generateXXMods() { - if (passage() != "Starting Girls") { + if (passage() !== "Starting Girls") { slave.earPiercing = jsEither([0,1]); slave.nosePiercing = jsEither([0,0,0,1]); slave.eyebrowPiercing = jsEither([0,0,0,0,0,1]); @@ -967,13 +967,13 @@ window.GenerateNewSlave = (function(){ slave.navelPiercing = jsEither([0,0,0,1]); slave.nipplesPiercing = jsEither([0,0,0,0,1]); } - if (slave.anus != 0 && Math.random() < 0.25) { + if (slave.anus !== 0 && Math.random() < 0.25) { slave.anusTat = "bleached"; } - }; + } function generateXYMods() { - if (passage() != "Starting Girls") { + if (passage() !== "Starting Girls") { slave.earPiercing = jsEither([0,0,0,1]); slave.nosePiercing = jsEither([0,0,0,0,1]); slave.eyebrowPiercing = jsEither([0,0,0,0,0,1]); @@ -982,21 +982,21 @@ window.GenerateNewSlave = (function(){ slave.navelPiercing = jsEither([0,0,0,0,1]); slave.nipplesPiercing = jsEither([0,0,0,0,1]); } - if (slave.anus != 0 && Math.random() < 0.25) { + if (slave.anus !== 0 && Math.random() < 0.25) { slave.anusTat = "bleached"; } - }; + } function generateXXBodyHair() { slave.pubicHColor = slave.hColor; slave.underArmHColor = slave.hColor; slave.pubicHStyle = jsEither(["bald", "bald", "bushy in the front and neat in the rear", "bushy in the front and neat in the rear", "bushy in the front and neat in the rear", "bushy in the front and neat in the rear", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless", "in a strip", "in a strip", "in a strip", "in a strip", "in a strip", "neat", "neat", "neat", "neat", "neat", "very bushy", "very bushy", "waxed", "waxed", "waxed", "waxed", "waxed", "waxed"]); slave.underArmHStyle = jsEither(["bald", "bald", "bushy", "bushy", "bushy", "hairless", "neat", "neat", "neat", "neat", "neat", "shaved", "shaved", "shaved", "shaved", "shaved", "waxed", "waxed", "waxed", "waxed"]); - if ((slave.pubicHStyle == "hairless" || slave.underArmHStyle == "hairless") && Math.random() > 0.4) { + if ((slave.pubicHStyle === "hairless" || slave.underArmHStyle === "hairless") && Math.random() > 0.4) { slave.pubicHStyle = "hairless"; slave.underArmHStyle = "hairless"; } - if (slave.hColor == "blonde" && Math.random() > 0.85) { + if (slave.hColor === "blonde" && Math.random() > 0.85) { slave.eyebrowHColor = jsEither(["black", "brown", "brown", "brown", "brown"]); slave.override_Brow_H_Color = 1; } else { @@ -1004,18 +1004,18 @@ window.GenerateNewSlave = (function(){ } slave.eyebrowHStyle = jsEither(["bald", "curved", "curved", "curved", "curved", "curved", "curved", "curved", "elongated", "elongated", "elongated", "high-arched", "high-arched", "high-arched", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "rounded", "rounded", "rounded", "rounded", "rounded", "shaved", "shaved", "shortened", "shortened", "shortened", "slanted inwards", "slanted inwards", "slanted outwards", "slanted outwards", "straight", "straight", "straight", "straight", "straight", "straight"]); slave.eyebrowFullness = jsEither(["bushy", "bushy", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "pencil-thin", "pencil-thin", "tapered", "tapered", "tapered", "tapered", "thick", "thick", "thick", "thin", "thin", "thin", "threaded", "threaded", "threaded", "threaded"]); - }; + } function generateXYBodyHair() { slave.pubicHColor = slave.hColor; slave.underArmHColor = slave.hColor; slave.pubicHStyle = jsEither(["bald", "bald", "bushy in the front and neat in the rear", "bushy in the front and neat in the rear", "bushy in the front and neat in the rear", "bushy", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless", "in a strip", "in a strip", "in a strip", "neat", "neat", "neat", "neat", "neat", "neat", "very bushy", "very bushy", "waxed", "waxed", "waxed", "waxed", "waxed", "waxed"]); slave.underArmHStyle = jsEither(["bald", "bald", "bushy", "bushy", "bushy", "bushy", "bushy", "hairless", "neat", "neat", "neat", "neat", "neat", "neat", "neat", "shaved", "shaved", "shaved", "shaved", "shaved", "waxed", "waxed", "waxed", "waxed"]); - if ((slave.pubicHStyle == "hairless" || slave.underArmHStyle == "hairless") && Math.random() > 0.4) { + if ((slave.pubicHStyle === "hairless" || slave.underArmHStyle === "hairless") && Math.random() > 0.4) { slave.pubicHStyle = "hairless"; slave.underArmHStyle = "hairless"; } - if (slave.hColor == "blonde" && Math.random() > 0.85) { + if (slave.hColor === "blonde" && Math.random() > 0.85) { slave.eyebrowHColor = jsEither(["black", "brown", "brown", "brown", "brown"]); slave.override_Brow_H_Color = 1; } else { @@ -1023,7 +1023,7 @@ window.GenerateNewSlave = (function(){ } slave.eyebrowHStyle = jsEither(["bald", "curved", "curved", "curved", "curved", "curved", "elongated", "high-arched", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "rounded", "shaved", "shaved", "shortened", "slanted inwards", "slanted outwards", "straight", "straight", "straight", "straight", "straight", "straight"]); slave.eyebrowFullness = jsEither(["bushy", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "natural", "pencil-thin", "tapered", "tapered", "tapered", "thick", "thick", "thin", "thin", "threaded", "threaded", "threaded"]); - }; + } function generateXXPuberty() { if (slave.physicalAge >= slave.pubertyAgeXX) { @@ -1043,7 +1043,7 @@ window.GenerateNewSlave = (function(){ } else { slave.pubertyXY = 0; } - }; + } function generateXXGeneticQuirks() { chance = jsRandom(1,1000); @@ -1058,8 +1058,8 @@ window.GenerateNewSlave = (function(){ } else if (chance >= 9900) { slave.geneticQuirks.hyperFertility = 1; } - }; - + } + function generateXYGeneticQuirks() { chance = jsRandom(1,1000); if (chance >= 950) { @@ -1069,7 +1069,7 @@ window.GenerateNewSlave = (function(){ if (chance >= 9900) { slave.geneticQuirks.hyperFertility = 1; } - }; + } function generateAge() { if (V.activeSlaveOneTimeMaxAge > 998) { @@ -1111,12 +1111,12 @@ window.GenerateNewSlave = (function(){ slave.age = slave.actualAge; /*compatibility*/ slave.pubertyAgeXX = V.fertilityAge; slave.pubertyAgeXY = V.potencyAge; - }; + } function generateIntelligence() { const gaussian = gaussianPair(); slave.intelligence = Intelligence.random(); - if (V.AgePenalty == 1 && slave.actualAge <= 24) { + if (V.AgePenalty === 1 && slave.actualAge <= 24) { if (gaussian[0] < gaussian[1] + slave.intelligence/29 + (slave.actualAge - 24)/8 - 0.35) { slave.intelligenceImplant = 15; if (slave.intelligenceImplant > 0 && jsRandom(15,150) < slave.intelligence) { @@ -1131,10 +1131,10 @@ window.GenerateNewSlave = (function(){ } } } - }; + } function generateCareer() { - if (V.AgePenalty == 1) { + if (V.AgePenalty === 1) { if (slave.actualAge < 16) { slave.career = setup.veryYoungCareers.random(); } else if (slave.actualAge <= 24) { @@ -1155,11 +1155,11 @@ window.GenerateNewSlave = (function(){ slave.career = setup.uneducatedCareers.random(); } } - }; + } function generateNationality() { - if (V.fixedRace == 0) { - if (V.fixedNationality == 0) { + if (V.fixedRace === 0) { + if (V.fixedNationality === 0) { slave.nationality = hashChoice(V.nationalities); } else { slave.nationality = V.fixedNationality; @@ -1167,7 +1167,7 @@ window.GenerateNewSlave = (function(){ } nationalityToRace(slave); } else { - if (V.fixedNationality == 0) { + if (V.fixedNationality === 0) { slave.race = V.fixedRace; V.fixedRace = 0; raceToNationality(slave); @@ -1179,14 +1179,14 @@ window.GenerateNewSlave = (function(){ } } - }; + } function generateAccent() { nationalityToAccent(slave); if ((slave.intelligenceImplant >= 15 || slave.intelligence > 95) && slave.accent >= 3 && slave.intelligence > jsRandom(0,100)) { slave.accent -= 1; } - }; + } function generateRacialTraits() { switch (slave.race) { @@ -1198,19 +1198,19 @@ window.GenerateNewSlave = (function(){ break; case "white": slave.lips = jsRandom(5,25); - if (slave.nationality == "German") { + if (slave.nationality === "German") { slave.skin = jsEither(["fair", "light", "pale"]); slave.eyeColor = jsEither(["blue", "blue", "blue", "brown", "green"]); slave.hColor = jsEither(["black", "blonde", "blonde", "blonde", "brown", "red"]); - } else if (slave.nationality == "Icelandic") { + } else if (slave.nationality === "Icelandic") { slave.skin = jsEither(["fair", "light", "pale", "pale"]); slave.eyeColor = jsEither(["blue", "blue", "blue", "brown", "green"]); slave.hColor = jsEither(["black", "blonde", "blonde", "blonde", "brown", "red"]); - } else if (slave.nationality == "Irish") { + } else if (slave.nationality === "Irish") { slave.skin = jsEither(["fair", "light", "pale", "pale"]); slave.eyeColor = jsEither(["blue", "brown", "green", "green", "green"]); slave.hColor = jsEither(["black", "blonde", "brown", "red", "red", "red"]); - } else if (slave.nationality == "Scottish") { + } else if (slave.nationality === "Scottish") { slave.skin = jsEither(["fair", "fair", "light", "pale"]); slave.eyeColor = jsEither(["blue", "brown", "brown", "green", "green", "green"]); slave.hColor = jsEither(["black", "black", "blonde", "red", "red", "red", "brown"]); @@ -1256,17 +1256,17 @@ window.GenerateNewSlave = (function(){ slave.hColor = jsEither(["black", "black", "black", "black", "blonde", "brown", "brown", "red"]); slave.hStyle = "neat"; } - if (slave.skin == "pale" || slave.skin == "fair") { - if (jsRandom(1,4) == 1) { + if (slave.skin === "pale" || slave.skin === "fair") { + if (jsRandom(1,4) === 1) { slave.markings = jsEither(["beauty mark", "beauty mark", "birthmark", "birthmark", "freckles", "freckles", "freckles", "heavily freckled"]); } - } else if (jsRandom(1,8) == 1) { + } else if (jsRandom(1,8) === 1) { slave.markings = jsEither(["beauty mark", "birthmark"]); } - }; + } function generateBoobTweaks() { - if (V.weightAffectsAssets != 0) { + if (V.weightAffectsAssets !== 0) { if (slave.weight < -10 && slave.boobs > 200) { slave.boobs -= 100; } else if (slave.weight > 190 && slave.boobs < 3000) { @@ -1294,12 +1294,12 @@ window.GenerateNewSlave = (function(){ if (slave.boobs > 800 && slave.physicalAge > jsRandom(10,50)) { BoobShapeGen.push("saggy"); } - if (BoobShapeGen.length == 1) { + if (BoobShapeGen.length === 1) { if (Math.random() < 0.5) { slave.boobShape = jsEither(BoobShapeGen); } } else if (BoobShapeGen.length > 1) { - if (jsRandom(1,3) != 1) { + if (jsRandom(1,3) !== 1) { slave.boobShape = jsEither(BoobShapeGen); } } @@ -1313,15 +1313,15 @@ window.GenerateNewSlave = (function(){ } else { slave.nipples = jsEither(["cute", "huge", "inverted", "partially inverted", "puffy"]); } - }; + } function generateSkills() { - slave.vaginalSkill = (slave.vagina == 0 ? 0 : jsRandom(0,15)); - slave.analSkill = (slave.anus == 0 ? 0 : jsRandom(0,15)); + slave.vaginalSkill = (slave.vagina === 0 ? 0 : jsRandom(0,15)); + slave.analSkill = (slave.anus === 0 ? 0 : jsRandom(0,15)); slave.oralSkill = jsRandom(0,15); slave.entertainSkill = jsRandom(0,15); slave.whoreSkill = jsRandom(0,15); - }; + } function generateDisabilities() { if (slave.physicalAge >= jsRandom(0,100)) { @@ -1330,7 +1330,7 @@ window.GenerateNewSlave = (function(){ if (slave.physicalAge >= jsRandom(30,100)) { slave.hears = -1; } - if (V.seeExtreme == 1) { + if (V.seeExtreme === 1) { let disList = []; disList.push("hearNot"); disList.push("seeNot"); @@ -1366,7 +1366,7 @@ window.GenerateNewSlave = (function(){ } V.oneTimeDisableDisability = 0; } - }; + } return GenerateNewSlave; })(); diff --git a/src/js/heroCreator.js b/src/js/heroCreator.js index ae2ef6d1ca40e02d7a0ee7981071ae6cc00325ab..62194ac9182c3397b08e6dbdbba72a9106fbaa93 100644 --- a/src/js/heroCreator.js +++ b/src/js/heroCreator.js @@ -1,7 +1,7 @@ -window.getHeroSlave = function(heroSlave, baseHeroSlave) { +window.getHeroSlave = function (heroSlave, baseHeroSlave) { var newSlave = clone(baseHeroSlave); for (var attrname in heroSlave) { newSlave[attrname] = heroSlave[attrname]; - }; + } return newSlave; -} +}; diff --git a/src/js/pregJS.js b/src/js/pregJS.js index 66360adef48963b94439685140353af968041e6d..1014ba089db7e107db5276e14a266c088b718d6b 100644 --- a/src/js/pregJS.js +++ b/src/js/pregJS.js @@ -78,11 +78,11 @@ window.setPregType = function(actor) { */ if(actor.broodmother < 1) { // Broodmothers should be not processed here. Necessary now. - if(typeof actor.readyOva == "number" && actor.readyOva != 0) { + if(typeof actor.readyOva === "number" && actor.readyOva !== 0) { ovum = actor.readyOva; //just single override; for delayed impregnation cases - } else if(actor.ID == -1) { - if(actor.geneticQuirks.fertility == 2 && actor.geneticQuirks.hyperFertility == 2) { // Do not mix with sperm - if(actor.fertDrugs == 1) { + } else if(actor.ID === -1) { + if(actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm + if(actor.fertDrugs === 1) { ovum += jsEither([2, 3, 3, 3, 3, 4, 4, 5]); } else { ovum += jsEither([1, 1, 2, 2, 3, 3, 4]); @@ -90,8 +90,8 @@ window.setPregType = function(actor) { if(actor.forcedFertDrugs > 0) { ovum += jsEither([3, 3, 4, 4, 5]); } - } else if(actor.geneticQuirks.hyperFertility == 2) { // Predisposed to multiples - if(actor.fertDrugs == 1) { + } else if(actor.geneticQuirks.hyperFertility === 2) { // Predisposed to multiples + if(actor.fertDrugs === 1) { ovum += jsEither([1, 2, 2, 2, 2, 3, 3, 4]); } else { ovum += jsEither([0, 1, 1, 1, 1, 1, 2, 3]); @@ -99,8 +99,8 @@ window.setPregType = function(actor) { if(actor.forcedFertDrugs > 0) { ovum += jsEither([2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 4, 4]); } - } else if(actor.geneticQuirks.fertility == 2) { // Predisposed to twins - if(actor.fertDrugs == 1) { + } else if(actor.geneticQuirks.fertility === 2) { // Predisposed to twins + if(actor.fertDrugs === 1) { ovum += jsEither([1, 1, 2, 2, 2, 2, 3, 3]); } else { ovum += jsEither([0, 0, 0, 1, 1, 1, 1, 1, 1, 2]); @@ -109,7 +109,7 @@ window.setPregType = function(actor) { ovum += jsEither([1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4]); } } else { - if(actor.fertDrugs == 1) { + if(actor.fertDrugs === 1) { ovum += jsEither([0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3]); } else { ovum += jsEither([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); @@ -119,52 +119,52 @@ window.setPregType = function(actor) { } } ovum = Math.clamp(ovum, 0, 8); - } else if(actor.pregType == 0) { - if(actor.eggType == "horse" || actor.eggType == "cow") { - if(actor.geneticQuirks.fertility == 2 && actor.geneticQuirks.hyperFertility == 2) { // Do not mix with sperm + } else if(actor.pregType === 0) { + if(actor.eggType === "horse" || actor.eggType === "cow") { + if(actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm ovum += jsEither([0, 0, 0, 0, 0, 0, 1]); fertilityStack += .8; - } else if(actor.geneticQuirks.hyperFertility == 2) { // Predisposed to multiples + } else if(actor.geneticQuirks.hyperFertility === 2) { // Predisposed to multiples fertilityStack += .4; - } else if(actor.geneticQuirks.fertility == 2) { // Predisposed to twins + } else if(actor.geneticQuirks.fertility === 2) { // Predisposed to twins fertilityStack += .2; } - if(actor.ovaImplant == "fertility") { + if(actor.ovaImplant === "fertility") { fertilityStack += .3; } - if(actor.hormones == 2) { + if(actor.hormones === 2) { fertilityStack += .2; } if(actor.hormoneBalance >= 200) { fertilityStack += .3; } - if(actor.diet == "fertility") { + if(actor.diet === "fertility") { fertilityStack += .3; } - if(State.variables.masterSuitePregnancyFertilitySupplements == 1 && ((actor.assignment == "serve in the master suite" || actor.assignment == "be your Concubine"))) { + if(State.variables.masterSuitePregnancyFertilitySupplements === 1 && ((actor.assignment === "serve in the master suite" || actor.assignment === "be your Concubine"))) { fertilityStack += .5; } - if(State.variables.reproductionFormula == 1 && (State.variables.week-actor.weekAcquired > 0)) { + if(State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { fertilityStack += .2; } - if(actor.drugs == "super fertility drugs") { + if(actor.drugs === "super fertility drugs") { fertilityStack += 1.6; - } else if(actor.drugs == "fertility drugs") { + } else if(actor.drugs === "fertility drugs") { fertilityStack += .6; } fertilityStack = Math.floor(fertilityStack); - if(State.variables.seeHyperPreg == 1) { - if(actor.drugs == "super fertility drugs") { + if(State.variables.seeHyperPreg === 1) { + if(actor.drugs === "super fertility drugs") { ovum += jsRandom(0, fertilityStack*2); } else { ovum += jsRandom(0, fertilityStack); } - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; } } else { ovum += jsRandom(0, fertilityStack); - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; if(ovum > 4) { ovum = 4; @@ -173,25 +173,25 @@ window.setPregType = function(actor) { ovum = 3; } } - } else if(actor.eggType == "dog") { - if(actor.geneticQuirks.fertility == 2 && actor.geneticQuirks.hyperFertility == 2) { // Do not mix with sperm + } else if(actor.eggType === "dog") { + if(actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm ovum += jsEither([1, 2, 2, 3]); fertilityStack++; fertilityStack++; fertilityStack++; - } else if(actor.geneticQuirks.hyperFertility == 2) { // Predisposed to multiples + } else if(actor.geneticQuirks.hyperFertility === 2) { // Predisposed to multiples ovum += jsEither([0, 1, 1, 2]); fertilityStack++; fertilityStack++; - } else if(actor.geneticQuirks.fertility == 2) { // Predisposed to twins + } else if(actor.geneticQuirks.fertility === 2) { // Predisposed to twins ovum += jsEither([0, 0, 0, 0, 1]); fertilityStack++; } - if(actor.ovaImplant == "fertility") { + if(actor.ovaImplant === "fertility") { ovum += jsEither([0, 0, 0, 0, 1]); fertilityStack++; } - if(actor.hormones == 2) { + if(actor.hormones === 2) { ovum += jsEither([0, 0, 0, 1, 1, 1, 1, 2]); fertilityStack++; } @@ -199,41 +199,41 @@ window.setPregType = function(actor) { ovum += jsEither([0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2]); fertilityStack++; } - if(actor.diet == "fertility") { + if(actor.diet === "fertility") { ovum += jsEither([0, 0, 0, 0, 0, 0, 0, 0, 1]); fertilityStack++; } - if(State.variables.masterSuitePregnancyFertilitySupplements == 1 && ((actor.assignment == "serve in the master suite" || actor.assignment == "be your Concubine"))) { + if(State.variables.masterSuitePregnancyFertilitySupplements === 1 && ((actor.assignment === "serve in the master suite" || actor.assignment === "be your Concubine"))) { ovum += jsEither([0, 0, 0, 1, 1, 2, 2, 2, 3, 3]); fertilityStack++; fertilityStack++; } - if(State.variables.reproductionFormula == 1 && (State.variables.week-actor.weekAcquired > 0)) { + if(State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { fertilityStack++; } - if(actor.drugs == "super fertility drugs") { + if(actor.drugs === "super fertility drugs") { ovum += jsEither([1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5]); fertilityStack++; fertilityStack++; fertilityStack++; fertilityStack++; fertilityStack++; - } else if(actor.drugs == "fertility drugs") { + } else if(actor.drugs === "fertility drugs") { ovum += jsEither([0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3]); fertilityStack++; } - if(State.variables.seeHyperPreg == 1) { - if(actor.drugs == "super fertility drugs") { + if(State.variables.seeHyperPreg === 1) { + if(actor.drugs === "super fertility drugs") { ovum += jsRandom(0, fertilityStack*2); } else { ovum += jsRandom(0, fertilityStack); } - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; } } else { ovum += jsRandom(0, fertilityStack); - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; if(ovum > 8) { ovum = jsEither([6, 8]); @@ -242,22 +242,22 @@ window.setPregType = function(actor) { ovum = jsRandom(6, 8); } } - } else if(actor.eggType == "pig") { - if(actor.geneticQuirks.fertility == 2 && actor.geneticQuirks.hyperFertility == 2) { // Do not mix with sperm + } else if(actor.eggType === "pig") { + if(actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm ovum += jsRandom(4, 8); fertilityStack += 16; - } else if(actor.geneticQuirks.hyperFertility == 2) { // Predisposed to multiples + } else if(actor.geneticQuirks.hyperFertility === 2) { // Predisposed to multiples ovum += jsRandom(2, 6); fertilityStack += 10; - } else if(actor.geneticQuirks.fertility == 2) { // Predisposed to twins + } else if(actor.geneticQuirks.fertility === 2) { // Predisposed to twins ovum += jsRandom(2, 4); fertilityStack += 6; } - if(actor.ovaImplant == "fertility") { + if(actor.ovaImplant === "fertility") { ovum += jsRandom(4, 12); fertilityStack += 6; } - if(actor.hormones == 2) { + if(actor.hormones === 2) { ovum += jsRandom(0, 4); fertilityStack += 3; } @@ -265,36 +265,36 @@ window.setPregType = function(actor) { ovum += jsRandom(0, 4); fertilityStack += 3; } - if(actor.diet == "fertility") { + if(actor.diet === "fertility") { ovum += jsRandom(4, 10); fertilityStack += 6; } - if(State.variables.masterSuitePregnancyFertilitySupplements == 1 && ((actor.assignment == "serve in the master suite" || actor.assignment == "be your Concubine"))) { + if(State.variables.masterSuitePregnancyFertilitySupplements === 1 && ((actor.assignment === "serve in the master suite" || actor.assignment === "be your Concubine"))) { ovum += jsRandom(8, 16); fertilityStack += 10; } - if(State.variables.reproductionFormula == 1 && (State.variables.week-actor.weekAcquired > 0)) { + if(State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { fertilityStack += 2; } - if(actor.drugs == "super fertility drugs") { + if(actor.drugs === "super fertility drugs") { ovum += jsRandom(10, 40); fertilityStack += 32; - } else if(actor.drugs == "fertility drugs") { + } else if(actor.drugs === "fertility drugs") { ovum += jsRandom(10, 20); fertilityStack += 16; } - if(State.variables.seeHyperPreg == 1) { - if(actor.drugs == "super fertility drugs") { + if(State.variables.seeHyperPreg === 1) { + if(actor.drugs === "super fertility drugs") { ovum += jsRandom(fertilityStack/2, fertilityStack*2); } else { ovum += jsRandom(fertilityStack/4, fertilityStack); } - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; } } else { ovum += jsRandom(0, fertilityStack); - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; if(ovum > 76) { ovum = jsEither([70, 72, 74, 76]); @@ -304,27 +304,27 @@ window.setPregType = function(actor) { } } } else { - if(actor.geneticQuirks.fertility == 2 && actor.geneticQuirks.hyperFertility == 2) { // Do not mix with sperm + if(actor.geneticQuirks.fertility === 2 && actor.geneticQuirks.hyperFertility === 2) { // Do not mix with sperm ovum += jsEither([1, 2, 2, 3]); fertilityStack++; fertilityStack++; fertilityStack++; fertilityStack++; - } else if(actor.geneticQuirks.hyperFertility == 2) { // Predisposed to multiples + } else if(actor.geneticQuirks.hyperFertility === 2) { // Predisposed to multiples ovum += jsEither([0, 1, 1, 2]); fertilityStack++; fertilityStack++; - } else if(actor.geneticQuirks.fertility == 2) { // Predisposed to twins + } else if(actor.geneticQuirks.fertility === 2) { // Predisposed to twins ovum += jsEither([0, 0, 0, 0, 1]); fertilityStack++; } else { ovum += jsEither([0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); //base chance for twins } - if(actor.ovaImplant == "fertility") { + if(actor.ovaImplant === "fertility") { ovum += jsEither([0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); fertilityStack++; } - if(actor.hormones == 2) { + if(actor.hormones === 2) { ovum += jsEither([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2]); fertilityStack++; } @@ -332,41 +332,41 @@ window.setPregType = function(actor) { ovum += jsEither([0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2]); fertilityStack++; } - if(actor.diet == "fertility") { + if(actor.diet === "fertility") { ovum += jsEither([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); fertilityStack++; } - if(State.variables.masterSuitePregnancyFertilitySupplements == 1 && ((actor.assignment == "serve in the master suite" || actor.assignment == "be your Concubine"))) { + if(State.variables.masterSuitePregnancyFertilitySupplements === 1 && ((actor.assignment === "serve in the master suite" || actor.assignment === "be your Concubine"))) { ovum += jsEither([0, 0, 0, 1, 1, 2, 2, 2, 3, 3]); fertilityStack++; fertilityStack++; } - if(State.variables.reproductionFormula == 1 && (State.variables.week-actor.weekAcquired > 0)) { + if(State.variables.reproductionFormula === 1 && (State.variables.week-actor.weekAcquired > 0)) { fertilityStack++; } - if(actor.drugs == "super fertility drugs") { + if(actor.drugs === "super fertility drugs") { ovum += jsEither([1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5]); fertilityStack++; fertilityStack++; fertilityStack++; fertilityStack++; fertilityStack++; - } else if(actor.drugs == "fertility drugs") { + } else if(actor.drugs === "fertility drugs") { ovum += jsEither([0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3]); fertilityStack++; } - if(State.variables.seeHyperPreg == 1) { - if(actor.drugs == "super fertility drugs") { + if(State.variables.seeHyperPreg === 1) { + if(actor.drugs === "super fertility drugs") { ovum += jsRandom(0, fertilityStack*2); } else { ovum += jsRandom(0, fertilityStack); } - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; } } else { ovum += jsRandom(0, fertilityStack); - if(actor.ovaImplant == "sympathy") { + if(actor.ovaImplant === "sympathy") { ovum *= 2; if(ovum > 12) { ovum = jsEither([10, 12]); @@ -393,7 +393,7 @@ window.knockMeUp = function(target, chance, hole, fatherID, displayOverride) { const V = State.variables; let r = ""; if (V.seePreg !== 0) { - if (jsRandom(0,99) < (chance + (V.reproductionFormula*((target.pregSource <= 0) ? ((target.ID == -1) ? 0 : 10) : 20)))) { + if (jsRandom(0,99) < (chance + (V.reproductionFormula*((target.pregSource <= 0) ? ((target.ID === -1) ? 0 : 10) : 20)))) { if (target.mpreg === hole) { target.preg = 1; @@ -451,12 +451,12 @@ window.knockMeUp = function(target, chance, hole, fatherID, displayOverride) { return r; }; -window.getIncubatorReserved = function(slaves) { +window.getIncubatorReserved = function(/*slaves*/) { return FetusGlobalReserveCount("incubator"); }; -window.getNurseryReserved = function (slaves) { +window.getNurseryReserved = function (/*slaves*/) { return FetusGlobalReserveCount("nursery"); }; @@ -468,12 +468,12 @@ window.findFather = function(fatherID) { father = V.slaves[V.slaveIndices[fatherID]]; if (father === undefined) { if (V.incubator > 0) { - father = V.tanks.find(function(s) { return s.ID == fatherID; }); + father = V.tanks.find(function(s) { return s.ID === fatherID; }); } } if (father === undefined) { if (V.nursery > 0) { - father = V.cribs.find(function(s) { return s.ID == fatherID; }); + father = V.cribs.find(function(s) { return s.ID === fatherID; }); } } diff --git a/src/js/relationshipChecks.js b/src/js/relationshipChecks.js index c4cea47b7e7cb532bca120125e47af891a954242..4c8cd40cee79a6aa58570f1ba6d1a5338d4ab625 100644 --- a/src/js/relationshipChecks.js +++ b/src/js/relationshipChecks.js @@ -1,4 +1,4 @@ -window.rivalryTerm = function(id) { +window.rivalryTerm = function (id) { if (id.rivalry === 1) { return `growing rival`; } else if (id.rivalry === 2) { @@ -6,21 +6,21 @@ window.rivalryTerm = function(id) { } else { return `bitter rival`; } -} -window.relationshipTerm = function(id) { +}; +window.relationshipTerm = function (id) { if (id.relationship === 1) { return `friend`; } else if (id.relationship === 2) { return `best friend`; } else if (id.relationship === 3) { - return `friend with benefits`; + return `friend with benefits`; } else if (id.relationship === 4) { - return `lover`; + return `lover`; } else { - return `slave wife`; + return `slave wife`; } -} -window.relationshipTermShort = function(id) { +}; +window.relationshipTermShort = function (id) { if (id.relationship === 1) { return `friend`; } else if (id.relationship === 2) { @@ -32,4 +32,4 @@ window.relationshipTermShort = function(id) { } else { return `wife`; } -} \ No newline at end of file +}; diff --git a/src/js/removeActiveSlave.js b/src/js/removeActiveSlave.js index 88ff9b9d5dc08e74b1e8547cc33596ce89b9753f..9d9a6b6552dc354a42d415bbd074bb5701e0e933 100644 --- a/src/js/removeActiveSlave.js +++ b/src/js/removeActiveSlave.js @@ -230,9 +230,9 @@ window.removeActiveSlave = function removeActiveSlave() { vagina : V.activeSlave.vagina, ID : V.missingParentID }; - if (V.traitor.ID == V.activeSlave.ID) { /* To link developing fetuses to their parent */ + if (V.traitor.ID === V.activeSlave.ID) { /* To link developing fetuses to their parent */ V.traitor.missingParentTag = V.missingParentID; - } else if (V.boomerangSlave.ID == V.activeSlave.ID) { + } else if (V.boomerangSlave.ID === V.activeSlave.ID) { V.boomerangSlave.missingParentTag = V.missingParentID; } V.missingParentID--; @@ -246,7 +246,7 @@ window.removeActiveSlave = function removeActiveSlave() { window.removeNonNGPSlave = function removeNonNGPSlave(removedSlave) { "use strict"; - + const V = State.variables; const ID = removedSlave.ID; let LENGTH = V.slaves.length; @@ -281,7 +281,7 @@ window.removeNonNGPSlave = function removeNonNGPSlave(removedSlave) { if (INDEX >= 0 && INDEX < LENGTH) { V.slaves.forEach(slave => { - if (slave.assignment == "be imported") { + if (slave.assignment === "be imported") { WombChangeID(slave, ID, V.missingParentID); /* This check is complex, should be done in JS now, all needed will be done here. */ WombChangeGeneID(slave, ID, V.missingParentID); if (slave.pregSource === V.missingParentID) { @@ -359,4 +359,4 @@ window.removeNonNGPSlave = function removeNonNGPSlave(removedSlave) { removeSlave(INDEX); } -}; \ No newline at end of file +}; diff --git a/src/js/rulesAssistant.js b/src/js/rulesAssistant.js index 285bde3f7ffe451fda671d11b7f514820b33ba9c..04f337e56d3cdcb0817ab116ccc331a1284e0146 100644 --- a/src/js/rulesAssistant.js +++ b/src/js/rulesAssistant.js @@ -166,7 +166,7 @@ window.ruleAppliesP = function ruleAppliesP(cond, slave) { cond.data.value[1]); break; case "belongs": // the attribute belongs in the list of values - flag = cond.data.value.includes(slave[cond.data.attribute]) + flag = cond.data.value.includes(slave[cond.data.attribute]); break; case "custom": // user provided JS function flag = eval(cond.data)(slave); @@ -326,4 +326,4 @@ window.RulesDeconfliction = function RulesDeconfliction(slave) { DefaultRules(slave); State.variables.slaveAfterRA = clone(slave); slave = before; -} +}; diff --git a/src/js/rulesAssistantOptions.js b/src/js/rulesAssistantOptions.js index 50d2fbfde1906f65ca78e48f406fca51015498e7..8009942fcfbdc36d704301077f5c23a3b67560bf 100644 --- a/src/js/rulesAssistantOptions.js +++ b/src/js/rulesAssistantOptions.js @@ -2936,7 +2936,7 @@ window.rulesAssistantOptions = (function() { if (V.arcologies[0].FSHedonisticDecadence !== "unset") items.push(["(FS) Weight Record", "her highest weigh-in"]); - if (V.arcologies[0].FSHedonisticDecadence && V.PC.refreshmentType == 2) + if (V.arcologies[0].FSHedonisticDecadence && V.PC.refreshmentType === 2) items.push(["(FS) Favorite Food", `a big helping of ${V.PC.refreshment}`]); if (V.arcologies[0].FSRepopulationFocus !== "unset") @@ -3493,7 +3493,7 @@ window.rulesAssistantOptions = (function() { ["dyed gray"], ["tiger striped"], ["camouflage patterned"], - ] + ]; super("Dye or tan skin", items); this.setValue(current_rule.set.skinColor); this.onchange = (x) => current_rule.set.skinColor = x; diff --git a/src/js/rulesAutosurgery.js b/src/js/rulesAutosurgery.js index c74aefbf7146208424f9013d25d95d50d6b41f72..0ed9519c497f3f51b5d1bb2e7cb09f7e73de9829 100644 --- a/src/js/rulesAutosurgery.js +++ b/src/js/rulesAutosurgery.js @@ -112,7 +112,7 @@ window.rulesAutosurgery = (function() { if (thisSurgery.surgery_butt > 8) thisSurgery.surgery_butt = 8; } else if (slave.hips > 1) { - true; + // true } else { if (thisSurgery.surgery_butt > 6) thisSurgery.surgery_butt = 6; @@ -124,56 +124,56 @@ window.rulesAutosurgery = (function() { } function CommitSurgery(slave, thisSurgery, surgeries) { - if ((slave.eyes == -1) && (thisSurgery.surgery_eyes == 1)) { + if ((slave.eyes === -1) && (thisSurgery.surgery_eyes === 1)) { surgeries.push("surgery to correct her vision"); slave.eyes = 1; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.eyes == 1) && (thisSurgery.surgery_eyes == -1)) { + } else if ((slave.eyes === 1) && (thisSurgery.surgery_eyes === -1)) { surgeries.push("surgery to blur her vision"); slave.eyes = -1; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.hears == -1) && (thisSurgery.surgery_hears == 1)) { + } else if ((slave.hears === -1) && (thisSurgery.surgery_hears === 1)) { surgeries.push("surgery to correct her hearing"); slave.hears = 0; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.hears == 0) && (thisSurgery.surgery_hears == -1)) { + } else if ((slave.hears === 0) && (thisSurgery.surgery_hears === -1)) { surgeries.push("surgery to muffle her hearing"); slave.hears = -1; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.lactation == 2) && (thisSurgery.surgery_lactation == 0)) { + } else if ((slave.lactation === 2) && (thisSurgery.surgery_lactation === 0)) { surgeries.push("surgery to remove her lactation implants"); slave.lactation = 0; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if (slave.lactation != 2 && (thisSurgery.surgery_lactation == 1)) { + } else if (slave.lactation !== 2 && (thisSurgery.surgery_lactation === 1)) { surgeries.push("lactation inducing implanted drugs"); slave.lactation = 2; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.prostate == 2) && (thisSurgery.surgery_prostate == 0)) { + } else if ((slave.prostate === 2) && (thisSurgery.surgery_prostate === 0)) { surgeries.push("surgery to remove her prostate implant"); slave.prostate = 0; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if (slave.prostate == 1 && (thisSurgery.surgery_prostate == 1)) { + } else if (slave.prostate === 1 && (thisSurgery.surgery_prostate === 1)) { surgeries.push("a precum production enhancing drug implant"); slave.prostate = 2; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); @@ -200,14 +200,14 @@ window.rulesAutosurgery = (function() { } else if ((slave.faceImplant <= 15) && (slave.face <= 95) && (thisSurgery.surgery_cosmetic > 0)) { surgeries.push("a nicer face"); - if (slave.faceShape == "masculine") slave.faceShape = "androgynous"; + if (slave.faceShape === "masculine") slave.faceShape = "androgynous"; slave.faceImplant += 25-5*Math.trunc(V.PC.medicine/50)-5*V.surgeryUpgrade; slave.face = Math.clamp(slave.face+20,-100,100); cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.faceImplant <= 15) && (slave.ageImplant != 1) && (slave.visualAge >= 25) && (thisSurgery.surgery_cosmetic > 0)) { + } else if ((slave.faceImplant <= 15) && (slave.ageImplant !== 1) && (slave.visualAge >= 25) && (thisSurgery.surgery_cosmetic > 0)) { surgeries.push("an age lift"); slave.ageImplant = 1; slave.faceImplant += 25-5*Math.trunc(V.PC.medicine/50)-5*V.surgeryUpgrade; @@ -220,13 +220,13 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if (((slave.underArmHStyle != "bald" && slave.underArmHStyle != "hairless") || (slave.pubicHStyle != "bald" && slave.pubicHStyle != "hairless")) && (thisSurgery.surgery_bodyhair == 2)) { + } else if (((slave.underArmHStyle !== "bald" && slave.underArmHStyle !== "hairless") || (slave.pubicHStyle !== "bald" && slave.pubicHStyle !== "hairless")) && (thisSurgery.surgery_bodyhair === 2)) { surgeries.push("body hair removal"); - if (slave.underArmHStyle != "hairless") slave.underArmHStyle = "bald"; - if (slave.pubicHStyle != "hairless") slave.pubicHStyle = "bald"; + if (slave.underArmHStyle !== "hairless") slave.underArmHStyle = "bald"; + if (slave.pubicHStyle !== "hairless") slave.pubicHStyle = "bald"; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - } else if ((slave.bald == 0 || slave.hStyle != "bald" || slave.eyebrowHStyle != "bald") && (thisSurgery.surgery_hair == 2)) { + } else if ((slave.bald === 0 || slave.hStyle !== "bald" || slave.eyebrowHStyle !== "bald") && (thisSurgery.surgery_hair === 2)) { surgeries.push("hair removal"); slave.eyebrowHStyle = "bald"; slave.hStyle = "bald"; @@ -240,7 +240,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.voice == 1) && (slave.voiceImplant == 0) && (thisSurgery.surgery_cosmetic > 0)) { + } else if ((slave.voice === 1) && (slave.voiceImplant === 0) && (thisSurgery.surgery_cosmetic > 0)) { surgeries.push("a feminine voice"); slave.voice += 1; slave.voiceImplant += 1; @@ -255,14 +255,14 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if (((slave.boobShape == "saggy") || (slave.boobShape == "downward-facing")) && (thisSurgery.surgery_cosmetic > 0) && (slave.breastMesh != 1)) { + } else if (((slave.boobShape === "saggy") || (slave.boobShape === "downward-facing")) && (thisSurgery.surgery_cosmetic > 0) && (slave.breastMesh !== 1)) { surgeries.push("a breast lift"); slave.boobShape = "normal"; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if (((slave.boobShape == "normal") || (slave.boobShape == "wide-set")) && (thisSurgery.surgery_cosmetic > 0) && (slave.breastMesh != 1)) { + } else if (((slave.boobShape === "normal") || (slave.boobShape === "wide-set")) && (thisSurgery.surgery_cosmetic > 0) && (slave.breastMesh !== 1)) { if (slave.boobs > 800) slave.boobShape = "torpedo-shaped"; else @@ -272,7 +272,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((thisSurgery.surgery_lips == 0) && (slave.lipsImplant > 0)) { + } else if ((thisSurgery.surgery_lips === 0) && (slave.lipsImplant > 0)) { surgeries.push("surgery to remove her lip implants"); slave.lips -= slave.lipsImplant; slave.lipsImplant = 0; @@ -294,16 +294,16 @@ window.rulesAutosurgery = (function() { else slave.health -= 10; } - } else if ((slave.faceImplant <= 45) && (slave.face <= 95) && (thisSurgery.surgery_cosmetic == 2)) { + } else if ((slave.faceImplant <= 45) && (slave.face <= 95) && (thisSurgery.surgery_cosmetic === 2)) { surgeries.push("a nicer face"); - if (slave.faceShape == "masculine") slave.faceShape = "androgynous"; + if (slave.faceShape === "masculine") slave.faceShape = "androgynous"; slave.faceImplant += 25-5*Math.trunc(V.PC.medicine/50)-5*V.surgeryUpgrade; slave.face = Math.clamp(slave.face+20,-100,100); cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.hips < 1) && (slave.hips < thisSurgery.surgery_hips) && (V.surgeryUpgrade == 1)) { + } else if ((slave.hips < 1) && (slave.hips < thisSurgery.surgery_hips) && (V.surgeryUpgrade === 1)) { surgeries.push("wider hips"); slave.hips++; slave.hipsImplant++; @@ -311,7 +311,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.faceImplant <= 45) && (slave.ageImplant != 1) && (slave.visualAge >= 25) && (thisSurgery.surgery_cosmetic == 2)) { + } else if ((slave.faceImplant <= 45) && (slave.ageImplant !== 1) && (slave.visualAge >= 25) && (thisSurgery.surgery_cosmetic === 2)) { surgeries.push("an age lift"); slave.ageImplant = 1; if (slave.visualAge > 80) { @@ -330,14 +330,14 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.waist >= -95) && (thisSurgery.surgery_cosmetic == 2) && (V.seeExtreme == 1)) { + } else if ((slave.waist >= -95) && (thisSurgery.surgery_cosmetic === 2) && (V.seeExtreme === 1)) { surgeries.push("a narrower waist"); slave.waist = Math.clamp(slave.waist-20,-100,100); cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.voice < 3) && (slave.voiceImplant == 0) && (thisSurgery.surgery_cosmetic == 2)) { + } else if ((slave.voice < 3) && (slave.voiceImplant === 0) && (thisSurgery.surgery_cosmetic === 2)) { surgeries.push("a bimbo's voice"); slave.voice += 1; slave.voiceImplant += 1; @@ -345,7 +345,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((thisSurgery.surgery_butt == 0) && (slave.buttImplant > 0)) { + } else if ((thisSurgery.surgery_butt === 0) && (slave.buttImplant > 0)) { surgeries.push("surgery to remove her butt implants"); slave.butt -= slave.buttImplant; slave.buttImplant = 0; @@ -354,7 +354,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((thisSurgery.surgery_boobs == 0) && (slave.boobsImplant > 0)) { + } else if ((thisSurgery.surgery_boobs === 0) && (slave.boobsImplant > 0)) { surgeries.push("surgery to remove her boob implants"); slave.boobs -= slave.boobsImplant; slave.boobsImplant = 0; @@ -410,7 +410,7 @@ window.rulesAutosurgery = (function() { else slave.health -= 10; } - } else if ((slave.anus > 0) && (V.surgeryUpgrade == 1) && (thisSurgery.surgery_holes == 2)) { + } else if ((slave.anus > 0) && (V.surgeryUpgrade === 1) && (thisSurgery.surgery_holes === 2)) { surgeries.push("a virgin anus"); slave.anus = 0; if (slave.analSkill > 10) { @@ -420,7 +420,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.vagina > 0) && (V.surgeryUpgrade == 1) && (thisSurgery.surgery_holes == 2)) { + } else if ((slave.vagina > 0) && (V.surgeryUpgrade === 1) && (thisSurgery.surgery_holes === 2)) { surgeries.push("a virgin pussy"); slave.vagina = 0; if (slave.vaginalSkill > 10) @@ -429,7 +429,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.hips < 2) && (slave.hips < thisSurgery.surgery_hips) && (V.surgeryUpgrade == 1)) { + } else if ((slave.hips < 2) && (slave.hips < thisSurgery.surgery_hips) && (V.surgeryUpgrade === 1)) { surgeries.push("wider hips"); slave.hips++; slave.hipsImplant++; @@ -437,7 +437,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.anus > 1) && (thisSurgery.surgery_holes == 1)) { + } else if ((slave.anus > 1) && (thisSurgery.surgery_holes === 1)) { surgeries.push("a tighter anus"); slave.anus = 1; if (slave.analSkill > 10) { @@ -447,7 +447,7 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if ((slave.vagina > 1) && (thisSurgery.surgery_holes == 1)) { + } else if ((slave.vagina > 1) && (thisSurgery.surgery_holes === 1)) { surgeries.push("a tighter pussy"); slave.vagina = 1; if (slave.vaginalSkill > 10) { @@ -477,7 +477,7 @@ window.rulesAutosurgery = (function() { else slave.health -= 10; } - } else if ((slave.hips < 3) && (slave.hips < thisSurgery.surgery_hips) && (V.surgeryUpgrade == 1)) { + } else if ((slave.hips < 3) && (slave.hips < thisSurgery.surgery_hips) && (V.surgeryUpgrade === 1)) { surgeries.push("wider hips"); slave.hips++; slave.hipsImplant++; @@ -485,11 +485,11 @@ window.rulesAutosurgery = (function() { if (V.PC.medicine >= 100) slave.health -= 5; else slave.health -= 10; - } else if (slave.bellyImplant < 0 && V.bellyImplants > 0 && thisSurgery.surgery_bellyImplant == "install" && slave.womb.length == 0 && slave.broodmother == 0) { + } else if (slave.bellyImplant < 0 && V.bellyImplants > 0 && thisSurgery.surgery_bellyImplant === "install" && slave.womb.length === 0 && slave.broodmother === 0) { slave.bellyImplant = 100; slave.preg = -2; cashX(forceNeg(V.surgeryCost), "slaveSurgery", slave); - if (slave.ovaries == 1 || slave.mpreg == 1) { + if (slave.ovaries === 1 || slave.mpreg === 1) { surgeries.push("belly implant"); V.surgeryType = "bellyIn"; if (V.PC.medicine >= 100) slave.health -= 5; @@ -502,7 +502,7 @@ window.rulesAutosurgery = (function() { } bellyIn(slave); - } else if (slave.bellyImplant >= 0 && thisSurgery.surgery_bellyImplant == "remove") { + } else if (slave.bellyImplant >= 0 && thisSurgery.surgery_bellyImplant === "remove") { surgeries.push("belly implant removal"); V.surgeryType = "bellyOut"; if (V.PC.medicine >= 100) diff --git a/src/js/sexActsJS.js b/src/js/sexActsJS.js index 55d0306dd4b2e9622a73f8a1c353ca8fa048ebd4..5276ff697a8eb07e10236580fbef2b4bec43b3f6 100644 --- a/src/js/sexActsJS.js +++ b/src/js/sexActsJS.js @@ -7,23 +7,23 @@ window.AnalVCheck = function AnalVCheck(times) { const slave = V.activeSlave; let pronouns = getPronouns(slave); let he = pronouns.pronoun, - him = pronouns.object, - his = pronouns.possessive, - hers = pronouns.possessivePronoun, - himself = pronouns.objectReflexive, - boy = pronouns.noun; + //him = pronouns.object, + his = pronouns.possessive; + // hers = pronouns.possessivePronoun, + // himself = pronouns.objectReflexive, + // boy = pronouns.noun; let He = capFirstChar(he), His = capFirstChar(his); let r = ``; if (canDoAnal(slave) && slave.anus === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin ass.@@ `; - if (slave.devotion > 50 || slave.career == "a slave since birth") { + if (slave.devotion > 50 || slave.career === "a slave since birth") { r += `Since it's ${his} first time, you gently ease yourself into ${his} butthole and gradually increase the intensity of your thrusts. Before long ${he}'s moaning loudly as you continue working away at ${his} butthole. `; - if (slave.tankBaby == 2) { + if (slave.tankBaby === 2) { r += `${He} thinks of losing ${his} anal virginity to ${his} ${WrittenMaster(slave)} a @@.hotpink;necessity.@@ ${He} expects ${his} asshole to be seeing a lot more attention now.`; } else { r += `${He} thinks of losing ${his} anal virginity to you as a @@.hotpink;connection@@ with ${his} beloved ${WrittenMaster(slave)}. `; - if ((slave.fetishKnown && slave.fetish == "buttslut") || (slave.energy > 95) || (slave.attrXX >= 85 && V.PC.dick === 0)) { + if ((slave.fetishKnown && slave.fetish === "buttslut") || (slave.energy > 95) || (slave.attrXX >= 85 && V.PC.dick === 0)) { r += `${He} can't wait to be fucked in the ass by you again.`; } else { r += `${He} looks forward to having ${his} asshole fucked by you again.`; @@ -55,7 +55,7 @@ window.AnalVCheck = function AnalVCheck(times) { } } return r; -} +}; /* times is how many times to increment the vaginal counts. @@ -68,21 +68,21 @@ window.VaginalVCheck = function VaginalVCheck(times) { let he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, - hers = pronouns.possessivePronoun, - himself = pronouns.objectReflexive, - boy = pronouns.noun; - let He = capFirstChar(he), - His = capFirstChar(his); + hers = pronouns.possessivePronoun, + himself = pronouns.objectReflexive, + boy = pronouns.noun; + let He = capFirstChar(he); + let His = capFirstChar(his); let r = ``; if (canDoVaginal(slave) && slave.vagina === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin pussy.@@ `; - if (slave.devotion > 50 || slave.career == "a slave since birth") { + if (slave.devotion > 50 || slave.career === "a slave since birth") { r += `You ease yourself into ${his} pussy, since it's ${his} first time, then gradually speed up your thrusts while ${he} slowly learns to move ${his} hips along with you. ${He} moans loudly. `; - if (slave.tankBaby == 2) { + if (slave.tankBaby === 2) { r += `${He} thinks of losing ${his} virginity to ${his} ${WrittenMaster(slave)} a @@.hotpink;necessity to be happy.@@ ${He} expects ${his} pussy to be seeing a lot more attention in the future.`; } else { r += `@@.hotpink;${He} enjoys losing ${his} cherry to you.@@ `; - if ((slave.fetishKnown && slave.fetish == "pregnancy") || (slave.energy > 95) || (slave.attrXY >= 85 && V.PC.dick === 1)) { + if ((slave.fetishKnown && slave.fetish === "pregnancy") || (slave.energy > 95) || (slave.attrXY >= 85 && V.PC.dick === 1)) { r += `${He} can't wait to have ${his} pussy fucked by you again.`; } else { r += `${He} looks forward to having ${his} pussy fucked by you again.`; @@ -116,7 +116,7 @@ window.VaginalVCheck = function VaginalVCheck(times) { } return r; -} +}; /* analTimes is how many times to increment the anal counts, if there is no vagina available. @@ -130,19 +130,19 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { let he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, - hers = pronouns.possessivePronoun, - himself = pronouns.objectReflexive, - boy = pronouns.noun; - let He = capFirstChar(he), - His = capFirstChar(his); + hers = pronouns.possessivePronoun, + himself = pronouns.objectReflexive, + boy = pronouns.noun; + let He = capFirstChar(he); + let His = capFirstChar(his); let r = ``; if (canDoVaginal(slave)) { if (slave.vagina === 0) { - if (canDoAnal(slave) && slave.anus == 0) { + if (canDoAnal(slave) && slave.anus === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin holes.@@ `; - if (slave.devotion > 50 || slave.career == "a slave since birth") { + if (slave.devotion > 50 || slave.career === "a slave since birth") { r += `As it's ${his} first time, you ease yourself into ${his} pussy before gradually working your way into ${his} ass and alternate between the two holes while ${he} moans. `; - if (slave.tankBaby == 2) { + if (slave.tankBaby === 2) { r += `${He} believes you taking ${his} virgin holes @@.hotpink;will keep ${him} from suffering.@@ ${He} expects you to require ${his} holes as tribute again soon.`; } else { r += `@@.hotpink;${He}'s so devoted ${he} enjoys being fucked in both holes for the first time.@@ ${He} looks forward to having ${his} holes fucked by you again.`; @@ -158,9 +158,9 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { slave.anus = 1; } else { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin pussy.@@ `; - if (slave.devotion > 50 || slave.career == "a slave since birth") { + if (slave.devotion > 50 || slave.career === "a slave since birth") { r += `As it's ${his} first time, you ease yourself into ${his} pussy and gradually speed up your thrusts while ${he} slowly learns to move ${his} hips along with you. ${He} moans loudly. `; - if (slave.tankBaby == 2) { + if (slave.tankBaby === 2) { r += `${He} thinks of losing ${his} virginity to ${his} ${WrittenMaster(slave)} a @@.hotpink;necessity to be happy.@@ ${He} expects ${his} pussy to be seeing a lot more attention in the future.`; } else { r += `@@.hotpink;${He} enjoys losing ${his} cherry to you.@@ ${He} looks forward to having ${his} pussy fucked by you again.`; @@ -175,17 +175,17 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { } } slave.vagina = 1; - } else if (canDoAnal(slave) && slave.anus == 0) { + } else if (canDoAnal(slave) && slave.anus === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin ass.@@ `; - if (slave.devotion > 50 || slave.career == "a slave since birth") { + if (slave.devotion > 50 || slave.career === "a slave since birth") { r += `As it's ${his} first time, you ease yourself into ${his} butthole and gradually speed up your thrusts while ${he} slowly learns to move ${his} hips along with you. ${He} moans loudly. `; - if (slave.tankBaby == 2) { + if (slave.tankBaby === 2) { r += `${He} thinks of losing ${his} anal virginity to ${his} ${WrittenMaster(slave)} a @@.hotpink;necessity.@@ ${He} expects ${his} asshole to be seeing a lot more attention now.`; } else { - r += `${He} thinks of losing ${his} anal virginity to you as a @@.hotpink;connection@@ with ${his} beloved ${WrittenMaster(slave)}. ${He} looks forward to having ${his} asshole fucked by you again.` + r += `${He} thinks of losing ${his} anal virginity to you as a @@.hotpink;connection@@ with ${his} beloved ${WrittenMaster(slave)}. ${He} looks forward to having ${his} asshole fucked by you again.`; } slave.devotion += 4; - } else if (slave.devotion > 20){ + } else if (slave.devotion > 20) { r += `As it's ${his} first time, you ease yourself into ${his} butthole and gradually increase the intensity of your thrusts. ${He} accepts the pain and humiliation of anal sex as part of ${his} sexual servitude, though ${he} hopes that ${his} next time will be less painful.`; } else if (slave.devotion >= -20) { r += `You force yourself into ${his} butthole. ${He} sobs and cries with disgust while you continue thrusting into ${his} ass. ${He} @@.gold;fears@@ ${his} next anal sex, remembering the pain of losing ${his} anal virginity. ${He} dreads having ${his} ass violated by you again.`; @@ -225,11 +225,11 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { } } } else if (canDoAnal(slave)) { - if (slave.anus == 0) { + if (slave.anus === 0) { r += `@@.lime;This breaks in ${slave.slaveName}'s virgin ass.@@ `; - if (slave.devotion > 50 || slave.career == "a slave since birth") { + if (slave.devotion > 50 || slave.career === "a slave since birth") { r += `As it's ${his} first time, you ease yourself into ${his} butthole and gradually speed up your thrusts while ${he} slowly learns to move ${his} hips along with you. ${He} moans loudly. `; - if (slave.tankBaby == 2) { + if (slave.tankBaby === 2) { r += `${He} thinks of losing ${his} anal virginity to ${his} ${WrittenMaster(slave)} a @@.hotpink;necessity.@@ ${He} expects ${his} asshole to be seeing a lot more attention now.`; } else { r += `${He} thinks of losing ${his} anal virginity to you as a @@.hotpink;connection@@ with ${his} beloved ${WrittenMaster(slave)}. ${He} looks forward to having ${his} asshole fucked by you again.`; @@ -241,7 +241,7 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { r += `You force yourself into ${his} butthole. ${He} sobs and cries with disgust while you continue thrusting into ${his} ass. ${He} @@.gold;fears@@ ${his} next anal sex, remembering the pain of losing ${his} anal virginity. ${He} dreads having ${his} ass violated by you again.`; slave.trust -= 5; } else { - r += `You force yourself into ${his} butthole. ${He} sobs and cries with disgust while you continue thrusting into ${his} ass. ${He} @@.mediumorchid;hates@@ and @@.gold;fears@@ you for violating ${his} virgin butt. ${He} dreads having ${his} ass fucked by you again.` + r += `You force yourself into ${his} butthole. ${He} sobs and cries with disgust while you continue thrusting into ${his} ass. ${He} @@.mediumorchid;hates@@ and @@.gold;fears@@ you for violating ${his} virgin butt. ${He} dreads having ${his} ass fucked by you again.`; slave.trust -= 5; slave.devotion -= 5; } @@ -259,7 +259,7 @@ window.BothVCheck = function BothVCheck(analTimes, bothTimes) { } } return r; -} +}; /* times is how many times to increment either the Vaginal or the Anal counts, if there is no Vagina available. @@ -273,7 +273,7 @@ window.SimpleVCheck = function SimpleVCheck(times) { r += AnalVCheck(times); } return r; -} +}; /* Before using this function, set $partner to the index of the partner in the $slaves array @@ -288,13 +288,13 @@ window.PartnerVCheck = function PartnerVCheck(analTimes, bothTimes) { const partner = V.slaves[V.partner]; let pronouns = getPronouns(partner); let he = pronouns.pronoun, - him = pronouns.object, - his = pronouns.possessive, - hers = pronouns.possessivePronoun, - himself = pronouns.objectReflexive, - boy = pronouns.noun; - let He = capFirstChar(he), - His = capFirstChar(his); + him = pronouns.object, + his = pronouns.possessive, + hers = pronouns.possessivePronoun, + himself = pronouns.objectReflexive, + boy = pronouns.noun; + let He = capFirstChar(he); + let His = capFirstChar(his); let r = ``; if (V.partner < 0 || V.partner >= V.slaves.length) { @@ -309,7 +309,7 @@ window.PartnerVCheck = function PartnerVCheck(analTimes, bothTimes) { r += `Since it's ${partner.slaveName}'s first time, you take your time and gently ease yourself into ${his} pussy before gradually increasing the intensity of your thrusts. @@.lime;This breaks in ${partner.slaveName}'s virgin pussy.@@ `; partner.vagina = 1; } - } else if (canDoAnal(partner) && partner.anus == 0) { + } else if (canDoAnal(partner) && partner.anus === 0) { r += `Since it's ${partner.slaveName}'s first time, you take your time and gently ease yourself into ${his} butthole before gradually increasing the intensity of your thrusts into ${his} ass. @@.lime;This breaks in ${partner.slaveName}'s virgin ass.@@ `; partner.anus = 1; } @@ -358,7 +358,7 @@ window.PartnerVCheck = function PartnerVCheck(analTimes, bothTimes) { } } return r; -} +}; /* count is how many times to increment either the Vaginal, Anal, or Oral counts, depending on availability of slave. @@ -374,8 +374,8 @@ window.SimpleSexAct = function SimpleSexAct(slave, count) { fuckCount = count; } for (var i = 0; i < fuckCount; i++) { - fuckTarget = jsRandom(1,100); - if (slave.nipples == "fuckable" && V.PC.dick === 1 && fuckTarget > 80) { + fuckTarget = jsRandom(1, 100); + if (slave.nipples === "fuckable" && V.PC.dick === 1 && fuckTarget > 80) { V.mammaryTotal += 1; slave.mammaryCount += 1; } else if (canDoVaginal(slave) && slave.vagina > 0 && fuckTarget > 33) { @@ -396,7 +396,7 @@ window.SimpleSexAct = function SimpleSexAct(slave, count) { } } return r; -} +}; /* count is how many times to increment either the Vaginal, Anal, or Oral counts, depending on availability of slave. @@ -412,8 +412,8 @@ window.SimpleSlaveFucking = function SimpleSlaveFucking(slave, count) { fuckCount = count; } for (var i = 0; i < fuckCount; i++) { - fuckTarget = jsRandom(1,100); - if (slave.nipples == "fuckable" && fuckTarget > 80) { + fuckTarget = jsRandom(1, 100); + if (slave.nipples === "fuckable" && fuckTarget > 80) { V.mammaryTotal += 1; slave.mammaryCount += 1; } else if (canDoVaginal(slave) && slave.vagina > 0 && fuckTarget > 33) { @@ -428,7 +428,7 @@ window.SimpleSlaveFucking = function SimpleSlaveFucking(slave, count) { } } return; -} +}; /* count is how many times to increment either the Vaginal, Anal, or Oral counts, depending on availability of slave. @@ -445,10 +445,10 @@ window.SimpleSlaveSlaveFucking = function SimpleSlaveSlaveFucking(subslave, doms } for (var j = 0; j < fuckCount; j++) { //there is a reason randomization happens inside cycle - to spread fuck around, otherwise cycle isn't even needed - fuckTarget = jsRandom(1,100); + fuckTarget = jsRandom(1, 100); if (subslave.nipples === "fuckable" && canPenetrate(domslave) && fuckTarget > 80) { if (passage() === "SA serve your other slaves") { - if (subslave.ID == V.slaves[V.i].ID) { + if (subslave.ID === V.slaves[V.i].ID) { V.slaves[V.i].mammaryCount++; V.mammaryTotal++; domslave.penetrativeCount++; @@ -467,7 +467,7 @@ window.SimpleSlaveSlaveFucking = function SimpleSlaveSlaveFucking(subslave, doms } } else if (canDoVaginal(subslave) && subslave.vagina > 0 && canPenetrate(domslave) && fuckTarget > 33) { if (passage() === "SA serve your other slaves") { - if (subslave.ID == V.slaves[V.i].ID) { + if (subslave.ID === V.slaves[V.i].ID) { V.slaves[V.i].vaginalCount++; V.vaginalTotal++; V.penetrativeTotal++; @@ -489,11 +489,11 @@ window.SimpleSlaveSlaveFucking = function SimpleSlaveSlaveFucking(subslave, doms } } else if (canDoAnal(subslave) && subslave.anus > 0 && canPenetrate(domslave) && fuckTarget > 10) { //i think would impregnate from anal here even without .mpreg? same in original widget too - if (canImpreg(subslave, domslave) && subslave.mpreg == 1) { + if (canImpreg(subslave, domslave) && subslave.mpreg === 1) { r += knockMeUp(subslave, 3, 1, domslave.ID, 1); } if (passage() === "SA serve your other slaves") { - if (subslave.ID == V.slaves[V.i].ID) { + if (subslave.ID === V.slaves[V.i].ID) { V.slaves[V.i].analCount++; V.analTotal++; V.penetrativeTotal++; @@ -516,7 +516,7 @@ window.SimpleSlaveSlaveFucking = function SimpleSlaveSlaveFucking(subslave, doms } } return r; -} +}; window.SimpleVaginaFuck = function SimpleVaginaFuck(slave, count) { if (count) { @@ -526,7 +526,7 @@ window.SimpleVaginaFuck = function SimpleVaginaFuck(slave, count) { State.variables.vaginalTotal++; slave.vaginalCount++; } -} +}; window.SimpleAssFuck = function SimpleAssFuck(slave, count) { if (count) { @@ -536,4 +536,4 @@ window.SimpleAssFuck = function SimpleAssFuck(slave, count) { State.variables.analTotal++; slave.analCount++; } -} +}; diff --git a/src/js/slaveCostJS.js b/src/js/slaveCostJS.js index 4a562f3f88fbc766dd7c2ea51aa9014b0e341da0..0bcdefa256fa343f0f02405493592da5242ce406 100644 --- a/src/js/slaveCostJS.js +++ b/src/js/slaveCostJS.js @@ -65,7 +65,7 @@ window.Beauty = (function() { beauty = Math.max(1, Math.trunc(0.5*beauty)); return beauty; - }; + } function calcInitBeauty(slave) { beauty -= slave.waist/20; @@ -81,7 +81,7 @@ window.Beauty = (function() { beauty -= 10 + (slave.vagina*2); /*-20*/ } - }; + } function calcFaceBeauty(slave) { beauty += slave.face/5; @@ -114,7 +114,7 @@ window.Beauty = (function() { beauty += 8/3; break; } - }; + } function calcTeethBeauty(slave) { switch (slave.teeth) { @@ -122,7 +122,7 @@ window.Beauty = (function() { beauty -= 3; break; case "gapped": - if (slave.faceShape == "cute") { + if (slave.faceShape === "cute") { beauty += 1; } else { beauty -= 1; @@ -141,9 +141,9 @@ window.Beauty = (function() { beauty -= 1; break; } - }; + } - function calcModBeauty(slave) { + function calcModBeauty(/*slave*/) { if (arcology.FSTransformationFetishist > 20 || arcology.FSDegradationist > 20) { if (V.modScore > 15 || (V.piercingScore > 8 && V.tatScore > 5)) { beauty += 8 + (V.modScore*0.25); @@ -165,7 +165,7 @@ window.Beauty = (function() { beauty += 7 + (0.5*(V.modScore - 7)); } } - }; + } function calcCosmeticsBeauty(slave) { if (slave.brand !== 0) { @@ -212,7 +212,7 @@ window.Beauty = (function() { } break; } - }; + } function calcFSNotFuckdollBeauty(slave) { if (arcology.FSSupremacist !== "unset") { @@ -281,7 +281,7 @@ window.Beauty = (function() { } } } - }; + } function calcMiscNotFuckdollBeauty(slave) { beauty += Math.min(slave.health, 100)/5; @@ -300,7 +300,7 @@ window.Beauty = (function() { } else if (slave.race === "white") { beauty += 2; } - }; + } function calcDickBeauty(slave) { if (arcology.FSAssetExpansionist > 20 && arcology.FSGenderFundamentalist === "unset") { @@ -326,7 +326,7 @@ window.Beauty = (function() { } else { beauty -= 2*slave.dick; } - }; + } function calcBallsBeauty(slave) { if (arcology.FSAssetExpansionist > 20 && arcology.FSGenderFundamentalist === "unset") { @@ -365,7 +365,7 @@ window.Beauty = (function() { beauty -= slave.balls*(1 + (arcology.FSRestart/100)); } } - }; + } function calcButtBeauty(slave) { if (slave.butt <= 10) { @@ -417,7 +417,7 @@ window.Beauty = (function() { } } } - }; + } function calcHipsBeauty(slave) { /* butts in general may need buffs */ switch (slave.hips) { @@ -484,7 +484,7 @@ window.Beauty = (function() { } break; } - }; + } function calcBoobsBeauty(slave) { if ((arcology.FSTransformationFetishist > 20 && arcology.FSSlimnessEnthusiast === "unset") || arcology.FSAssetExpansionist > 20) { @@ -591,7 +591,7 @@ window.Beauty = (function() { beauty += arcology.FSTransformationFetishist/10; } } - }; + } function calcWeightBeauty(slave) { if (arcology.FSHedonisticDecadence > 20) { @@ -648,7 +648,7 @@ window.Beauty = (function() { } } } - }; + } function calcMusclesBeauty(slave) { if (arcology.FSPhysicalIdealist !== "unset") { @@ -674,7 +674,7 @@ window.Beauty = (function() { } } } - }; + } function calcBodyHairBeauty(slave) { if (slave.physicalAge < 11) { @@ -724,7 +724,7 @@ window.Beauty = (function() { break; } } - }; + } function calcImplantBeauty(slave) { if (arcology.FSTransformationFetishist !== "unset") { @@ -752,7 +752,7 @@ window.Beauty = (function() { beauty -= (slave.faceImplant - 30)/10; } } - }; + } function calcRepopulationPregBeauty(slave) { if (slave.preg > slave.pregData.normalBirth/1.33) { /*limited huge boost for full term */ @@ -795,7 +795,7 @@ window.Beauty = (function() { } else { beauty += slave.births*(arcology.FSRepopulationFocus/75); } - }; + } function calcTrendyPregBeauty(slave) { if (slave.preg > slave.pregData.normalBirth/1.33) { /*limited huge boost for full term */ @@ -803,7 +803,7 @@ window.Beauty = (function() { } else if (slave.bellyPreg >= 1500) { beauty += 10; } - }; + } function calcRestartPregBeauty(slave) { if (slave.breedingMark === 1 && V.propOutcome === 1) { @@ -848,7 +848,7 @@ window.Beauty = (function() { beauty -= slave.births*(arcology.FSRestart/50); } } - }; + } function calcTrendyMilfBeauty(slave) { if (slave.births > 50) { @@ -856,7 +856,7 @@ window.Beauty = (function() { } else { beauty += Math.ceil(slave.births/10); } - }; + } function calcFutaLawBeauty(slave) { switch (arcology.FSGenderRadicalistLawFuta) { @@ -881,7 +881,7 @@ window.Beauty = (function() { } break; } - }; + } function calcFutaLawTrueFutaBeauty(slave) { if (slave.dick <= 10) { @@ -891,7 +891,7 @@ window.Beauty = (function() { } else { beauty += 4; } - }; + } function calcFutaLawBigDickBeauty(slave) { beauty += slave.dick; @@ -912,7 +912,7 @@ window.Beauty = (function() { } else { beauty += slave.balls; } - }; + } function calcFutaLawBigBootyBeauty(slave) { if (slave.hips >= 1) { @@ -923,14 +923,14 @@ window.Beauty = (function() { } if (slave.analSkill > 60 && slave.anus >= 2) { beauty += 2*(slave.anus-2); /*6*/ - if (arcology.FSSlimnessEnthusiast != "unset") { + if (arcology.FSSlimnessEnthusiast !== "unset") { beauty += 2*(slave.anus-2); /*6*/ /* offsets the malus for big butts */ } } if (slave.butt >= 5) { beauty += (slave.butt - 5); /*15*/ } - }; + } function calcFutaLawFemboyBeauty(slave) { if (arcology.FSSlimnessEnthusiast === "unset") { /*balance with slimness*/ @@ -959,7 +959,7 @@ window.Beauty = (function() { } else { beauty -= 5; } - }; + } function calcBodyProportionBeauty(slave) { if (arcology.FSGenderFundamentalist !== "unset") { @@ -975,7 +975,7 @@ window.Beauty = (function() { } } } - }; + } function calcVoiceBeauty(slave) { if (canTalk(slave)) { @@ -987,7 +987,7 @@ window.Beauty = (function() { } else { beauty -= 2; } - }; + } function calcLimbsBeauty(slave) { switch (slave.amp) { @@ -1000,7 +1000,7 @@ window.Beauty = (function() { beauty -= 2; break; } - }; + } function calcPubertyBeauty(slave) { if (slave.pubertyXX === 1) { @@ -1012,7 +1012,7 @@ window.Beauty = (function() { beauty += 5; } } - }; + } function calcFSMiscBeauty(slave) { if (arcology.FSTransformationFetishist > 20) { @@ -1047,7 +1047,7 @@ window.Beauty = (function() { beauty += 2*V.nicaeaPower; } } - }; + } function calcPurityBeauty(slave) { if (isPure(slave)) { @@ -1061,7 +1061,7 @@ window.Beauty = (function() { } else if (arcology.FSTransformationFetishist !== "unset") { beauty += arcology.FSTransformationFetishist/40; } - }; + } function calcPhysiqueBeauty(slave) { let physiquePass = 0; @@ -1102,7 +1102,7 @@ window.Beauty = (function() { } } } - }; + } function calcSlimBeauty(slave) { if (slimPass(slave) === 1) { @@ -1110,7 +1110,7 @@ window.Beauty = (function() { } else { beauty -= arcology.FSSlimnessEnthusiast/20; } - }; + } function calcGenderLawBeauty(slave) { V.genderLawPass = 1; @@ -1137,7 +1137,7 @@ window.Beauty = (function() { } else { beauty -= 10; } - }; + } function calcMultipliersBeauty(slave) { calcBellyBeauty(slave); @@ -1154,7 +1154,7 @@ window.Beauty = (function() { if (slave.prestige + slave.pornPrestige > 0) { calcPrestigeBeauty(slave); } - }; + } function calcBellyBeauty(slave) { if (slave.bellySag > 0) { @@ -1202,7 +1202,7 @@ window.Beauty = (function() { } } } - }; + } function calcAgeBeauty(slave) { if (slave.physicalAge === V.minimumSlaveAge) { @@ -1228,7 +1228,7 @@ window.Beauty = (function() { beauty += 0.1*beauty; } } - }; + } function calcPrestigeBeauty(slave) { /* multipliers */ if (slave.prestige >= 3) { @@ -1245,7 +1245,7 @@ window.Beauty = (function() { } else if (slave.pornPrestige === 1) { beauty += 0.1*beauty; } - }; + } return Beauty; })(); @@ -1411,7 +1411,7 @@ window.FResult = (function() { function calcSexAttributes(slave) { if (slave.clitPiercing > 2) result += 1; - if (slave.fetishKnown === 1 && slave.fetishStrength > 60 && slave.fetish != "none") + if (slave.fetishKnown === 1 && slave.fetishStrength > 60 && slave.fetish !== "none") result += slave.fetishStrength/5; if (slave.attrKnown === 1) { @@ -1569,7 +1569,7 @@ window.slaveCost = (function() { calcStartingSlaveCost(slave); } return cost; - }; + } function calcGenitalsCost(slave) { if (slave.vagina === 0) { @@ -1600,7 +1600,7 @@ window.slaveCost = (function() { } } } - }; + } function calcDevotionTrustCost(slave) { if (V.specialSlavesPriceOverride === 1) { @@ -1622,7 +1622,7 @@ window.slaveCost = (function() { } } } - }; + } function calcPreferencesCost(slave) { if (slave.behavioralFlaw !== "none") { @@ -1653,7 +1653,7 @@ window.slaveCost = (function() { multiplier += 0.2; } } - }; + } function calcPregCost(slave) { if (slave.mpreg === 1) { @@ -1686,11 +1686,11 @@ window.slaveCost = (function() { multiplier -= 1.5; } else if (V.activeSlave.bellyPreg >= 120000) { multiplier -= 0.5; - } else if (slave.bellyPreg >= 500 || slave.pregKnown == 1) { + } else if (slave.bellyPreg >= 500 || slave.pregKnown === 1) { multiplier -= 0.1; } } - }; + } function calcPrestigeCost(slave) { if (slave.prestige > 0) { @@ -1703,7 +1703,7 @@ window.slaveCost = (function() { } else if (slave.pornPrestige === 1) { multiplier += 0.2; } - }; + } function calcFSCost(slave) { if (arcology.FSSupremacistLawME !== 0) { @@ -1757,7 +1757,7 @@ window.slaveCost = (function() { if (arcology.FSArabianRevivalist > 50) { multiplier += 0.1; } - }; + } function calcAgeCost(slave) { if (slave.physicalAge === V.minimumSlaveAge && slave.physicalAge === V.fertilityAge && canGetPregnant(slave) && (arcology.FSRepopulationFocus !== "unset" || arcology.FSGenderFundamentalist !== "unset")) { @@ -1779,7 +1779,7 @@ window.slaveCost = (function() { multiplier -= 0.05; } } - }; + } function calcCareersCost(slave) { if (slave.career !== 0) { @@ -1876,7 +1876,7 @@ window.slaveCost = (function() { if (!setup.whoreCareers.includes(slave.career) && slave.skillW >= V.masteredXP) { multiplier += 0.05; } - }; + } function calcMiscCost(slave) { let totalInt = Math.clamp(slave.intelligence + slave.intelligenceImplant,-130,130); /* make absolutely certain we do not use +-131 in the next line */ @@ -1897,7 +1897,7 @@ window.slaveCost = (function() { if (slave.eyes === -2) { multiplier -= 0.2; } - }; + } function calcIndentureCost(slave) { if (slave.indenture > -1) { @@ -1911,9 +1911,9 @@ window.slaveCost = (function() { multiplier *= (V.retirementAge-slave.actualAge)/5; } } - }; + } - function calcCost(slave) { + function calcCost(/*slave*/) { cost *= multiplier*50; cost = Number(cost) || 0; if (cost < V.minimumSlaveCost) { @@ -1935,7 +1935,7 @@ window.slaveCost = (function() { cost = 1000; } cost = 500*Math.trunc(cost/500); - }; + } function calcStartingSlaveCost(slave) { let startingSlaveMultiplier = 0; @@ -1975,7 +1975,7 @@ window.slaveCost = (function() { if (V.PC.career === "slaver") { cost = cost/2; } - }; + } return slaveCost; })(); diff --git a/src/js/slaveGenerationJS.js b/src/js/slaveGenerationJS.js index 9e03b7e2e94cc8a78a6af1f306a7683fa6c9bfc9..6cd4ed3ccd159115ba36fe5f141c7748b69dc338 100644 --- a/src/js/slaveGenerationJS.js +++ b/src/js/slaveGenerationJS.js @@ -11,7 +11,7 @@ window.raceToNationality = function raceToNationality(slave) { slave.nationality = hashChoice(V.nationalities); } /* No success after 100 attempts, so just randomize according to race */ - if (setup.raceSelector[slave.nationality] && !(slave.race in setup.raceSelector[slave.nationality]) && i == 100) { + if (setup.raceSelector[slave.nationality] && !(slave.race in setup.raceSelector[slave.nationality]) && i === 100) { slave.nationality = hashChoice(setup[slave.race.toLowerCase().replace(/[ -]/g, '')+'Nationalities']); } }; @@ -66,15 +66,15 @@ window.nationalityToName = function nationalityToName(slave) { slave.slaveSurname = slave.birthSurname; if (V.useFSNames === 1) { if (V.arcologies[0].FSChattelReligionist > 20) { - slave.slaveName = jsEither(setup.chattelReligionistSlaveNames), slave.slaveSurname = 0; + slave.slaveName = jsEither(setup.chattelReligionistSlaveNames); slave.slaveSurname = 0; } else if (V.arcologies[0].FSRomanRevivalist > 20) { - slave.slaveName = jsEither(setup.romanSlaveNames), slave.slaveSurname = jsEither(setup.romanSlaveSurnames); + slave.slaveName = jsEither(setup.romanSlaveNames); slave.slaveSurname = jsEither(setup.romanSlaveSurnames); } else if (V.arcologies[0].FSAztecRevivalist > 20) { - slave.slaveName = jsEither(setup.aztecSlaveNames), slave.slaveSurname = 0; + slave.slaveName = jsEither(setup.aztecSlaveNames); slave.slaveSurname = 0; } else if (V.arcologies[0].FSEgyptianRevivalist > 20) { - slave.slaveName = jsEither(setup.ancientEgyptianSlaveNames), slave.slaveSurname = 0; + slave.slaveName = jsEither(setup.ancientEgyptianSlaveNames); slave.slaveSurname = 0; } else if (V.arcologies[0].FSEdoRevivalist > 20) { - slave.slaveName = jsEither(setup.edoSlaveNames), slave.slaveSurname = jsEither(setup.edoSlaveSurnames); + slave.slaveName = jsEither(setup.edoSlaveNames); slave.slaveSurname = jsEither(setup.edoSlaveSurnames); } else if (V.arcologies[0].FSDegradationist !== "unset") { DegradingName(slave); } @@ -1231,7 +1231,7 @@ window.checkForGingering = function checkForGingering() { const His = capFirstChar(his); /* reset in case gingered slaves were viewed but not purchased (no newSlaveIntro) */ - V.gingering = 0, V.gingeringDetected = 0, V.gingeringDetection = 0, V.toSearch = V.activeSlave.origin; + V.gingering = 0; V.gingeringDetected = 0; V.gingeringDetection = 0; V.toSearch = V.activeSlave.origin; if (V.applyLaw === 1 && V.HonestySMR === 1) { /* SMR prohibits gingering and is enforced for this slave - do nothing */ } else if (V.activeSlave.indenture > 0) { @@ -1271,7 +1271,7 @@ window.checkForGingering = function checkForGingering() { } if (V.gingering !== 0) { if (V.PC.slaving >= 100) { - V.gingeringDetected = 1, V.gingeringDetection = "slaver"; + V.gingeringDetected = 1; V.gingeringDetection = "slaver"; switch (V.gingering) { case "antidepressant": r += `${He} is acting dazed and unfocused. ${He}'s obviously been given antidepressants to make ${him} appear less fearful, and will be considerably less trusting than ${he} seems.`; @@ -1298,9 +1298,9 @@ window.checkForGingering = function checkForGingering() { } else { /* not slaver */ if (V.PC.warfare >= 100 && jsRandom(1, 2) === 1) { - V.gingeringDetected = 1, V.gingeringDetection = "mercenary"; + V.gingeringDetected = 1; V.gingeringDetection = "mercenary"; } else if (V.PC.rumor === "force" && jsRandom(1, 2) === 1) { - V.gingeringDetected = 1, V.gingeringDetection = "force"; + V.gingeringDetected = 1; V.gingeringDetection = "force"; } else if (jsRandom(1, 3) === 1) { V.gingeringDetected = 1; } @@ -1347,10 +1347,10 @@ window.removeGingering = function removeGingering() { const V = State.variables; if (V.gingering !== 0 && V.beforeGingering !== 0 && V.activeSlave !== 0 && V.beforeGingering.ID === V.activeSlave.ID) { /* extra checks to ensure gingering state is not left over from a different slave that was inspected but not purchased */ - V.activeSlave = V.beforeGingering, V.beforeGingering = 0; + V.activeSlave = V.beforeGingering; V.beforeGingering = 0; } else { /* clear left over state from a different slave without modifying activeSlave */ - V.gingering = 0, V.beforeGingering = 0; + V.gingering = 0; V.beforeGingering = 0; } }; @@ -1500,6 +1500,7 @@ window.BaseSlave = function BaseSlave() { hears: 0, earwear: "none", earImplant: 0, + earShape: "normal", origHColor: "brown", hColor: "brown", pubicHColor: "brown", @@ -1764,7 +1765,7 @@ window.generatePronouns = function generatePronouns(slave) { slave.object = "it"; slave.objectReflexive = "itself"; slave.noun = "toy"; - } else if (slave.dick > 0 && slave.vagina == -1 && State.variables.diversePronouns == 1) { + } else if (slave.dick > 0 && slave.vagina === -1 && State.variables.diversePronouns === 1) { slave.pronoun = "he"; slave.possessivePronoun = "his"; slave.possessive = "his"; @@ -1779,4 +1780,4 @@ window.generatePronouns = function generatePronouns(slave) { slave.objectReflexive = "herself"; slave.noun = "girl"; } -}; \ No newline at end of file +}; diff --git a/src/js/slaveSummaryWidgets.js b/src/js/slaveSummaryWidgets.js index 9da602b0a2362154697b5951716dc5506719019c..e151473be1930989a1f28ef841e6b59f1203d2d4 100644 --- a/src/js/slaveSummaryWidgets.js +++ b/src/js/slaveSummaryWidgets.js @@ -958,7 +958,7 @@ window.SlaveSummaryUncached = (function(){ r += `twins.`; } } - if (slave.preg > slave.pregData.normalBirth && slave.broodmother == 0) { + if (slave.preg > slave.pregData.normalBirth && slave.broodmother === 0) { r += ` (Overdue.)`; } } @@ -3709,7 +3709,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s daughter`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTermShort(slave) + var friendShipShort = relationshipTermShort(slave); r += ` & ${friendShipShort}`; handled = 1; } @@ -3735,7 +3735,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s daughter`; if (slave.relationshipTarget === V.slaves[_ssj].ID && handled !== 1) { - var friendShipShort = relationshipTermShort(slave) + var friendShipShort = relationshipTermShort(slave); r += ` & ${friendShipShort}`; handled = 1; } @@ -3761,7 +3761,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s mother`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTermShort(slave) + var friendShipShort = relationshipTermShort(slave); r += ` & ${friendShipShort}`; handled = 1; } @@ -3773,7 +3773,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s father`; if (slave.relationshipTarget === V.slaves[_ssj].ID && handled !== 1) { - var friendShipShort = relationshipTermShort(slave) + var friendShipShort = relationshipTermShort(slave); r += ` & ${friendShipShort}`; handled = 1; } @@ -3789,7 +3789,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s sister`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTermShort(slave) + var friendShipShort = relationshipTermShort(slave); r += `& ${friendShipShort}`; handled = 1; } @@ -3804,7 +3804,7 @@ window.SlaveSummaryUncached = (function(){ }); if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s`; - var friendShipShort = relationshipTermShort(slave) + var friendShipShort = relationshipTermShort(slave); r += ` ${friendShipShort}`; } } else if (slave.relationship === -3 && slave.mother !== -1 && slave.father !== -1) { @@ -3831,13 +3831,13 @@ window.SlaveSummaryUncached = (function(){ return s.ID === slave.relationshipTarget; }); if (_ssj !== -1) { - var friendship = relationshipTerm(slave) - if (slave.relationshipTarget !== slave.relationTarget) { - r += `${SlaveFullName(V.slaves[_ssj])}'s`; - } else { - r += ` &`; - } - r += ` ${friendship}`; + var friendship = relationshipTerm(slave); + if (slave.relationshipTarget !== slave.relationTarget) { + r += `${SlaveFullName(V.slaves[_ssj])}'s`; + } else { + r += ` &`; + } + r += ` ${friendship}`; } } else if (slave.relationship === -3) { r += `Your wife`; @@ -3849,7 +3849,7 @@ window.SlaveSummaryUncached = (function(){ } function short_clone(slave) { - if (slave.clone != 0) { + if (slave.clone !== 0) { r += ` Clone`; } } @@ -3883,7 +3883,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s <span class="lightgreen">daughter`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTerm(slave) + var friendShipShort = relationshipTerm(slave); r += ` and ${friendShipShort}`; handled = 1; } @@ -3910,7 +3910,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s <span class="lightgreen">daughter`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTerm(slave) + var friendShipShort = relationshipTerm(slave); r += ` and ${friendShipShort}`; handled = 1; } @@ -3937,7 +3937,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s <span class="lightgreen">mother`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTerm(slave) + var friendShipShort = relationshipTerm(slave); r += ` and ${friendShipShort}`; handled = 1; } @@ -3949,7 +3949,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s <span class="lightgreen">father`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTerm(slave) + var friendShipShort = relationshipTerm(slave); r += ` and ${friendShipShort}`; handled = 1; } @@ -3971,7 +3971,7 @@ window.SlaveSummaryUncached = (function(){ if (_ssj !== -1) { r += `${SlaveFullName(V.slaves[_ssj])}'s <span class="lightgreen">sister`; if (slave.relationshipTarget === V.slaves[_ssj].ID) { - var friendShipShort = relationshipTerm(slave) + var friendShipShort = relationshipTerm(slave); r += ` and ${friendShipShort}`; handled = 1; } @@ -3991,7 +3991,7 @@ window.SlaveSummaryUncached = (function(){ return s.ID === slave.relationshipTarget; }); if (_ssj !== -1) { - var friendship = relationshipTerm(slave) + var friendship = relationshipTerm(slave); r += `${SlaveFullName(V.slaves[_ssj])}'s `; r += `<span class="lightgreen">${friendship}.</span> `; } @@ -4026,7 +4026,7 @@ window.SlaveSummaryUncached = (function(){ return s.ID === slave.relationshipTarget; }); if (_ssj !== -1) { - var friendship = relationshipTerm(slave) + var friendship = relationshipTerm(slave); if (slave.relationshipTarget !== slave.relationTarget) { r += `${SlaveFullName(V.slaves[_ssj])}'s `; } else { @@ -4044,7 +4044,7 @@ window.SlaveSummaryUncached = (function(){ } function long_clone(slave) { - if (slave.clone != 0) { + if (slave.clone !== 0) { r += ` <span class="skyblue">Clone of ${slave.clone}.</span>`; } } diff --git a/src/js/storyJS.js b/src/js/storyJS.js index 4c0f9739373299f4b3523d7fe498381b1f94c06b..2955def2ffc70ff6ce64a382eb7d8e89c030448d 100644 --- a/src/js/storyJS.js +++ b/src/js/storyJS.js @@ -1,9 +1,9 @@ /*config.history.tracking = false;*/ -State.expired.disable; +// State.expired.disable; window.variableAsNumber = function(x, defaultValue, minValue, maxValue) { - x = Number(x) - if (x != x) {//NaN + x = Number(x); + if (x !== x) {//NaN return defaultValue || 0;//In case the default value was not supplied. } if (x < minValue) {//Works even if minValue is undefined. @@ -24,7 +24,7 @@ window.isSexuallyPure = function(slave) { return false; } }; -if (typeof interpolate == "undefined") { +if (typeof interpolate === "undefined") { var interpolate = function(x0,y0,x1,y1,x) { if(x <= x0) { return y0; @@ -35,12 +35,12 @@ if (typeof interpolate == "undefined") { } }; window.interpolate = interpolate; -}; +} window.isFullyPotent = function(slave) { if (!slave) { return null; - } else if (slave.dick > 0 && slave.balls > 0 && slave.ballType != 'sterile' && slave.hormoneBalance < 100 && slave.drugs !== 'hormone blockers') { + } else if (slave.dick > 0 && slave.balls > 0 && slave.ballType !== 'sterile' && slave.hormoneBalance < 100 && slave.drugs !== 'hormone blockers') { return true; } else { return false; @@ -55,18 +55,18 @@ if (typeof BoobGenerator === "undefined") { rollBreast: function (modif) { var volume = [0, 300, 500, 650, 800, 1000, 1200, 1400, 1600, 1800, 2050, 2300, 2600, 2900, 3250, 3600, 3950, 4300, 4700, 5100, 5500, 5900]; var volume_dist = [90000, 470000, 720000, 840000, 908574, 947759, 970151, 982946, 990258, 994436, 996824, 998188, 998968, 999414, 999669, 999814, 999897, 999945, 999972, 999987, 999995, 1000000]; - var randomRoll = Math.floor(Math.random() * 1000000) + 1 - var actualSize = 0 + var randomRoll = Math.floor(Math.random() * 1000000) + 1; + var actualSize = 0; while (randomRoll > volume_dist[actualSize]) { - actualSize = actualSize + 1 + actualSize = actualSize + 1; } - var minorSizeAdjustment = 0 + var minorSizeAdjustment = 0; if (Math.random()<.5) { - minorSizeAdjustment = (Math.floor(Math.random() * 2) + 1) * 50 + minorSizeAdjustment = (Math.floor(Math.random() * 2) + 1) * 50; } - var volResult = volume[actualSize] + minorSizeAdjustment + modif - if (volResult < 0) {volResult = 0} - return volResult + var volResult = volume[actualSize] + minorSizeAdjustment + modif; + if (volResult < 0) { volResult = 0;} + return volResult; } }; // Raise namespace scope to Global. @@ -79,12 +79,12 @@ if (typeof BoobGenerator === "undefined") { if (typeof SlaveStatsChecker === "undefined") { var SlaveStatsChecker = { checkForLisp: function (slave) { - /* Begin mod section: toggle whether slaves lisp. */ - if (State && State.variables.disableLisping == 1) { - return false; - } - /* End mod section: toggle whether slaves lisp. */ - return ((slave.lips > 70) || (slave.lipsPiercing + slave.tonguePiercing > 2) || (slave.teeth == "gapped")) + /* Begin mod section: toggle whether slaves lisp. */ + if (State && State.variables.disableLisping === 1) { + return false; + } + /* End mod section: toggle whether slaves lisp. */ + return ((slave.lips > 70) || (slave.lipsPiercing + slave.tonguePiercing > 2) || (slave.teeth === "gapped")); } }; // Raise namespace scope to Global. @@ -93,7 +93,7 @@ if (typeof SlaveStatsChecker === "undefined") { window.removeFromArray = function(arr, val) { for (var i = 0; i < arr.length; i++) { - if (val == arr[i]) + if (val === arr[i]) return arr.splice(i,1); } return null; @@ -115,7 +115,7 @@ if (typeof FertilityAge === "undefined") { var FertilityAge = { setAge: function (age) { age = Number(age); - if (age != age) { + if (age !== age) { return 13; } else { return age; @@ -129,13 +129,13 @@ if (typeof FertilityAge === "undefined") { window.canGetPregnant = function(slave) { if (!slave) { return null; - } else if (slave.preg == -1) { /* contraceptives check */ + } else if (slave.preg === -1) { /* contraceptives check */ return false; } else if (!isFertile(slave)) { /* check other fertility factors */ return false; - } else if ((slave.ovaries == 1) && (canDoVaginal(slave))) { + } else if ((slave.ovaries === 1) && (canDoVaginal(slave))) { return true; - } else if ((slave.mpreg == 1) && (canDoAnal(slave))) { /* pregmod */ + } else if ((slave.mpreg === 1) && (canDoAnal(slave))) { /* pregmod */ return true; } else { return false; @@ -146,7 +146,7 @@ window.canGetPregnant = function(slave) { window.canBreed = function(slave1, slave2) { if (!slave1 || !slave2) { return null; - } else if (slave1.eggType == slave2.ballType) { + } else if (slave1.eggType === slave2.ballType) { return true; } else { return false; @@ -160,7 +160,7 @@ window.canImpreg = function(slave1, slave2) { } else if (slave2.dick < 1) { return false; } else if (slave2.ID === -1) { - if (slave1.eggType != "human") { + if (slave1.eggType !== "human") { return false; } else if (!canGetPregnant(slave1)) { /* includes chastity checks */ return false; @@ -169,16 +169,16 @@ window.canImpreg = function(slave1, slave2) { } } else if (slave2.balls < 1) { return false; - } else if (slave2.dickAccessory == "chastity") { + } else if (slave2.dickAccessory === "chastity") { return false; - } else if (slave2.dickAccessory == "combined chastity") { + } else if (slave2.dickAccessory === "combined chastity") { return false; - } else if (slave2.pubertyXY == 0) { /* pregmod start */ + } else if (slave2.pubertyXY === 0) { /* pregmod start */ return false; - } else if (slave2.vasectomy == 1) { + } else if (slave2.vasectomy === 1) { return false; } else if (slave1.ID === -1) { - if (slave2.ballType != "human") { + if (slave2.ballType !== "human") { return false; } else if (!isPlayerFertile(slave1)) { return false; @@ -210,17 +210,17 @@ window.isFertile = function(slave) { return false; } else if (slave.pregWeek < 0) { /* postpartum */ return false; - } else if (slave.pubertyXX == 0) { /* pregmod start */ + } else if (slave.pubertyXX === 0) { /* pregmod start */ return false; } else if (slave.ovaryAge >= 47) { return false; } else if (slave.inflation > 2) { return false; - } else if (slave.bellyImplant != -1) { + } else if (slave.bellyImplant !== -1) { return false; - } else if (slave.mpreg == 1) { + } else if (slave.mpreg === 1) { return true; /* pregmod end */ - } else if (slave.ovaries == 1) { + } else if (slave.ovaries === 1) { return true; } else { return false; @@ -230,11 +230,11 @@ window.isFertile = function(slave) { window.isPlayerFertile = function(PC) { if (!PC) { return null; - } else if (PC.preg != 0) { /* currently pregnant, sterile, menopausal or on contraceptives */ + } else if (PC.preg !== 0) { /* currently pregnant, sterile, menopausal or on contraceptives */ return false; } else if (PC.pregWeek < 0) { /* postpartum */ return false; - } else if (PC.vagina == 1) { + } else if (PC.vagina === 1) { return true; } else { return false; @@ -244,7 +244,7 @@ window.isPlayerFertile = function(PC) { window.canAchieveErection = function(slave) { if (!slave) { return null; - } else if (slave.dick < 7 && slave.dick > 0 && slave.drugs !== 'hormone blockers' && (slave.balls > 0 ? slave.hormoneBalance < 100 : slave.hormoneBalance <= -100) && slave.ballType != 'sterile') { + } else if (slave.dick < 7 && slave.dick > 0 && slave.drugs !== 'hormone blockers' && (slave.balls > 0 ? slave.hormoneBalance < 100 : slave.hormoneBalance <= -100) && slave.ballType !== 'sterile') { return true; } else { return false; @@ -256,9 +256,9 @@ window.canPenetrate = function(slave) { return null; } else if (!canAchieveErection(slave)) { return false; - } else if (slave.dickAccessory == "chastity") { + } else if (slave.dickAccessory === "chastity") { return false; - } else if (slave.dickAccessory == "combined chastity") { + } else if (slave.dickAccessory === "combined chastity") { return false; } else if (slave.dick > 7) { return false; @@ -279,7 +279,7 @@ window.canSee = function(slave) { window.canHear = function(slave) { if (!slave) { return null; - } else if ((slave.hears > -2) && (slave.earwear != "deafening ear plugs")) { + } else if ((slave.hears > -2) && (slave.earwear !== "deafening ear plugs")) { return true; } else { return false; @@ -289,7 +289,7 @@ window.canHear = function(slave) { window.canWalk = function(slave) { if (!slave) { return null; - } else if (slave.amp == 1) { + } else if (slave.amp === 1) { return false; } else if (tooFatSlave(slave)) { return false; @@ -303,13 +303,13 @@ window.canWalk = function(slave) { return false; } else if (tooBigBelly(slave)) { return false; - } else if (slave.heels == 0) { + } else if (slave.heels === 0) { return true; - } else if (slave.shoes == "heels") { + } else if (slave.shoes === "heels") { return true; - } else if (slave.shoes == "extreme heels") { + } else if (slave.shoes === "extreme heels") { return true; - } else if (slave.shoes == "boots") { + } else if (slave.shoes === "boots") { return true; } else { return false; @@ -321,17 +321,17 @@ window.canTalk = function(slave) { return null; } else if (slave.accent > 2) { return false; - } else if (slave.voice == 0) { + } else if (slave.voice === 0) { return false; } else if (slave.lips > 95) { return false; - } else if (slave.collar == "dildo gag") { + } else if (slave.collar === "dildo gag") { return false; - } else if (slave.collar == "massive dildo gag") { + } else if (slave.collar === "massive dildo gag") { return false; - } else if (slave.collar == "ball gag") { + } else if (slave.collar === "ball gag") { return false; - } else if (slave.collar == "bit gag") { + } else if (slave.collar === "bit gag") { return false; } else { return true; @@ -341,13 +341,13 @@ window.canTalk = function(slave) { window.canDoAnal = function(slave) { if (!slave) { return null; - } else if (slave.vaginalAccessory == "anal chastity") { + } else if (slave.vaginalAccessory === "anal chastity") { return false; - } else if (slave.dickAccessory == "anal chastity") { + } else if (slave.dickAccessory === "anal chastity") { return false; - } else if (slave.vaginalAccessory == "combined chastity") { + } else if (slave.vaginalAccessory === "combined chastity") { return false; - } else if (slave.dickAccessory == "combined chastity") { + } else if (slave.dickAccessory === "combined chastity") { return false; } return true; @@ -358,9 +358,9 @@ window.canDoVaginal = function(slave) { return null; } else if (slave.vagina < 0) { return false; - } else if (slave.vaginalAccessory == "chastity belt") { + } else if (slave.vaginalAccessory === "chastity belt") { return false; - } else if (slave.vaginalAccessory == "combined chastity") { + } else if (slave.vaginalAccessory === "combined chastity") { return false; } return true; @@ -457,9 +457,9 @@ window.tooBigButt = function(slave){ window.relationTargetWord = function(slave) { if (!slave) { return null; - } else if (slave.relation == "daughter") { + } else if (slave.relation === "daughter") { return "mother"; - } else if (slave.relation == "mother") { + } else if (slave.relation === "mother") { return "daughter"; } return slave.relation; @@ -471,44 +471,44 @@ window.milkAmount = function(slave) { if (!slave) { return null; } else { - calcs = slave.boobs-slave.boobsImplant-slave.boobsMilk + calcs = slave.boobs - slave.boobsImplant - slave.boobsMilk; if (calcs > 40000) { - milk = (158+((calcs-10000)/600)) + milk = (158 + ((calcs - 10000) / 600)); } else if (calcs > 25000) { - milk = (128+((calcs-10000)/500)) + milk = (128 + ((calcs - 10000) / 500)); } else if (calcs > 10000) { - milk = (78+((calcs-10000)/300)) + milk = (78 + ((calcs - 10000) / 300)); } else if (calcs > 5000) { - milk = (53+((calcs-5000)/200)) + milk = (53 + ((calcs - 5000) / 200)); } else if (calcs > 2000) { - milk = (29+((calcs-2000)/125)) + milk = (29 + ((calcs - 2000) / 125)); } else if (calcs > 800) { - milk = (16+((calcs-800)/80)) + milk = (16 + ((calcs - 800) / 80)); } else { - milk = (8+((calcs-400)/50)) + milk = (8 + ((calcs - 400) / 50)); } - if (slave.lactation == 2) { - milk *= 1.2 + if (slave.lactation === 2) { + milk *= 1.2; } - milk += (milk*((slave.devotion-50)/200)) + milk += (milk * ((slave.devotion - 50) / 200)); if (slave.boobsImplant > 200) { - milk *= 0.9 + milk *= 0.9; } - calcs = (slave.hormoneBalance/50) - if (slave.balls != 0 && calcs > -2) { - calcs -= 1 - } else if (slave.ovaries != 1 && calcs < 2) { - calcs += 1 + calcs = (slave.hormoneBalance / 50); + if (slave.balls !== 0 && calcs > -2) { + calcs -= 1; + } else if (slave.ovaries !== 1 && calcs < 2) { + calcs += 1; } - milk *= (1+(calcs*0.1)) - milk *= (1+(slave.preg/100)) - milk *= (1+(slave.health/50)) - milk *= (1+(slave.weight/500)) - milk *= (1+(slave.lactationAdaptation/500)) - milk += (slave.boobsMilk/100) - milk = Math.trunc(milk) - milk = Math.clamp(milk,1,1000000000000000000) - return milk + milk *= (1 + (calcs * 0.1)); + milk *= (1 + (slave.preg / 100)); + milk *= (1 + (slave.health / 50)); + milk *= (1 + (slave.weight / 500)); + milk *= (1 + (slave.lactationAdaptation / 500)); + milk += (slave.boobsMilk / 100); + milk = Math.trunc(milk); + milk = Math.clamp(milk, 1, 1000000000000000000); + return milk; } }; @@ -520,49 +520,48 @@ window.cumAmount = function(slave) { if (!slave) { return null; } else { - if (slave.drugs == "testicle enhancement") { - cum = ((slave.balls*3.5)+1) - } else if (slave.drugs == "hyper testicle enhancement") { - cum = ((slave.balls*5)+1) + if (slave.drugs === "testicle enhancement") { + cum = ((slave.balls * 3.5) + 1); + } else if (slave.drugs === "hyper testicle enhancement") { + cum = ((slave.balls * 5) + 1); } else { - cum = ((slave.balls*2.5)+1) + cum = ((slave.balls * 2.5) + 1); } - if (slave.ballType == "sterile") { - cum *= 0.8 + if (slave.ballType === "sterile") { + cum *= 0.8; } - if (slave.diet == "cum production") { - cum *= 1.2 + if (slave.diet === "cum production") { + cum *= 1.2; } - calcs = (slave.hormoneBalance/50) - cum *= (1-(calcs*0.1)) - if (slave.scrotum == 0) { - cum *= 0.8 + calcs = (slave.hormoneBalance / 50); + cum *= (1 - (calcs * 0.1)); + if (slave.scrotum === 0) { + cum *= 0.8; } - if (slave.prostate == 0) { - cum *= 0.2 // being generous here - } else if (slave.prostate == 2) { - cum *= 1.2 - } else if (slave.prostate == 3) { - cum *= 1.5 + if (slave.prostate === 0) { + cum *= 0.2; // being generous here + } else if (slave.prostate === 2) { + cum *= 1.2; + } else if (slave.prostate === 3) { + cum *= 1.5; } if (slave.devotion > 50) { - cum += (cum*(slave.devotion/100)) + cum += (cum * (slave.devotion / 100)); } else if (slave.devotion < -50) { - cum += (cum*(slave.devotion/100)) + cum += (cum * (slave.devotion / 100)); } if (slave.health > 50) { - cum += (cum*(slave.health/50)) + cum += (cum * (slave.health / 50)); } else if (slave.health < -50) { - cum += (cum*(slave.health/50)) + cum += (cum * (slave.health / 50)); } - cum = Math.trunc(cum) - cum = Math.clamp(cum,1,1000000000000000000) - return cum + cum = Math.trunc(cum); + cum = Math.clamp(cum, 1, 1000000000000000000); + return cum; } }; -window.lispReplace = function(text) -{ +window.lispReplace = function (text) { text = text.replace(/Sh/g, "Th"); text = text.replace(/SS/g, "Th"); text = text.replace(/Ss/g, "Th"); @@ -643,7 +642,7 @@ window.lispReplace = function(text) text = text.replace(/cE/g, "thE"); text = text.replace(/cY/g, "thY"); return text; -} +}; window.isVegetable = function(slave) { slave = slave || State.variables.activeSlave; @@ -664,7 +663,7 @@ window.repGainSacrifice = function(slave, arcology) { window.bodyguardSuccessorEligible = function(slave) { if(!slave) { return false; } - return (slave.devotion > 50 && slave.muscles >= 0 && slave.weight < 100 && slave.boobs < 8000 && slave.butt < 10 && slave.belly < 5000 && slave.balls < 10 && slave.dick < 10 && slave.preg < 20 && slave.fuckdoll == 0 && slave.fetish != "mindbroken" && canWalk(slave)); + return (slave.devotion > 50 && slave.muscles >= 0 && slave.weight < 100 && slave.boobs < 8000 && slave.butt < 10 && slave.belly < 5000 && slave.balls < 10 && slave.dick < 10 && slave.preg < 20 && slave.fuckdoll === 0 && slave.fetish !== "mindbroken" && canWalk(slave)); }; window.ngUpdateGenePool = function(genePool) { @@ -733,13 +732,13 @@ window.nippleColor = function(slave) { window.overpowerCheck = function(slave, PC) { var strength; - if(State.variables.arcologies[0].FSPhysicalIdealist != "unset") { - if(PC.title == 1) { + if(State.variables.arcologies[0].FSPhysicalIdealist !== "unset") { + if(PC.title === 1) { strength = 130; } else { strength = 100; } - } else if(PC.title == 1) { + } else if(PC.title === 1) { strength = 50; } else { strength = 30; diff --git a/src/js/summaryWidgets.js b/src/js/summaryWidgets.js index b55dd53271467e82bce356b34525d3a96e157aac..66563b9ae6a42101fd3b9a3a1cdff5373dc7ddf0 100644 --- a/src/js/summaryWidgets.js +++ b/src/js/summaryWidgets.js @@ -48,11 +48,10 @@ window.SlaveStatClamp = function SlaveStatClamp(slave) { } if (slave.foreskin === undefined) slave.foreskin = 0; - if (slave.amp != 0 && slave.heels == 1) + if (slave.amp !== 0 && slave.heels === 1) slave.heels = 0; - if (slave.vagina < 0 && slave.mpreg == 0 && slave.preg == -1) { + if (slave.vagina < 0 && slave.mpreg === 0 && slave.preg === -1) { slave.preg = 0; WombFlush(slave); } - }; diff --git a/src/js/utilJS.js b/src/js/utilJS.js index 0b4178234b1e75d381ac2d858f0e58e63644942e..b39be0d3b56144bd16d4c7d8f142d54c0fdc8ab6 100644 --- a/src/js/utilJS.js +++ b/src/js/utilJS.js @@ -458,7 +458,7 @@ As a categorizer window.Categorizer = function() { this.cats = Array.prototype.slice.call(arguments) .filter(function(e, i, a) { - return e instanceof Array && e.length == 2 && typeof e[0] === 'number' && !isNaN(e[0]) && + return e instanceof Array && e.length === 2 && typeof e[0] === 'number' && !isNaN(e[0]) && a.findIndex(function(val) { return e[0] === val[0]; }) === i; /* uniqueness test */ }) .sort(function(a, b) { return b[0] - a[0]; /* reverse sort */ }); }; @@ -480,7 +480,7 @@ window.Categorizer.prototype.cat = function(val, def) { window.commaNum = function(s) { if(!s) { return 0; } - if(State.variables.formatNumbers != 1) { return s; } + if(State.variables.formatNumbers !== 1) { return s; } return s.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); }; @@ -492,8 +492,8 @@ window.cashFormat = function(s) { window.massFormat = function(s) { if(!s) { s = 0; } if(s >= 1000) { - s = commaNum(Math.trunc(s/1000)) - if(s != 1) { + s = commaNum(Math.trunc(s / 1000)); + if(s !== 1) { return s+" tons"; } else { return s+" ton"; @@ -517,83 +517,84 @@ window.numberWithCommas = function(x) { window.numberToWords = function(x) { if (x === 0) { - return "zero" - } else { - var ONE_TO_NINETEEN = [ - "one", "two", "three", "four", "five", - "six", "seven", "eight", "nine", "ten", - "eleven", "twelve", "thirteen", "fourteen", "fifteen", - "sixteen", "seventeen", "eighteen", "nineteen" - ]; - - var TENS = [ - "ten", "twenty", "thirty", "forty", "fifty", - "sixty", "seventy", "eighty", "ninety" - ]; - - var SCALES = ["thousand", "million", "billion", "trillion"]; - - // helper function for use with Array.filter - function isTruthy(item) { - return !!item; - } + return "zero"; + } - // convert a number into "chunks" of 0-999 - function chunk(number) { - var thousands = []; + var ONE_TO_NINETEEN = [ + "one", "two", "three", "four", "five", + "six", "seven", "eight", "nine", "ten", + "eleven", "twelve", "thirteen", "fourteen", "fifteen", + "sixteen", "seventeen", "eighteen", "nineteen" + ]; - while (number > 0) { - thousands.push(number % 1000); - number = Math.floor(number / 1000); - } + var TENS = [ + "ten", "twenty", "thirty", "forty", "fifty", + "sixty", "seventy", "eighty", "ninety" + ]; - return thousands; - } + var SCALES = ["thousand", "million", "billion", "trillion"]; - // translate a number from 1-999 into English - function inEnglish(number) { - var thousands, hundreds, tens, ones, words = []; + // helper function for use with Array.filter + function isTruthy(item) { + return !!item; + } - if (number < 20) { - return ONE_TO_NINETEEN[number - 1]; // may be undefined - } + // convert a number into "chunks" of 0-999 + function chunk(number) { + var thousands = []; + + while (number > 0) { + thousands.push(number % 1000); + number = Math.floor(number / 1000); + } - if (number < 100) { - ones = number % 10; - tens = number / 10 | 0; // equivalent to Math.floor(number / 10) + return thousands; + } - words.push(TENS[tens - 1]); - words.push(inEnglish(ones)); + // translate a number from 1-999 into English + function inEnglish(number) { + var thousands, hundreds, tens, ones, words = []; - return words.filter(isTruthy).join("-"); - } + if (number < 20) { + return ONE_TO_NINETEEN[number - 1]; // may be undefined + } - hundreds = number / 100 | 0; - words.push(inEnglish(hundreds)); - words.push("hundred"); - words.push(inEnglish(number % 100)); + if (number < 100) { + ones = number % 10; + tens = number / 10 | 0; // equivalent to Math.floor(number / 10) - return words.filter(isTruthy).join(" "); + words.push(TENS[tens - 1]); + words.push(inEnglish(ones)); + + return words.filter(isTruthy).join("-"); } - // append the word for a scale. Made for use with Array.map - function appendScale(chunk, exp) { - var scale; - if (!chunk) { - return null; - } - scale = SCALES[exp - 1]; - return [chunk, scale].filter(isTruthy).join(" "); + hundreds = number / 100 | 0; + words.push(inEnglish(hundreds)); + words.push("hundred"); + words.push(inEnglish(number % 100)); + + return words.filter(isTruthy).join(" "); + } + + // append the word for a scale. Made for use with Array.map + function appendScale(chunk, exp) { + var scale; + if (!chunk) { + return null; } + scale = SCALES[exp - 1]; + return [chunk, scale].filter(isTruthy).join(" "); + } - var string = chunk(x) - .map(inEnglish) - .map(appendScale) - .filter(isTruthy) - .reverse() - .join(" "); + var string = chunk(x) + .map(inEnglish) + .map(appendScale) + .filter(isTruthy) + .reverse() + .join(" "); - } if (x > 0) { + if (x > 0) { return string; } else { return "negative " + string; @@ -690,7 +691,7 @@ window.generateNewID = function generateNewID() { let uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { let r = (date + Math.random()*16)%16 | 0; date = Math.floor(date/16); - return (c=='x' ? r : (r & 0x3 | 0x8)).toString(16); + return (c==='x' ? r : (r & 0x3 | 0x8)).toString(16); }); return uuid; }; @@ -727,7 +728,7 @@ window.capFirstChar = function capFirstChar(string) { window.getSlaveDevotionClass = function (slave) { if ((!slave) || (!State)) return undefined; - if ('mindbroken' == slave.fetish) + if ('mindbroken' === slave.fetish) return 'mindbroken'; if (slave.devotion < -95) return 'very-hateful'; @@ -749,7 +750,7 @@ window.getSlaveTrustClass = function (slave) { if ((!slave) || (!State)) return undefined; - if ('mindbroken' == slave.fetish) + if ('mindbroken' === slave.fetish) return ''; if (slave.trust < -95) @@ -1130,13 +1131,13 @@ window.FSChangePorn = function FSChangePorn(FS, magnitude) { window.ordinalSuffix = function ordinalSuffix(i) { var j = i % 10, k = i % 100; - if (j == 1 && k != 11) { + if (j === 1 && k !== 11) { return i + "st"; } - if (j == 2 && k != 12) { + if (j === 2 && k !== 12) { return i + "nd"; } - if (j == 3 && k != 13) { + if (j === 3 && k !== 13) { return i + "rd"; } return i + "th"; @@ -1152,7 +1153,7 @@ window.induceLactation = function induceLactation(slave) { let r = ``; if (slave.induceLactation >= 10) { if (jsRandom(1,100) < slave.induceLactation) { - r += `${His} breasts have been stimulated often enough to @@.lime;induce lactation.@@` + r += `${His} breasts have been stimulated often enough to @@.lime;induce lactation.@@`; slave.induceLactation = 0; slave.lactationDuration = 2; slave.lactation = 1; diff --git a/src/js/vignettes.js b/src/js/vignettes.js index e4c7fa6bb3d303befab58418579447454e432373..7402b866e21df6c83c7649f8a68e2d45f51e98ae 100644 --- a/src/js/vignettes.js +++ b/src/js/vignettes.js @@ -10,7 +10,7 @@ window.GetVignette = function GetVignette(slave) { const himself = pronouns.objectReflexive; const boy = pronouns.noun; const He = capFirstChar(he); - const His = capFirstChar(his); + // const His = capFirstChar(his); if (slave.assignment === "whore" || slave.assignment === window.Job.BROTHEL || slave.assignment === window.Job.MADAM) { let seed = jsRandom(1, 10); @@ -876,7 +876,7 @@ window.GetVignette = function GetVignette(slave) { effect: -2, }); } - if ((slave.hormoneBalance >= 100 || slave.ballType == "sterile") && !canAchieveErection(slave)) { + if ((slave.hormoneBalance >= 100 || slave.ballType === "sterile") && !canAchieveErection(slave)) { if (slave.dick > 0) { vignettes.push({ text: `${he} disappointed a customer who was sure they could get ${slave.slaveName}'s cock erect,`, @@ -922,7 +922,7 @@ window.GetVignette = function GetVignette(slave) { effect: -1, }); } - if (slave.balls == 0 && slave.dick > 0) { + if (slave.balls === 0 && slave.dick > 0) { vignettes.push({ text: `a slave trainer privately studied ${him} as an example of a slave with well done gelding surgery,`, type: "cash", @@ -973,7 +973,7 @@ window.GetVignette = function GetVignette(slave) { } } if (slave.visualAge > 40) { - if (slave.face > 10 && slave.race == "asian") { + if (slave.face > 10 && slave.race === "asian") { vignettes.push({ text: `${he} got repeat business from a customer who loves well-preserved asian ladies,`, type: "cash", @@ -1345,7 +1345,7 @@ window.GetVignette = function GetVignette(slave) { }); } } - if (V.arcologies[0].FSRepopulationFocus !== "unset" || V.arcologies[0].FSRepopulationFocusSMR == 1) { + if (V.arcologies[0].FSRepopulationFocus !== "unset" || V.arcologies[0].FSRepopulationFocusSMR === 1) { if (slave.pregType > 1 && slave.pregKnown > 1 && slave.belly >= 10000) { vignettes.push({ text: `${he} got repeat business from a customer who loves fucking ${boy}s with wombs filled by more than a single child,`, @@ -1539,7 +1539,7 @@ window.GetVignette = function GetVignette(slave) { } } if (V.arcologies[0].FSChineseRevivalist !== "unset") { - if (slave.dick > 0 && slave.balls == 2) { + if (slave.dick > 0 && slave.balls === 2) { vignettes.push({ text: `a citizen admired ${his} lack of balls and praised ${him} for being like the eunuchs in Chinese history,`, type: "cash", @@ -1563,7 +1563,7 @@ window.GetVignette = function GetVignette(slave) { type: "rep", effect: 0, }); - if (V.seeDicks != 100) { + if (V.seeDicks !== 100) { vignettes.push({ text: "a woman dragged her angry husband along so he could watch her get eaten out by a whore,", type: "rep", @@ -2460,7 +2460,7 @@ window.GetVignette = function GetVignette(slave) { effect: -2, }); } - if ((slave.hormoneBalance >= 100 || slave.ballType == "sterile") && !canAchieveErection(slave)) { + if ((slave.hormoneBalance >= 100 || slave.ballType === "sterile") && !canAchieveErection(slave)) { if (slave.dick > 0) { vignettes.push({ text: `${he} disappointed a citizen who was sure they could get ${slave.slaveName}'s cock erect,`, @@ -2499,7 +2499,7 @@ window.GetVignette = function GetVignette(slave) { }); } } - if (slave.balls == 0 && slave.dick > 0) { + if (slave.balls === 0 && slave.dick > 0) { vignettes.push({ text: `a slave trainer pointed ${him} out as an example of a slave with well done gelding surgery,`, type: "rep", @@ -2570,7 +2570,7 @@ window.GetVignette = function GetVignette(slave) { }); } if (slave.visualAge > 40) { - if (slave.face > 10 && slave.race == "asian") { + if (slave.face > 10 && slave.race === "asian") { vignettes.push({ text: `${he} got extra gratitude from a citizen who loves well-preserved asian ladies,`, type: "rep", @@ -2922,7 +2922,7 @@ window.GetVignette = function GetVignette(slave) { }); } } - if (V.arcologies[0].FSRepopulationFocus !== "unset" || V.arcologies[0].FSRepopulationFocusSMR == 1) { + if (V.arcologies[0].FSRepopulationFocus !== "unset" || V.arcologies[0].FSRepopulationFocusSMR === 1) { if (slave.pregType > 1 && slave.pregKnown > 1 && slave.belly >= 10000) { vignettes.push({ text: `${he} gratified a citizen who enjoys the feeling of a womb filled with more than a single child,`, @@ -3116,7 +3116,7 @@ window.GetVignette = function GetVignette(slave) { } } if (V.arcologies[0].FSChineseRevivalist !== "unset") { - if (slave.dick > 0 && slave.balls == 2) { + if (slave.dick > 0 && slave.balls === 2) { vignettes.push({ text: `a citizen admired ${his} lack of balls and praised ${him} for being like the eunuchs in Chinese history,`, type: "rep", @@ -3140,7 +3140,7 @@ window.GetVignette = function GetVignette(slave) { type: "rep", effect: 0, }); - if (V.seeDicks != 100) { + if (V.seeDicks !== 100) { vignettes.push({ text: "a woman dragged her angry husband along so he could watch his wife get eaten out by a public slut,", type: "rep", @@ -3337,7 +3337,7 @@ window.GetVignette = function GetVignette(slave) { }); } else if (slave.assignment === "work as a farmhand" || slave.assignment === window.Job.FARMYARD || slave.assignment === window.Job.FARMER) { //TODO: add more vignettes - if ((V.farmyardShows == 1) && (V.seeBestiality == 1)) { + if ((V.farmyardShows === 1) && (V.seeBestiality === 1)) { vignettes.push({ text: `a citizen didn't realize how disgusting he found bestiality until he attended one of ${V.farmyardName}'s shows,`, type: "rep", diff --git a/src/js/walkPastJS.js b/src/js/walkPastJS.js index 6636d9892ba2aa39ffb92508521eac6a3284c17f..5066089d4d7e842b53c5ab04d3327afee1dbd196 100644 --- a/src/js/walkPastJS.js +++ b/src/js/walkPastJS.js @@ -11,7 +11,7 @@ window.primeSlave = function(activeSlave, seed) { let t = ""; let race = (V.seeRace ? activeSlave.race : ""); - if (V.partner !== "relationship" || activeSlave.relationship == 1 || activeSlave.relationship == 2 || activeSlave.releaseRules == "restrictive") { + if (V.partner !== "relationship" || activeSlave.relationship === 1 || activeSlave.relationship === 2 || activeSlave.releaseRules === "restrictive") { t += `${activeSlave.slaveName} `; t += walkPasts(activeSlave, seed); /* WALKPASTS END */ @@ -27,11 +27,11 @@ window.rivalSlave = function(activeSlave, seed) { const he = pronouns.pronoun, him = pronouns.object, his = pronouns.possessive, hers = pronouns.possessivePronoun, himself = pronouns.objectReflexive, boy = pronouns.noun; const He = capFirstChar(he), His = capFirstChar(his); let _partnerSlave = getSlave(activeSlave.rivalryTarget); - let _target = ""; let t = ""; + let _target = ""; - if (_partnerSlave != undefined) { /* potential problem point */ - let race2 = (V.seeRace ? _partnerSlave.race : ""); + if (_partnerSlave !== undefined) { /* potential problem point */ + // let race2 = (V.seeRace ? _partnerSlave.race : ""); t += " Meanwhile, "; if (activeSlave.rivalry >= 3) { @@ -43,7 +43,6 @@ window.rivalSlave = function(activeSlave, seed) { } t += walkPasts(_partnerSlave, 100-seed); - _target = "FRival"; _partnerSlave = null; V.target = "FRival"; /*potentially removed later*/ } @@ -72,14 +71,14 @@ window.walkPasts = function(slave, _seed) { case "work in the dairy": if (V.dairyRestraintsSetting > 1) { t += `is strapped to a milking machine in ${V.dairyName}, `; - if (slave.ovaries == 1 && V.dairyPregSetting > 0 && jsRandom(1,2) == 2) { + if (slave.ovaries === 1 && V.dairyPregSetting > 0 && jsRandom(1,2) === 2) { if (isFertile(slave)) { t += `and is wincing in pain as the machine forces another load of cum into ${his} womb. As you watch, ${his} ${race} stomach steadily swells with baby batter.`; } else { t += `giving you a good view of ${his} ${race} body and heavy belly on the feeds.`; } } else if (slave.lactation > 0) { - if (slave.balls > 0 && jsRandom(1,2) == 1) { + if (slave.balls > 0 && jsRandom(1,2) === 1) { if (slave.dick > 0) { if (_seed > 50) { t += `and is having ${his} cock sucked dry. As you watch, `; @@ -164,7 +163,7 @@ window.walkPasts = function(slave, _seed) { } else { t += `is working in ${V.dairyName}, `; if (slave.lactation > 0) { - if (slave.balls > 0 && jsRandom(1,2) == 1) { + if (slave.balls > 0 && jsRandom(1,2) === 1) { if (slave.dick > 0) { if (_seed > 50) { t += `and is having ${his} cock milked. As you watch, `; @@ -250,14 +249,14 @@ window.walkPasts = function(slave, _seed) { break; case "work in the brothel": t += `is working in ${V.brothelName}, and is `; - if (Beauty(slave) > 100 && jsRandom(1,2) == 1) { + if (Beauty(slave) > 100 && jsRandom(1,2) === 1) { if (_seed > 80) { if (canDoAnal(slave) || canDoVaginal(slave)) { t += `riding one customer's dick while ${he} gives another a blowjob.`; } else { t += "deep throating a pair of customer's dicks."; } - } else if (_seed > 60 && slave.amp != 1) { + } else if (_seed > 60 && slave.amp !== 1) { t += "sucking one customer's cock while giving another a handjob."; } else if (_seed > 40) { t += "eating out one customer's cunt while another "; @@ -323,13 +322,13 @@ window.walkPasts = function(slave, _seed) { case "serve in the master suite": if (slave.fuckdoll > 0) { t += `waiting for use in ${V.masterSuiteName}, next to a display case full of other sex toys.`; - } else if (V.masterSuiteUpgradeLuxury == 1) { + } else if (V.masterSuiteUpgradeLuxury === 1) { if (_seed > 50) { t += `is sitting on the big bed in ${V.masterSuiteName}, awaiting your return.`; } else { t += `is beautifying ${himself} in ${V.masterSuiteName} so ${he}'ll be pretty when you return.`; } - } else if (V.masterSuiteUpgradeLuxury == 2) { + } else if (V.masterSuiteUpgradeLuxury === 2) { t += `is in ${V.masterSuiteName}'s fuckpit, `; if (_seed > 80) { t += `with a pair of ${his} fellow fucktoys industriously sucking on ${his} nipples.`; @@ -343,7 +342,7 @@ window.walkPasts = function(slave, _seed) { } else if (_seed > 40) { if (canPenetrate(slave)) { t += `with ${his} dick inside `; - } else if (slave.dick > 0 && slave.dickAccessory != "chastity" && slave.dick != "combined chastity") { + } else if (slave.dick > 0 && slave.dickAccessory !== "chastity" && slave.dick !== "combined chastity") { t += `getting ${his} soft dick sucked by `; } else if (canDoVaginal(slave) || canDoAnal(slave)) { t += "getting eaten out by "; @@ -370,7 +369,7 @@ window.walkPasts = function(slave, _seed) { t += `is having enthusiastic sex with your other pets while waiting for you to ravish ${him}.`; } else { t += "is having idle sex with several of your other toys while they await your pleasure."; - if (slave.fetishKnown == 1) { + if (slave.fetishKnown === 1) { switch (slave.fetish) { case "buttslut": if (canDoAnal(slave) && slave.anus > 0) { @@ -389,7 +388,7 @@ window.walkPasts = function(slave, _seed) { t += `${He}'s letting another slave have her way with ${him}.`; break; case "sadist": - if (slave.amp != 1) { + if (slave.amp !== 1) { t += `${He}'s spanking another slave with one hand and fingering her with the other.`; } else { t += `${He}'s painfully teasing another slave's nipple with ${his} teeth.`; @@ -400,7 +399,7 @@ window.walkPasts = function(slave, _seed) { break; case "boobs": t += `${He} has a slave sucking on each of ${his} nipples`; - if (slave.amp != 1) { + if (slave.amp !== 1) { t += ` while ${he} gives each a handjob.`; } else { t += "."; @@ -435,7 +434,7 @@ window.walkPasts = function(slave, _seed) { case "be confined in the arcade": case "work a glory hole": t += "is confined in "; - if (slave.assignment == "be confined in the arcade") { + if (slave.assignment === "be confined in the arcade") { t += `${V.arcadeName}; `; } else { t += "a glory hole; "; @@ -456,7 +455,7 @@ window.walkPasts = function(slave, _seed) { t += `is managing ${V.brothelName}: ${he} is making sure all the customers are satisfied and all the whores are working hard.`; break; case "be your Concubine": - if (jsRandom(1,2) == 1) { + if (jsRandom(1,2) === 1) { t += `is looking after ${himself}; ${he} spends many hours every day on ${his} beauty regimen.`; } else { t += "is checking over the appearance of your harem, making sure everyone looks perfect."; @@ -471,7 +470,7 @@ window.walkPasts = function(slave, _seed) { } break; case "live with your Head Girl": - if (V.HeadGirl != 0) { + if (V.HeadGirl !== 0) { t += `is getting the Head Girl's suite cleaned up while ${V.HeadGirl.slaveName} is out working.`; } else { t += "is making sure the Head Girl's suite is in order for your next Head Girl."; @@ -502,17 +501,17 @@ window.walkPasts = function(slave, _seed) { t += `is working in ${V.dairyName}, looking after your stock.`; break; default: /* WALKPASTS START HERE */ - if (slave.heels == 1 && !["flats", "none"].includes(slave.shoes)) { + if (slave.heels === 1 && !["flats", "none"].includes(slave.shoes)) { t += `walks past your desk with the tiny swaying steps ${he} must take in order to walk on ${his} surgically altered legs. ${He} is on ${his} way to `; } else if (["heels", "pumps"].includes(slave.shoes)) { t += `walks past your desk with the swaying steps ${he} must take in ${his} high heels. ${He} is on ${his} way to `; - } else if (slave.shoes == "boots") { + } else if (slave.shoes === "boots") { t += `walks past your desk with the confident gait encouraged by ${his} high heeled boots. ${He} is on ${his} way to `; - } else if (slave.shoes == "extreme heels") { + } else if (slave.shoes === "extreme heels") { t += `walks past your desk with the tiny swaying steps ${he} must take in ${his} ridiculous heels. ${He} is on ${his} way to `; - } else if (slave.heels == 1) { + } else if (slave.heels === 1) { t += `crawls past your desk on all fours, since ${he} has not been allowed the heels ${he} needs to walk upright. ${He} is on ${his} way to `; - } else if (slave.amp == 1) { + } else if (slave.amp === 1) { t += `is carried past your desk by one of your other slaves. ${He} is on ${his} way to `; } else if (!canWalk(slave)) { t += `is helped past your desk by one of your other slaves. ${He} is on ${his} way to `; @@ -520,9 +519,9 @@ window.walkPasts = function(slave, _seed) { t += `walks past your desk on ${his} way to `; } if (slave.inflation > 0 && jsRandom(1,100) > 70) { - if (slave.inflationMethod == 1) { + if (slave.inflationMethod === 1) { t += `gorge ${himself} with ${slave.inflationType}; `; - } else if (slave.inflationMethod == 2) { + } else if (slave.inflationMethod === 2) { t += `fill ${his} rear with `; switch (slave.inflationType) { case "water": @@ -535,8 +534,8 @@ window.walkPasts = function(slave, _seed) { t += `${slave.inflationType}s; `; break; } - } else if (slave.inflationMethod == 3) { - if (slave.inflationType == "milk") { + } else if (slave.inflationMethod === 3) { + if (slave.inflationType === "milk") { t += `suckle from ${his} assigned nipple until ${he} is sufficiently filled with milk; `; } else { t += `suck ${his} assigned dick until ${he} is sufficiently filled with cum; `; @@ -594,7 +593,7 @@ window.walkPasts = function(slave, _seed) { break; case "learn in the schoolroom": t += "attend classes "; - if (V.Schoolteacher == 0) { + if (V.Schoolteacher === 0) { t += `in ${V.schoolroomName}; `; } else { t += `under ${V.Schoolteacher.slaveName}, perhaps literally; `; @@ -620,7 +619,7 @@ window.walkPasts = function(slave, _seed) { break; } } /* end inflation blurb */ - if (slave.fetish == "mindbroken") { + if (slave.fetish === "mindbroken") { t += `${he} does not even glance at you as ${he} goes mindlessly to ${his} next task.`; } else if (slave.devotion < -50) { t += `${he} directs a look of pure hatred at where you sit as ${he} passes.`; diff --git a/src/js/wombJS.js b/src/js/wombJS.js index 977164cb95672fe0d040ba132e22457a92b41f5b..a5db8aec38f3edbc66428c2abff6cc3c2cef0fb3 100644 --- a/src/js/wombJS.js +++ b/src/js/wombJS.js @@ -34,16 +34,16 @@ window.WombInit = function(actor) { //console.log("broodmother:" + typeof actor.broodmother); - if ( typeof actor.broodmother != "number" ) { + if ( typeof actor.broodmother !== "number" ) { actor.broodmother = 0; actor.broodmotherFetuses = 0; } - if ( typeof actor.readyOva != "number" ) { + if ( typeof actor.readyOva !== "number" ) { actor.readyOva = 0; } - if ( actor.pregData == undefined) + if ( actor.pregData === undefined) { actor.pregData = clone( setup.pregData.human ); //Setup should be through deep copy, so in future, if we like, these values can be changed individually. Gameplay expansion possibilities. But for dev time to simplify debugging: @@ -51,15 +51,15 @@ window.WombInit = function(actor) { } //backward compatibility setup. Fully accurate for normal pregnancy only. - if (actor.womb.length > 0 && actor.womb[0].genetics == undefined && actor.eggType == "human") { + if (actor.womb.length > 0 && actor.womb[0].genetics === undefined && actor.eggType === "human") { i=0; actor.womb.forEach(function(ft){ ft.genetics = generateGenetics(actor, actor.pregSource, i); i++; }); - } else if (actor.womb.length == 0 && actor.pregType > 0 && actor.broodmother == 0) { + } else if (actor.womb.length === 0 && actor.pregType > 0 && actor.broodmother === 0) { WombImpregnate(actor, actor.pregType, actor.pregSource, actor.preg); - } else if (actor.womb.length == 0 && actor.pregType > 0 && actor.broodmother > 0 && actor.broodmotherOnHold < 1) { + } else if (actor.womb.length === 0 && actor.pregType > 0 && actor.broodmother > 0 && actor.broodmotherOnHold < 1) { //sorry but for already present broodmothers it's impossible to calculate fully, approximation used. var pw = actor.preg, bCount, bLeft; if (pw > actor.pregData.normalBirth) pw = actor.pregData.normalBirth; //to avoid disaster. @@ -92,19 +92,19 @@ window.WombImpregnate = function(actor, fCount, fatherID, age, surrogate) { tf.splitted = 0; //marker for already splitted fetus. if (surrogate) { tf.motherID = surrogate.ID; //Initial biological mother ID setup. - if(actor.eggType == "human"){ + if(actor.eggType === "human"){ tf.genetics = generateGenetics(surrogate, fatherID, i+1); //Stored genetic information. } } else { tf.motherID = actor.ID; //Initial biological mother ID setup. - if(actor.eggType == "human"){ + if(actor.eggType === "human"){ tf.genetics = generateGenetics(actor, fatherID, i+1); //Stored genetic information. } } tf.ID = generateNewID(); try { - if (actor.womb.length == 0) { + if (actor.womb.length === 0) { actor.pregWeek = age; actor.preg = age; } @@ -153,7 +153,7 @@ window.WombImpregnateClone = function(actor, fCount, mother, motherOriginal, age tf.genetics.gender = mother.genes; tf.genetics.mother = mother.mother; tf.genetics.father = mother.father; - if (mother.ID == -1) { + if (mother.ID === -1) { tf.genetics.motherName = mother.name; tf.genetics.fatherName = mother.name; tf.genetics.clone = PlayerName(mother); @@ -171,7 +171,7 @@ window.WombImpregnateClone = function(actor, fCount, mother, motherOriginal, age tf.genetics.skin = motherOriginal.skin; try { - if (actor.womb.length == 0) { + if (actor.womb.length === 0) { actor.pregWeek = age; actor.preg = age; actor.pregSource = -7; @@ -235,11 +235,11 @@ window.WombBirthReady = function(actor, readyAge) { window.WombGetVolume = function(actor) { //most legacy code from pregJS.tw with minor adaptation. - if (actor.pregData.sizeType == 0) + if (actor.pregData.sizeType === 0) return getVolByLen(actor); - else if (actor.pregData.sizeType == 1) + else if (actor.pregData.sizeType === 1) return getVolByWeight(actor); - else if (actor.pregData.sizeType == 2) + else if (actor.pregData.sizeType === 2) return getVolByRaw(actor); else return 0; @@ -409,7 +409,7 @@ window.WombNormalizePreg = function(actor) WombInit(actor); // this is broodmother on hold. - if (actor.womb.length == 0 && actor.broodmother >= 1) { + if (actor.womb.length === 0 && actor.broodmother >= 1) { actor.pregType = 0; actor.pregKnown = 0; @@ -446,7 +446,7 @@ window.WombNormalizePreg = function(actor) actor.pregType = actor.womb.length; actor.pregSource = actor.womb[0].fatherID; - } else if (actor.womb.length == 0 && actor.broodmother < 1) { + } else if (actor.womb.length === 0 && actor.broodmother < 1) { //not broodmother // console.log("preg fixing"); actor.pregType = 0; @@ -516,7 +516,7 @@ window.fetalSplit = function(actor, chance) { nft.identical = 1; //this is marker that this fetus has at least one twin. s.identical = 1; //this is marker that this fetus has at least one twin. - if (s.twinID == "" || s.twinID == undefined) + if (s.twinID === "" || s.twinID === undefined) s.twinID = generateNewID(); nft.twinID = s.twinID; @@ -602,7 +602,7 @@ window.WombCleanYYFetuses = function(actor) { ft = actor.womb[i]; - if (ft.genetics.gender == "YY") + if (ft.genetics.gender === "YY") { reserved.push(ft); actor.womb.splice(i, 1); @@ -620,18 +620,18 @@ window.FetusGlobalReserveCount = function(reserveType) var cnt = 0; var SV = State.variables; - if (typeof reserveType != 'string' ) + if (typeof reserveType !== 'string' ) return 0; SV.slaves.forEach(function(slave){ slave.womb.forEach(function(ft){ - if (ft.reserve == reserveType) + if (ft.reserve === reserveType) cnt++; }); }); SV.PC.womb.forEach(function(ft){ - if (ft.reserve == reserveType) + if (ft.reserve === reserveType) cnt++; }); @@ -643,7 +643,7 @@ window.WombSetGenericReserve = function(actor, type, count) //console.log ("actor: " + actor + " type: " + type + " typeof: " + typeof type + " count: " + count); actor.womb.forEach(function(ft){ //console.log (" type: " + ft.reserve + " typeof: " + typeof ft.reserve); - if ((ft.reserve == "" || ft.reserve == type) && count > 0) + if ((ft.reserve === "" || ft.reserve === type) && count > 0) { //console.log ("!trigger"); ft.reserve = type; @@ -655,18 +655,16 @@ window.WombSetGenericReserve = function(actor, type, count) window.WombAddToGenericReserve = function(actor, type, count) { - WombSetGenericReserve(actor, type, (WombReserveCount(actor, type)+count)); }; window.WombChangeReserveType = function(actor, oldType, newType) { - var count = 0; actor.womb.forEach(function(ft){ - if (ft.reserve == oldType) + if (ft.reserve === oldType) { ft.reserve = newType; count++; @@ -678,10 +676,9 @@ window.WombChangeReserveType = function(actor, oldType, newType) window.WombCleanGenericReserve = function(actor, type, count) { - actor.womb.forEach(function(ft){ - if (ft.reserve == type && count > 0) + if (ft.reserve === type && count > 0) { ft.reserve = ""; count--; @@ -697,7 +694,7 @@ window.WombReserveCount = function(actor, type) actor.womb.forEach(function(ft){ - if (ft.reserve == type) /* the lazy equality will catch "" case */ + if (ft.reserve === type) /* the lazy equality will catch "" case */ { cnt++; } @@ -713,7 +710,7 @@ window.WombGetReservedFetuses = function(actor, type) actor.womb.forEach(function(ft){ - if (ft.reserve == type) + if (ft.reserve === type) { reserved.push(ft); } @@ -734,7 +731,7 @@ window.WombRemoveReservedFetuses = function(actor, type) { ft = actor.womb[i]; - if (ft.reserve == type) + if (ft.reserve === type) { reserved.push(ft); actor.womb.splice(i, 1); @@ -763,17 +760,17 @@ window.BCReserveInit = function() { slave.womb.forEach(function(ft) { - if (typeof ft.reserve != 'string') + if (typeof ft.reserve !== 'string') ft.reserve = ""; - if (typeof ft.motherID != 'number') //setting missing biological mother ID for fetus. + if (typeof ft.motherID !== 'number') //setting missing biological mother ID for fetus. ft.motherID = slave.ID; - if (ft.ID == undefined) + if (ft.ID === undefined) ft.ID = generateNewID(); }); }); SV.PC.womb.forEach(function(ft){ - if (typeof ft.reserve != 'string') + if (typeof ft.reserve !== 'string') ft.reserve = ""; if (typeof ft.motherID !== 'number') ft.motherID = SV.PC.ID; diff --git a/src/pregmod/beastFucked.tw b/src/pregmod/beastFucked.tw index 747875438796f5459f509077203ea334664a7ef4..cc1126e9ecc363753dabefe2c0947777ca7db0bf 100644 --- a/src/pregmod/beastFucked.tw +++ b/src/pregmod/beastFucked.tw @@ -42,17 +42,17 @@ <</if>> <<if $activeSlave.fetish == "masochist">> - <<set _fetishDesc = "committing such a painful act", _activeQuirk = 1>> + <<set _fetishDesc = "committing such a painful act", _activeQuirk = 1, _quirk = 1>> <<elseif $activeSlave.fetish == "humiliation">> - <<set _fetishDesc = "committing such a humiliating act", _activeQuirk = 1>> + <<set _fetishDesc = "committing such a humiliating act", _activeQuirk = 1, _quirk = 1>> <<elseif $activeSlave.sexualQuirk == "perverted">> - <<set _fetishDesc = "committing such a perverted act", _activeQuirk = 1>> + <<set _fetishDesc = "committing such a perverted act", _activeQuirk = 1, _quirk = 1>> <<elseif $activeSlave.behavioralQuirk == "sinful">> - <<set _fetishDesc = "committing such a sinful act", _activeQuirk = 1>> + <<set _fetishDesc = "committing such a sinful act", _activeQuirk = 1, _quirk = 1>> <<elseif $activeSlave.fetish == "cumslut">> - <<set _fetishDesc = "getting to drink more cum", _activeQuirk = 1>> + <<set _fetishDesc = "getting to drink more cum", _activeQuirk = 1, _quirk = 2>> <<elseif $activeSlave.sexualQuirk == "gagfuck queen">> - <<set _fetishDesc = "getting to suck more dick", _activeQuirk = 1>> + <<set _fetishDesc = "getting to suck more dick", _activeQuirk = 1, _quirk = 2>> <</if>> <<if canWalk($activeSlave)>>You call $him over and<<else>>You order another slave to bring $activeSlave.slaveName over. Once $he is situated, you<</if>> tell $him you want to watch $him <<switch _sexAct>><<case "oral">>suck off<<default>>get fucked by<</switch>> <<print _a>> _animal.species. @@ -68,13 +68,13 @@ <</if>> <<else>> <<if $activeSlave.fetishKnown == 1 && _activeQuirk>> - $activeSlave.slaveName's face visibly brightens at the thought of _fetishDesc, although $he seems a bit hesitant at the thought of giving $his <<if _sexAct == "anal">>anal<</if>> virginity to an animal. + $activeSlave.slaveName's face visibly brightens at the thought of _fetishDesc, although $he seems a bit hesitant at the thought of giving $his <<if _sexAct == "anal">>anal <</if>>virginity to an animal. <<else>> $activeSlave.slaveName looks visibly shaken at the thought of having $his precious <<if _sexAct == "anal">>anal <</if>>virginity taken by an animal, but is so attentive to your will that $he agrees. <</if>> <</if>> <<else>> - <<if _activeQuirk>> + <<if $activeSlave.fetishKnown == 1 && _activeQuirk && _quirk == 2>> $activeSlave.slaveName's face visibly brightens at the thought of _fetishDesc, even if it's <<print _a>> _animal.species's cum. <<else>> $activeSlave.slaveName blanches at the thought of having to suck <<print _a>> _animal.species's dick, but $he is so devoted to you that $he reluctantly agrees. @@ -98,7 +98,7 @@ <</if>> <</if>> <<else>> - <<if _activeQuirk>> + <<if $activeSlave.fetishKnown == 1 && _activeQuirk && _quirk == 2>> $activeSlave.slaveName isn't too keen on the idea of sucking off <<print _a>> _animal.species, but the thought of _fetishDesc soon convinces $him to comply. <<else>> $activeSlave.slaveName tries in vain to conceal $his horror, but quickly regains $his composure. @@ -122,7 +122,7 @@ <</if>> <</if>> <<else>> - <<if $activeSlave.fetishKnown == 1 && _activeQuirk>> + <<if $activeSlave.fetishKnown == 1 && _activeQuirk && _quirk == 2>> $activeSlave.slaveName looks disgusted at the thought of sucking off <<print _a>> _animal.species at first, but the thought of _fetishDesc seems to spark a small flame of lust in $him. <<else>> $activeSlave.slaveName tries in vain to conceal $his horror, diff --git a/src/pregmod/csec.tw b/src/pregmod/csec.tw index 307d5a34646d03613cf352911beb89aef8a22eab..1ec5dffb8da99abf5bc4d0969c727563c9b9bf2d 100644 --- a/src/pregmod/csec.tw +++ b/src/pregmod/csec.tw @@ -210,9 +210,8 @@ Performing a cesarean section is trivial for the remote surgery to carry out. $a <<set _lostBabies = 1>> handed off to the Societal Elite to be raised into upstanding members of the new society. <<elseif $Cash4Babies == 1 && ($activeSlave.relationship != -3) && ($activeSlave.assignment != "serve in the master suite") && ($activeSlave.assignment != "be your Concubine")>> - <<set _lostBabies = 1, _babyCost = random(-12,12)>> - sold for a total of @@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@ - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer", $activeSlave)>> + <<set _lostBabies = 1, _call = 1>> + <<= BirthDestinationText("Sold",$activeSlave)>> <<elseif $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<set _lostBabies = 1>> <<= BirthDestinationText("Orphanage",$activeSlave)>> diff --git a/src/pregmod/fMarry.tw b/src/pregmod/fMarry.tw index 2060616125fd4841697923d78934e72fcb8b0a00..71e0c76d8918c66a5dca51b3c10eca67d158c5e5 100644 --- a/src/pregmod/fMarry.tw +++ b/src/pregmod/fMarry.tw @@ -1,6 +1,6 @@ :: FMarry [nobr] -<<set $nextButton = "Back", $nextLink = "Slave Interact", $weddingSlaveID = $activeSlave.ID>> +<<set $nextButton = "Back", $nextLink = "Slave Interact">> <<run Enunciate($activeSlave)>> <<set _belly = bellyAdjective($activeSlave)>> <<run clearSummaryCache($activeSlave)>> @@ -713,33 +713,111 @@ You tell $activeSlave.slaveName that you're going to marry $him. (A proposal, of <</replace>> <</link>> <<if $cash > 10000>> -<br>Invite prominent citizens to a wedding (This will cost <<print cashFormat(10000)>>): -<br> <<link "Straightforward ceremony">> - <<replace "#result">> - You order $assistantName to invite deserving citizens to a straightforward ceremony for a slave being married to a slaveowner, and to make the arrangement. The wedding will take place during the upcoming week. - <<set $weddingPlanned = 1>> - <<run cashX(-10000, "event", $activeSlave)>> - <</replace>> -<</link>> -<<if ($activeSlave.vagina != 0) && ($activeSlave.anus != 0)>> -<br> <<link "Orgiastic ceremony">> - <<replace "#result">> - You order $assistantName to invite deserving citizens to an orgiastic ceremony for a slave being married to a slaveowner, and to make the arrangements. The wedding orgy will take place during the upcoming week. - <<set $weddingPlanned = 2>> - <<run cashX(-10000, "event", $activeSlave)>> - <</replace>> -<</link>> //This will involve the slave having sex with a very large number of citizens// -<</if>> -<<if isFertile($activeSlave) && ($PC.dick == 1)>> -<br> <<link "Impregnation ceremony">> - <<replace "#result">> - You order $assistantName to invite deserving citizens to a ceremony for a fertile slave being married to a slaveowner, and to make the arrangements. The wedding will take place during the upcoming week. - <<set $weddingPlanned = 3>> - <<run cashX(-10000, "event", $activeSlave)>> - <</replace>> -<</link>> //This will involve you impregnating the slave// -<</if>> + <<if $weddingPlanned > 0>> + <<if $weddingPlanned == 1>> + <br>Invite prominent citizens to a wedding (This will cost <<print cashFormat(10000)>>): + <br> + <<link "Straightforward ceremony">> + <<replace "#result">> + You order $assistantName to invite deserving citizens to a straightforward ceremony for a slave being married to a slaveowner, and to make the arrangement. The wedding will take place during the upcoming week. + <<set $weddingPlanned = 1>> + <<set $marrying.push($activeSlave.ID)>> + <<run cashX(-10000, "event", $activeSlave)>> + <</replace>> + <</link>> + <<else>> + <br> + + //You are already hosting// + <<if $weddingPlanned == 2>> + //an orgiastic ceremony// + <<elseif $weddingPlanned == 3>> + //an impregnation ceremony// + <</if>> + //and cannot host a straightforward ceremony// + <</if>> + <<if ($activeSlave.vagina != 0) && ($activeSlave.anus != 0)>> + <<if $weddingPlanned == 2>> + <br> + <<link "Orgiastic ceremony">> + <<replace "#result">> + You order $assistantName to invite deserving citizens to an orgiastic ceremony for a slave being married to a slaveowner, and to make the arrangements. The wedding orgy will take place during the upcoming week. + <<set $weddingPlanned = 2>> + <<set $marrying.push($activeSlave.ID)>> + <<run cashX(-10000, "event", $activeSlave)>> + <</replace>> + <</link>> //This will involve the slave having sex with a very large number of citizens// + <<else>> + <br> + + //You are already hosting// + <<if $weddingPlanned == 1>> + //a straightforward ceremony// + <<elseif $weddingPlanned == 3>> + //an impregnation ceremony// + <</if>> + //and cannot host an orgiastic ceremony// + <</if>> + <</if>> + <<if isFertile($activeSlave) && ($PC.dick == 1)>> + <<if $weddingPlanned == 3>> + <br> + <<link "Impregnation ceremony">> + <<replace "#result">> + You order $assistantName to invite deserving citizens to a ceremony for a fertile slave being married to a slaveowner, and to make the arrangements. The wedding will take place during the upcoming week. + <<set $weddingPlanned = 3>> + <<set $marrying.push($activeSlave.ID)>> + <<run cashX(-10000, "event", $activeSlave)>> + <</replace>> + <</link>> //This will involve you impregnating the slave// + <br> + <<else>> + <br> + + //You are already hosting// + <<if $weddingPlanned == 1>> + //a straightforward ceremony// + <<elseif $weddingPlanned == 2>> + //an orgiastic ceremony// + <</if>> + //and cannot host an impregnation ceremony// + <</if>> + <</if>> + <<else>> + <br>Invite prominent citizens to a wedding (This will cost <<print cashFormat(10000)>>): + <br> + <<link "Straightforward ceremony">> + <<replace "#result">> + You order $assistantName to invite deserving citizens to a straightforward ceremony for a slave being married to a slaveowner, and to make the arrangement. The wedding will take place during the upcoming week. + <<set $weddingPlanned = 1>> + <<set $marrying.push($activeSlave.ID)>> + <<run cashX(-10000, "event", $activeSlave)>> + <</replace>> + <</link>> + <<if ($activeSlave.vagina != 0) && ($activeSlave.anus != 0)>> + <br> + <<link "Orgiastic ceremony">> + <<replace "#result">> + You order $assistantName to invite deserving citizens to an orgiastic ceremony for a slave being married to a slaveowner, and to make the arrangements. The wedding orgy will take place during the upcoming week. + <<set $weddingPlanned = 2>> + <<set $marrying.push($activeSlave.ID)>> + <<run cashX(-10000, "event", $activeSlave)>> + <</replace>> + <</link>> //This will involve the slave having sex with a very large number of citizens// + <</if>> + <<if isFertile($activeSlave) && ($PC.dick == 1)>> + <br> + <<link "Impregnation ceremony">> + <<replace "#result">> + You order $assistantName to invite deserving citizens to a ceremony for a fertile slave being married to a slaveowner, and to make the arrangements. The wedding will take place during the upcoming week. + <<set $weddingPlanned = 3>> + <<set $marrying.push($activeSlave.ID)>> + <<run cashX(-10000, "event", $activeSlave)>> + <</replace>> + <</link>> //This will involve you impregnating the slave// + <</if>> + <</if>> <<else>> -//You cannot afford an elaborate ceremony// + //You cannot afford an elaborate ceremony// <</if>> </span> diff --git a/src/pregmod/manageCorporation.tw b/src/pregmod/manageCorporation.tw index d26daf1d5fe3cf8f1b6c429bde94a3619a3cbfd1..6325496683213c275ac5ada06880f10bcf0b8c9d 100644 --- a/src/pregmod/manageCorporation.tw +++ b/src/pregmod/manageCorporation.tw @@ -166,7 +166,7 @@ __Division Management__ _corpDivExtraRev = menialSlaveCost() * 10>> /*bit of statistics setup to help make informed decisions*/ <br>The corporation has an extralegal enslavement division. <br>It averages @@.green;$corpDivExtraDev new slaves@@ each week. - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivExtraCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivExtraCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivExtraCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivExtraCostPU)>>@@ per slave. <br>The slaves acquired can be sold for @@.yellowgreen;<<print cashFormat(_corpDivExtraRev)>>@@ each. <<if $corpDivExtraSlaves > 0>> <br>Currently the division is holding @@ -202,7 +202,7 @@ __Division Management__ <</if>> | [[Sell all|Manage Corporation][$corpCash += $corpDivExtraSlaves * 10 * menialSlaveCost(-$corpDivExtraSlaves), $corpDivExtraSlaves = 0, $menialDemandFactor -= $corpDivExtraSlaves, $corpRev += $corpDivExtraSlaves * 10 * menialSlaveCost(-$corpDivExtraSlaves)]] <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(20000)>>.@@ Downsizing recoups 80% of the investment. /*changing the division's size*/ + <br>Expanding the division costs @@.red;<<print cashFormat(20000)>>.@@ Downsizing recoups 80% of the investment. /*changing the division's size*/ <br><<if $corpCash > 20000>> [[Expand Division|Manage Corporation][$corpDivExtraDev += 1, $corpCash -= 20000, $corpAssetsDev += 20000]] <</if>> @@ -271,7 +271,7 @@ __Division Management__ _corpDivLegalRev = menialSlaveCost() * 15>> <br>The corporation has a legal enslavement division. <br>It averages @@.green;$corpDivLegalDev new slaves@@ each week. - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivLegalCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivLegalCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivLegalCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivLegalCostPU)>>@@ per slave. <br>The slaves acquired can be sold for @@.yellowgreen;<<print cashFormat(_corpDivLegalRev)>>@@ each. <<if $corpDivLegalSlaves > 0>> <br>Currently the division is holding @@.green;<<if $corpDivLegalSlaves > 1>>$corpDivLegalSlaves slaves<<else>>one slave<</if>>.@@ @@ -313,7 +313,7 @@ __Division Management__ <</if>> | [[Sell all|Manage Corporation][$corpCash += $corpDivLegalSlaves * 15 * menialSlaveCost(-$corpDivLegalSlaves), $corpDivLegalSlaves = 0, $menialDemandFactor -= $corpDivLegalSlaves, $corpRev += $corpDivLegalSlaves * 15 * menialSlaveCost(-$corpDivLegalSlaves)]] <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(25000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(25000)>>.@@ Downsizing recoups 80% of the investment. <br><<if $corpCash > 25000>> [[Expand Division|Manage Corporation][$corpDivLegalDev += 1, $corpCash -= 25000, $corpAssetsDev += 25000]] <</if>> @@ -395,7 +395,7 @@ __Division Management__ _corpDivBreakProc = Math.trunc($corpDivBreakDev * 0.3)>> <br>The corporation has a slave breaking division. <br>It can break an average of @@.green;<<print _corpDivBreakProc>> slaves@@ each week when filled to capacity ($corpDivBreakDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivBreakCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivBreakCostPU)>>@@ per slave broken. + <br>It costs @@.red;<<print cashFormat(_corpDivBreakCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivBreakCostPU)>>@@ per slave broken. <br>The broken slaves can be sold for @@.yellowgreen;<<print cashFormat(_corpDivBreakRev)>>@@ each. <<if $corpDivBreakSlaves > 0>> <br>Currently the division is attempting to break <<if $corpDivBreakSlaves > 1>>@@.green;$corpDivBreakSlaves slaves.@@<<else>>@@.green;one slave.@@<</if>> @@ -452,7 +452,7 @@ __Division Management__ <</if>> | [[Sell all|Manage Corporation][$corpCash += $corpDivBreakSlaves2 * 15 * menialSlaveCost(-$corpDivBreakSlaves2), $corpDivBreakSlaves2 = 0, $menialDemandFactor -= $corpDivBreakSlaves2, $corpRev += $corpDivBreakSlaves2 * 15 * menialSlaveCost(-$corpDivBreakSlaves2)]] <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(9000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(9000)>>.@@ Downsizing recoups 80% of the investment. <br> <<if $corpCash > 9000>> [[Expand Division|Manage Corporation][$corpDivBreakDev += 1, $corpCash -= 9000, $corpAssetsDev += 9000]] @@ -556,7 +556,7 @@ __Division Management__ _corpDivSurgeryProc = Math.trunc($corpDivSurgeryDev * 0.5)>> <br>The corporation has a physical slave modification division. <br>It can modify an average of @@.green;<<print _corpDivSurgeryProc>> slaves@@ each week when filled to capacity ($corpDivSurgeryDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivSurgeryCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivSurgeryCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivSurgeryCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivSurgeryCostPU)>>@@ per slave. <br>The improved slaves can be sold for @@.yellowgreen;<<print cashFormat(_corpDivSurgeryRev)>>@@ each. <<if $corpDivSurgerySlaves > 0>> <br>Currently the division is working on @@ -612,7 +612,7 @@ __Division Management__ <</if>> | [[Sell all|Manage Corporation][$corpCash += $corpDivSurgerySlaves2 * 23 * menialSlaveCost(-$corpDivSurgerySlaves2), $corpDivSurgerySlaves2 = 0, $menialDemandFactor -= $corpDivSurgerySlaves2, $corpRev += $corpDivSurgerySlaves2 * 23 * menialSlaveCost(-$corpDivSurgerySlaves2)]] <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(20000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(20000)>>.@@ Downsizing recoups 80% of the investment. <br> <<if $corpCash > 20000>> [[Expand Division|Manage Corporation][$corpDivSurgeryDev += 1, $corpCash -= 20000, $corpAssetsDev += 20000]] @@ -710,7 +710,7 @@ __Division Management__ _corpDivTrainProc = Math.trunc($corpDivTrainDev * 0.2)>> <br>The corporation has a slave training division. <br>It can train an average of @@.green;<<print _corpDivTrainProc>> slaves@@ each week when filled to capacity ($corpDivTrainDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivTrainCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivTrainCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivTrainCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivTrainCostPU)>>@@ per slave. <br>The trained slaves can be sold for @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>@@ each. <<if $corpDivTrainSlaves > 0>> <br>Currently the division is training @@ -739,7 +739,7 @@ __Division Management__ _corpDivTrainProc = Math.trunc($corpDivTrainDev * 0.2)>> <br>The corporation has a slave training division. <br>It can train an average of @@.green;<<print _corpDivTrainProc>> slaves@@ each week when filled to capacity ($corpDivTrainDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivTrainCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivTrainCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivTrainCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivTrainCostPU)>>@@ per slave. <br>The trained slaves can be sold for @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>@@ each. <<if $corpDivTrainSlaves > 0>> <br>Currently the division is training @@ -768,7 +768,7 @@ __Division Management__ _corpDivTrainProc = Math.trunc($corpDivTrainDev * 0.2)>> <br>The corporation has a slave training division. <br>It can train an average of @@.green;<<print _corpDivTrainProc>> slaves@@ each week when filled to capacity ($corpDivTrainDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivTrainCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivTrainCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivTrainCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivTrainCostPU)>>@@ per slave. <br>The trained slaves can be sold for @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>@@ each. <<if $corpDivTrainSlaves > 0>> <br>Currently the division is training @@ -836,7 +836,7 @@ __Division Management__ | [[Sell all|Manage Corporation][$corpCash += $corpDivTrainSlaves2 * 34 * menialSlaveCost(-$corpDivTrainSlaves2), $corpDivTrainSlaves2 = 0, $menialDemandFactor -= $corpDivTrainSlaves2, $corpRev += $corpDivTrainSlaves2 * 34 * menialSlaveCost(-$corpDivTrainSlaves2)]] <</if>> <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(25000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(25000)>>.@@ Downsizing recoups 80% of the investment. <br> <<if $corpCash > 25000>> [[Expand Division|Manage Corporation][$corpDivTrainDev += 1, $corpCash -= 25000, $corpAssetsDev += 25000]] @@ -966,7 +966,7 @@ __Division Management__ @@.red;less than one slave@@ <</if>> each week when filled to capacity ($corpDivArcadeDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivArcadeCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivArcadeCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivArcadeCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivArcadeCostPU)>>@@ per slave. <br>The arcade generates on average @@.yellowgreen;<<print cashFormat(_corpDivArcadeRev)>>@@ per slave. <<if $corpDivArcadeSlaves > 0>> <br>Currently the division is exploiting @@ -988,7 +988,7 @@ __Division Management__ <</if>> <</if>> <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(5000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(5000)>>.@@ Downsizing recoups 80% of the investment. <br><<if $corpCash > 5000>> [[Expand Division|Manage Corporation][$corpDivArcadeDev += 1, $corpCash -= 5000, $corpAssetsDev += 5000]] <</if>> @@ -1054,7 +1054,7 @@ __Division Management__ _corpDivMenialProc = Math.trunc($corpDivMenialDev * 0.05)>> <br>The corporation has a menial services division. <br>It has to replace approximately <<if _corpDivMenialProc > 1>>@@.red;<<print _corpDivMenialProc>> slaves@@<<else>>@@.red;less than one slave@@<</if>> each week when operating at capacity ($corpDivMenialDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivMenialCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivMenialCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivMenialCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivMenialCostPU)>>@@ per slave. <br>The menial services generate @@.yellowgreen;<<print cashFormat(_corpDivMenialRev)>>@@ per slave on average. <<if $corpDivMenialSlaves > 0>> <br>Currently the division is exploiting <<if $corpDivMenialSlaves > 1>>@@.green;$corpDivMenialSlaves slaves.@@<<else>>@@.green;one slave.@@<</if>> @@ -1071,7 +1071,7 @@ __Division Management__ <</if>> <</if>> <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(6500)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(6500)>>.@@ Downsizing recoups 80% of the investment. <br><<if $corpCash > 6500>> [[Expand Division|Manage Corporation][$corpDivMenialDev += 1, $corpCash -= 6500, $corpAssetsDev += 6500]] <</if>> @@ -1138,7 +1138,7 @@ __Division Management__ _corpDivDairyProc = Math.trunc($corpDivDairyDev * 0.05)>> <br>The corporation has a dairy division. <br>It has to replace approximately <<if _corpDivDairyProc > 1>>@@.red;<<print _corpDivDairyProc>> slaves@@<<else>>@@.red;less than one slave@@<</if>> each week when operating at capacity ($corpDivDairyDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivDairyCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivDairyCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivDairyCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivDairyCostPU)>>@@ per slave. <br>The dairy generates @@.yellowgreen;<<print cashFormat(_corpDivDairyRev)>>@@ per slave on average. <<if $corpDivDairySlaves > 0>> <br>Currently the division is milking <<if $corpDivDairySlaves > 1>>@@.green;$corpDivDairySlaves slaves.@@<<else>>@@.green;one slave.@@<</if>> @@ -1155,7 +1155,7 @@ __Division Management__ <</if>> <</if>> <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(15000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(15000)>>.@@ Downsizing recoups 80% of the investment. <br><<if $corpCash > 15000>> [[Expand Division|Manage Corporation][$corpDivDairyDev += 1, $corpCash -= 15000, $corpAssetsDev += 15000]] <</if>> @@ -1229,7 +1229,7 @@ __Division Management__ _corpDivWhoreProc = Math.trunc($corpDivWhoreDev * 0.05)>> <br>The corporation has an escort division. <br>It has to replace approximately <<if _corpDivWhoreProc > 1>>@@.red;<<print _corpDivWhoreProc>> slaves@@<<else>>@@.red;less than one slave@@<</if>> each week when operating at capacity ($corpDivWhoreDev). - <br>It costs @@.yellowgreen;<<print cashFormat(_corpDivWhoreCost)>>@@ to run. On average that is @@.yellowgreen;<<print cashFormat(_corpDivWhoreCostPU)>>@@ per slave. + <br>It costs @@.red;<<print cashFormat(_corpDivWhoreCost)>>@@ to run. On average that is @@.red;<<print cashFormat(_corpDivWhoreCostPU)>>@@ per slave. <br>The escorts generate @@.yellowgreen;<<print cashFormat(_corpDivWhoreRev)>>@@ per slave on average. <<if $corpDivWhoreSlaves > 0>> <br>Currently the division is whoring out <<if $corpDivWhoreSlaves > 1>>@@.green;$corpDivWhoreSlaves slaves.@@<<else>>@@.green;one slave.@@<</if>> @@ -1247,7 +1247,7 @@ __Division Management__ <</if>> <<elseif $corpDivTrainSurgerySwitch == 1 && $corpDivTrainSurgeryTimer < 20>> <<if $corpCash >= Math.trunc((26 + 0.4 * $corpDivTrainSurgeryTimer) * menialSlaveCost())>> - If you do not have eligable slaves in your corporation to move here you can buy them from the market. [[Buy 1|Manage Corporation][$corpCash -= Math.trunc((26 + 0.4 * $corpDivTrainSurgeryTimer) * menialSlaveCost(), $corpDivWhoreSlaves += 1, $menialSupplyFactor -= 1, $corpAssetsSlave += (26 + 4 * $corpDivTrainSurgeryTimer) * menialSlaveCost()]] + If you do not have eligable slaves in your corporation to move here you can buy them from the market. [[Buy 1|Manage Corporation][$corpCash -= Math.trunc((26 + 0.4 * $corpDivTrainSurgeryTimer) * menialSlaveCost()), $corpDivWhoreSlaves += 1, $menialSupplyFactor -= 1, $corpAssetsSlave += (26 + 4 * $corpDivTrainSurgeryTimer) * menialSlaveCost()]] <<if $corpCash > (260 + 4 * $corpDivTrainSurgeryTimer) * menialSlaveCost(10)>> | [[Buy 10|Manage Corporation][$corpCash -= (260 + 4 * $corpDivTrainSurgeryTimer) * menialSlaveCost(10), $corpDivWhoreSlaves += 10, $menialSupplyFactor -= 10, $corpAssetsSlave += (260 + 4 * $corpDivTrainSurgeryTimer) * menialSlaveCost(10)]] <</if>> @@ -1268,7 +1268,7 @@ __Division Management__ <</if>> <</if>> <</if>> - <br>Expanding the division costs @@.yellowgreen;<<print cashFormat(20000)>>.@@ Downsizing recoups 80% of the investment. + <br>Expanding the division costs @@.red;<<print cashFormat(20000)>>.@@ Downsizing recoups 80% of the investment. <br><<if $corpCash > 20000>> [[Expand Division|Manage Corporation][$corpDivWhoreDev += 1, $corpCash -= 20000, $corpAssetsDev += 20000]] <</if>> @@ -1376,8 +1376,8 @@ __Dividend__ <br><br> __Shares__ -<br>You own $personalShares shares while another $publicShares shares are traded publicly. The going rate on the market for 1000 shares is currently @@.yellowgreen;<<print cashFormat(corpSharePrice())>>.@@ -<br>The corporation can buyback 1000 shares for @@.yellowgreen;<<print cashFormat(corpSharePrice(-1000))>>@@ or issue 1000 shares and net @@.yellowgreen;<<print cashFormat(corpSharePrice(1000))>>.@@ +<br>You own <<print commaNum($personalShares)>> shares while another <<print commaNum($publicShares)>> shares are traded publicly. The going rate on the market for 1000 shares is currently @@.yellowgreen;<<print cashFormat(corpSharePrice())>>.@@ +<br>The corporation can buyback 1000 shares for @@.red;<<print cashFormat(corpSharePrice(-1000))>>@@ or issue 1000 shares and net @@.yellowgreen;<<print cashFormat(corpSharePrice(1000))>>.@@ <<if $corpCash > corpSharePrice(-1000)>> <<if $publicShares <= $personalShares - 2000 && $publicShares > 0>> /*It won't buy back player shares if the corporation is entirely owned by the player*/ <br>The corporation can buyback some of your shares. [[Buyback 1000|Manage Corporation][cashX(corpSharePrice(-1000), "stocksTraded"), $corpCash -= corpSharePrice(-1000), $personalShares -= 1000]] diff --git a/src/pregmod/managePersonalAffairs.tw b/src/pregmod/managePersonalAffairs.tw index 0b1a07cbcf4b9e2e523a34e2cf0021627222d8b4..91c41ca654647387237638b9475e0e40de636e9e 100644 --- a/src/pregmod/managePersonalAffairs.tw +++ b/src/pregmod/managePersonalAffairs.tw @@ -3,6 +3,8 @@ <<set $nextButton = "Back", $nextLink = "Main", $showEncyclopedia = 0>> <<run PCTitle()>> +<<set _ML = $marrying.length>> + <<if $cheatMode == 1>> <center>//[[Cheat Edit Player|PCCheatMenu][$cheater = 1]]<br><br>//</center> <</if>> @@ -109,6 +111,26 @@ Around back; <<if $PC.origHColor != "strawberry-blonde">>| [[Strawberry-Blonde|Manage Personal Affairs][$PC.hColor = "strawberry-blonde"]]<</if>> <<if $PC.origHColor != "white">>| [[White|Manage Personal Affairs][$PC.hColor = "white"]]<</if>> +<<if $weddingPlanned > 0>> + <br><br> + <<set _slave1 = getSlave($marrying[0])>> + <<if _ML > 1>> + <<if _ML >= 2>> + <<set _slave2 = getSlave($marrying[1])>> + <</if>> + <<if _ML >= 3>> + <<set _slave3 = getSlave($marrying[2])>> + <</if>> + <<if _ML == 4>> + <<set _slave4 = getSlave($marrying[3])>> + <</if>> + <</if>> + +/* yes, I am aware this looks horrendeous - if you can find a way to clean this up, by all means */ + You have a wedding planned for this weekend; you are <<if $weddingPlanned == 1>>marrying<<elseif $weddingPlanned == 2>>sharing<<elseif $weddingPlanned == 3>>knocking up<</if>> <<print "[[SlaveFullName(_slave1)|Slave Interact][$activeSlave = _slave1]]">><<if _ML > 2>>, <<elseif _ML == 2>> and <<print "[[SlaveFullName(_slave2)|Slave Interact][$activeSlave = _slave2]]">><</if>><<if _ML > 2>><<print "[[SlaveFullName(_slave2)|Slave Interact][$activeSlave = _slave2]]">><<if _ML == 3>> and <<else>>, <</if>><<print "[[SlaveFullName(_slave3)|Slave Interact][$activeSlave = _slave3]]">><<if _ML == 4>> and <<print "[[SlaveFullName(_slave4)|Slave Interact][$activeSlave = _slave4]]">><</if>> <<if $weddingPlanned == 2>>with your honored guests<</if>><</if>>. + [[Cancel it|Manage Personal Affairs][$weddingPlanned = -1, $marrying = []]] +<</if>> + <<if $FCTVreceiver == 1>> <br><br> <<if $FCTVrate == 1>> @@ -353,17 +375,6 @@ __Rumors__ <</link>> </span> </span> - /*Old version - <span id="family"> - <<link "Pull up the file on your family tree.">> - <<replace #family>> - <div id="editFamily"><div id="graph"></div></div> - <<run updateFamilyTree(null, $slaves, $PC)>> - <script>updateFamilyTree()</script> - <</replace>> - <</link>> - </span> - */ <<if totalPlayerRelatives($PC) > 0 || ($showMissingSlaves && ($PC.mother in $missingTable || $PC.father in $missingTable))>> <<PlayerFamily>> <</if>> diff --git a/src/pregmod/seBurst.tw b/src/pregmod/seBurst.tw index 397f3dc12e76e78bcf49a4fdbc612666f04de8b5..cb37324eea64a412190d0abf2bdd13a631c7b7de 100644 --- a/src/pregmod/seBurst.tw +++ b/src/pregmod/seBurst.tw @@ -1,6 +1,6 @@ :: SE Burst [nobr] -<<set $nextButton = "Continue", $returnTo = "Scheduled Event">> +<<set $nextButton = "Continue", $nextLink = "Scheduled Event">> <<for _b = 0; _b < $slaves.length; _b++>> <<if $slaves[_b].burst == 1>> @@ -167,23 +167,21 @@ taken to the medical suite. <</if>> - <<set $mom = $slaves[_b]>> <<if _cToIncub > 0 || _cToNursery > 0>> <<for _cb = 0; _cb < _curBabies; _cb++>> /* if there is no reserved children, code in loop will not trigger */ - <<if $mom.curBabies[_cb].reserve == "incubator">> - <<set $slaves[_b] = generateChild($mom, $mom.curBabies[_cb], 1)>> + <<if $slaves[_b].curBabies[_cb].reserve == "incubator">> + <<set $slaves[_b] = generateChild($slaves[_b], $slaves[_b].curBabies[_cb], 1)>> <<include "Incubator Workaround">> - <<run $mom.curBabies.splice($mom.curBabies[_cb], 1)>> + <<run $slaves[_b].curBabies.splice($slaves[_b].curBabies[_cb], 1)>> <<set _cb--, _curBabies-->> - <<elseif $mom.curBabies[_cb].reserve == "nursery">> - <<set $slaves[_b] = generateChild($mom, $mom.curBabies[_cb])>> + <<elseif $slaves[_b].curBabies[_cb].reserve == "nursery">> + <<set $slaves[_b] = generateChild($slaves[_b], $slaves[_b].curBabies[_cb])>> <<include "Nursery Workaround">> - <<run $mom.curBabies.splice($mom.curBabies[_cb], 1)>> + <<run $slaves[_b].curBabies.splice($slaves[_b].curBabies[_cb], 1)>> <<set _cb--, _curBabies-->> <</if>> <</for>> <</if>> - <<set $slaves[_b] = $mom>> <<else>> life and <<if _curBabies <= 1>>that of $his child<<else>>those of $his children<</if>>. @@ -195,29 +193,27 @@ <<set _count = _curBabies>> <br><br> <<span $dispositionId>> - <<if $arcologies[0].FSRestart != "unset" && $slaves[[_b].breedingMark == 1 && $propOutcome == 1 && $slaves[$i].pregSource == -1>> + <<if $arcologies[0].FSRestart != "unset" && $slaves[_b].breedingMark == 1 && $propOutcome == 1 && $slaves[_b].pregSource == -1>> <<set _lostBabies = 1>> From there, $his child<<if _curBabies > 1>>ren are<<else>> is<</if>> collected by the Societal Elite to be raised into upstanding members of the new society. <<elseif $Cash4Babies == 1 && $DefaultBirthDestination !== "the market">> <<set _lostBabies = 1>> - <<set _babyCost = random(-12,12)>> - <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>> - $His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> + <<= BirthDestinationText("Sold",$slaves[_b])>> <</if>> <<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<set _lostBabies = 1>> - $His child<<if _curBabies > 1>>ren are<<else>> is<</if>> sent to one of $arcologies[0].name's future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction. Hopefully there they will be trained to not suffer the same fate. + $His <<= BirthDestinationText("Breeder",$slaves[_b])>> <<set $breederOrphanageTotal += _count>> <<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - <<set $slaveOrphanageTotal += _curBabies>> Unless you provide otherwise, the child<<if _curBabies > 1>>ren<</if>> will be remanded to one of $arcologies[0].name's slave orphanages. + <<set _call = 1>> <<= BirthDestinationText("Orphanage",$slaves[_b])>> + <<set $slaveOrphanageTotal += _count>> <<capture $i, $dispositionId, _count>> <br> <<if $arcologies[0].FSRepopulationFocus > 40>> <<link 'Send them to a breeder school'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> sent to one of $arcologies[0].name's future minded schools, to be administered fertility and virility treatments as well as be brought up to take pride in reproduction. Hopefully there they will be trained to not suffer the same fate. + The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Breeder",$slaves[_b])>> <<set $breederOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -225,36 +221,30 @@ <</if>> <<link 'Send them to a citizen school'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> sent to one of $arcologies[0].name's citizen schools, to be brought up coequal with the arcology's other young people. - <<set $slaves[$i].devotion += 4, $citizenOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> + The child<<if _count > 1>>ren are<<else>> is<</if>> <<= BirthDestinationText("Citizen",$slaves[_b])>> + <<set $slaves[_b].devotion += 4, $citizenOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> //Will cost <<print cashFormat(100)>> weekly// | <<link 'Have them raised privately'>> <<replace `"#" + $dispositionId`>> - The child<<if _count > 1>>ren are<<else>> is<</if>> sent to be privately raised, to be brought up as a future high class citizen. - <<set $slaves[$i].devotion += 6, $privateOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> + The <<= BirthDestinationText("Private",$slaves[_b])>> + <<set $slaves[_b].devotion += 6, $privateOrphanageTotal += _count, $slaveOrphanageTotal -= _count>> <</replace>> <</link>> //Will cost <<print cashFormat(500)>> weekly// <<if $Cash4Babies == 1>> - <<if $slaves[$i].prestige > 1 || $slaves[$i].pornPrestige > 2>> + <<if $slaves[_b].prestige > 1 || $slaves[_b].pornPrestige > 2>> | <<link 'Send them to auction'>> <<replace `"#" + $dispositionId`>> - <<set _babyCost = random(-12,12)>> - <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>> - $His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> + <<= BirthDestinationText("Sold",$slaves[_b])>> <<set $slaveOrphanageTotal -= _count>> <</replace>> <</link>> <<else>> | <<link 'Sell them anyway'>> <<replace `"#" + $dispositionId`>> - <<set _babyCost = random(-12,12)>> - <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>> - $His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> + <<= BirthDestinationText("Sold",$slaves[_b])>> <<set $slaveOrphanageTotal -= _count>> <</replace>> <</link>> @@ -264,11 +254,7 @@ <</if>> <</span>> <<elseif $Cash4Babies == 1 && _curBabies > 0 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - <br><br> - <<set _babyCost = random(-12,12)>> - <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>> - $His <<if _curBabies > 1>>babies<<else>>baby<</if>> were sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> + <<= BirthDestinationText("Sold",$slaves[_b])>> <</if>> <<if $arcologies[0].FSRestart != "unset" && _curBabies > 0 && $eugenicsFullControl != 1>> diff --git a/src/pregmod/seFCTVshows.tw b/src/pregmod/seFCTVshows.tw index 97b640d9eb1fdfb296bc8cd4217a36d701e3dd2b..2439602d80748bb9dfc66837846f6aaf927352fd 100644 --- a/src/pregmod/seFCTVshows.tw +++ b/src/pregmod/seFCTVshows.tw @@ -27,7 +27,7 @@ Tired after a long day, you tell <<if $Concubine != 0>>@@.pink;$Concubine.slaveName@@<<else>>$assistantName<</if>> to turn on the TV and set FCTV to random show. Your larger-than-life screen flashes on, and is soon playing a random show from the popular streaming service. /* we need to check for pansy no-extreme squick stuff */ -<<if $minimumSlaveAge < 13 && $randShow == 14>> +<<if $minimumSlaveAge > 13 && $randShow == 14>> <<set $randShow = either(0,1,2,3,4,5,6,7,8,9,10,11,12,13)>> There is an audible tone from your screen, which then displays a message: <i>Actor not vintage enough, changing program.</i> <</if>> @@ -359,6 +359,7 @@ Tired after a long day, you tell <<if $Concubine != 0>>@@.pink;$Concubine.slaveN <br><br>The woman helping to display the slaves shows her hand to the camera; it's coated in a sticky layer of precum from handling the cum cow's equipment. <</if>> <<slaveCost $activeSlave>> +<<setLocalPronouns $activeSlave>> <<if $randShow < 3>> <<set $slaveCost *= 1.3>> <<elseif $randShow == 6>> @@ -370,7 +371,12 @@ Tired after a long day, you tell <<if $Concubine != 0>>@@.pink;$Concubine.slaveN The offered price is <<print cashFormat($slaveCost)>>. <<if $cash >= $slaveCost>> - <br>[[Buy her slave contract|New Slave Intro][cashX(forceNeg($slaveCost), "slaveTransfer", $activeSlave), $nextLink = "Scheduled Event", $returnTo = "Scheduled Event"]] + <br> + <<link "Buy $his slave contract">> + <<run cashX(forceNeg($slaveCost), "slaveTransfer", $activeSlave)>> + <<set $nextLink = "Scheduled Event", $returnTo = "Scheduled Event">> + <<goto "New Slave Intro">> + <</link>> <<else>> //@@.red;You lack the necessary funds to buy this slave.@@// <</if>> diff --git a/src/pregmod/widgets/bodyswapWidgets.tw b/src/pregmod/widgets/bodyswapWidgets.tw index affe70a34735ef0319c01aba4475416124ab90f4..612aee850961b571a69370547bd3ee0924e18821 100644 --- a/src/pregmod/widgets/bodyswapWidgets.tw +++ b/src/pregmod/widgets/bodyswapWidgets.tw @@ -71,6 +71,7 @@ <<set $args[0].hears = $args[1].hears>> <<set $args[0].earwear = $args[1].earwear>> <<set $args[0].earImplant = $args[1].earImplant>> +<<set $args[0].earShape = $args[1].earShape>> <<set $args[0].origHColor = $args[1].origHColor>> <<set $args[0].hColor = $args[1].hColor>> <<set $args[0].hLength = $args[1].hLength>> diff --git a/src/pregmod/widgets/pregmodWidgets.tw b/src/pregmod/widgets/pregmodWidgets.tw index 6e9ce3369a62cf341f9f3dbf7ba0abf92ab7d350..c767be12592376fe84442e92a03ae78fe89ab867 100644 --- a/src/pregmod/widgets/pregmodWidgets.tw +++ b/src/pregmod/widgets/pregmodWidgets.tw @@ -15,6 +15,10 @@ <<set WombInit($args[0])>> + +<<if ndef $args[0].earShape>> + <<set $args[0].earShape = "normal">> +<</if>> <<if ndef $args[0].missingEyes>> <<if $args[0].eyes == -3>> <<set $args[0].missingEyes = 3>> diff --git a/src/pregmod/widgets/seBirthWidgets.tw b/src/pregmod/widgets/seBirthWidgets.tw index 77e433f1b47811571679a75dc41e916077edd587..c57c03285d69eb82582863c7a88dfd319ed97a3f 100644 --- a/src/pregmod/widgets/seBirthWidgets.tw +++ b/src/pregmod/widgets/seBirthWidgets.tw @@ -912,18 +912,17 @@ All in all, <<set $slaves[$i].trust += 3, $slaves[$i].devotion += 3>> <<set _lostBabies = 0>> <<else>> - $His <<if _curBabies > 1>>babies<<else>>baby<</if>> sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> + <<= BirthDestinationText("Sold",$slaves[$i])>> <</if>> <</if>> <<if _lostBabies != 1 && $universalRulesChildrenBecomeBreeders > 0 && $arcologies[0].FSRepopulationFocus > 40 && $DefaultBirthDestination === "individually decided fates">> <<set _lostBabies = 1>> - $His <<= BirthDestinationText("Orphanage",$slaves[$i])>> + $His <<= BirthDestinationText("Breeder",$slaves[$i])>> <<set $breederOrphanageTotal += _curBabies>> <<elseif _lostBabies != 1 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - <<set $slaveOrphanageTotal += _curBabies>> Unless you provide otherwise, the child<<if _curBabies > 1>>ren<</if>> will be remanded to one of $arcologies[0].name's slave orphanages. - <<= BirthDestinationText("Orphanage",$slaves[$i])>> + <<set _call = 1>> <<= BirthDestinationText("Orphanage",$slaves[$i])>> + <<set $slaveOrphanageTotal += _curBabies>> <<capture $i, $dispositionId, _count>> <br> <<if $arcologies[0].FSRepopulationFocus > 40>> @@ -969,12 +968,6 @@ All in all, <</capture>> <</if>> <</span>> -<<elseif $Cash4Babies == 1 && _curBabies > 0 && $DefaultBirthDestination === "individually decided fates" && $universalRulesChildrenBecomeBreeders < 1>> - <br><br> - <<set _babyCost = random(-12,12)>> - <<if $slaves[$i].prematureBirth == 1>><<set _babyCost = -45>><</if>> - $His <<if _curBabies > 1>>babies<<else>>baby<</if>> were sold for <<if _curBabies > 1>>a total of <</if>>@@.yellowgreen;<<print cashFormat(_curBabies*(50+_babyCost))>>.@@<<if $slaves[$i].prematureBirth == 1>> A low price due to the added costs of caring for them.<</if>> - <<run cashX((_curBabies*(50+_babyCost)), "babyTransfer")>> <</if>> <</widget>> diff --git a/src/uncategorized/BackwardsCompatibility.tw b/src/uncategorized/BackwardsCompatibility.tw index dc37a2205fa5d3ba4659b4dc22106c086211d532..7d54f29dd5a7668c2a3ea5ed3c297e9a155fb78c 100644 --- a/src/uncategorized/BackwardsCompatibility.tw +++ b/src/uncategorized/BackwardsCompatibility.tw @@ -61,6 +61,16 @@ <<unset $basenationalities>> <</if>> +<<set $marrying = []>> +<<if ndef $weddingPlanned>> + <<set $weddingPlanned = 0>> +<</if>> + +<<if def $weddingSlaveID>> + <<unset $weddingSlaveID>> + <<set $weddingPlanned = 0>> +<</if>> + <<if ndef $PC.name>> <<if def $PCName>> <<set $PC.name = $PCName>> diff --git a/src/uncategorized/corporationDevelopments.tw b/src/uncategorized/corporationDevelopments.tw index a4f4543ad53c67c6ca8c1da9b2b1cdb2c3c418f5..c6fa6bf9b1471c0d38aa8a63fe23d441b204dd99 100644 --- a/src/uncategorized/corporationDevelopments.tw +++ b/src/uncategorized/corporationDevelopments.tw @@ -8,47 +8,43 @@ <<if $corpDivTrainSurgerySwitch == 1 && $corpDivTrainSurgeryTimer < 20>> <<set $corpDivTrainSurgeryTimer++>> <</if>> -<<set _corpOpCost = 0>> +<<set _corpOpCost = 0, +_corpRev = 0, +_corpAssetsSlave = 0>> __Corporation Management__ <br>''Operational Results'' /*Divisions doing their thing*/ <<if $corpDivExtra == 1>> <<if $mercenariesHelpCorp > 0>> /*This is the cost of acquiring slaves, the level of development is also the amount of slaves on average*/ - <<set $corpCash -= 7500 * $corpDivExtraDev + 5 * Math.pow($corpDivExtraDev, 2) - ($mercenaries - 2) * 50, - _corpOpCost += 7500 * $corpDivExtraDev + 5 * Math.pow($corpDivExtraDev, 2) - ($mercenaries - 2) * 50, + <<set _corpOpCost += 7500 * $corpDivExtraDev + 5 * Math.pow($corpDivExtraDev, 2) - ($mercenaries - 2) * 50, _corpDivExtraSlaves = Math.trunc($corpDivExtraDev * (1 + random(-40,40) / 100)), $corpDivExtraSlaves += _corpDivExtraSlaves>> /*the actual amount of slaves acquired*/ <<else>> - <<set $corpCash -= 7500 * $corpDivExtraDev + 5 * Math.pow($corpDivExtraDev, 2), - _corpOpCost += 7500 * $corpDivExtraDev + 5 * Math.pow($corpDivExtraDev, 2), + <<set _corpOpCost += 7500 * $corpDivExtraDev + 5 * Math.pow($corpDivExtraDev, 2), _corpDivExtraSlaves = Math.trunc($corpDivExtraDev * (1 + random(-40,40) / 100)), $corpDivExtraSlaves += _corpDivExtraSlaves>> <</if>> <</if>> <<if $corpDivLegal == 1>> - <<set $corpCash -= 12000 * $corpDivLegalDev + 6 * Math.pow($corpDivExtraDev, 2), - _corpOpCost += 12000 * $corpDivLegalDev + 6 * Math.pow($corpDivExtraDev, 2), + <<set _corpOpCost += 12000 * $corpDivLegalDev + 6 * Math.pow($corpDivExtraDev, 2), _corpDivLegalSlaves = Math.trunc($corpDivLegalDev * (1 + random(-25,25) / 100)), $corpDivLegalSlaves += _corpDivLegalSlaves>> <</if>> <<if $corpDivBreak == 1>> - <<set $corpCash -= 450 * $corpDivBreakSlaves + Math.trunc(0.7 * Math.pow($corpDivBreakDev, 2)), - _corpOpCost += 450 * $corpDivBreakSlaves + Math.trunc(0.7 * Math.pow($corpDivBreakDev, 2)), + <<set _corpOpCost += 450 * $corpDivBreakSlaves + Math.trunc(0.7 * Math.pow($corpDivBreakDev, 2)), _corpDivBreakProc = Math.trunc($corpDivBreakSlaves * 0.3 * (1 + random(-15,15) / 100)), $corpDivBreakSlaves2 += _corpDivBreakProc, $corpDivBreakSlaves -= _corpDivBreakProc>> <</if>> <<if $corpDivSurgery == 1>> - <<set $corpCash -= 2400 * $corpDivSurgerySlaves + Math.pow($corpDivSurgeryDev, 2), - _corpOpCost += 2400 * $corpDivSurgerySlaves + Math.pow($corpDivSurgeryDev, 2), + <<set _corpOpCost += 2400 * $corpDivSurgerySlaves + Math.pow($corpDivSurgeryDev, 2), _corpDivSurgeryProc = Math.trunc($corpDivSurgerySlaves * 0.5 * (1 + random(-10,10) / 100)), $corpDivSurgerySlaves2 += _corpDivSurgeryProc, $corpDivSurgerySlaves -= _corpDivSurgeryProc>> <</if>> <<if $corpDivTrain == 1>> - <<set $corpCash -= 700 * $corpDivTrainSlaves + Math.trunc(0.8 * Math.pow($corpDivTrainDev, 2)), - _corpOpCost += 700 * $corpDivTrainSlaves + Math.trunc(0.8 * Math.pow($corpDivTrainDev, 2)), + <<set _corpOpCost += 700 * $corpDivTrainSlaves + Math.trunc(0.8 * Math.pow($corpDivTrainDev, 2)), _corpDivTrainProc = Math.trunc($corpDivTrainSlaves * 0.2 * (1 + random(-15,15) / 100)), $corpDivTrainSlaves2 += _corpDivTrainProc, $corpDivTrainSlaves -= _corpDivTrainProc>> @@ -56,8 +52,7 @@ __Corporation Management__ <<if $corpDivArcade == 1>> <<set _corpOpCost += 200 * $corpDivArcadeSlaves + Math.trunc(0.125 * Math.pow($corpDivArcadeDev, 2)), _corpDivArcadeRev = Math.trunc(1000 * (1 + random(-5,5) / 100) * $corpDivArcadeSlaves), - $corpRev += _corpDivArcadeRev, - $corpCash += _corpDivArcadeRev, + _corpRev += _corpDivArcadeRev, _corpDivArcadeProc = $corpDivArcadeSlaves * 0.05 * (1 + random(-10,10) / 100)>> <<if _corpDivArcadeProc > 1>> <<set _corpDivArcadeProc = Math.trunc(_corpDivArcadeProc)>> @@ -71,8 +66,7 @@ __Corporation Management__ <<if $corpDivMenial == 1>> <<set _corpDivMenialRev = Math.trunc(1250 * (1 + random(-10,10) / 100)) * $corpDivMenialSlaves, _corpOpCost += 200 * $corpDivMenialSlaves + Math.trunc(0.1 * Math.pow($corpDivMenialDev, 2)), - $corpRev += _corpDivMenialRev, - $corpCash += _corpDivMenialRev, + _corpRev += _corpDivMenialRev, _corpDivMenialProc = $corpDivMenialSlaves * 0.05 * (1 + random(-10,10) / 100)>> <<if _corpDivMenialProc > 1>> <<set _corpDivMenialProc = Math.trunc(_corpDivMenialProc)>> @@ -86,8 +80,7 @@ __Corporation Management__ <<if $corpDivDairy == 1>> <<set _corpDivDairyRev = Math.trunc(3000 * (1 + random(-10,10) / 100) * $corpDivDairySlaves), _corpOpCost += 850 * $corpDivDairySlaves + Math.trunc(0.4 * Math.pow($corpDivDairyDev, 2)), - $corpRev += _corpDivDairyRev, - $corpCash += _corpDivDairyRev, + _corpRev += _corpDivDairyRev, _corpDivDairyProc = $corpDivDairySlaves * 0.05 * (1 + random(-10,10) / 100)>> <<if _corpDivDairyProc > 1>> <<set _corpDivDairyProc = Math.trunc(_corpDivDairyProc)>> @@ -101,8 +94,7 @@ __Corporation Management__ <<if $corpDivWhore == 1>> <<set _corpDivWhoreRev = Math.trunc(3000 * (1 + random(-5,5) / 100) * $corpDivWhoreSlaves), _corpOpCost += 700 * $corpDivWhoreSlaves + Math.trunc(0.25 * Math.pow($corpDivWhoreDev, 2)), - $corpRev += _corpDivWhoreRev, - $corpCash += _corpDivWhoreRev, + _corpRev += _corpDivWhoreRev, _corpDivWhoreProc = $corpDivWhoreSlaves * 0.05 * (1 + random(-10,10) / 100)>> <<if _corpDivWhoreProc > 1>> <<set _corpDivWhoreProc = Math.trunc(_corpDivWhoreProc)>> @@ -159,8 +151,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivExtraToMarket == 1 && $corpDivExtraSlaves > 0>> It immediately sold <<if $corpDivExtraSlaves > 1>>$corpDivExtraSlaves slaves<<elseif $corpDivExtraSlaves > 0>>one slave<</if>> <<set _corpDivExtraRev = $corpDivExtraSlaves * 10 * menialSlaveCost(-_corpDivExtraSlaves), - $corpCash += _corpDivExtraRev, - $corpRev += _corpDivExtraRev, + _corpRev += _corpDivExtraRev, $corpDivExtraSlaves = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivExtraRev)>>.@@ <<elseif $corpDivExtraSlaves > 0>> @@ -168,8 +159,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivExtraSlaves > $corpDivExtraDev * 2>> /*The division can store some slaves it has acquired/processed, but not a huge amount*/ <<set _corpDivExtraCapSlaves = $corpDivExtraSlaves - $corpDivExtraDev * 2, _corpDivExtraRev = _corpDivExtraCapSlaves * 10 * menialSlaveCost(-_corpDivExtraCapSlaves), - $corpCash += _corpDivExtraRev, - $corpRev += _corpDivExtraRev, + _corpRev += _corpDivExtraRev, $menialDemandFactor -= _corpDivExtraCapSlaves, $corpDivExtraSlaves = $corpDivExtraDev * 2>> /*slaves over holding capacity get sold*/ But it ran out of storage space and had to sell <<if _corpDivExtraCapSlaves > 1>>@@.red;<<print _corpDivExtraCapSlaves>> slaves@@<<else>>@@.red;one slave@@<</if>> and made @@.yellowgreen;<<print cashFormat(_corpDivExtraRev)>>.@@ @@ -221,8 +211,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivLegalToMarket == 1 && $corpDivLegalSlaves > 0>> It immediately sold <<if $corpDivLegalSlaves > 1>><<print $corpDivLegalSlaves>> slaves<<else>>one slave<</if>> <<set _corpDivLegalRev = $corpDivLegalSlaves * 10 * menialSlaveCost(-$corpDivLegalSlaves), - $corpCash += _corpDivLegalRev, - $corpRev += _corpDivLegalRev, + _corpRev += _corpDivLegalRev, $corpDivLegalSlaves = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivLegalRev)>>.@@ <<elseif $corpDivLegalSlaves > 0>> @@ -230,8 +219,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivLegalSlaves > $corpDivLegalDev * 2>> <<set _corpDivLegalCapSlaves = $corpDivLegalSlaves - $corpDivLegalDev * 2, _corpDivLegalRev = _corpDivLegalCapSlaves * 15 * menialSlaveCost(-_corpDivLegalCapSlaves), - $corpCash += _corpDivLegalRev, - $corpRev += _corpDivLegalRev, + _corpRev += _corpDivLegalRev, $menialDemandFactor -= _corpDivLegalCapSlaves, $corpDivLegalSlaves = $corpDivLegalDev * 2>> But it ran out of storage space and had to sell <<if _corpDivBreakCapSlaves > 1>>@@.red;<<print _corpDivBreakCapSlaves>> slaves@@<<else>>@@.red;one slave@@<</if>> and made @@.yellowgreen;<<print cashFormat(_corpDivLegalRev)>>.@@ @@ -244,8 +232,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivBreakFromMarket == 1 && _corpDivBreakSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivBreakSlavesRoom>> slaves that need breaking from the market. <<set _corpDivBreakAssetsSlave = _corpDivBreakSlavesRoom * 10 * menialSlaveCost(_corpDivBreakSlavesRoom), - $corpCash -= _corpDivBreakAssetsSlave, - $corpAssetsSlave += _corpDivBreakAssetsSlave, + _corpAssetsSlave += _corpDivBreakAssetsSlave, $corpDivBreakSlaves = $corpDivBreakDev>> <</if>> <<if $corpDivBreakToMenial == 1 && _corpDivMenialSlavesRoom > 0>> @@ -290,8 +277,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivBreakToMarket == 1 && $corpDivBreakSlaves2 > 0>> It immediately sold <<if $corpDivBreakSlaves2 > 1>>$corpDivBreakSlaves2 slaves<<else>>one slave<</if>> <<set _corpDivBreakRev = $corpDivBreakSlaves2 * 15 * menialSlaveCost(-$corpDivBreakSlaves2), - $corpCash += _corpDivBreakRev, - $corpRev += _corpDivBreakRev, + _corpRev += _corpDivBreakRev, $corpDivBreakSlaves2 = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivBreakRev)>>.@@ <<elseif $corpDivBreakSlaves2 > 0>> @@ -299,8 +285,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivBreakSlaves2 > Math.trunc($corpDivBreakDev * 0.6)>> <<set _corpDivBreakCapSlaves = $corpDivBreakSlaves2 - Math.trunc($corpDivBreakDev * 0.6), _corpDivBreakRev = _corpDivBreakCapSlaves * 15 * menialSlaveCost(-_corpDivBreakCapSlaves), - $corpCash += _corpDivBreakRev, - $corpRev += _corpDivBreakRev, + _corpRev += _corpDivBreakRev, $menialDemandFactor -= _corpDivBreakCapSlaves, $corpDivBreakSlaves2 = Math.trunc($corpDivBreakDev * 0.6)>> But it ran out of storage space and had to sell <<if _corpDivBreakCapSlaves > 1>>@@.red;<<print _corpDivBreakCapSlaves>> slaves@@<<else>>@@.red;one slave@@<</if>> and made @@.yellowgreen;<<print cashFormat(_corpDivBreakRev)>>.@@ @@ -313,8 +298,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivSurgeryFromMarket == 1 && _corpDivSurgerySlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivSurgerySlavesRoom>> slaves that could use some work done to their bodies from the market. <<set _corpDivSurgeryAssetsSlave = _corpDivSurgerySlavesRoom * 15 * menialSlaveCost(_corpDivSurgerySlavesRoom), - $corpCash -= _corpDivSurgeryAssetsSlave, - $corpAssetsSlave += _corpDivSurgeryAssetsSlave, + _corpAssetsSlave += _corpDivSurgeryAssetsSlave, $corpDivSurgerySlaves = $corpDivSurgeryDev, _corpDivSurgerySlavesRoom = corpDivSurgerySlavesRoom()>> <</if>> @@ -347,8 +331,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivSurgeryToMarket == 1 && $corpDivSurgerySlaves2 > 0>> It immediately sold <<if $corpDivSurgerySlaves2 > 1>><<print $corpDivSurgerySlaves2>> slaves<<else>>one slave<</if>> <<set _corpDivSurgeryRev = $corpDivSurgerySlaves2 * 23 * menialSlaveCost(-$corpDivSurgerySlaves2), - $corpCash += _corpDivSurgeryRev, - $corpRev += _corpDivSurgeryRev, + _corpRev += _corpDivSurgeryRev, $corpDivSurgerySlaves2 = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivSurgeryRev)>>.@@ <<elseif $corpDivSurgerySlaves2 > 0>> @@ -356,8 +339,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivSurgerySlaves2 > Math.trunc($corpDivSurgeryDev)>> <<set _corpDivSurgeryCapSlaves = $corpDivSurgerySlaves2 - Math.trunc($corpDivSurgeryDev), _corpDivSurgeryRev = _corpDivSurgeryCapSlaves * 23 * menialSlaveCost(-_corpDivSurgeryCapSlaves), - $corpCash += _corpDivSurgeryRev, - $corpRev += _corpDivSurgeryRev, + _corpRev += _corpDivSurgeryRev, $menialDemandFactor -= _corpDivSurgeryCapSlaves, $corpDivSurgerySlaves2 = Math.trunc($corpDivSurgeryDev)>> But it ran out of storage space and had to sell <<if _corpDivSurgeryCapSlaves > 1>>@@.red;<<print _corpDivSurgeryCapSlaves>> slaves@@<<else>>@@.red;one slave@@<</if>> and made @@.yellowgreen;<<print cashFormat(_corpDivSurgeryRev)>>.@@ @@ -371,14 +353,12 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivSurgery == 0 && $corpDivTrainSurgerySwitch == 0 && _corpDivTrainSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivTrainSlavesRoom>> slaves that need slave training from the market. <<set _corpDivTrainAssetsSlave = _corpDivTrainSlavesRoom * 15 * menialSlaveCost(_corpDivTrainSlavesRoom), - $corpCash -= _corpDivTrainAssetsSlave, - $corpAssetsSlave += _corpDivTrainAssetsSlave, + _corpAssetsSlave += _corpDivTrainAssetsSlave, $corpDivTrainSlaves = $corpDivTrainDev>> <<elseif _corpDivTrainSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivTrainSlavesRoom>> slaves that need slave training from the market. <<set _corpDivTrainAssetsSlave = _corpDivTrainSlavesRoom * 23 * menialSlaveCost(_corpDivTrainSlavesRoom), - $corpCash -= _corpDivTrainAssetsSlave, - $corpAssetsSlave += _corpDivTrainAssetsSlave, + _corpAssetsSlave += _corpDivTrainAssetsSlave, $corpDivTrainSlaves = $corpDivTrainDev>> <</if>> <</if>> @@ -399,22 +379,19 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivSurgery == 0 && $corpDivTrainSurgerySwitch == 0>> It immediately sold <<if $corpDivTrainSlaves2 > 1>>$corpDivTrainSlaves2 slaves<<else>>one slave<</if>> <<set _corpDivTrainRev = $corpDivTrainSlaves2 * 26 * menialSlaveCost(-$corpDivTrainSlaves2), - $corpCash += _corpDivTrainRev, - $corpRev += _corpDivTrainRev, + _corpRev += _corpDivTrainRev, $corpDivTrainSlaves2 = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>.@@ <<elseif $corpDivTrainSurgerySwitch == 1 && $corpDivTrainSurgeryTimer < 5>> It immediately sold <<if $corpDivTrainSlaves2 > 1>>$corpDivTrainSlaves2 slaves<<else>>one slave<</if>> <<set _corpDivTrainRev = Math.trunc($corpDivTrainSlaves2 * (26 + $corpDivTrainSurgeryTimer * 1.6) * menialSlaveCost(-$corpDivTrainSlaves2)), - $corpCash += _corpDivTrainRev, - $corpRev += _corpDivTrainRev, + _corpRev += _corpDivTrainRev, $corpDivTrainSlaves2 = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>.@@ <<else>> It immediately sold <<if $corpDivTrainSlaves2 > 1>><<print $corpDivTrainSlaves2>> slaves<<else>>one slave<</if>> <<set _corpDivTrainRev = $corpDivTrainSlaves2 * 34 * menialSlaveCost(-$corpDivTrainSlaves2), - $corpCash += _corpDivTrainRev, - $corpRev += _corpDivTrainRev, + _corpRev += _corpDivTrainRev, $corpDivTrainSlaves2 = 0>> to the market and made @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>.@@ <</if>> @@ -423,16 +400,14 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivTrainSurgeryTimer < 5 || $corpDivSurgery == 0>> <<set _corpDivTrainCapSlaves = $corpDivTrainSlaves2 - Math.trunc($corpDivTrainDev * 0.4), _corpDivTrainRev = _corpDivTrainCapSlaves * 26 * menialSlaveCost(-_corpDivTrainCapSlaves), - $corpCash += _corpDivTrainRev, - $corpRev += _corpDivTrainRev, + _corpRev += _corpDivTrainRev, $menialDemandFactor -= _corpDivTrainCapSlaves, $corpDivTrainSlaves2 = Math.trunc($corpDivTrainDev * 0.4)>> But it ran out of storage space and had to sell <<if _corpDivTrainCapSlaves > 1>>@@.red;<<print _corpDivTrainCapSlaves>> slaves@@<<elseif _corpDivTrainCapSlaves > 0>>@@.red;one slave@@<</if>> and made @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>.@@ <<else>> <<set _corpDivTrainCapSlaves = $corpDivTrainSlaves2 - Math.trunc($corpDivTrainDev * 0.4), _corpDivTrainRev = _corpDivTrainCapSlaves * 34 * menialSlaveCost(-_corpDivTrainCapSlaves), - $corpCash += _corpDivTrainRev, - $corpRev += _corpDivTrainRev, + _corpRev += _corpDivTrainRev, $menialDemandFactor -= _corpDivTrainCapSlaves, $corpDivTrainSlaves2 = Math.trunc($corpDivTrainDev * 0.4)>> But it ran out of storage space and had to sell <<if _corpDivTrainCapSlaves > 1>>@@.red;<<print _corpDivTrainCapSlaves>> slaves@@<<elseif _corpDivTrainCapSlaves > 0>>@@.red;one slave@@<</if>> and made @@.yellowgreen;<<print cashFormat(_corpDivTrainRev)>>.@@ @@ -447,8 +422,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivArcadeFromMarket == 1 && _corpDivArcadeSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivArcadeSlavesRoom>> fresh slaves from the market. <<set _corpDivArcadeAssetsSlave = _corpDivArcadeSlavesRoom * 10 * menialSlaveCost(_corpDivArcadeSlavesRoom), - $corpCash -= _corpDivArcadeAssetsSlave, - $corpAssetsSlave += _corpDivArcadeAssetsSlave, + _corpAssetsSlave += _corpDivArcadeAssetsSlave, $corpDivArcadeSlaves = $corpDivArcadeDev>> <</if>> <</if>> @@ -459,8 +433,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivMenialFromMarket == 1 && _corpDivMenialSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivMenialSlavesRoom>> menial slaves from the market. <<set _corpDivMenialAssetsSlave = _corpDivMenialSlavesRoom * 15 * menialSlaveCost(_corpDivMenialSlavesRoom), - $corpCash -= _corpDivMenialAssetsSlave, - $corpAssetsSlave += _corpDivMenialAssetsSlave, + _corpAssetsSlave += _corpDivMenialAssetsSlave, $corpDivMenialSlaves = $corpDivMenialDev>> <</if>> <</if>> @@ -471,8 +444,7 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivDairyFromMarket == 1 && _corpDivDairySlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivDairySlavesRoom>> cows from the market. <<set _corpDivDairyAssetsSlave = _corpDivDairySlavesRoom * 23 * menialSlaveCost(_corpDivDairySlavesRoom), - $corpCash -= _corpDivDairyAssetsSlave, - $corpAssetsSlave += _corpDivDairyAssetsSlave, + _corpAssetsSlave += _corpDivDairyAssetsSlave, $corpDivDairySlaves = $corpDivDairyDev>> <</if>> <</if>> @@ -483,14 +455,12 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpDivWhoreFromMarket == 1 && $corpDivTrainSurgerySwitch > 0 && _corpDivWhoreSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivWhoreSlavesRoom>> trained whores from the market. <<set _corpDivWhoreAssetsSlave = _corpDivWhoreSlavesRoom * 34 * menialSlaveCost(_corpDivWhoreSlavesRoom), - $corpCash -= _corpDivWhoreAssetsSlave, - $corpAssetsSlave += _corpDivWhoreAssetsSlave, + _corpAssetsSlave += _corpDivWhoreAssetsSlave, $corpDivWhoreSlaves = $corpDivWhoreDev>> <<elseif $corpDivWhoreFromMarket == 1 && _corpDivWhoreSlavesRoom > 0>> It replenished its slave stock and bought <<print _corpDivWhoreSlavesRoom>> trained whores from the market. <<set _corpDivWhoreAssetsSlave = _corpDivWhoreSlavesRoom * 26 * menialSlaveCost(_corpDivWhoreSlavesRoom), - $corpCash -= _corpDivWhoreAssetsSlave, - $corpAssetsSlave += _corpDivWhoreAssetsSlave, + _corpAssetsSlave += _corpDivWhoreAssetsSlave, $corpDivWhoreSlaves = $corpDivWhoreDev>> <</if>> <</if>> @@ -506,9 +476,13 @@ _corpDivWhoreSlavesRoom = corpDivWhoreSlavesRoom()>> <<if $corpEasy == 1>> <<set _corpOverhead = Math.trunc(_corpOverhead / 2)>> <</if>> -<</if>> -<<set $corpCash -= _corpOverhead, -_corpProfitProvisional = $corpRev - $corpAssetsDev - $corpAssetsSlave - _corpOpCost>> +<</if>> + +/*cash, rev and costs state variables get corrected here*/ +<<set $corpCash += _corpRev - (_corpOverhead + _corpOpCost + _corpAssetsSlave), +$corpRev += _corpRev, +$corpAssetsSlave += _corpAssetsSlave, +_corpProfitProvisional = $corpRev - ($corpAssetsDev + $corpAssetsSlave + _corpOpCost + _corpOverhead)>> <<if _corpProfitProvisional > 0>> <<set $corpEcon = Math.trunc(_corpProfitProvisional / (100 / $localEcon) - _corpProfitProvisional), $corpCash += $corpEcon, diff --git a/src/uncategorized/costsBudget.tw b/src/uncategorized/costsBudget.tw index 236021b03bc94d0012e457dea9706b907b7e4db7..9f65ff970a2430bf0033b677b958ded1a30a37a1 100644 --- a/src/uncategorized/costsBudget.tw +++ b/src/uncategorized/costsBudget.tw @@ -2207,36 +2207,6 @@ for(var i = 0; i < State.variables.lastWeeksCashIncome.length; i++){ </tr> <</if>> - <<if $securityForceActive > 0>> - <tr> - <td>Acquisitions: [[$securityForceNameCaps|SFM Barracks][$nextButton = "Back to Budget", $nextLink = "Costs Budget"]]</td> - <td> - <<if Math.trunc($lastWeeksCashIncome.mercenaries) > 0>> - @@.yellowgreen;+<<print cashFormat(Math.trunc($lastWeeksCashIncome.mercenaries))>>@@ - <<else>> - <<print cashFormat(Math.trunc($lastWeeksCashIncome.mercenaries))>> - <</if>> - </td> - <td> - <<if Math.trunc($lastWeeksCashExpenses.mercenaries) < 0>> - @@.red;-<<print cashFormat(Math.abs(Math.trunc($lastWeeksCashExpenses.mercenaries)))>>@@ - <<else>> - <<print cashFormat(Math.trunc($lastWeeksCashExpenses.mercenaries))>> - <</if>> - </td> - <td> - <<set $lastWeeksCashProfits.mercenaries = ($lastWeeksCashIncome.mercenaries + $lastWeeksCashExpenses.mercenaries)>> - <<if $lastWeeksCashProfits.mercenaries > 0>> - @@.yellowgreen;+<<print cashFormat(Math.trunc($lastWeeksCashProfits.mercenaries))>>@@ - <<elseif Math.trunc($lastWeeksCashProfits.mercenaries) == 0>> - <<print cashFormat(Math.trunc($lastWeeksCashProfits.mercenaries))>> - <<else>> - @@.red;-<<print cashFormat(Math.abs(Math.trunc($lastWeeksCashProfits.mercenaries)))>>@@ - <</if>> - </td> - </tr> - <</if>> - <<if (def $peacekeepers) and ($peacekeepers != 0) >> <<if $peacekeepers.undermining != 0>> <tr> diff --git a/src/uncategorized/costsWidgets.tw b/src/uncategorized/costsWidgets.tw index 24879dbd81aafdae4ee1bc11433827da3cc7205e..84e0415fcae629fa46a3d3f11b0b317cff872188 100644 --- a/src/uncategorized/costsWidgets.tw +++ b/src/uncategorized/costsWidgets.tw @@ -394,7 +394,7 @@ <br> __Predicted expense__: @@.red;<<print cashFormat(Math.trunc(_individualCosts))>>@@ <<if $assistantPower > 0>> <<if $args[0].lastWeeksCashIncome > 0>> - <br> Income: @@.yellowgreen;¤<<print $args[0].lastWeeksCashIncome>>@@ + <br> Income: @@.yellowgreen;<<print cashFormat($args[0].lastWeeksCashIncome)>>@@ <<set _total = (Math.trunc($args[0].lastWeeksCashIncome - _individualCosts))>> <br> __Total__: <<if _total > 0>> @@ -410,7 +410,7 @@ $args[0].origin<br> <</if>> <<if $args[0].slaveCost < 0>> - You bought her for: @@.red;¤$args[0].slaveCost@@. + You bought her for: @@.red;<<print cashFormat($args[0].slaveCost)>>@@. <<set _Cost = $args[0].slaveCost>> <<elseif $args[0].slaveCost == 0>> You spent nothing to aquire her. @@ -423,7 +423,7 @@ <<if $assistantPower > 0>> <br> <<if $args[0].lifetimeCashExpenses < 0>> - In her <<if $args[0].weekAcquired > 0>>$args[0].weekAcquired weeks<<else>>time<</if>> with you, she has cost @@.red;¤$args[0].lifetimeCashExpenses@@. + In her <<if $args[0].weekAcquired > 0>>$args[0].weekAcquired weeks<<else>>time<</if>> with you, she has cost @@.red;<<print cashFormat($args[0].lifetimeCashExpenses)>>@@. <<set _Expense = $args[0].lifetimeCashExpenses>> <<else>> You have no record of her costing you any ¤. @@ -432,7 +432,7 @@ <br> <<if $args[0].lifetimeCashIncome > 0>> - In her <<if $args[0].weekAcquired > 0>>$args[0].weekAcquired weeks<<else>>time<</if>> with you, she has earned @@.yellowgreen;¤$args[0].lifetimeCashIncome@@. + In her <<if $args[0].weekAcquired > 0>>$args[0].weekAcquired weeks<<else>>time<</if>> with you, she has earned @@.yellowgreen;<<print cashFormat($args[0].lifetimeCashIncome)>>@@. <<set _Income = $args[0].lifetimeCashIncome>> <<else>> You have no record of her making you any ¤. @@ -442,11 +442,11 @@ <br> Overall, <<if (_Income + _Cost + _Expense) > 0>> - you have made ¤@@.yellowgreen;<<print (_Income + _Cost + _Expense)>>@@ net from her labors. + you have made @@.yellowgreen;<<print cashFormat(_Income + _Cost + _Expense)>>@@ net from her labors. <<elseif (_Income + _Cost + _Expense) == 0>> she is even in cost and income. <<else>> - she has cost you @@.red;¤<<print (_Income + _Cost + _Expense)>>@@. + she has cost you @@.red;<<print cashFormat(_Income + _Cost + _Expense)>>@@. <</if>> <</if>> <</widget>> diff --git a/src/uncategorized/endWeek.tw b/src/uncategorized/endWeek.tw index d5a08c843cbcbae448cc2310f8d4ea8fc0114268..5469e6e86a0ba2318846e3617312d20f15b2fb3b 100644 --- a/src/uncategorized/endWeek.tw +++ b/src/uncategorized/endWeek.tw @@ -127,6 +127,9 @@ <</for>> <<set $food -= $foodConsumption>> + <<if $food < 0>> + <<set $food = 0>> + <</if>> <</if>> <<setupLastWeeksCash>> diff --git a/src/uncategorized/neighborsDevelopment.tw b/src/uncategorized/neighborsDevelopment.tw index e87743ebd51d7beb3ff14e809411db7c7124f4cd..b7fcf36b570866692b75f44b9749d4b73e73d251 100644 --- a/src/uncategorized/neighborsDevelopment.tw +++ b/src/uncategorized/neighborsDevelopment.tw @@ -9,8 +9,10 @@ <</for>> <<set $averageProsperity = $averageProsperity/$arcologies.length>> -<<set _corpBonus = Math.trunc(1000 * Math.pow(corpValue(), 0.1)), -$corpNeighborBonus = 0>> +<<if $corpIncorporated == 1>> + <<set _corpBonus = Math.trunc(1000 * Math.pow(corpValue(), 0.1)), + $corpNeighborBonus = 0>> +<</if>> <<if $useTabs == 0>>__Arcologies in the Free City__<</if>> @@ -1908,8 +1910,10 @@ has an estimated GSP of @@.yellowgreen;<<print cashFormat(Math.trunc((0.1*$arcol <</if>> <</if>> -<<set $corpCash += $corpNeighborBonus, -$corpRev += $corpNeighborBonus>> +<<if $corpIncorporated == 1>> + <<set $corpCash += $corpNeighborBonus, + $corpRev += $corpNeighborBonus>> +<</if>> /* FUTURE SOCIETY ADOPTION */ diff --git a/src/uncategorized/nextWeek.tw b/src/uncategorized/nextWeek.tw index 4ca2f28d4744f924a369b2d2bff45a40421cee69..cfaaf07d1fdfdd0716b52fc518eac7fe054c3a92 100644 --- a/src/uncategorized/nextWeek.tw +++ b/src/uncategorized/nextWeek.tw @@ -378,7 +378,7 @@ /% These are variables that either should be made into _temp vars or should be Zeroed out once done with them instead of here. This can also interfere with debugging or hide NaN's as zeroing things out would clear a NaN. Also could stop from NaN's getting worse? %/ /% Integer and float variables. No real need to zero them out but doesn't hurt to have them in a known state, though this might mask variables NaN'ing out. Takes up the least amount of Memory besides a "" string. %/ -<<set $averageProsperity = 0, $beauty = 0, $beautyMultiplier = 0, $boobsID = -1, $boobsInterestTargetID = -1, $brideSlave = -1, $buttslutID = -1, $buttslutInterestTargetID = -1, $cumslutID = -1, $FResult = 0, $groomSlave = -1, $humiliationID = -1, $humiliationInterestTargetID = -1, $i = 0, $influenceBonus = 0, $j = 0, $masochistID = -1, $masochistInterestTargetID = -1, $opinion = 0, $r = 0, $subID = -1, $submissiveInterestTargetID = -1, $weddingSlaveID = -1, $x = 0, $mother = -1, $daughter = -1, $devMother = -1, $devDaughter = -1, $alphaTwin = -1, $betaTwin = -1, $youngerSister = -1, $olderSister = -1, $recruiterSlave = -1>> +<<set $averageProsperity = 0, $beauty = 0, $beautyMultiplier = 0, $boobsID = -1, $boobsInterestTargetID = -1, $brideSlave = -1, $buttslutID = -1, $buttslutInterestTargetID = -1, $cumslutID = -1, $FResult = 0, $groomSlave = -1, $humiliationID = -1, $humiliationInterestTargetID = -1, $i = 0, $influenceBonus = 0, $j = 0, $masochistID = -1, $masochistInterestTargetID = -1, $opinion = 0, $r = 0, $subID = -1, $submissiveInterestTargetID = -1, $x = 0, $mother = -1, $daughter = -1, $devMother = -1, $devDaughter = -1, $alphaTwin = -1, $betaTwin = -1, $youngerSister = -1, $olderSister = -1, $recruiterSlave = -1>> /% Other arrays %/ <<set $events = [], $RESSevent = [], $RESSTRevent = [], $RETSevent = [], $RECIevent = [], $RecETSevent = [], $REFIevent = [], $REFSevent = [], $PESSevent = [], $PETSevent = [], $FSAcquisitionEvents = [], $FSNonconformistEvents = [], $qualifiedNicknames = [], $REAnalCowgirlSubIDs = [], $REButtholeCheckinIDs = [], $recruit = [], $RETasteTestSubIDs = [], $devotedSlaves = [], $rebelSlaves = [], $REBoobCollisionSubIDs = [], $REIfYouEnjoyItSubIDs = [], $RESadisticDescriptionSubIDs = [], $REShowerForceSubIDs = [], $RESimpleAssaultIDs = [], $RECockmilkInterceptionIDs = [], $REInterslaveBeggingIDs = [], $bedSlaves = [], $qualifiedFS = [], $eligibleSlaves = [], $slavesInLine = []>> diff --git a/src/uncategorized/reFSAcquisition.tw b/src/uncategorized/reFSAcquisition.tw index 3369a3ad59e8709663dfe91b905e8c8eb257c97e..96c6ea4c59a5d8720562e7a8e980b887fba07aec 100644 --- a/src/uncategorized/reFSAcquisition.tw +++ b/src/uncategorized/reFSAcquisition.tw @@ -1321,7 +1321,7 @@ The call comes in from an office, and you suppress the urge to check whether $as <br><br> -<<include "Long Slave Description">> +<<set $saleDescription = 0>><<include "Long Slave Description">> <br><br> diff --git a/src/uncategorized/reRecruit.tw b/src/uncategorized/reRecruit.tw index b6a455ef344604f21f911c6505c92365809cb432..aab01f727b1a7e80971a32b6ae440907a0cce8c3 100644 --- a/src/uncategorized/reRecruit.tw +++ b/src/uncategorized/reRecruit.tw @@ -2682,7 +2682,7 @@ He explains that one of his servant <<= $girl>>s was impregnated by his fool of <<case "embryo appropriation">> <<set _profit = $slaveCost*$activeSlave.pregType>> <<run cashX(_profit, "slaveTransfer")>> - $He sobs as the biometric scanners scrupulously record $his every particular as belonging not to a person but to a piece of human property. $He tries to resist placing $his biometric signature in testament to the truth of $his debt, but when you observe that the alternative is the death of $him and $his unborn, $he complies. A purchasing agent appears to take $him away, but not after the slave breeder that bought $him paid a ludicrous amount of ¤ per child. An additional @@.yellowgreen;¤<<print _profit>>@@ overall. + $He sobs as the biometric scanners scrupulously record $his every particular as belonging not to a person but to a piece of human property. $He tries to resist placing $his biometric signature in testament to the truth of $his debt, but when you observe that the alternative is the death of $him and $his unborn, $he complies. A purchasing agent appears to take $him away, but not after the slave breeder that bought $him paid a ludicrous amount of ¤ per child. An additional @@.yellowgreen;<<print cashFormat(_profit)>>@@ overall. <<case "rogue cyborg">> With your order received the target quickly seeks you out. After a huge sum of credits changes hands to render it safe, the legalities and biometric scanning are complete and it is sold off to a very eager robophile. <<case "female recruit">> diff --git a/src/uncategorized/remoteSurgery.tw b/src/uncategorized/remoteSurgery.tw index 71117e65cd8415b5c54b2c53c3b4ce8f16327241..8d6764819ecf3831494a85b152997e95d8448e56 100644 --- a/src/uncategorized/remoteSurgery.tw +++ b/src/uncategorized/remoteSurgery.tw @@ -155,6 +155,16 @@ $His $activeSlave.faceShape face is <</if>> <</if>> +<br> +$He has +<<if $activeSlave.earShape == "normal">> + normal shaped ears. + [[Elongate ears|Surgery Degradation][$activeSlave.earShape = "elfin", cashX(forceNeg($surgeryCost), "slaveSurgery"), $activeSlave.health -= 10, $surgeryType = "earShape"]] +<<elseif $activeSlave.earShape == "elfin">> + elfin shaped ears. + [[Purge ears|Surgery Degradation][$activeSlave.earShape = "normal", cashX(forceNeg($surgeryCost), "slaveSurgery"), $activeSlave.health -= 10, $surgeryType = "earShape"]] +<</if>> + <<if $activeSlave.earImplant == 1>> <br> $He has cochlear implants. diff --git a/src/uncategorized/saWorkAGloryHole.tw b/src/uncategorized/saWorkAGloryHole.tw index 67899edc14e7baf1d03932d0a2e8eb837694fe09..f236dbb22b92491d5ff30ffe81ac81355aa8015b 100644 --- a/src/uncategorized/saWorkAGloryHole.tw +++ b/src/uncategorized/saWorkAGloryHole.tw @@ -265,7 +265,7 @@ $His feelings, skills, and appearance do not matter. $He is condemned to a world <<set $slaves[$i].bellyImplant += _cervixPump>> <</if>> -<<if $slaves[$i].assignment == "work a glory hole"">> +<<if $slaves[$i].assignment == "work a glory hole">> <<run cashX(($beauty*$FResult), "gloryhole", $slaves[$i])>> <<elseif $slaves[$i].assignment == "be confined in the arcade">> <<run cashX(($beauty*$FResult), "gloryholeArcade", $slaves[$i])>> diff --git a/src/uncategorized/scheduledEvent.tw b/src/uncategorized/scheduledEvent.tw index 8462aef305dee58493b5fe3a619362f75ba3b28d..06afc5a6c123a376dabc7a12ba8452adcfafa29b 100644 --- a/src/uncategorized/scheduledEvent.tw +++ b/src/uncategorized/scheduledEvent.tw @@ -124,15 +124,12 @@ <<goto "SE independence day">> <<elseif ($weddingPlanned > 0)>> <<set _wedding = 0>> - <<for $i = 0; $i < $slaves.length; $i++>> - <<if ($slaves[$i].ID == $weddingSlaveID)>> - <<set $activeSlave = $slaves[$i]>> + <<if ($weddingPlanned > 0)>> <<set _wedding = 1>> <<goto "SE wedding">> <</if>> - <</for>> <<if _wedding == 0>> - <<set $weddingPlanned = 0>> + <<set $weddingPlanned = 0, $marrying = []>> <<run cashX(10000, "event")>> <<goto "Scheduled Event">> <</if>> diff --git a/src/uncategorized/seWedding.tw b/src/uncategorized/seWedding.tw index 787f13c144467b1632f2daa629a186f0f33561e6..a52b1f0ec802511f87e08101d3afbcbd04627244 100644 --- a/src/uncategorized/seWedding.tw +++ b/src/uncategorized/seWedding.tw @@ -1,844 +1,17 @@ :: SE wedding [nobr] -<<set $nextButton = "Continue", $nextLink = "AS Dump", $returnTo = "Scheduled Event">> -<<set _belly = bellyAdjective($activeSlave)>> -<<setLocalPronouns $activeSlave>> +<<set $nextButton = "Continue", $nextLink = "Scheduled Event">> +<<set _ML = $marrying.length>> -<<if $activeSlave.relationship != 0>> - <<if $activeSlave.relationship > 0>> - <<set _m = $slaveIndices[$activeSlave.relationshipTarget]>> - <<set $activeSlave.relationshipTarget = 0>> - <<set $slaves[_m].relationship = 0, $slaves[_m].relationshipTarget = 0>> - <<setLocalPronouns $slaves[_m] 2>> - <</if>> - In the days leading up to your wedding, $activeSlave.slaveName spent $his time - <<if $activeSlave.devotion+$activeSlave.trust >= 175>> - <<if $activeSlave.relationship != 0>> - <<if $activeSlave.relationship == -1>> - vowing that $he'll be less of a slut. - <<elseif $activeSlave.relationship == 4>> - breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. - <<elseif $activeSlave.relationship == 3>> - breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. - <<elseif $activeSlave.relationship > 0>> - promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. - <<else>> - as close to you as $he could. - <</if>> - <</if>> - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - <<if $activeSlave.relationship == -1>> - sleeping with as many different people as $he could. - <<if !isSlaveAvailable($activeSlave)>> - Or $he would have, if $he were able. - <<elseif canDoVaginal($activeSlave) && canDoAnal($activeSlave)>> - <<set _randomVag = random(30,60)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set $activeSlave.vaginalCount += _randomVag, $activeSlave.analCount += _randomAnal, $activeSlave.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. - <<if $activeSlave.vagina == 0 && $activeSlave.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <</if>> - <<if $activeSlave.vagina < 4>><<set $activeSlave.vagina = 4>><</if>><<set $activeSlave.anus = 4>> - <<if canGetPregnant($activeSlave) && (random(1,100) > 70) && $activeSlave.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoVaginal($activeSlave)>> - <<set _randomVag = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set $activeSlave.vaginalCount += _randomVag, $activeSlave.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. - <<if $activeSlave.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <</if>> - <<if $activeSlave.vagina < 4>><<set $activeSlave.vagina = 4>><</if>> - <<if canGetPregnant($activeSlave) && (random(1,100) > 70) && $activeSlave.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoAnal($activeSlave)>> - <<set _randomAnal = random(30,60)>> - <<set _randomOral = random(30,60)>> - <<set $activeSlave.analCount += _randomAnal, $activeSlave.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. - <<if $activeSlave.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <</if>> - <<set $activeSlave.anus = 4>> - <<if canGetPregnant($activeSlave) && (random(1,100) > 70) && $activeSlave.eggType == "human">> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(60,100)>> - <<set $activeSlave.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif $activeSlave.relationship == 4>> - fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. - <<if !isSlaveAvailable($activeSlave)>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_m])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal($activeSlave) && canDoAnal($activeSlave)>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $activeSlave.vaginalCount += _randomVag, $activeSlave.analCount += _randomAnal, $activeSlave.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $activeSlave.vagina == 0 && $activeSlave.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set $activeSlave.vagina = 1, $activeSlave.anus = 1>> - <</if>> - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoVaginal($activeSlave)>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set $activeSlave.vaginalCount += _randomVag, $activeSlave.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if $activeSlave.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set $activeSlave.vagina = 1>> - <</if>> - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoAnal($activeSlave)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $activeSlave.analCount += _randomAnal, $activeSlave.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $activeSlave.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set $activeSlave.anus = 1>> - <</if>> - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set $activeSlave.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif $activeSlave.relationship == 3>> - fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. - <<if !isAvailable($activeSlave)>> - Or $he would have, if $he were able. - <<elseif !isSlaveAvailable($slaves[_m])>> - Or $he would have, if _he2 were around. - <<elseif canDoVaginal($activeSlave) && canDoAnal($activeSlave)>> - <<set _randomVag = random(3,7)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $activeSlave.vaginalCount += _randomVag, $activeSlave.analCount += _randomAnal, $activeSlave.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $activeSlave.vagina == 0 && $activeSlave.anus == 0>> - $His actions robbed you of @@.lime;both $his virginities.@@ - <<set $activeSlave.vagina = 1, $activeSlave.anus = 1>> - <</if>> - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoVaginal($activeSlave)>> - <<set _randomVag = random(3,7)>> - <<set _randomOral = random(5,10)>> - <<set $activeSlave.vaginalCount += _randomVag, $activeSlave.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> - <<if $activeSlave.vagina == 0>> - $His actions robbed you of @@.lime;$his virginity.@@ - <<set $activeSlave.vagina = 1>> - <</if>> - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoAnal($activeSlave)>> - <<set _randomAnal = random(1,4)>> - <<set _randomOral = random(5,10)>> - <<set $activeSlave.analCount += _randomAnal, $activeSlave.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> - <<if $activeSlave.anus == 0>> - $His actions robbed you of @@.lime;$his anal virginity.@@ - <<set $activeSlave.anus = 1>> - <</if>> - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 70)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<else>> - <<set _randomOral = random(15,20)>> - <<set $activeSlave.oralCount += _randomOral, $oralTotal += _randomOral>> - By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. - <</if>> - <<elseif $activeSlave.relationship > 0>> - spending time away from you with $slaves[_m].slaveName. - <<else>> - inappropriately planning redecorations. - <</if>> - <<elseif $activeSlave.devotion < -20>> - <<if $activeSlave.relationship == -1>> - desperately pleading with you to change your mind. - <<elseif $activeSlave.relationship == 4>> - with $his love, $slaves[_m].slaveName, weeping. - <<elseif $activeSlave.relationship == 3>> - with $his lover, $slaves[_m].slaveName, weeping. - <<elseif $activeSlave.relationship > 0>> - with $his friend, $slaves[_m].slaveName, weeping. - <<else>> - desperately pleading with you to change your mind. - <</if>> - <<else>> - <<if $activeSlave.relationship == -1>> - trying $his hardest to not sleep with anyone else. - <<elseif $activeSlave.relationship == 4>> - alongside $his love, $slaves[_m].slaveName. - <<if canDoVaginal($activeSlave) && $activeSlave.vagina != 0>> - <<set $activeSlave.vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $activeSlave.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoAnal($activeSlave)>> - <<set $activeSlave.analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $activeSlave.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<else>> - <<set $activeSlave.oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. - <</if>> - <<elseif $activeSlave.relationship == 3>> - alongside $his lover, $slaves[_m].slaveName. - <<if canDoVaginal($activeSlave) && $activeSlave.vagina != 0>> - <<set $activeSlave.vaginalCount += 1, $vaginalTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $activeSlave.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<elseif canDoAnal($activeSlave)>> - <<set $activeSlave.analCount += 1, $analTotal += 1>> - $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. - <<if canImpreg($activeSlave, $slaves[_m]) && (random(1,100) > 90)>> - A pre-wedding checkup following an unusual bout of morning nausea reveals $activeSlave.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1, $activeSlave.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, $activeSlave.pregSource, $activeSlave.preg)>> - <</if>> - <<else>> - <<set $activeSlave.oralCount += 1, $oralTotal += 1>> - $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. - <</if>> - <<elseif $activeSlave.relationship > 0>> - with $his friend, $slaves[_m].slaveName. - <<else>> - wearing a very conflicted expression. - <</if>> - <</if>> -<</if>> - -<<if $weddingPlanned == 3>> - <<if !isFertile($activeSlave)>> - $activeSlave.slaveName can no longer be impregnated as planned for the ceremony, so it has been hurriedly recast as a normal slave wedding. - <<set $weddingPlanned = 1>> - <br><br> - <</if>> -<</if>> - -<<if $weddingPlanned == 3>> - The ceremony to bind <<= SlaveFullName($activeSlave)>> to you as your slave wife, and $his womb to you as your private breeding ground, is a polite affair which you host in the lower floor of your penthouse. <<if $arcologies[0].FSRestart != "unset" && ($activeSlave.breedingMark == 0 || $propOutcome == 0)>>Barely anyone is there, mostly lower-class citizens, several accompanied by their slaves. Many of your other slaves, that is your slaves who are not being married and fucked pregnant tonight, are present to serve your guests, but are dressed more conservatively than usual. There is a distinct air of unrest in the room, as if the absent Elites' distaste of your actions came in their place.<<else>>All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married and fucked pregnant tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering.<</if>> - <br><br> - $activeSlave.slaveName appears after everyone has had a chance to socialize,<<if ($activeSlave.amp == 1)>> carried by another slave since $he's a quadruple amputee and $he cannot walk,<</if>> wearing beautiful bridal lingerie in - <<if ($activeSlave.vagina == 0)>> - white, since $he's a virgin. - <<elseif ($activeSlave.pregKnown == 1)>> - light pink, since $he's pregnant. - <<elseif ($activeSlave.vagina < 0) && ($activeSlave.anus == 0)>> - white, since $he's an anal virgin. - <<elseif ($activeSlave.vagina < 0) && ($activeSlave.boobs > 500)>> - electric blue, since $he's a shemale. - <<elseif ($activeSlave.vagina < 0)>> - pale blue, since $he's a sissy slave. - <<elseif ($activeSlave.dick > 0)>> - hot pink, since $he's a futa slave. - <<else>> - light pink, since $he's an experienced sex slave. - <</if>> - A filmy veil covers $his head and shoulders. $His lacy bridal bra - <<if ($activeSlave.boobs > 4000)>> - is a marvel of engineering, discreetly reinforced to support $his gigantic udders. - <<elseif ($activeSlave.boobs > 1200)>> - just barely restrains $his huge boobs, leaving the tops of $his areolae visible. - <<elseif ($activeSlave.boobs > 400)>> - flatters $his pretty breasts. - <<else>> - flatters $his pretty chest. - <</if>> - <<if $activeSlave.bellyPreg >= 600000>> - $His expansive, squirming pregnant belly makes $his bridal wear particularly obscene. - <<elseif ($activeSlave.bellyPreg >= 1500)>> - $His _belly pregnant belly protrudes out the front of $his bridal wear. - <<elseif ($activeSlave.bellyImplant >= 1500)>> - $His _belly <<print $activeSlave.bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear. - <<elseif ($activeSlave.bellyFluid >= 10000)>> - $His hugely bloated, <<print $activeSlave.inflationType>>-filled belly protrudes out the front of $his bridal wear. - <<elseif ($activeSlave.bellyFluid >= 5000)>> - $His bloated, <<print $activeSlave.inflationType>>-stuffed belly protrudes out the front of $his bridal wear. - <<elseif ($activeSlave.bellyFluid >= 1500)>> - $His distended, <<print $activeSlave.inflationType>>-belly protrudes out the front of $his bridal wear. - <</if>> - <<if $activeSlave.dickAccessory == ("chastity") || $activeSlave.dickAccessory == ("combined chastity")>> - $His slave dick is hidden by its chastity cage. - <<elseif canAchieveErection($activeSlave)>> - <<if ($activeSlave.dick > 4) && ($activeSlave.belly >= 5000)>> - $He's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if $activeSlave.bellyPreg >= 3000>>pregnant <</if>>belly. - <<elseif $activeSlave.dick > 4>> - $He's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. - <<else>> - $His erection tents the front of $his lacy g-string. - <</if>> - <<elseif ($activeSlave.dick > 0)>> - <<if $activeSlave.dick > 10>> - $His huge soft cock is allowed to dangle freely as no g-string could hope to contain it. - <<elseif $activeSlave.dick > 4>> - $His big soft cock forms a lewd mass, stuffed into $his lacy g-string. - <<else>> - $His lacy g-string perfectly conceals $his soft dick. - <</if>> - <<else>> - <<if $activeSlave.clit > 1>> - $His huge clit is quite hard, making $his shift uncomfortably as $his lacy g-string stimulates it. - <<else>> - $His lacy g-string covers $his womanhood demurely. - <</if>> - <</if>> - There is no aisle for $him to <<if $activeSlave.amp == 1>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if $activeSlave.amp == 1>>walk alongside the slave carrying<<else>>walk<</if>> $him there; this symbolizes $his submission to you - <<if $activeSlave.fetish == "mindbroken">> - despite the fact that $he had to be pushed into walking towards you. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - of $his own choice, and $he does so with a smile. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - of $his own choice, and $he does so with hesitation. - <<elseif $activeSlave.devotion < -20>> - of $his own (forced) choice, and $he does so with wavering steps. - <<else>> - of $his own choice, and $he does so willingly. - <</if>> - <br><br> - When $he's in front of you, - <<if $activeSlave.amp == 1>> - the slave carrying $his limbless torso sets $him down on the floor in front of you and props $him up so $his head is level with your crotch. - <<else>> - <<if $activeSlave.fetish == "mindbroken">> - you push $him onto $his knees so $his head - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - $he happily gets down on $his knees so $his head - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - $he slowly lowers $himself onto $his knees so $his head - <<elseif $activeSlave.devotion < -20>> - $he quickly lowers $himself onto $his knees so $his tear-streaked face - <<else>> - $he gets down on $his knees so $his head - <</if>> - <</if>> - is level with your crotch. - <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring - <<if $activeSlave.amp == 1>> - on a cord around $his neck, since $he lacks fingers to wear it on. - <<else>> - on $his <<if $activeSlave.devotion < -20 && $activeSlave.trust <= 20>>trembling <</if>>finger. - <</if>> - There is no ring for you, since this marriage does not bind you. - <br> - <<if $PC.surname && $activeSlave.slaveSurname != $PC.surname>> - <br><br><span id="surnaming"> - <<link "Give $him your surname too">> - <<replace "#surnaming">> - <<set $activeSlave.slaveSurname = $PC.surname>> - You also proclaim your new slave wife $activeSlave.slaveName $activeSlave.slaveSurname. The new Mrs. $activeSlave.slaveSurname hears this, of course, and - <<if $activeSlave.fetish == "mindbroken">> - shows no reaction. Like many things, names mean nothing to $him now. Your guests, on the other hand, appreciate the gift. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - breaks down again. Not only is $he to be blessed with your child, but $he's to take your surname as well. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - scoffs audibly. Just another burden for $him to carry; like the child soon to be growing in $his womb. - <<elseif $activeSlave.devotion < -20>> - breaks down again. Not only are you binding $him to you with your child, but with your name as well. - <<else>> - nods acceptingly. Your will is $his will, after all. - <</if>> - <</replace>> - <</link>> - </span> - <</if>> - <br><br> - <<if $activeSlave.fetish == "mindbroken">> - $activeSlave.slaveName is mindbroken, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He follows your motions like a ragdoll. You maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>. Then you pull $his knees up to give your guests a good view as you fuck $his fertile <<if $activeSlave.mpreg == 1>>asshole<<else>>cunt<</if>>. $He is left to face them, staring off into space. Though $he faces the crowd, $his mind is empty; this might as well be any other fucking to $him. $He twitches ever so slightly when your seed flows into $him, orgasming robotically to @@.green;applause from your guests.@@ You'll fuck $him repeatedly over the next few days, ensuring impregnation. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - Then, you <<if $activeSlave.amp == 1>>gather $him up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take $his hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. $He is left to face your guests, watching raptly as you fuck $his fertile <<if $activeSlave.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it's @@.mediumaquamarine;concrete proof that $he's special to you.@@ $He gasps when your seed flows into $him, orgasming $himself to @@.green;applause from your guests.@@ You'll fuck $him repeatedly over the next few days, ensuring impregnation. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - $activeSlave.slaveName is unwilling, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and tear up in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if $activeSlave.amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if $activeSlave.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, faking an orgasm to @@.green;applause from your guests.@@ At this, $he shoots you a dirty look, blaming you for this indignity. You'll fuck $him repeatedly over the next few days, ensuring impregnation, despite $his efforts to defy you. - <<elseif $activeSlave.devotion < -20>> - $activeSlave.slaveName is unwilling, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and sob loudly in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if $activeSlave.amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if $activeSlave.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, orgasming unwillingly @@.green;applause from your guests.@@ At this, $he completely breaks down, blubbering like a child at the unwelcome warmth in $his lower belly. You'll fuck $him repeatedly over the next few days, ensuring impregnation, despite $his protesting. - <<else>> - $activeSlave.slaveName isn't particularly excited about what's coming, but $he's fully prepared for it and accepted it as a fact of life. There are worse things one can be than the slave-wife of a wealthy arcology owner. You <<if $activeSlave.amp == 1>>gather $him up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take $his hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it is what it is. $He gasps when your seed flows into $him, orgasming shortly after to @@.green;applause from your guests.@@ You'll fuck $him repeatedly over the next few days, ensuring impregnation. - <</if>> - <<set $activeSlave.preg = 1, $activeSlave.pregKnown = 1, $activeSlave.pregWeek = 1>> - <<set $activeSlave.pregType = setPregType($activeSlave)>> - <<set WombImpregnate($activeSlave, $activeSlave.pregType, -1, $activeSlave.preg)>> - <<set $activeSlave.pregSource = -1>> - <<if ($activeSlave.vagina == 0) || ($activeSlave.mpreg == 1 && $activeSlave.anus == 0)>> - Naturally, the ceremony @@.lime;took $his virginity;@@ - <<if $activeSlave.fetish == "mindbroken">> - $he didn't notice. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - $he was so happy @@.hotpink;$his first time was with you and so special.@@ - <<set $activeSlave.devotion += 5>> - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - $he was @@.mediumorchid;saving that for someone special.@@ - <<set $activeSlave.devotion -= 5>> - <<elseif $activeSlave.devotion < -20>> - $he wept at the sight of cum pooling from $his @@.mediumorchid;defiled <<if $activeSlave.mpreg == 1>>asshole<<else>>pussy<</if>>.@@ - <<set $activeSlave.devotion -= 10>> - <<else>> - you made it @@.hotpink;enjoyable@@ at least. - <<set $activeSlave.devotion += 2>> - <</if>> - <<if $activeSlave.mpreg == 1>><<set $activeSlave.anus = 1>><<else>><<set $activeSlave.vagina = 1>><</if>> - <</if>> - <<if ($activeSlave.fetish == "pregnancy") && ($activeSlave.fetishStrength > 60)>> - <<if $activeSlave.fetish == "mindbroken">> - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - As a pregnancy fetishist, @@.hotpink;$he confidently believes this wedding will be the high point of $his life.@@ - <<set $activeSlave.devotion += 20>> - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - As a hateful pregnancy fetishist, @@.hotpink;getting pregnant was the best part of the ceremony.@@ - <<set $activeSlave.devotion += 1>> - <<elseif $activeSlave.devotion < -20>> - As a pregnancy fetishist, getting raped pregnant by someone $he hates leaves $him with very mixed feelings. - <<else>> - As a pregnancy fetishist, @@.hotpink;$he thoroughly enjoyed getting knocked up in such an ostentatious fashion.@@ - <<set $activeSlave.devotion += 10>> - <</if>> - <</if>> - <<if $activeSlave.relationship != 0>> - <<if $activeSlave.devotion+$activeSlave.trust >= 175>> - <<if $activeSlave.relationship > 0>> - $His <<if $activeSlave.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $activeSlave.relationship > 2>>ex<<else>>companion<</if>>'s future. - <<if $activeSlave.relationship == 4>> - <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> - <<elseif $activeSlave.relationship == 3>> - <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> - <<else>> - <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> - <</if>> - <</if>> - <<elseif $activeSlave.devotion < -20>> - <<if $activeSlave.relationship == -1>> - $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. - <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> - <<elseif $activeSlave.relationship == 4>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. - <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> - <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> - <<elseif $activeSlave.relationship == 3>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. - <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> - <<set $activeSlave.devotion -= 50, $activeSlave.trust -= 30>> - <<elseif $activeSlave.relationship > 0>> - Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. - <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> - <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> - <</if>> - <<else>> - <<if $activeSlave.relationship == -1>> - $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. - <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> - <<elseif $activeSlave.relationship == 4>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. - <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> - <<set $activeSlave.devotion -= 30, $activeSlave.trust -= 20>> - <<elseif $activeSlave.relationship == 3>> - Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. - <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> - <<set $activeSlave.devotion -= 15, $activeSlave.trust -= 10>> - <<elseif $activeSlave.relationship > 0>> - Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. - <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> - <<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>> - <</if>> - <</if>> - <</if>> - <<set $activeSlave.relationship = -3>> - <<if $activeSlave.mpreg == 1>><<set $activeSlave.analCount += 1, $analTotal += 1>><<else>><<set $activeSlave.vaginalCount += 1, $vaginalTotal += 1>><</if>> - <<set $rep += 750>> - <<if $activeSlave.fetish == "mindbroken">> - <<set $desc = "a framed shot of you impregnating the blank-faced " + $activeSlave.slaveName + " at your wedding">> - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - <<set $desc = "a framed shot of you impregnating the joyous " + $activeSlave.slaveName + " at your wedding">> - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - <<set $desc = "a framed shot of you forcefully impregnating the disinterested " + $activeSlave.slaveName + " at your wedding">> - <<elseif $activeSlave.devotion < -20>> - <<set $desc = "a framed shot of you forcefully impregnating the tear soaked " + $activeSlave.slaveName + " at your wedding">> - <<else>> - <<set $desc = "a framed shot of you impregnating " + $activeSlave.slaveName + " at your wedding">> - <</if>> - <<set $trinkets.push($desc)>> - <<if $arcologies[0].FSRestart != "unset" && ($activeSlave.breedingMark == 0 || $propOutcome == 0) && $eugenicsFullControl != 1>> - You have @@.red;angered@@ the Societal Elite by this public showing of everything they stand against. - <<set $failedElite += 250>> - <</if>> -<<elseif $weddingPlanned == 2>> - The ceremony to bind <<= SlaveFullName($activeSlave)>> to you as your slave wife is an all day affair. - <<if $activeSlave.fetish == "mindbroken">> - $He spent the day before resting and preparing $himself, if you can call sitting around mindlessly preparing. $He spends most of the daylong party at the center of a nonstop gangbang, occasionally moaning as more of physical reaction than anything. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter emptiness. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. - <br><br> - $He returns shortly, looking exhausted but otherwise uncaring. $He's naked still, $his skin clean and $activeSlave.skin, and is led to you for the ceremony by another slave. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He can't conceal $his tiredness, and leans against you subconsciously. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. - <br><br> - Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - $He spent the day before resting and preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, @@.green;your guests take part with enthusiasm,@@ many having brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. - <br><br> - $He returns shortly, looking exhausted but rather proud of $himself for getting through all that. $He's naked still, $his skin clean and $activeSlave.skin, and comes confidently to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well-traveled, and $his tiredness. $He does $his best to conceal how ready to sleep $he is, but $he leans against you a little. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. - <br><br> - Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - $He spent the day before resting and trying to ready $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. - <br><br> - $He returns shortly, looking exhausted and annoyed. $He's naked still, $his skin clean and $activeSlave.skin, and comes reluctantly to stand by you for the ceremony, glaring at you the whole time. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness and look stronger than $he is, choosing to struggle to stand instead of leaning against you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. - <br><br> - Once the ceremony is complete, you scoop up your new, protesting, slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. $He squirms slightly in $his sleep to the unwelcome feeling of your arm around $him. - <<elseif $activeSlave.devotion < -20>> - $He spent the day before resting and crying to $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. - <br><br> - $He returns shortly, looking exhausted and depressed. $He's naked still, $his skin clean and $activeSlave.skin, and comes reluctantly to stand by you for the ceremony, just wanting it to be over. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness out of fear of punishment, and $he leans against you for support despite $his feelings on the wedding and you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. - <br><br> - Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. - <<else>> - $He spent the day before resting and reluctantly preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, moaning and wincing as $he takes cock after cock. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's lack of passion. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. - <br><br> - $He returns shortly, looking exhausted. $He's naked still, $his skin clean and $activeSlave.skin, and comes to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal it, leaning against you despite the lack of love between you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. - <br><br> - Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against you, so tired that $he's grateful for the break from standing. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. - <</if>> - <br> - <<if $PC.surname && $activeSlave.slaveSurname != $PC.surname>> - <br><br><span id="surnaming"> - <<link "Give $him your surname as well">> - <<replace "#surnaming">> - <<set $activeSlave.slaveSurname = $PC.surname>> - You also proclaim your new slave wife $activeSlave.slaveName $activeSlave.slaveSurname. The new Mrs. $activeSlave.slaveSurname hears this, of course, and - <<if $activeSlave.fetish == "mindbroken">> - shows no reaction. Like many things, names mean nothing to $him now. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - breaks down again. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - scoffs audibly. - <<elseif $activeSlave.devotion < -20>> - breaks down again. - <<else>> - nods acceptingly. - <</if>> - <</replace>> - <</link>> - </span> - <</if>> - - <<if ndef $activeSlave.publicCount>> - <<set $activeSlave.publicCount = 0>> - <</if>> - <<if $activeSlave.vagina > 0>> - <<set $activeSlave.vaginalCount += 50>> - <<set $vaginalTotal += 50>> - <<set $activeSlave.publicCount += 50>> - <</if>> - <<if $activeSlave.anus < 3>> - <<set $activeSlave.anus += 1>> - You can feel $his ass, still somewhat gaped from its ordeal. It's been @@.lime;loosened@@ by $his wedding party. - <</if>> - <<if $activeSlave.relationship != 0>> - <<if $activeSlave.devotion+$activeSlave.trust >= 175>> - <<if $activeSlave.relationship > 0>> - $His <<if $activeSlave.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $activeSlave.relationship > 2>>love<<else>>companion<</if>>'s future. - <<if $activeSlave.relationship == 4>> - <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> - <<elseif $activeSlave.relationship == 3>> - <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> - <<else>> - <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> - <</if>> - <<elseif $activeSlave.relationship == -2>> - $He feels like $he betrayed you by getting fucked by so many others and struggles to convince $himself it was what you wanted. - <<elseif $activeSlave.relationship == -1>> - Judging by the smile on $his sleeping face, today may have been the @@.hotpink;best day of $his life.@@ - <<set $activeSlave.devotion = 100, $activeSlave.trust = 100>> - <</if>> - <<elseif $activeSlave.devotion < -20>> - <<if $activeSlave.relationship == -1>> - $He @@.mediumorchid;hates@@ that $he has to be yours only after such a thrilling orgy and @@.gold;fears@@ what will happen if $he strays. - <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> - <<elseif $activeSlave.relationship == 4>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked by so many others. - <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> - <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> - <<elseif $activeSlave.relationship == 3>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. - <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> - <<set $activeSlave.devotion -= 50, $activeSlave.trust -= 30>> - <<elseif $activeSlave.relationship > 0>> - Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. - <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> - <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> - <</if>> - <<else>> - <<if $activeSlave.relationship == -1>> - $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays, especially after such a lovely orgy. - <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> - <<elseif $activeSlave.relationship == 4>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. - <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> - <<set $activeSlave.devotion -= 30, $activeSlave.trust -= 20>> - <<elseif $activeSlave.relationship == 3>> - Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;resentful@@ that you'd treat such a catch that way. - <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> - <<set $activeSlave.devotion -= 15, $activeSlave.trust -= 10>> - <<elseif $activeSlave.relationship > 0>> - Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. - <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> - <<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>> - <</if>> - <</if>> - <</if>> - <<set $activeSlave.relationship = -3>> - <<set $activeSlave.oralCount += 50>> - <<set $oralTotal += 50>> - <<set $activeSlave.analCount += 50>> - <<set $analTotal += 50>> - <<set $activeSlave.publicCount += 100>> - <<if canGetPregnant($activeSlave) && $activeSlave.eggType == "human">> - <<= knockMeUp($activeSlave, 20, 2, -2)>> - <</if>> - <<set $rep += 1000>> - <<if $activeSlave.fetish == "mindbroken">> - <<set $desc = "a framed shot of the broken " + $activeSlave.slaveName + " getting gangbanged at your wedding">> - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - <<set $desc = "a framed shot of the tear and cum soaked " + $activeSlave.slaveName + " getting gangbanged at your wedding">> - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - <<set $desc = "a framed shot of the glowering " + $activeSlave.slaveName + " getting gangbanged at your wedding">> - <<elseif $activeSlave.devotion < -20>> - <<set $desc = "a framed shot of " + $activeSlave.slaveName + " getting gangbanged and weeping at your wedding">> - <<else>> - <<set $desc = "a framed shot of " + $activeSlave.slaveName + " getting gangbanged at your wedding">> - <</if>> - <<set $trinkets.push($desc)>> +<<if _ML == 1>> + <<include "SE wedding single">> +<<elseif _ML == 2>> + <<include "SE wedding double">> +<<elseif _ML >= 3>> + <<include "SE wedding triple">> <<else>> - The ceremony to bind <<= SlaveFullName($activeSlave)>> to you as your slave wife is a polite affair which you host in the lower floor of your penthouse. All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering. - <br><br> - $activeSlave.slaveName appears after everyone has had a chance to socialize,<<if ($activeSlave.amp == 1)>> carried by another slave since $he's a quadruple amputee and $he cannot walk,<</if>> wearing beautiful bridal lingerie in - <<if ($activeSlave.vagina == 0)>> - white, since $he's a virgin. - <<elseif ($activeSlave.pregKnown == 1)>> - light pink, since $he's pregnant. - <<elseif ($activeSlave.vagina < 0) && ($activeSlave.anus == 0)>> - white, since $he's an anal virgin. - <<elseif ($activeSlave.vagina < 0) && ($activeSlave.boobs > 500)>> - electric blue, since $he's a shemale. - <<elseif ($activeSlave.vagina < 0)>> - pale blue, since $he's a sissy slave. - <<elseif ($activeSlave.dick > 0)>> - hot pink, since $he's a futa slave. - <<else>> - light pink, since $he's an experienced sex slave. - <</if>> - A filmy veil covers $his head and shoulders. $His lacy bridal bra - <<if ($activeSlave.boobs > 4000)>> - is a marvel of engineering, discreetly reinforced to support $his gigantic udders. - <<elseif ($activeSlave.boobs > 1200)>> - just barely restrains $his huge boobs, leaving the tops of $his areolae visible. - <<elseif ($activeSlave.boobs > 400)>> - flatters $his pretty breasts. - <<else>> - flatters $his pretty chest. - <</if>> - <<if $activeSlave.bellyPreg >= 600000>> - $His expansive, squirming pregnant belly makes $his bridal wear particularly obscene. - <<elseif ($activeSlave.bellyPreg >= 1500)>> - $His _belly pregnant belly protrudes out the front of $his bridal wear. - <<elseif ($activeSlave.bellyImplant >= 1500)>> - $His _belly <<print $activeSlave.bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear. - <<elseif ($activeSlave.bellyFluid >= 10000)>> - $His hugely bloated, <<print $activeSlave.inflationType>>-filled belly protrudes out the front of $his bridal wear. - <<elseif ($activeSlave.bellyFluid >= 5000)>> - $His bloated, <<print $activeSlave.inflationType>>-stuffed belly protrudes out the front of $his bridal wear. - <<elseif ($activeSlave.bellyFluid >= 1500)>> - $His distended, <<print $activeSlave.inflationType>>-belly protrudes out the front of $his bridal wear. - <</if>> - <<if $activeSlave.dickAccessory == ("chastity") || $activeSlave.dickAccessory == ("combined chastity")>> - $His slave dick is hidden by its chastity cage. - <<elseif canAchieveErection($activeSlave)>> - <<if ($activeSlave.dick > 4) && ($activeSlave.belly >= 5000)>> - $He's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if $activeSlave.bellyPreg >= 3000>>pregnant <</if>>belly. - <<elseif $activeSlave.dick > 4>> - $He's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. - <<else>> - $His erection tents the front of $his lacy g-string. - <</if>> - <<elseif ($activeSlave.dick > 0)>> - <<if $activeSlave.dick > 10>> - $His huge soft cock is allowed to dangle freely as no g-string could hope to contain it. - <<elseif $activeSlave.dick > 4>> - $His big soft cock forms a lewd mass, stuffed into $his lacy g-string. - <<else>> - $His lacy g-string perfectly conceals $his soft dick. - <</if>> - <<else>> - <<if $activeSlave.clit > 1>> - $His huge clit is quite hard, making $him shift uncomfortably as $his lacy g-string stimulates it. - <<else>> - $His lacy g-string covers $his womanhood demurely. - <</if>> - <</if>> - There is no aisle for $him to <<if $activeSlave.amp == 1>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if $activeSlave.amp == 1>>walk alongside the slave carrying<<else>>walk<</if>> $him there; this symbolizes $his submission to you - <<if $activeSlave.fetish == "mindbroken">> - despite the fact that $he had to be pushed into walking towards you. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - of $his own choice, and $he does so with a smile. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - of $his own choice, and $he does so with hesitation. - <<elseif $activeSlave.devotion < -20>> - of $his own (forced) choice, and $he does so with wavering steps. - <<else>> - of $his own choice, and $he does so willingly. - <</if>> - <br><br> - When $he's in front of you, <<if $activeSlave.amp == 1>>the slave carrying $his limbless torso sets $him down on the floor in front of you and props $him up so $his head is level with your crotch<<else>>$he gets down on $his knees so $his head is level with your crotch<</if>>. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. - <br> - <<if $PC.surname && $activeSlave.slaveSurname != $PC.surname>> - <br><br><span id="surnaming"> - <<link "Give $him your surname">> - <<replace "#surnaming">> - <<set $activeSlave.slaveSurname = $PC.surname>> - You also proclaim your new slave wife $activeSlave.slaveName $activeSlave.slaveSurname. The new Mrs. $activeSlave.slaveSurname hears this, of course, and - <<if $activeSlave.fetish == "mindbroken">> - shows no reaction. Like many things, names mean nothing to $him now. Your guests, on the other hand, appreciate the gift. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - breaks down again; it's like a dream come true. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - scoffs audibly; just another burden for $him to carry. - <<elseif $activeSlave.devotion < -20>> - breaks down again; this is nothing more than another unwanted link to you. - <<else>> - nods acceptingly. Your will is $his will, after all. - <</if>> - <</replace>> - <</link>> - </span> - <</if>> - <br><br> Then, you flip $his veil over $his head so $he can <<if $PC.dick == 1>>suck your dick<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>eat you out<</if>> in front of your guests, as the ceremony requires. $He approaches $his task - <<if $activeSlave.fetish == "mindbroken">> - with robotic obedience. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He absentmindedly rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, gazing up at you with empty eyes. - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - <<if ($activeSlave.fetish == "cumslut")>>enthusiastically<<else>>with a will<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation,@@ or rather, at the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, staring up at you. - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, hate-filled eyes, blaming you for everything that has happened so far. - <<elseif $activeSlave.devotion < -20>> - with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, tear-filled eyes as if pleading for you not to do this. - <<else>> - with a will. $He approaches $his task <<if ($activeSlave.fetish == "cumslut")>>enthusiastically<<else>>obediently<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you, $his eyes unsure. - <</if>> - <<if $activeSlave.relationship != 0>> - <<if $activeSlave.devotion+$activeSlave.trust >= 175>> - <<if $activeSlave.relationship > 0>> - $His <<if $activeSlave.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $activeSlave.relationship > 2>>love<<else>>companion<</if>>'s future. - <<if $activeSlave.relationship == 4>> - <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> - <<elseif $activeSlave.relationship == 3>> - <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> - <<else>> - <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> - <</if>> - <</if>> - <<elseif $activeSlave.devotion < -20>> - <<if $activeSlave.relationship == -1>> - $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. - <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> - <<elseif $activeSlave.relationship == 4>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. - <<set $slaves[_m].devotion -= 40, $slaves[_m].trust -= 40>> - <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> - <<elseif $activeSlave.relationship == 3>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. - <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> - <<set $activeSlave.devotion -= 30, $activeSlave.trust -= 30>> - <<elseif $activeSlave.relationship > 0>> - Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. - <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> - <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> - <</if>> - <<else>> - <<if $activeSlave.relationship == -1>> - $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. - <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> - <<elseif $activeSlave.relationship == 4>> - Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. - <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> - <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> - <<elseif $activeSlave.relationship == 3>> - Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. - <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> - <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> - <<elseif $activeSlave.relationship > 0>> - Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. - <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> - <<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>> - <</if>> - <</if>> - <</if>> - <<set $activeSlave.relationship = -3>> - <<set $activeSlave.oralCount += 1>> - <<set $oralTotal += 1>> - <<set $rep += 750>> - <<if $activeSlave.fetish == "mindbroken">> - <<set $desc = "a framed shot of your uneventful wedding to the mindbroken " + $activeSlave.slaveName>> - <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> - <<set $desc = "a framed shot of your romantic wedding to the joyous " + $activeSlave.slaveName>> - <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> - <<set $desc = "a framed shot of your forced wedding to the hateful " + $activeSlave.slaveName>> - <<elseif $activeSlave.devotion < -20>> - <<set $desc = "a framed shot of your forced wedding to the weeping " + $activeSlave.slaveName>> - <<else>> - <<set $desc = "a framed shot of your wedding to " + $activeSlave.slaveName>> - <</if>> - <<set $trinkets.push($desc)>> + @@.red;Error: unknown $marrying length. Please report this.@@ <</if>> <<set $weddingPlanned = 0>> +<<set $marrying = []>> diff --git a/src/uncategorized/seWeddingDouble.tw b/src/uncategorized/seWeddingDouble.tw new file mode 100644 index 0000000000000000000000000000000000000000..05c9adf6511e2c34ded63fa3c0af0fa5dc4e7ee7 --- /dev/null +++ b/src/uncategorized/seWeddingDouble.tw @@ -0,0 +1,2480 @@ +:: SE wedding double [nobr] + +<<set _ML = $marrying.length>> +<<set _slave1 = getSlave($marrying[0])>> +<<set _slave2 = getSlave($marrying[1])>> +<<setLocalPronouns _slave1>> +<<setLocalPronouns _slave2 2>> +<<set _belly = bellyAdjective(_slave1)>> +<<set _belly2 = bellyAdjective(_slave2)>> + +<<if _slave1.slaveName == _slave2.slaveName>> +<</if>> + +<<if _slave1.relationship != 0>> + <<if _slave1.relationship > 0>> + <<if _slave1.relationshipTarget == _slave2.ID>> + In the days leading up to your wedding, _slave1.slaveName and _slave2.slaveName spent their time + <<if _slave1.relationship <= 2>> + excitedly planning together, as <<if _slave1.relationship == 2>>best<</if>> friends do. + <<else>> + having less sex and spending more time preparing for the upcoming event. + <</if>> + <<set _slave1.relationship = 0, _slave2.relationship = 0>> + <<else>> + In the days leading up to your wedding, _slave1.slaveName spent $his time + <<set _m = $slaveIndices[_slave1.relationshipTarget]>> + <<set _slave1.relationshipTarget = 0>> + <<set $slaves[_m].relationship = 0, $slaves[_m].relationshipTarget = 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship != 0>> + <<if _slave1.relationship == -1>> + vowing that $he'll be less of a slut. + <<elseif _slave1.relationship == 4>> + breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. + <<elseif _slave1.relationship == 3>> + breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. + <<elseif _slave1.relationship > 0>> + promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. + <<else>> + as close to you as $he could. + <</if>> + <</if>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + <<if _slave1.relationship == -1>> + sleeping with as many different people as $he could. + <<if !isSlaveAvailable(_slave1)>> + Or $he would have, if $he were able. + <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> + <<set _randomVag = random(30,60)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. + <<if _slave1.vagina == 0 && _slave1.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <</if>> + <<if _slave1.vagina < 4>><<set _slave1.vagina = 4>><</if>><<set _slave1.anus = 4>> + <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoVaginal(_slave1)>> + <<set _randomVag = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. + <<if _slave1.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <</if>> + <<if _slave1.vagina < 4>><<set _slave1.vagina = 4>><</if>> + <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. + <<if _slave1.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <</if>> + <<set _slave1.anus = 4>> + <<if canGetPregnant(_slave1) && (random(1,100) > 70) && _slave1.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(60,100)>> + <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave1.relationship == 4>> + fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isSlaveAvailable(_slave1)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0 && _slave1.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave1.vagina = 1, _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoVaginal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave1.vagina = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave1.relationship == 3>> + fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isAvailable(_slave1)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave1) && canDoAnal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0 && _slave1.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave1.vagina = 1, _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoVaginal(_slave1)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.vaginalCount += _randomVag, _slave1.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave1.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave1.vagina = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave1.analCount += _randomAnal, _slave1.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave1.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave1.anus = 1>> + <</if>> + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave1.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave1.relationship > 0>> + spending time away from you with $slaves[_m].slaveName. + <<else>> + inappropriately planning redecorations. + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + desperately pleading with you to change your mind. + <<elseif _slave1.relationship == 4>> + with $his love, $slaves[_m].slaveName, weeping. + <<elseif _slave1.relationship == 3>> + with $his lover, $slaves[_m].slaveName, weeping. + <<elseif _slave1.relationship > 0>> + with $his friend, $slaves[_m].slaveName, weeping. + <<else>> + desperately pleading with you to change your mind. + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + trying $his hardest to not sleep with anyone else. + <<elseif _slave1.relationship == 4>> + alongside $his love, $slaves[_m].slaveName. + <<if canDoVaginal(_slave1) && _slave1.vagina != 0>> + <<set _slave1.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _slave1.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _slave1.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave1.relationship == 3>> + alongside $his lover, $slaves[_m].slaveName. + <<if canDoVaginal(_slave1) && _slave1.vagina != 0>> + <<set _slave1.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<elseif canDoAnal(_slave1)>> + <<set _slave1.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave1, $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave1.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1, _slave1.pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, _slave1.pregSource, _slave1.preg)>> + <</if>> + <<else>> + <<set _slave1.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave1.relationship > 0>> + with $his friend, $slaves[_m].slaveName. + <<else>> + wearing a very conflicted expression. + <</if>> + + _slave2.slaveName, meanwhile, spent $his time + <<set _n = $slaveIndices[_slave2.relationshipTarget]>> + <<set _slave2.relationshipTarget = 0>> + <<set $slaves[_n].relationship = 0, $slaves[_n].relationshipTarget = 0>> + <</if>> + <<if _slave2.devotion+_slave2.trust >= 175>> + <<if _slave2.relationship != 0>> + <<if _slave2.relationship == -1>> + vowing that $he'll be less of a slut. + <<elseif _slave2.relationship == 4>> + breaking up with $his lover, $slaves[_n].slaveName, as painlessly as possible. + <<elseif _slave2.relationship == 3>> + breaking up with $his FWB, $slaves[_n].slaveName, as painlessly as possible. + <<elseif _slave2.relationship > 0>> + promising $slaves[_n].slaveName that they'll still be friends, even if they can't spend time together. + <<else>> + as close to you as $he could. + <</if>> + <</if>> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + <<if _slave2.relationship == -1>> + sleeping with as many different people as $he could. + <<if !isSlaveAvailable(_slave2)>> + Or $he would have, if $he were able. + <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> + <<set _randomVag = random(30,60)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. + <<if _slave2.vagina == 0 && _slave2.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <</if>> + <<if _slave2.vagina < 4>><<set _slave2.vagina = 4>><</if>><<set _slave2.anus = 4>> + <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoVaginal(_slave2)>> + <<set _randomVag = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. + <<if _slave2.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <</if>> + <<if _slave2.vagina < 4>><<set _slave2.vagina = 4>><</if>> + <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. + <<if _slave2.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <</if>> + <<set _slave2.anus = 4>> + <<if canGetPregnant(_slave2) && (random(1,100) > 70) && _slave2.eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(60,100)>> + <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave2.relationship == 4>> + fucking $his love, $slaves[_n].slaveName, as often as possible while ignoring you. + <<if !isSlaveAvailable(_slave2)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_n])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0 && _slave2.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave2.vagina = 1, _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoVaginal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave2.vagina = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_n].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave2.relationship == 3>> + fucking $his lover, $slaves[_n].slaveName, as often as possible while ignoring you. + <<if !isAvailable(_slave2)>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_n])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal(_slave2) && canDoAnal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0 && _slave2.anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set _slave2.vagina = 1, _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoVaginal(_slave2)>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.vaginalCount += _randomVag, _slave2.oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if _slave2.vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set _slave2.vagina = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set _slave2.analCount += _randomAnal, _slave2.oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if _slave2.anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set _slave2.anus = 1>> + <</if>> + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set _slave2.oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_n].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif _slave2.relationship > 0>> + spending time away from you with $slaves[_n].slaveName. + <<else>> + inappropriately planning redecorations. + <</if>> + <<elseif _slave2.devotion < -20>> + <<if _slave2.relationship == -1>> + desperately pleading with you to change your mind. + <<elseif _slave2.relationship == 4>> + with $his love, $slaves[_n].slaveName, weeping. + <<elseif _slave2.relationship == 3>> + with $his lover, $slaves[_n].slaveName, weeping. + <<elseif _slave2.relationship > 0>> + with $his friend, $slaves[_n].slaveName, weeping. + <<else>> + desperately pleading with you to change your mind. + <</if>> + <<else>> + <<if _slave2.relationship == -1>> + trying $his hardest to not sleep with anyone else. + <<elseif _slave2.relationship == 4>> + alongside $his love, $slaves[_n].slaveName. + <<if canDoVaginal(_slave2) && _slave2.vagina != 0>> + <<set _slave2.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _slave2.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _slave2.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_n].slaveName <<if $slaves[_n].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_n])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave2.relationship == 3>> + alongside $his lover, $slaves[_n].slaveName. + <<if canDoVaginal(_slave2) && _slave2.vagina != 0>> + <<set _slave2.vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his pussy one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<elseif canDoAnal(_slave2)>> + <<set _slave2.analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_n].slaveName enjoy $his butt one last time. + <<if canImpreg(_slave2, $slaves[_n]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals _slave2.slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1, _slave2.pregSource = $slaves[_n].ID, $slaves[_n].penetrativeCount++, $penetrativeTotal++>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, _slave2.pregSource, _slave2.preg)>> + <</if>> + <<else>> + <<set _slave2.oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_n].slaveName <<if $slaves[_n].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_n])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif _slave2.relationship > 0>> + with $his friend, $slaves[_n].slaveName. + <<else>> + wearing a very conflicted expression. + <</if>> + <</if>> + <</if>> + <</if>> +<</if>> + +<<set _pregWedding = 2>> +<<if (!isFertile(_slave1)) || ((!isFertile(_slave2))) && $weddingPlanned == 3>> + <<if (!isFertile(_slave1))>> + <<set _pregWedding = 0>> + <<else>> + <<set _pregWedding = 1>> + <</if>> + <<if (!isFertile(_slave2))>> + <<set _pregWedding = 0>> + <<else>> + <<set _pregWedding = 1>> + <</if>> +<</if>> + +<<if _pregWedding < 2>> + <<if _pregWedding == 1>>One of your<<else>>Your<</if>> slaves can no longer be impregnated as planned for the ceremony, so it has been hurriedly recast as a normal slave wedding. + <<set $weddingPlanned = 1>> + <br><br> +<</if>> + +<<if $weddingPlanned == 3>> + + The ceremony to bind <<= SlaveFullName(_slave1)>> and <<= SlaveFullName(_slave2)>> to you as your slave wives and their wombs to you as your private breeding ground is a polite affair which you host in the lower floor of your penthouse. <<if $arcologies[0].FSRestart != "unset" && (_slave1.breedingMark == 0 || $propOutcome == 0)>>Barely anyone is there, mostly lower-class citizens, several accompanied by their slaves. Many of your other slaves, that is your slaves who are not being married and fucked pregnant tonight, are present to serve your guests, but are dressed more conservatively than usual. There is a distinct air of unrest in the room, as if the absent Elites' distaste of your actions came in their place.<<else>>All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married and fucked pregnant tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering.<</if>> + <br><br> + /* good luck reading this next line */ + _slave1.slaveName and _slave2.slaveName appear after everyone has had a chance to socialize,<<if (_slave1.amp == 1)>> _slave1.slaveName <</if>><<if (_slave1.amp == 1) && (_slave2.amp == 1)>>and <<if (_slave2.amp == 1)>>_slave2.slaveName <</if>> being carried by <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>other slaves<<elseif (_slave1.amp < 1) && (_slave2.amp == 1)>>_slave1.slaveName<<elseif (_slave1.amp == 1) && (_slave2.amp < 1)>>_slave2.slaveName<</if>> since <</if>><<if (_slave1.amp == 1) && (_slave2.amp != 1)>>$he's a quadruple amputee and $he cannot walk,<<elseif (_slave1.amp == 1) && (_slave2.amp == 1)>>they're both quadruple amputees and cannot walk,<<elseif (_slave1.amp != 1) && (_slave2.amp == 1)>>_he2's a quadruple amputee and _he2 cannot walk,<</if>> wearing beautiful bridal lingerie in + + <<if (_slave1.vagina == 0 && _slave2.vagina == 0) || (_slave1.pregKnown == 1 && _slave2.pregKnown == 1) || ((_slave1.vagina < 0 && _slave1.anus == 0) && (_slave2.vagina < 0 && _slave2.anus == 0)) || ((_slave1.vagina < 0 && _slave1.boobs > 500) && (_slave2.vagina < 0 && _slave2.boobs > 500)) || (_slave1.vagina < 0 && _slave2.vagina < 0) || (_slave1.dick > 0 && _slave2.dick > 0) || ((_slave1.vagina > 0 || _slave1.anus > 0) && (_slave2.vagina > 0 || _slave2.anus > 0))>> + <<if (_slave1.vagina == 0)>> + white, since both slaves are virgins. + <<elseif (_slave1.pregKnown == 1)>> + light pink, since both slaves are pregnant. + <<elseif (_slave1.vagina < 0) && (_slave1.anus == 0)>> + white, since both slaves are anal virgins. + <<elseif (_slave1.vagina < 0) && (_slave1.boobs > 500)>> + electric blue, since both slaves are shemales. + <<elseif (_slave1.vagina < 0)>> + pale blue, since both slaves are sissies. + <<elseif (_slave1.dick > 0)>> + hot pink, since both slaves are futas. + <<else>> + light pink, since both slaves are experienced sex slaves. + <</if>> + <<else>> + <<if (_slave1.vagina == 0)>> + white, since _slave1.slaveName's a virgin + <<elseif (_slave1.pregKnown == 1)>> + light pink, since _slave1.slaveName's pregnant + <<elseif (_slave1.vagina < 0) && (_slave1.anus == 0)>> + white, since _slave1.slaveName's an anal virgin + <<elseif (_slave1.vagina < 0) && (_slave1.boobs > 500)>> + electric blue, since _slave1.slaveName's a shemale + <<elseif (_slave1.vagina < 0)>> + pale blue, since _slave1.slaveName's a sissy slave + <<elseif (_slave1.dick > 0)>> + hot pink, since _slave1.slaveName's a futa slave + <<else>> + light pink, since _slave1.slaveName's an experienced sex slave + <</if>> + and + <<if (_slave2.vagina == 0)>> + white, since _slave2.slaveName's a virgin. + <<elseif (_slave2.pregKnown == 1)>> + light pink, since _slave2.slaveName's pregnant. + <<elseif (_slave2.vagina < 0) && (_slave2.anus == 0)>> + white, since _slave2.slaveName's an anal virgin. + <<elseif (_slave2.vagina < 0) && (_slave2.boobs > 500)>> + electric blue, since _slave2.slaveName's a shemale. + <<elseif (_slave2.vagina < 0)>> + pale blue, since _slave2.slaveName's a sissy slave. + <<elseif (_slave2.dick > 0)>> + hot pink, since _slave2.slaveName's a futa slave. + <<else>> + light pink, since _slave2.slaveName's an experienced sex slave. + <</if>> + <</if>> + + A filmy veil cover their heads and shoulders, and + <<if (_slave1.boobs > 4000 && _slave2.boobs > 4000) || (_slave1.boobs > 1200 && _slave2.boobs > 1200) || (_slave1.boobs > 400 && _slave2.boobs > 400) || (_slave1.boobs <= 400 && _slave2.boobs <= 400)>> + their lacy bridal bras + <<if (_slave1.boobs > 4000)>> + are a marvel of engineering, discreetly reinforced to support their gigantic udders. + <<elseif (_slave1.boobs > 1200)>> + just barely restrain their huge boobs, leaving the tops of their areolae visible. + <<elseif (_slave1.boobs > 400)>> + flatter their pretty breasts. + <<else>> + flatter their pretty chests. + <</if>> + <<else>> + _slave1.slaveName's lacy bridal bra + <<if (_slave1.boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support $his gigantic udders, + <<elseif (_slave1.boobs > 1200)>> + just barely restrains $his huge boobs, leaving the tops of $his areolae visible, + <<elseif (_slave1.boobs > 400)>> + flatters $his pretty breasts, + <<else>> + flatters $his pretty chest, + <</if>> + while _slave2.slaveName's bra + <<if (_slave1.boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support _his2 gigantic udders. + <<elseif (_slave1.boobs > 1200)>> + just barely restrains _his2 huge boobs, leaving the tops of _his2 areolae visible. + <<elseif (_slave1.boobs > 400)>> + flatters _his2 pretty breasts. + <<else>> + flatters _his2 pretty chest. + <</if>> + <</if>> + + <<if ((_slave1.bellyPreg >= 600000) && (_slave2.bellyPreg >= 600000)) || ((_slave1.bellyPreg >= 1500) && (_slave2.bellyPreg >= 1500)) || ((_slave1.bellyImplant >= 1500) && (_slave2.bellyImplant >= 1500)) || ((_slave1.bellyFluid >= 10000) || (_slave2.bellyFluid >= 10000)) || ((_slave1.bellyFluid >= 5000) && (_slave2.bellyFluid >= 5000)) || ((_slave1.bellyFluid >= 1500) && (_slave2.bellyFluid >= 1500))>> + <<if _slave1.bellyPreg >= 600000>> + Their expansive, squirming pregnant bellies make their bridal wear particularly obscene. + <<elseif (_slave1.bellyPreg >= 1500)>> + Their _belly pregnant bellies protrude out the front of their bridal wear. + <<elseif (_slave1.bellyImplant >= 1500)>> + Their _belly <<print _slave1.bellyImplant>>cc bellies implant protrude their middle out the front of their bridal wear. + <<elseif (_slave1.bellyFluid >= 10000)>> + Their hugely bloated, <<print _slave1.inflationType>>-filled bellies protrude out the front of their bridal wear. + <<elseif (_slave1.bellyFluid >= 5000)>> + Their bloated, <<print _slave1.inflationType>>-stuffed bellies protrude out the front of their bridal wear. + <<elseif (_slave1.bellyFluid >= 1500)>> + Their distended, <<print _slave1.inflationType>>-bellies protrude out the front of their bridal wear. + <</if>> + <<else>> + <<if (_slave1.bellyPreg >= 600000) || (_slave1.bellyPreg >= 1500) || (_slave1.bellyImplant >= 1500) || (_slave1.bellyFluid >= 10000) || (_slave2.bellyFluid >= 10000) || (_slave1.bellyFluid >= 5000) || (_slave1.bellyFluid >= 1500)>> + <<set _slave1Belly = 1>> + <<if _slave1.bellyPreg >= 600000>> + _slave1.slaveName's expansive, squirming pregnant belly makes $his bridal wear particularly obscene, + <<elseif (_slave1.bellyPreg >= 1500)>> + _slave1.slaveName's _belly pregnant belly protrudes out the front of $his bridal wear, + <<elseif (_slave1.bellyImplant >= 1500)>> + _slave1.slaveName's _belly <<print _slave1.bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear, + <<elseif (_slave1.bellyFluid >= 10000)>> + _slave1.slaveName's hugely bloated, <<print _slave1.inflationType>>-filled belly protrudes out the front of $his bridal wear, + <<elseif (_slave1.bellyFluid >= 5000)>> + _slave1.slaveName's bloated, <<print _slave1.inflationType>>-stuffed belly protrudes out the front of $his bridal wear, + <<elseif (_slave1.bellyFluid >= 1500)>> + _slave1.slaveName's distended, <<print _slave1.inflationType>>-belly protrudes out the front of $his bridal wear, + <</if>> + <</if>> + <<if _slave1Belly == 1 && ((_slave2.bellyPreg >= 600000) || (_slave2.bellyPreg >= 1500) || (_slave2.bellyImplant >= 1500) || (_slave2.bellyFluid >= 10000) || (_slave2.bellyFluid >= 10000) || (_slave2.bellyFluid >= 5000) || (_slave2.bellyFluid >= 1500))>> + while + <</if>> + <<if _slave2.bellyPreg >= 600000>> + _slave2.slaveName's expansive, squirming pregnant belly makes _his2 bridal wear particularly obscene. + <<elseif (_slave2.bellyPreg >= 1500)>> + _slave2.slaveName's _belly2 pregnant belly protrudes out the front of _his2 bridal wear. + <<elseif (_slave2.bellyImplant >= 1500)>> + _slave2.slaveName's _belly2 <<print _slave2.bellyImplant>>cc belly implant protrudes _his2 middle out the front of _his2 bridal wear. + <<elseif (_slave2.bellyFluid >= 10000)>> + _slave2.slaveName's hugely bloated, <<print _slave2.inflationType>>-filled belly protrudes out the front of _his2 bridal wear. + <<elseif (_slave2.bellyFluid >= 5000)>> + _slave2.slaveName's bloated, <<print _slave2.inflationType>>-stuffed belly protrudes out the front of _his2 bridal wear. + <<elseif (_slave2.bellyFluid >= 1500)>> + _slave2.slaveName's distended, <<print _slave2.inflationType>>-belly protrudes out the front of _his2 bridal wear. + <</if>> + <</if>> + + <<if ((_slave1.dickAccessory == ("chastity") || _slave1.dickAccessory == ("combined chastity")) && (_slave2.dickAccessory == "chastity") || _slave2.dickAccessory == ("combined chastity")) || (canAchieveErection(_slave1) && canAchieveErection(_slave2)) || ((_slave1.dick > 0) && (_slave2.dick > 0)) || ((_slave1.clit > 1 && _slave2.clit > 1)) || ((_slave1.clit <= 1) && (_slave2.clit <= 1))>> + <<if _slave1.dickAccessory == ("chastity") || _slave1.dickAccessory == ("combined chastity")>> + Their slave dicks are hidden by their chastity cages. + <<elseif canAchieveErection(_slave1)>> + <<if (_slave1.dick > 4) && (_slave1.belly >= 5000)>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if _slave1.bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif _slave1.dick > 4>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + _slave1.slaveName's erection tents the front of $his lacy g-string. + <</if>> + <<elseif (_slave1.dick > 0)>> + <<if (_slave1.dick > 10) && (_slave2.dick > 10)>> + Their huge soft cocks are allowed to dangle freely as no g-string could hope to contain them. + <<elseif (_slave1.dick > 4) && (_slave2.dick > 4)>> + Their big soft cocks forms a lewd mass, stuffed into their lacy g-strings. + <<elseif (_slave1.dick <= 3) && (_slave2.dick <= 3)>> + Their lacy g-strings perfectly conceals their soft dick. + <<else>> + <<if (_slave1.dick > 10)>> + _slave1.slaveName's huge soft cock dangles free as no g-string could hope to contain it, + <<elseif (_slave1.dick > 4)>> + _slave1.slaveName's big soft cock forms a lewd mass, stuffed into $his lacy g-string, + <<else>> + _slave1.slaveName's lacy g-string perfectly conceals $his soft dick, + <</if>> + while + <<if (_slave2.dick > 10)>> + _slave2.slaveName's huge soft cock dangles free as no g-string could hope to contain it. + <<elseif (_slave2.dick > 4)>> + _slave2.slaveName's big soft cock forms a lewd mass, stuffed into _his2 lacy g-string. + <<else>> + _slave2.slaveName's lacy g-string perfectly conceals _his2 soft dick. + <</if>> + <</if>> + <<else>> + <<if _slave1.clit > 1>> + Their huge clits are quite hard, making them shift uncomfortably as their lacy g-strings stimulate them. + <<else>> + Their lacy g-strings cover their womanhoods demurely. + <</if>> + <</if>> + <<else>> + <<if _slave1.dickAccessory == ("chastity") || _slave1.dickAccessory == ("combined chastity")>> + _slave1's slave dick is hidden by its chastity cage, + <<elseif canAchieveErection(_slave1)>> + <<if (_slave1.dick > 4) && (_slave1.belly >= 5000)>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if _slave1.bellyPreg >= 3000>>pregnant <</if>>belly, + <<elseif _slave1.dick > 4>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly, + <<else>> + _slave1.slaveName's erection tents the front of $his lacy g-string, + <</if>> + <<elseif (_slave1.dick > 0)>> + <<if _slave1.dick > 10>> + _slave1.slaveName's huge soft cock is allowed to dangle freely as no g-string could hope to contain it, + <<elseif _slave1.dick > 4>> + _slave1.slaveName's big soft cock forms a lewd mass, stuffed into $his lacy g-string, + <<else>> + _slave1.slaveName's lacy g-string perfectly conceals $his soft dick, + <</if>> + <<else>> + <<if _slave1.clit > 1>> + _slave1.slaveName's huge clit is quite hard, making $his shift uncomfortably as $his lacy g-string stimulates it, + <<else>> + _slave1.slaveName's lacy g-string covers $his womanhood demurely, + <</if>> + <</if>> + whereas + <<if _slave2.dickAccessory == ("chastity") || _slave2.dickAccessory == ("combined chastity")>> + _slave2.slaveName' slave dick is hidden by its chastity cage. + <<elseif canAchieveErection(_slave2)>> + <<if (_slave2.dick > 4) && (_slave2.belly >= 5000)>> + _slave2.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly2 <<if _slave2.bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif _slave2.dick > 4>> + _slave2.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + _slave2.slaveName' erection tents the front of $his lacy g-string. + <</if>> + <<elseif (_slave2.dick > 0)>> + <<if _slave2.dick > 10>> + _slave2.slaveName' huge soft cock is allowed to dangle freely as no g-string could hope to contain it. + <<elseif _slave2.dick > 4>> + _slave2.slaveName' big soft cock forms a lewd mass, stuffed into $his lacy g-string. + <<else>> + _slave2.slaveName' lacy g-string perfectly conceals $his soft dick. + <</if>> + <<else>> + <<if _slave2.clit > 1>> + _slave2.slaveName' huge clit is quite hard, making $his shift uncomfortably as $his lacy g-string stimulates it. + <<else>> + _slave2.slaveName' lacy g-string covers $his womanhood demurely. + <</if>> + <</if>> + <</if>> + + There is no aisle for them to <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>walk alongside the slaves carrying<<else>>walk<</if>> them there; this symbolizes their submission to you + + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.fetish == "mindbroken">> + despite the fact that both slaves had to be pushed into walking towards you. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + of both slaves' own choice, and they do so with smiles. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + of both slaves' own choice, and they do so with hesitation. + <<elseif _slave1.devotion < -20>> + of both slaves' own (forced) choice, and they do so with wavering steps. + <<else>> + of both slaves' own choice, and they do so willingly. + <</if>> + <<else>> + <<if _slave1.fetish == "mindbroken">> + despite the fact that _slave1.slaveName had to be pushed into walking towards you, + <<elseif _slave1.devotion+_slave1.trust >= 175>> + of _slave1.slaveName's own choice, and $he does so with a smile, + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + of _slave1.slaveName's own choice, and $he does so with hesitation, + <<elseif _slave1.devotion < -20>> + of _slave1.slaveName's own (forced) choice, and $he does so with wavering steps, + <<else>> + of _slave1.slaveName's own choice, and $he does so willingly, + <</if>> + while _slave2.slaveName + <<if _slave2.fetish == "mindbroken">> + has to be pushed into walking towards you. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + does this of $his own choice, and $he does so with a smile. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + does this of $his own choice, and $he does so with hesitation. + <<elseif _slave2.devotion < -20>> + does this of $his own (forced) choice, and $he does so with wavering steps. + <<else>> + does this of $his own choice, and $he does so willingly. + <</if>> + <</if>> + + <br><br> + When they're in front of you, + + <<if (_slave1.amp == 1 && _slave2.amp == 1)>> + the slaves carrying their limbless torsos set them down on the floor and prop them up so their heads are level with your crotch, + <<elseif ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.fetish == "mindbroken">> + you push them onto their knees so their heads + <<elseif _slave1.devotion+_slave1.trust >= 175>> + they happily get down on their knees so their heads + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + they slowly lower themselves onto their knees so their heads + <<elseif _slave1.devotion < -20>> + they quickly lower themselves onto their knees so their tear-streaked faces + <<else>> + they get down on their knees so their heads + <</if>> + are level with your crotch. + <<else>> + <<if _slave1.amp == 1>> + the slave carrying _slave1.slaveName's limbless torso sets $him down on the floor in front of you and props $him up so $his head is level with your crotch, + <<else>> + <<if _slave1.fetish == "mindbroken">> + you push _slave1.slaveName onto $his knees so $his head + <<elseif _slave1.devotion+_slave1.trust >= 175>> + _slave1.slaveName happily gets down on $his knees so $his head + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + $he slowly lowers $himself onto $his knees so $his head + <<elseif _slave1.devotion < -20>> + $he quickly lowers $himself onto $his knees so $his tear-streaked face + <<else>> + $he gets down on $his knees so $his head + <</if>> + is level with your crotch, + <</if>> + and + <<if _slave2.amp == 1>> + the slave carrying _slave2.slaveName's limbless torso sets _him2 down on the floor in front of you and props _him2 up so _his2 head is level with your crotch. + <<else>> + <<if _slave2.fetish == "mindbroken">> + you push _him2 onto _his2 knees so _his2 head + <<elseif _slave2.devotion+_slave2.trust >= 175>> + _he2 happily gets down on _his2 knees so _his2 head + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + _he2 slowly lowers _himself2 onto _his2 knees so _his2 head + <<elseif _slave2.devotion < -20>> + _he2 quickly lowers _himself2 onto _his2 knees so _his2 tear-streaked face + <<else>> + _he2 gets down on _his2 knees so _his2 head + <</if>> + is level with your crotch. + <</if>> + <</if>> + + <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring + + <<if (_slave1.amp == 1 && _slave2.amp == 1)>> + on a cord around both of their necks, since they lack fingers to wear it on. + <<elseif (_slave1.devotion >= -20 && _slave1.trust > 20) && (_slave2.devotion >= -20 && _slave2.trust > 20)>> + on both of their middle fingers. + <<elseif (_slave1.devotion < -20 && _slave1.trust <= 20) && (_slave1.devotion < -20 && _slave1.trust <= 20)>> + on both of their trembling middle fingers. + <<else>> + <<if _slave1.amp == 1>> + on a cord around _slave1.slaveName's neck, since $he lacks fingers to wear it on + <<else>> + on _slave1.slaveName's <<if _slave1.devotion < -20 && _slave1.trust <= 20>>trembling <</if>>finger + <</if>> + and another ring + <<if _slave2.amp == 1>> + on a cord around _slave2.slaveName's neck, since $he lacks fingers to wear it on. + <<else>> + on _slave2.slaveName's <<if _slave2.devotion < -20 && _slave2.trust <= 20>>trembling <</if>>finger. + <</if>> + <</if>> + + There is no ring for you, since this marriage does not bind you. + <br> + <<if $PC.surname && _slave1.slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give them both your surname too">> + <<replace "#surnaming">> + <<set _slave1.slaveSurname = $PC.surname, _slave2.slaveSurname = $PC.surname>> + You also proclaim your new slave wives _slave1.slaveName and _slave2.slaveName $PC.surname. + The new Mrs. <<print $PC.surname>>s hear this, of course, and + <<if (_slave1.fetish == "mindbroken" && _slave2.fetish == "mindbroken") || (_slave1.devotion+_slave1.trust >= 175 && _slave2.devotion+_slave2.trust >= 175) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || (_slave1.devotion < -20 && _slave2.devotion < -20) || (_slave1.devotion >= -20 && _slave1.devotion >= -20)>> + <<if _slave1.fetish == "mindbroken">> + show no reaction. Like many things, names mean nothing to them now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + break down again. Not only are they to be blessed with your children, but they're to take your surname as well. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + scoff audibly. Just another burden for them to carry; like the child soon to be growing in their wombs. + <<elseif _slave1.devotion < -20>> + break down again. Not only are you binding them to you with your children, but with your name as well. + <<else>> + nod acceptingly. Your will is their will, after all. + <</if>> + <<else>> + <<if _slave2.fetish == "mindbroken">> + _slave1.slaveName shows no reaction. Like many things, names mean nothing to _him2 now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + _slave1.slaveName breaks down again. Not only is _he2 to be blessed with your child, but _he2's to take your surname as well. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + _slave1.slaveName scoffs audibly. Just another burden for _him2 to carry; like the child soon to be growing in _his2 womb. + <<elseif _slave2.devotion < -20>> + _slave1.slaveName breaks down again. Not only are you binding _him2 to you with your child, but with your name as well. + <<else>> + _slave1.slaveName nods acceptingly. Your will is _his2 will, after all. + <</if>> + _slave2.slaveName, meanwhile, + <<if _slave2.fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to _him2 now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + breaks down again. Not only is _he2 to be blessed with your child, but _he2's to take your surname as well. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + scoffs audibly. Just another burden for _him2 to carry; like the child soon to be growing in _his2 womb. + <<elseif _slave2.devotion < -20>> + breaks down again. Not only are you binding _him2 to you with your child, but with your name as well. + <<else>> + nods acceptingly. Your will is _his2 will, after all. + <</if>> + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + <br><br> + + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.fetish == "mindbroken">> + Both slaves are mindbroken, so you gather them up and hold them in front of you, pulling their panties off as you do. They follows your motions like ragdolls. You maneuver your dick inside _slave1.slaveName first while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>. Then you pull $his knees up to give your guests a good view as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. $He is left to face them, staring off into space. Though $he faces the crowd, $his mind is empty; this might as well be any other fucking to $him. $He twitches ever so slightly when your seed flows into $him, orgasming robotically to @@.green;applause from your guests.@@ Next, you turn your attention to _slave2.slaveName. You pull _him2 in, pushing your dick into _his2 <<if (_slave2.mpreg == 1 && _slave2.anus == 0) || (_slave2.vagina == 0)>>virgin <<elseif (_slave2.mpreg == 1 && _slave2.anus == 1) || (_slave2.vagina == 1)>>tight <</if>><<if _slave2.mpreg == 1>>asshole<<else>>cunt<</if>>. $He doesn't respond, and _his2 reaction when you fill _his2 <<if _slave2.mpreg>>ass<<else>>pussy<</if>> with more jizz to @@.green;more applause from your guests@@ is entirely mechanical. You'll fuck them repeatedly over the next few days, ensuring impregnation. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + Then, you <<if _slave1.amp == 1>>gather _slave1.slaveName up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take _slave1.slaveName's hand and pull $him to their feet while $he shimmies out of $his panties. $He cocks their hips for you and you slide your cock inside $him before taking $his knees and drawing $him up to hold $him in midair, impaled on you<</if>>. $He is left to face your guests, watching raptly as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it's @@.mediumaquamarine;concrete proof that $he's special to you.@@ $He gasps when your seed flows into $him, orgasming $himself to @@.green;applause from your guests.@@ Next, you turn your attention to _slave2.slaveName. You <<if (_slave1.amp == 1 && _slave2.amp == 1)>>also <</if>><<if _slave2.amp == 1>>pick _him2 up and <<else>>pull _him2 to _his2 feet and <</if>>pull _his2 g-string off in one swift motion, then maneuver your already-hard cock into _his2 <<if _slave2.mpreg == 1>>asshole<<else>>pussy<</if>>. You fuck _him2, hard, then fill _him2 to the brim @@.green;while your audience gives another round of applause.@@ This cemented the idea that @@.mediumaquamarine;$he's also special to you@@ in _his2 mind. You'll fuck them repeatedly over the next few days, ensuring impregnation. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + The slaves are unwilling, so you gather _slave1.slaveName up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and tear up in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if _slave1.amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, faking an orgasm to @@.green;applause from your guests.@@ At this, $he shoots you a dirty look, blaming you for this indignity. You've already moved on to _slave2.slaveName, however. _He2 had watched timidly as you had fucked _slave1.slaveName, but when you grab _him2, _he2 begins to cry softly. You ignore this, of course, and instead focus on pushing your already-hard cock into _his2 <<if _slave2.mpreg == 1>>asshole<<else>>pussy<</if>>. You can tell _he2 is trying _his2 hardest not to sob outright, and sure enough, a small sob escapes _his2 lips when you fill _him2 to the brim to the @@.green;applause of your guests.@@ You'll fuck them repeatedly over the next few days, ensuring impregnation, despite their efforts to defy you. + <<elseif _slave1.devotion < -20>> + The <<if _slave1.genes == "XX" && _slave2.genes == "XX">>girls<<else>>slaves<</if>> are unwilling, so you gather _slave1.slaveName up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and sob loudly in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if _slave1.amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, orgasming unwillingly to @@.green;applause from your guests.@@ At this, $he completely breaks down, blubbering like a child at the unwelcome warmth in $his lower belly. You then turn your attention to _slave2.slaveName. _He2 had watched timidly as you had fucked _slave1.slaveName, but when you grab _him2, _he2 begins to cry softly. You ignore this, of course, and instead focus on pushing your already-hard cock into _his2 <<if _slave2.mpreg == 1>>asshole<<else>>pussy<</if>>. You can tell _he2 is trying _his2 hardest not to sob outright, and sure enough, a small sob escapes _his2 lips when you fill _him2 to the brim to the @@.green;applause of your guests.@@ You'll fuck them repeatedly over the next few days, ensuring impregnation, despite their protesting. + <<else>> + Your wives-to-be aren't particularly excited about what's coming, but they're fully prepared for it and have accepted it as a fact of life. There are worse things one can be than the slave-wife of a wealthy arcology owner. You <<if _slave1.amp == 1>>gather _slave1.slaveName.slaveName up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take _slave1.slaveName's hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. Though $his face is towards the crowd, their mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it's just another part of being your slave. $He gasps when your seed flows into $him, orgasming shortly after to @@.green;applause from your guests.@@ Next, you turn your attention to _slave2.slaveName. You <<if (_slave1.amp == 1 && _slave2.amp == 1)>>also <</if>><<if _slave2.amp == 1>>pick _him2 up, then <<else>>pull _him2 to _his2 feet and <</if>>pull _his2 g-string off in one swift motion, then maneuver your already-hard cock into _his2 <<if _slave2.mpreg == 1>>asshole<<else>>pussy<</if>>. You fuck _him2, hard, then fill _him2 to the brim @@.green;while your audience gives another round of applause.@@ You'll fuck them repeatedly over the next few days, ensuring impregnation. + <</if>> + <<else>> + <<if _slave1.fetish == "mindbroken">> + _slave1.slaveName is mindbroken, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He follows your motions like a ragdoll. You maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>. Then you pull $his knees up to give your guests a good view as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. $He is left to face them, staring off into space. Though $he faces the crowd, $his mind is empty; this might as well be any other fucking to $him. $He twitches ever so slightly when your seed flows into $him, orgasming robotically to @@.green;applause from your guests.@@ + <<elseif _slave1.devotion+_slave1.trust >= 175>> + Then, you <<if _slave1.amp == 1>>gather $him up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take $his hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. $He is left to face your guests, watching raptly as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it's @@.mediumaquamarine;concrete proof that $he's special to you.@@ $He gasps when your seed flows into $him, orgasming $himself to @@.green;applause from your guests.@@ + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + _slave1.slaveName is unwilling, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and tear up in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if _slave1.amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, faking an orgasm to @@.green;applause from your guests.@@ At this, $he shoots you a dirty look, blaming you for this indignity. + <<elseif _slave1.devotion < -20>> + _slave1.slaveName is unwilling, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and sob loudly in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if _slave1.amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if _slave1.mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, orgasming unwillingly @@.green;applause from your guests.@@ At this, $he completely breaks down, blubbering like a child at the unwelcome warmth in $his lower belly. + <<else>> + _slave1.slaveName isn't particularly excited about what's coming, but $he's fully prepared for it and accepted it as a fact of life. There are worse things one can be than the slave-wife of a wealthy arcology owner. You <<if _slave1.amp == 1>>gather $him up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take $his hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it is what it is. $He gasps when your seed flows into $him, orgasming shortly after to @@.green;applause from your guests.@@ + <</if>> + Then, you turn your attention to _slave2.slaveName. + <<if _slave2.fetish == "mindbroken">> + _He2 is mindbroken, so you gather _him2 up and hold _him2 in front of you, pulling _his2 panties off as you do. _He2 follows your motions like a ragdoll. You maneuver your dick inside _him2 while holding _him2 against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>. Then you pull _his2 knees up to give your guests a good view as you fuck _his2 fertile <<if _slave2.mpreg == 1>>asshole<<else>>cunt<</if>>. _He2 is left to face them, staring off into space. Though _he2 faces the crowd, _his2 mind is empty; this might as well be any other fucking to _him2. _He2 twitches ever so slightly when your seed flows into _him2, orgasming robotically to @@.green;more applause from your guests.@@ + <<elseif _slave2.devotion+_slave2.trust >= 175>> + Then, you <<if _slave2.amp == 1>>gather _him2 up and hold _him2 in front of you, pulling _his2 panties off as you do. Showing considerable dexterity, you maneuver your dick inside _him2 while holding _him2 against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take _his2 hand and pull _him2 to _his2 feet while _he2 shimmies out of _his2 panties. _He2 cocks _his2 hips for you and you slide your cock inside _him2 before taking _his2 knees and drawing them up to hold _him2 in midair, impaled on you<</if>>. _He2 is left to face your guests, watching raptly as you fuck _his2 fertile <<if _slave2.mpreg == 1>>asshole<<else>>cunt<</if>>. Though _his2 face is towards the crowd, _his2 mind is concentrated on your hard cock, pumping in and out of _him2 at an angle; to _him2, it's @@.mediumaquamarine;concrete proof that _he2's special to you.@@ _He2 gasps when your seed flows into _him2, orgasming _him2self to @@.green;more applause from your guests.@@ + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + _He2 is unwilling, so you gather _him2 up and hold _him2 in front of you, pulling _his2 panties off as you do. _He2 was crying before, but this causes _him2 to tremble and tear up in anticipation of what's next. Ignoring this, you maneuver your dick inside _him2 while holding _him2 against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if _slave2.amp != 1>> Then you pull _his2 knees up to give your guests a good view of the consummation.<</if>> _He2 is left to face them, watching sullenly as you fuck _his2 fertile <<if _slave2.mpreg == 1>>asshole<<else>>cunt<</if>>. Though _his2 face is towards the crowd, _his2 mind is concentrated on your hard cock, pumping in and out of _him2 at an angle; to _him2, this is torture. _He2 gasps when your seed flows into _him2, faking an orgasm to @@.green;more applause from your guests.@@ At this, _he2 shoots you a dirty look, blaming you for this indignity. + <<elseif _slave2.devotion < -20>> + _He2 is unwilling, so you gather _him2 up and hold _him2 in front of you, pulling _his2 panties off as you do. _He2 was crying before, but this causes _him2 to tremble and sob loudly in anticipation of what's next. Ignoring this, you maneuver your dick inside _him2 while holding _him2 against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if _slave2.amp != 1>> Then you pull _his2 knees up to give your guests a good view of the consummation.<</if>> _He2 is left to face them, watching sullenly as you fuck _his2 fertile <<if _slave2.mpreg == 1>>asshole<<else>>cunt<</if>>. Though _his2 face is towards the crowd, _his2 mind is concentrated on your hard cock, pumping in and out of _him2 at an angle; to _him2, this is torture. _He2 gasps when your seed flows into _him2, orgasming unwillingly @@.green;more applause from your guests.@@ At this, _he2 completely breaks down, blubbering like a child at the unwelcome warmth in _his2 lower belly. + <<else>> + _He2 isn't particularly excited about what's coming, but _he2's fully prepared for it and accepted it as a fact of life. There are worse things one can be than the slave-wife of a wealthy arcology owner. You <<if _slave2.amp == 1>>gather _him2 up and hold _him2 in front of you, pulling _his2 panties off as you do. Showing considerable dexterity, you maneuver your dick inside _him2 while holding _him2 against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take _his2 hand and pull _him2 to _his2 feet while _he2 shimmies out of _his2 panties. _He2 cocks _his2 hips for you and you slide your cock inside _him2 before taking _his2 knees and drawing them up to hold _him2 in midair, impaled on you<</if>>. Though _his2 face is towards the crowd, _his2 mind is concentrated on your hard cock, pumping in and out of _him2 at an angle; to _him2, it is what it is. _He2 gasps when your seed flows into _him2, orgasming shortly after to @@.green;more applause from your guests.@@ + <</if>> + You'll fuck them repeatedly over the next few days, ensuring impregnation<<if (_slave1.devotion < -20) && (_slave2.devotion < -20)>>, despite their protests<<elseif _slave1.devotion < -20>>, despite _slave1.slaveName's <<if _slave1.trust > 20>>efforts to defy you<<else>>protests<</if>><<elseif _slave2.devotion < -20>>, despite _slave2.slaveName's <<if _slave2.trust > 20>>efforts to defy you<<else>>protests<</if>><</if>>. + <</if>> + <<set _slave1.preg = 1, _slave1.pregKnown = 1, _slave1.pregWeek = 1>> + <<set _slave1.pregType = setPregType(_slave1)>> + <<set WombImpregnate(_slave1, _slave1.pregType, -1, _slave1.preg)>> + <<set _slave1.pregSource = -1>> + <<set _slave2.preg = 1, _slave2.pregKnown = 1, _slave2.pregWeek = 1>> + <<set _slave2.pregType = setPregType(_slave2)>> + <<set WombImpregnate(_slave2, _slave2.pregType, -1, _slave2.preg)>> + <<set _slave2.pregSource = -1>> + <<if ((_slave1.vagina == 0) || (_slave1.mpreg == 1 && _slave1.anus == 0)) && ((_slave2.vagina == 0) || (_slave2.mpreg == 1 && _slave2.anus == 0))>> + Naturally, the ceremony @@.lime;took their virginities;@@ + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if (_slave1.fetish == "mindbroken")>> + they didn't notice. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + they were very happy @@.hotpink;their first time was with you and so special.@@ + <<set _slave1.devotion += 5, _slave2.devotion += 5>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + they were @@.mediumorchid;saving that for someone special.@@ + <<set _slave1.devotion -= 5, _slave2.devotion -= 5>> + <<elseif _slave1.devotion < -20>> + they wept at the sight of cum pooling from their @@.mediumorchid;defiled <<if _slave1.mpreg == 1>>assholes<<else>>pussies<</if>>.@@ + <<set _slave1.devotion -= 10, _slave2.devotion -= 10>> + <<else>> + they were glad you made it @@.hotpink;enjoyable@@ at least. + <<set _slave1.devotion += 2, _slave2.devotion += 2>> + <</if>> + <<else>> + <<if (_slave1.fetish == "mindbroken")>> + _slave1.slaveName didn't notice, + <<elseif _slave1.devotion+_slave1.trust >= 175>> + _slave1.slaveName was very happy @@.hotpink;$her first time was with you and so special,@@ + <<set _slave1.devotion += 5, _slave2.devotion += 5>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + _slave1.slaveName was @@.mediumorchid;saving that for someone special,@@ + <<set _slave1.devotion -= 5, _slave2.devotion -= 5>> + <<elseif _slave1.devotion < -20>> + _slave1.slaveName wept at the sight of cum pooling from $her @@.mediumorchid;defiled <<if _slave1.mpreg == 1>>asshole<<else>>pussy<</if>>,@@ + <<set _slave1.devotion -= 10, _slave2.devotion -= 10>> + <<else>> + _slave1.slaveName was glad you made it @@.hotpink;enjoyable@@ at least, + <<set _slave1.devotion += 2, _slave2.devotion += 2>> + <</if>> + while + <<if (_slave1.fetish == "mindbroken")>> + _slave1.slaveName didn't notice. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + _slave1.slaveName was very happy @@.hotpink;their first time was with you and so special.@@ + <<set _slave1.devotion += 5, _slave2.devotion += 5>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + _slave1.slaveName was @@.mediumorchid;saving that for someone special.@@ + <<set _slave1.devotion -= 5, _slave2.devotion -= 5>> + <<elseif _slave1.devotion < -20>> + _slave1.slaveName wept at the sight of cum pooling from _his2 @@.mediumorchid;defiled <<if _slave1.mpreg == 1>>asshole<<else>>pussy<</if>>.@@ + <<set _slave1.devotion -= 10, _slave2.devotion -= 10>> + <<else>> + _slave2.slaveName was glad you made it @@.hotpink;enjoyable@@ at least. + <<set _slave1.devotion += 2, _slave2.devotion += 2>> + <</if>> + <</if>> + <<if _slave1.mpreg == 1>><<set _slave1.anus = 1>><<else>><<set _slave1.vagina = 1>><</if>> + <<if _slave2.mpreg == 1>><<set _slave2.anus = 1>><<else>><<set _slave2.vagina = 1>><</if>> + <<elseif (_slave1.vagina == 0) || (_slave1.mpreg == 1 && _slave1.anus == 0)>> + Naturally, the ceremony @@.lime;took _slave1.slaveName's virginity;@@ + <<if _slave1.fetish == "mindbroken">> + $he didn't notice. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + $he was so happy @@.hotpink;$his first time was with you and so special.@@ + <<set _slave1.devotion += 5>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + $he was @@.mediumorchid;saving that for someone special.@@ + <<set _slave1.devotion -= 5>> + <<elseif _slave1.devotion < -20>> + $he wept at the sight of cum pooling from $his @@.mediumorchid;defiled <<if _slave1.mpreg == 1>>asshole<<else>>pussy<</if>>.@@ + <<set _slave1.devotion -= 10>> + <<else>> + you made it @@.hotpink;enjoyable@@ at least. + <<set _slave1.devotion += 2>> + <</if>> + <<if _slave1.mpreg == 1>><<set _slave1.anus = 1>><<else>><<set _slave1.vagina = 1>><</if>> + <<elseif (_slave2.vagina == 0) || (_slave2.mpreg == 1 && _slave2.anus == 0)>> + Naturally, the ceremony @@.lime;took _slave2.slaveName's virginity;@@ + <<if _slave2.fetish == "mindbroken">> + _he2 didn't notice. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + _he2 was so happy @@.hotpink;$his first time was with you and so special.@@ + <<set _slave2.devotion += 5>> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + _he2 was @@.mediumorchid;saving that for someone special.@@ + <<set _slave2.devotion -= 5>> + <<elseif _slave2.devotion < -20>> + _he2 wept at the sight of cum pooling from $his @@.mediumorchid;defiled <<if _slave2.mpreg == 1>>asshole<<else>>pussy<</if>>.@@ + <<set _slave2.devotion -= 10>> + <<else>> + you made it @@.hotpink;enjoyable@@ at least. + <<set _slave2.devotion += 2>> + <</if>> + <<if _slave2.mpreg == 1>><<set _slave2.anus = 1>><<else>><<set _slave2.vagina = 1>><</if>> + <</if>> + + <<if ((_slave1.fetish == "pregnancy") && (_slave1.fetishStrength > 60)) && ((_slave2.fetish == "pregnancy") && (_slave2.fetishStrength > 60))>> + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.fetish == "mindbroken">> + <<elseif _slave1.devotion+_slave1.trust >= 175>> + As pregnancy fetishists, @@.hotpink;they confidently believes this wedding will be the high point of $his life.@@ + <<set _slave1.devotion += 20>> + <<set _slave2.devotion += 20>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + As hateful pregnancy fetishists, @@.hotpink;getting pregnant was the best part of the ceremony.@@ + <<set _slave1.devotion += 1>> + <<set _slave2.devotion += 1>> + <<elseif _slave1.devotion < -20>> + As pregnancy fetishists, getting raped pregnant by someone they hate leave them with very mixed feelings. + <<else>> + As pregnancy fetishists, @@.hotpink;they thoroughly enjoyed getting knocked up in such an ostentatious fashion.@@ + <<set _slave1.devotion += 10>> + <<set _slave2.devotion += 10>> + <</if>> + <<else>> + <<if _slave1.fetish == "mindbroken">> + <<elseif _slave1.devotion+_slave1.trust >= 175>> + As a pregnancy fetishist, @@.hotpink;_slave1.slaveName confidently believes this wedding will be the high point of $his life,@@ + <<set _slave1.devotion += 20>> + <<set _slave2.devotion += 20>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + As a hateful pregnancy fetishist, @@.hotpink;getting pregnant was the best part of the ceremony,@@ + <<set _slave1.devotion += 1>> + <<set _slave2.devotion += 1>> + <<elseif _slave1.devotion < -20>> + As a pregnancy fetishist, getting raped pregnant by someone _slave1.slaveName hate leave them with very mixed feelings, + <<else>> + As a pregnancy fetishist, @@.hotpink;_slave1.slaveName thoroughly enjoyed getting knocked up in such an ostentatious fashion,@@ + <<set _slave1.devotion += 10>> + <</if>> + whereas _slave2.slaveName, + <<if _slave2.fetish == "mindbroken">> + <<elseif _slave2.devotion+_slave2.trust >= 175>> + as a pregnancy fetishist, @@.hotpink;confidently believes this wedding will be the high point of _his2 life.@@ + <<set _slave2.devotion += 20>> + <<set _slave2.devotion += 20>> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + as a hateful pregnancy fetishist, @@.hotpink;thought getting pregnant was the best part of the ceremony.@@ + <<set _slave2.devotion += 1>> + <<set _slave2.devotion += 1>> + <<elseif _slave2.devotion < -20>> + as a pregnancy fetishist, is left with very mixed feelings after being raped pregnant by someone they hate. + <<else>> + as a pregnancy fetishist, @@.hotpink;thoroughly enjoyed getting knocked up in such an ostentatious fashion.@@ + <<set _slave2.devotion += 10>> + <</if>> + <</if>> + <<elseif (_slave1.fetish == "pregnancy") && (_slave1.fetishStrength > 60)>> + <<if _slave1.fetish == "mindbroken">> + <<elseif _slave1.devotion+_slave1.trust >= 175>> + As a pregnancy fetishist, @@.hotpink;_slave1.slaveName confidently believes this wedding will be the high point of $his life.@@ + <<set _slave1.devotion += 20>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + As a hateful pregnancy fetishist, @@.hotpink;getting pregnant was the best part of the ceremony@@ for _slave1.slaveName. + <<set _slave1.devotion += 1>> + <<elseif _slave1.devotion < -20>> + As a pregnancy fetishist, getting raped pregnant by someone _slave1.slaveName hates leaves $him with very mixed feelings. + <<else>> + As a pregnancy fetishist, @@.hotpink;_slave1.slaveName thoroughly enjoyed getting knocked up in such an ostentatious fashion.@@ + <<set _slave1.devotion += 10>> + <</if>> + <<elseif (_slave2.fetish == "pregnancy") && (_slave2.fetishStrength > 60)>> + <<if _slave2.fetish == "mindbroken">> + <<elseif _slave2.devotion+_slave2.trust >= 175>> + As a pregnancy fetishist, @@.hotpink;_slave2.slaveName confidently believes this wedding will be the high point of _his2 life.@@ + <<set _slave2.devotion += 20>> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + As a hateful pregnancy fetishist, @@.hotpink;getting pregnant was the best part of the ceremony@@ for _slave2.slaveName. + <<set _slave2.devotion += 1>> + <<elseif _slave2.devotion < -20>>{} + As a pregnancy fetishist, getting raped pregnant by someone _slave2.slaveName hates leaves _him2 with very mixed feelings. + <<else>> + As a pregnancy fetishist, @@.hotpink;_slave2.slaveName thoroughly enjoyed getting knocked up in such an ostentatious fashion.@@ + <<set _slave2.devotion += 10>> + <</if>> + <</if>> + + <<if (_slave1.relationship != 0) && (_slave2.relationship != 0)>> + <<if _slave1.relationshipTarget == _slave2.ID>> + /* TODO: not sure about these */ + <<if ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.devotion+_slave1.trust >= 175>> + The fact that their relationship together now involves you @@.hotpink;excites them to no end.@@ + <<set _slave1.devotion += 10>> + <<set _slave2.devotion += 10>> + <<elseif _slave1.devotion < -20>> + The fact that you would allow them to remain together, albeit as your wives, @@.hotpink;causes them to begin to see you in a new light.@@ + <<set _slave1.devotion += 15>> + <<set _slave2.devotion += 15>> + <<elseif _slave1.devotion >= -20>> + The fact that you would allow them to remain together, albeit as your wives, has them @@.hotpink;cautiously optimistic for the future.@@ + <<set _slave1.devotion += 5>> + <<set _slave2.devotion += 5>> + <</if>> + <<else>> + _slave1.slaveName + <<if _slave1.devotion+_slave1.trust >= 175>> + is excited by the fact that their relationship now involves you, and promises to try to get _slave2.slaveName to see you the same way $he does, + <<set _slave1.devotion += 10>> + <<elseif _slave1.devotion < -20>> + is convinced this is some sort of trick, + <<elseif _slave1.devotion >= -20>> + is only @@.hotpink;cautiously optimistic for their future together,@@ + <<set _slave1.devotion += 5>> + <</if>> + while _slave2.slaveName + <<if _slave2.devotion+_slave2.trust >= 175>> + is excited by the fact that their relationship now involves you, and promises to try to get _slave1.slaveName to see you the same way _he2 does. + <<set _slave2.devotion += 10>> + <<elseif _slave2.devotion < -20>> + is convinced this is some sort of trick. + <<elseif _slave2.devotion >= -20>> + is only @@.hotpink;cautiously optimistic for their future together.@@ + <<set _slave2.devotion += 5>> + <</if>> + <</if>> + <<else>> + <<if _slave1.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>ex<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <<elseif _slave2.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>ex<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <<else>> + @@.red;Error! DCoded doesn't know to code. Please report this.@@ + <</if>> + <</if>> + <<else>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>ex<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <</if>> + <<set _slave1.relationship = -3>> + <<if _slave1.mpreg == 1>><<set _slave1.analCount += 1, $analTotal += 1>><<else>><<set _slave1.vaginalCount += 1, $vaginalTotal += 1>><</if>> + <<set $rep += 500>> + <<if _slave1.fetish == "mindbroken">> + <<set $desc = "a framed shot of you impregnating the blank-faced " + _slave1.slaveName + " at your wedding">> + <<elseif _slave1.devotion+_slave1.trust >= 175>> + <<set $desc = "a framed shot of you impregnating the joyous " + _slave1.slaveName + " at your wedding">> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + <<set $desc = "a framed shot of you forcefully impregnating the disinterested " + _slave1.slaveName + " at your wedding">> + <<elseif _slave1.devotion < -20>> + <<set $desc = "a framed shot of you forcefully impregnating the tear soaked " + _slave1.slaveName + " at your wedding">> + <<else>> + <<set $desc = "a framed shot of you impregnating " + _slave1.slaveName + " at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + <<set _slave2.relationship = -3>> + <<if _slave2.mpreg == 1>><<set _slave2.analCount += 1, $analTotal += 1>><<else>><<set _slave2.vaginalCount += 1, $vaginalTotal += 1>><</if>> + <<set $rep += 500>> + <<if _slave2.fetish == "mindbroken">> + <<set $desc = "a framed shot of you impregnating the blank-faced " + _slave2.slaveName + " at your wedding">> + <<elseif _slave2.devotion+_slave2.trust >= 175>> + <<set $desc = "a framed shot of you impregnating the joyous " + _slave2.slaveName + " at your wedding">> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + <<set $desc = "a framed shot of you forcefully impregnating the disinterested " + _slave2.slaveName + " at your wedding">> + <<elseif _slave2.devotion < -20>> + <<set $desc = "a framed shot of you forcefully impregnating the tear soaked " + _slave2.slaveName + " at your wedding">> + <<else>> + <<set $desc = "a framed shot of you impregnating " + _slave2.slaveName + " at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + <<if $arcologies[0].FSRestart != "unset" && (_slave1.breedingMark == 0 || $propOutcome == 0) && (_slave2.breedingMark == 0 || $propOutcome == 0) && $eugenicsFullControl != 1>> + You have @@.red;angered@@ the Societal Elite by this public showing of everything they stand against. + <<set $failedElite += 500>> + <<elseif $arcologies[0].FSRestart != "unset" && ((_slave1.breedingMark == 1) && (_slave2.breedingMark == 1))>> + The Societal Elite are @@.green;very pleased@@ with this public display of their values. /* TODO: not happy with this sentence */ + <</if>> + +<<elseif $weddingPlanned == 2>> + + The ceremony to bind <<= SlaveFullName(_slave1)>> and <<= SlaveFullName(_slave2)>> to you as your slave wives is an all day affair. + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.fetish == "mindbroken">> + /* TODO: rewrite for slaves that can't walk */ + They spent the day before resting and preparing themselves, if you can call sitting around mindlessly preparing. They spend most of the daylong party at the center of a nonstop gangbang, occasionally moaning as more of a physical reaction than anything. The theory is that they'll be bound to you as your slave wives from this day onward, so they must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter emptiness. Many brought their own slaves to participate, too. _slave1.slaveName and _slave2.slaveName spend hours with numerous cocks inside them, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, they are extracted and taken off to be bathed. + <br><br> + They return shortly, looking exhausted but otherwise uncaring. They're naked still, their skin clean, and are <<if _slave1.amp == 1 && _slave2.amp == 1>>carried<<else>>led<</if>> to you for the ceremony by other slaves. The only evident signs that they've had sex with more than a hundred people today is their asses, which look rather well traveled, and their tiredness. They can't conceal their tiredness, and lean against you subconsciously. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring<<if (_slave1.amp == 1 && _slave2.amp == 1)>>on a cord around both of their necks, since they lack fingers to wear it on.<<elseif (_slave1.devotion >= -20 && _slave1.trust > 20) && (_slave2.devotion >= -20 && _slave2.trust > 20)>>on both of their middle fingers.<<else>><<if _slave1.amp == 1>>on a cord around _slave1.slaveName's neck, since $he lacks fingers to wear it on<<else>>on _slave1.slaveName's finger<</if>>and another ring<<if _slave2.amp == 1>>on a cord around _slave2.slaveName's neck, since _he2 lacks fingers to wear it on.<<else>>on _slave2.slaveName's finger.<</if>><</if>> There is no ring for you, since this marriage does not bind you. + <br><br> + /* TODO: marked for rewrite */ + Once the ceremony is complete, you scoop up your new slave wives to carry them back into the master bedroom. They rest their heads against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle them in your arms, and by the time they're home, they're fast asleep. You set them gently down on the bed and curl up behind them, feeling the animal warmth of their bodies as the exhausted slaves' chest rise and fall with their breathing. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + /* TODO: rewrite for slaves that can't walk */ + They spent the day before resting and preparing themselves, and this was a necessary precaution. They spend most of the daylong party at the center of a nonstop gangbang. The theory is that they'll be bound to you as your slave wives from this day onward, so they must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, @@.green;your guests take part with enthusiasm,@@ many having brought their own slaves to participate, too. _slave1.slaveName and _slave2.slaveName spend hours with numerous cocks inside them, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, they're extracted and taken off to be bathed. + <br><br> + They return shortly, looking exhausted but rather proud of themselves for getting through all that. They're naked still, their skin clean, and <<if _slave1.amp == 1 && _slave2.amp == 1>>are carried<<else>>come confidently<</if>> to stand by you for the ceremony. The only evident signs that they've had sex with more than a hundred people today is their asses, which look rather well-traveled, and their tiredness. They do their best to conceal how ready to sleep they are, but they lean against you a little. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring<<if (_slave1.amp == 1 && _slave2.amp == 1)>>on a cord around both of their necks, since they lack fingers to wear it on.<<elseif (_slave1.devotion >= -20 && _slave1.trust > 20) && (_slave2.devotion >= -20 && _slave2.trust > 20)>>on both of their middle fingers.<<else>><<if _slave1.amp == 1>>on a cord around _slave1.slaveName's neck, since $he lacks fingers to wear it on<<else>>on _slave1.slaveName's finger<</if>>and another ring<<if _slave2.amp == 1>>on a cord around _slave2.slaveName's neck, since _he2 lacks fingers to wear it on.<<else>>on _slave2.slaveName's finger.<</if>><</if>> There is no ring for you, since this marriage does not bind you. + <br><br> + /* TODO: marked for rewrite */ + Once the ceremony is complete, you scoop up your new slave wives to carry them back into the master bedroom. They rest their heads against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle them in your arms, and by the time they're home, they're fast asleep. You set them gently down on the bed and curl up behind them, feeling the animal warmth of their bodies as the exhausted slave's chest rises and falls with their breathing. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + /* TODO: rewrite for slaves that can't walk */ + They spent the day before resting and trying to ready themselves, and this was a necessary precaution. They spend most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that they'll be bound to you as your slave wives from this day onward, so they must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. _slave1.slaveName and _slave2.slaveName spend hours with numerous cocks inside them, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, they're extracted and taken off to be bathed. + <br><br> + They return shortly, looking exhausted and annoyed. They're naked still, their skin clean, and come reluctantly to stand by you for the ceremony, glaring at you the whole time. The only evident signs that they've had sex with more than a hundred people today is their asses, which look rather well traveled, and their tiredness. They do their best to conceal their tiredness and look stronger than they are, choosing to struggle to stand instead of leaning against you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring<<if (_slave1.amp == 1 && _slave2.amp == 1)>>on a cord around both of their necks, since they lack fingers to wear it on.<<elseif (_slave1.devotion < -20 && _slave1.trust <= 20) && (_slave1.devotion < -20 && _slave1.trust <= 20)>>on both of their trembling middle fingers.<<else>><<if _slave1.amp == 1>>on a cord around _slave1.slaveName's neck, since $he lacks fingers to wear it on<<else>>on _slave1.slaveName's trembling finger<</if>>and another ring<<if _slave2.amp == 1>>on a cord around _slave2.slaveName's neck, since _he2 lacks fingers to wear it on.<<else>>on _slave2.slaveName's trembling finger.<</if>><</if>>There is no ring for you, since this marriage does not bind you. + <br><br> + /* TODO: marked for rewrite */ + Once the ceremony is complete, you scoop up your new, protesting, slave wives to carry them back into the master bedroom. They rest their heads against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time they're home, they're fast asleep. You set them gently down on the bed and curl up behind them, feeling the animal warmth of their bodies as the exhausted slaves' chest rise and fall with their breathing. They squirms slightly in their sleep to the unwelcome feeling of your arm around them. + <<elseif _slave1.devotion < -20>> + /* TODO: rewrite for slaves that can't walk */ + They spent the day before resting and crying to themselves, and this was a necessary precaution. They spend most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that they'll be bound to you as your slave wives from this day onward, so they must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. _slave1.slaveName and _slave2.slaveName spend hours with numerous cocks inside them, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, they're extracted and taken off to be bathed. + <br><br> + They return shortly, looking exhausted and depressed. They're naked still, their skin clean, and come reluctantly to stand by you for the ceremony, just wanting it to be over. The only evident signs that they've had sex with more than a hundred people today is their asses, which look rather well traveled, and their tiredness. They do their best to conceal their tiredness out of fear of punishment, and they lean against you for support despite their feelings on the wedding and you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring<<if (_slave1.amp == 1 && _slave2.amp == 1)>>on a cord around both of their necks, since they lack fingers to wear it on.<<elseif (_slave1.amp != 1) && (_slave2.amp != 1)>>on both of their trembling middle fingers.<<else>><<if _slave1.amp == 1>>on a cord around _slave1.slaveName's neck, since they lacks fingers to wear it on<<else>>on _slave1.slaveName's trembling finger<</if>>and another ring<<if _slave2.amp == 1>>on a cord around _slave2.slaveName's neck, since they lacks fingers to wear it on.<<else>>on _slave2.slaveName's trembling finger.<</if>><</if>>There is no ring for you, since this marriage does not bind you. + <br><br> + /* TODO: marked for rewrite */ + Once the ceremony is complete, you scoop up your new slave wives to carry them back into the master bedroom. They rest their head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time they're home, they're fast asleep. You set them gently down on the bed and curl up behind them, feeling the animal warmth of their bodies as the exhausted slaves' chest rise and fall with their breathing. + <<else>> + /* TODO: rewrite for slaves that can't walk */ + They spent the day before resting and reluctantly preparing themselves, and this was a necessary precaution. They spend most of the daylong party at the center of a nonstop gangbang, moaning and wincing as they takes cock after cock. The theory is that they'll be bound to you as your slave wives from this day onward, so they must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's lack of passion. Many brought their own slaves to participate, too. _slave1.slaveName and _slave2.slaveName spend hours with numerous cocks inside them, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, they're extracted and taken off to be bathed. + <br><br> + They return shortly, looking exhausted. They're naked still, their skin clean, and come to stand by you for the ceremony. The only evident signs that they've had sex with more than a hundred people today is their asses, which look rather well traveled, and their tiredness. They do their best to conceal it, leaning against you despite the lack of love between you. + /* TODO: double check the devotion requirements for this, rewrite as needed */ + <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring<<if (_slave1.amp == 1 && _slave2.amp == 1)>>on a cord around both of their necks, since they lack fingers to wear it on.<<elseif (_slave1.devotion >= -20 && _slave1.trust > 20) && (_slave2.devotion >= -20 && _slave2.trust > 20)>>on both of their middle fingers.<<elseif (_slave1.devotion < -20 && _slave1.trust <= 20) && (_slave1.devotion < -20 && _slave1.trust <= 20)>>on both of their trembling middle fingers.<<else>><<if _slave1.amp == 1>>on a cord around _slave1.slaveName's neck, since they lacks fingers to wear it on<<else>>on _slave1.slaveName's <<if _slave1.devotion < -20 && _slave1.trust <= 20>>trembling <</if>>finger<</if>>and another ring<<if _slave2.amp == 1>>on a cord around _slave2.slaveName's neck, since they lacks fingers to wear it on.<<else>>on _slave2.slaveName's <<if _slave2.devotion < -20 && _slave2.trust <= 20>>trembling <</if>>finger.<</if>><</if>>There is no ring for you, since this marriage does not bind you. + <br><br> + /* TODO: marked for rewrite */ + Once the ceremony is complete, you scoop up your new slave wives to carry them back into the master bedroom. They rest their head against you, so tired that they're grateful for the break from standing. By the time they're home, they're fast asleep. You set them gently down on the bed and curl up behind them, feeling the animal warmth of their bodies as the exhausted slaves' chest rise and fall with their breathing. + <</if>> + <<else>> + /* TODO: this section will need a major rewrite */ + <<if _slave1.fetish == "mindbroken">> + _slave1.slaveName spent the day before resting and preparing $himself, if you can call sitting around mindlessly preparing. $He spends most of the daylong party at the center of a nonstop gangbang, occasionally moaning as more of a physical reaction than anything. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter emptiness. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted but otherwise uncaring. $He's naked still, $his skin clean and _slave1.skin, and is led to you for the ceremony by another slave. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He can't conceal $his tiredness, and leans against you subconsciously. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + _slave1.slaveName spent the day before resting and preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, @@.green;your guests take part with enthusiasm,@@ many having brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted but rather proud of $himself for getting through all that. $He's naked still, $his skin clean and _slave1.skin, and comes confidently to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well-traveled, and $his tiredness. $He does $his best to conceal how ready to sleep $he is, but $he leans against you a little. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + _slave1.slaveName spent the day before resting and trying to ready $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted and annoyed. $He's naked still, $his skin clean and _slave1.skin, and comes reluctantly to stand by you for the ceremony, glaring at you the whole time. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness and look stronger than $he is, choosing to struggle to stand instead of leaning against you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new, protesting, slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. $He squirms slightly in $his sleep to the unwelcome feeling of your arm around $him. + <<elseif _slave1.devotion < -20>> + _slave1.slaveName spent the day before resting and crying to $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted and depressed. $He's naked still, $his skin clean and _slave1.skin, and comes reluctantly to stand by you for the ceremony, just wanting it to be over. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness out of fear of punishment, and $he leans against you for support despite $his feelings on the wedding and you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<else>> + _slave1.slaveName spent the day before resting and reluctantly preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, moaning and wincing as $he takes cock after cock. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's lack of passion. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted. $He's naked still, $his skin clean and _slave1.skin, and comes to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal it, leaning against you despite the lack of love between you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against you, so tired that $he's grateful for the break from standing. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <</if>> + _slave2.slaveName, meanwhile, + <<if _slave1.fetish == "mindbroken">> + spent the day before resting and preparing _himself2, if you can call sitting around mindlessly preparing. _He2 spends most of the daylong party at the center of a nonstop gangbang, occasionally moaning as more of a physical reaction than anything. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter emptiness. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + _He2 returns shortly, looking exhausted but otherwise uncaring. _He2's naked still, $his skin clean and _slave1.skin, and is led to you for the ceremony by another slave. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. _He2 can't conceal $his tiredness, and leans against you subconsciously. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. _He2 rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + spent the day before resting and preparing _himself2, and this was a necessary precaution. _He2 spends most of the daylong party at the center of a nonstop gangbang. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, @@.green;your guests take part with enthusiasm,@@ many having brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + _He2 returns shortly, looking exhausted but rather proud of _himself2 for getting through all that. _He2's naked still, $his skin clean and _slave1.skin, and comes confidently to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well-traveled, and $his tiredness. _He2 does $his best to conceal how ready to sleep $he is, but $he leans against you a little. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. _He2 rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + spent the day before resting and trying to ready _himself2, and this was a necessary precaution. _He2 spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + _He2 returns shortly, looking exhausted and annoyed. _He2's naked still, $his skin clean and _slave1.skin, and comes reluctantly to stand by you for the ceremony, glaring at you the whole time. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. _He2 does $his best to conceal $his tiredness and look stronger than $he is, choosing to struggle to stand instead of leaning against you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new, protesting, slave wife to carry $him back into the master bedroom. _He2 rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. _He2 squirms slightly in $his sleep to the unwelcome feeling of your arm around $him. + <<elseif _slave1.devotion < -20>> + spent the day before resting and crying to _himself2, and this was a necessary precaution. _He2 spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + _He2 returns shortly, looking exhausted and depressed. _He2's naked still, $his skin clean and _slave1.skin, and comes reluctantly to stand by you for the ceremony, just wanting it to be over. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. _He2 does $his best to conceal $his tiredness out of fear of punishment, and $he leans against you for support despite $his feelings on the wedding and you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. _He2 rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<else>> + spent the day before resting and reluctantly preparing _himself2, and this was a necessary precaution. _He2 spends most of the daylong party at the center of a nonstop gangbang, moaning and wincing as $he takes cock after cock. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's lack of passion. Many brought their own slaves to participate, too. _slave1.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + _He2 returns shortly, looking exhausted. _He2's naked still, $his skin clean and _slave1.skin, and comes to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. _He2 does $his best to conceal it, leaning against you despite the lack of love between you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if _slave1.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. _He2 rests $his head against you, so tired that $he's grateful for the break from standing. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <</if>> + <</if>> + <br> + <<if $PC.surname && _slave1.slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give them both your surname too">> + <<replace "#surnaming">> + <<set _slave1.slaveSurname = $PC.surname, _slave2.slaveSurname = $PC.surname>> + You also proclaim your new slave wives _slave1.slaveName and _slave2.slaveName $PC.surname. + The new Mrs. <<print $PC.surname>>s hear this, of course, and + <<if (_slave1.fetish == "mindbroken" && _slave2.fetish == "mindbroken") || (_slave1.devotion+_slave1.trust >= 175 && _slave2.devotion+_slave2.trust >= 175) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || (_slave1.devotion < -20 && _slave2.devotion < -20)>> + <<if _slave1.fetish == "mindbroken">> + show no reaction. Like many things, names mean nothing to them now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + break down again. Not only are they to be blessed with your children, but they're to take your surname as well. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + scoff audibly. Just another burden for them to carry; like the child soon to be growing in their wombs. + <<elseif _slave1.devotion < -20>> + break down again. Not only are you binding them to you with your children, but with your name as well. + <<else>> + nod acceptingly. Your will is their will, after all. + <</if>> + <<else>> + <<if _slave2.fetish == "mindbroken">> + _slave1.slaveName shows no reaction. Like many things, names mean nothing to _him2 now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + _slave1.slaveName breaks down again. Not only is _he2 to be blessed with your child, but _he2's to take your surname as well. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + _slave1.slaveName scoffs audibly. Just another burden for _him2 to carry; like the child soon to be growing in _his2 womb. + <<elseif _slave2.devotion < -20>> + _slave1.slaveName breaks down again. Not only are you binding _him2 to you with your child, but with your name as well. + <<else>> + _slave1.slaveName nods acceptingly. Your will is _his2 will, after all. + <</if>> + _slave2.slaveName, meanwhile, + <<if _slave2.fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to _him2 now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + breaks down again. Not only is _he2 to be blessed with your child, but _he2's to take your surname as well. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + scoffs audibly. Just another burden for _him2 to carry; like the child soon to be growing in _his2 womb. + <<elseif _slave2.devotion < -20>> + breaks down again. Not only are you binding _him2 to you with your child, but with your name as well. + <<else>> + nods acceptingly. Your will is _his2 will, after all. + <</if>> + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + <br><br> + <<if ndef _slave1.publicCount>> + <<set _slave1.publicCount = 0>> + <</if>> + <<if ndef _slave2.publicCount>> + <<set _slave2.publicCount = 0>> + <</if>> + <<if _slave1.vagina > 0>> + <<set _slave1.vaginalCount += 50>> + <<set $vaginalTotal += 50>> + <<set _slave1.publicCount += 50>> + <</if>> + <<if _slave2.vagina > 0>> + <<set _slave2.vaginalCount += 50>> + <<set $vaginalTotal += 50>> + <<set _slave2.publicCount += 50>> + <</if>> + <<if (_slave1.anus < 3) && (_slave2.anus < 3)>> + You can feel their asses, still somewhat gaped from their ordeals. They've been @@.lime;loosened@@ by their wedding party. + <<else>> + <<if _slave1.anus < 3>> + <<set _slave1.anus += 1>> + You can feel $his ass, still somewhat gaped from its ordeal. It's been @@.lime;loosened@@ by $his wedding party. + <</if>> + <<if _slave2.anus < 3>> + <<set _slave2.anus += 1>> + You can feel $his ass, still somewhat gaped from its ordeal. It's been @@.lime;loosened@@ by $his wedding party. + <</if>> + <</if>> + + <<if (_slave1.relationship != 0) && (_slave2.relationship != 0)>> + <<if _slave1.relationshipTarget == _slave2.ID>> + /* TODO: not sure about these */ + <<if ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.devotion+_slave1.trust >= 175>> + The fact that their relationship together now involves you @@.hotpink;excites them to no end.@@ + <<set _slave1.devotion += 10>> + <<set _slave2.devotion += 10>> + <<elseif _slave1.devotion < -20>> + The fact that you would allow them to remain together, albeit as your wives, @@.hotpink;causes them to begin to see you in a new light.@@ + <<set _slave1.devotion += 15>> + <<set _slave2.devotion += 15>> + <<elseif _slave1.devotion >= -20>> + The fact that you would allow them to remain together, albeit as your wives, has them @@.hotpink;cautiously optimistic for the future.@@ + <<set _slave1.devotion += 5>> + <<set _slave2.devotion += 5>> + <</if>> + <<else>> + _slave1.slaveName + <<if _slave1.devotion+_slave1.trust >= 175>> + is excited by the fact that their relationship now involves you, and promises to try to get _slave2.slaveName to see you the same way $he does, + <<set _slave1.devotion += 10>> + <<elseif _slave1.devotion < -20>> + is convinced this is some sort of trick, + <<elseif _slave1.devotion >= -20>> + is only @@.hotpink;cautiously optimistic for their future together,@@ + <<set _slave1.devotion += 5>> + <</if>> + while _slave2.slaveName + <<if _slave2.devotion+_slave2.trust >= 175>> + is excited by the fact that their relationship now involves you, and promises to try to get _slave1.slaveName to see you the same way _he2 does. + <<set _slave2.devotion += 10>> + <<elseif _slave2.devotion < -20>> + is convinced this is some sort of trick. + <<elseif _slave2.devotion >= -20>> + is only @@.hotpink;cautiously optimistic for their future together.@@ + <<set _slave2.devotion += 5>> + <</if>> + <</if>> + <<else>> + <<if _slave1.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>ex<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <<elseif _slave2.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>ex<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <<else>> + @@.red;Error! DCoded doesn't know to code. Please report this.@@ + <</if>> + <</if>> + <<else>> + <<if _slave1.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <<elseif _slave1.relationship == -2>> + $He feels like $he betrayed you by getting fucked by so many others and struggles to convince $himself it was what you wanted. + <<elseif _slave1.relationship == -1>> + Judging by the smile on $his sleeping face, today may have been the @@.hotpink;best day of $his life.@@ + <<set _slave1.devotion = 100, _slave1.trust = 100>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only after such a thrilling orgy and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays, especially after such a lovely orgy. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;resentful@@ that you'd treat such a catch that way. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <</if>> + <<else>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <<elseif _slave1.relationship == -2>> + $He feels like $he betrayed you by getting fucked by so many others and struggles to convince $himself it was what you wanted. + <<elseif _slave1.relationship == -1>> + Judging by the smile on $his sleeping face, today may have been the @@.hotpink;best day of $his life.@@ + <<set _slave1.devotion = 100, _slave1.trust = 100>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only after such a thrilling orgy and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 50, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays, especially after such a lovely orgy. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 30, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;resentful@@ that you'd treat such a catch that way. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 15, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <</if>> + + <<set _slave1.relationship = -3>> + <<set _slave1.oralCount += 50>> + <<set $oralTotal += 50>> + <<set _slave1.analCount += 50>> + <<set $analTotal += 50>> + <<set _slave1.publicCount += 100>> + <<if canGetPregnant(_slave1) && _slave1.eggType == "human">> + <<= knockMeUp(_slave1, 20, 2, -2)>> + <</if>> + <<set $rep += 1000>> + <<if _slave1.fetish == "mindbroken">> + <<set $desc = "a framed shot of the broken " + _slave1.slaveName + " getting gangbanged at your wedding">> + <<elseif _slave1.devotion+_slave1.trust >= 175>> + <<set $desc = "a framed shot of the tear and cum soaked " + _slave1.slaveName + " getting gangbanged at your wedding">> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + <<set $desc = "a framed shot of the glowering " + _slave1.slaveName + " getting gangbanged at your wedding">> + <<elseif _slave1.devotion < -20>> + <<set $desc = "a framed shot of " + _slave1.slaveName + " getting gangbanged and weeping at your wedding">> + <<else>> + <<set $desc = "a framed shot of " + _slave1.slaveName + " getting gangbanged at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + + <<set _slave2.relationship = -3>> + <<set _slave2.oralCount += 50>> + <<set $oralTotal += 50>> + <<set _slave2.analCount += 50>> + <<set $analTotal += 50>> + <<set _slave2.publicCount += 100>> + <<if canGetPregnant(_slave2) && _slave2.eggType == "human">> + <<= knockMeUp(_slave2, 20, 2, -2)>> + <</if>> + <<set $rep += 1000>> + <<if _slave2.fetish == "mindbroken">> + <<set $desc = "a framed shot of the broken " + _slave2.slaveName + " getting gangbanged at your wedding">> + <<elseif _slave2.devotion+_slave2.trust >= 175>> + <<set $desc = "a framed shot of the tear and cum soaked " + _slave2.slaveName + " getting gangbanged at your wedding">> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + <<set $desc = "a framed shot of the glowering " + _slave2.slaveName + " getting gangbanged at your wedding">> + <<elseif _slave2.devotion < -20>> + <<set $desc = "a framed shot of " + _slave2.slaveName + " getting gangbanged and weeping at your wedding">> + <<else>> + <<set $desc = "a framed shot of " + _slave2.slaveName + " getting gangbanged at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + +<<else>> + + The ceremony to bind <<= SlaveFullName(_slave1)>> and <<= SlaveFullName(_slave2)>> to you as your slave wives is a polite affair which you host in the lower floor of your penthouse. All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering. + <br><br> + /* holy hell is the next line a mess */ + /* good luck reading this next line */ + _slave1.slaveName and _slave2.slaveName appear after everyone has had a chance to socialize,<<if (_slave1.amp == 1)>> _slave1.slaveName <</if>><<if (_slave1.amp == 1) && (_slave2.amp == 1)>>and <<if (_slave2.amp == 1)>>_slave2.slaveName <</if>> being carried by <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>other slaves<<elseif (_slave1.amp < 1) && (_slave2.amp == 1)>>_slave1.slaveName<<elseif (_slave1.amp == 1) && (_slave2.amp < 1)>>_slave2.slaveName<</if>> since <</if>><<if (_slave1.amp == 1) && (_slave2.amp != 1)>>$he's a quadruple amputee and $he cannot walk,<<elseif (_slave1.amp == 1) && (_slave2.amp == 1)>>they're both quadruple amputees and cannot walk,<<elseif (_slave1.amp != 1) && (_slave2.amp == 1)>>_he2's a quadruple amputee and _he2 cannot walk,<</if>> wearing beautiful bridal lingerie in + + <<if (_slave1.vagina == 0 && _slave2.vagina == 0) || (_slave1.pregKnown == 1 && _slave2.pregKnown == 1) || ((_slave1.vagina < 0 && _slave1.anus == 0) && (_slave2.vagina < 0 && _slave2.anus == 0)) || ((_slave1.vagina < 0 && _slave1.boobs > 500) && (_slave2.vagina < 0 && _slave2.boobs > 500)) || (_slave1.vagina < 0 && _slave2.vagina < 0) || (_slave1.dick > 0 && _slave2.dick > 0) || ((_slave1.vagina > 0 || _slave1.anus > 0) && (_slave2.vagina > 0 || _slave2.anus > 0))>> + <<if (_slave1.vagina == 0)>> + white, since both slaves are virgins. + <<elseif (_slave1.pregKnown == 1)>> + light pink, since both slaves are pregnant. + <<elseif (_slave1.vagina < 0) && (_slave1.anus == 0)>> + white, since both slaves are anal virgins. + <<elseif (_slave1.vagina < 0) && (_slave1.boobs > 500)>> + electric blue, since both slaves are shemales. + <<elseif (_slave1.vagina < 0)>> + pale blue, since both slaves are sissies. + <<elseif (_slave1.dick > 0)>> + hot pink, since both slaves are futas. + <<else>> + light pink, since both slaves are experienced sex slaves. + <</if>> + <<else>> + <<if (_slave1.vagina == 0)>> + white, since _slave1.slaveName's a virgin + <<elseif (_slave1.pregKnown == 1)>> + light pink, since _slave1.slaveName's pregnant + <<elseif (_slave1.vagina < 0) && (_slave1.anus == 0)>> + white, since _slave1.slaveName's an anal virgin + <<elseif (_slave1.vagina < 0) && (_slave1.boobs > 500)>> + electric blue, since _slave1.slaveName's a shemale + <<elseif (_slave1.vagina < 0)>> + pale blue, since _slave1.slaveName's a sissy slave + <<elseif (_slave1.dick > 0)>> + hot pink, since _slave1.slaveName's a futa slave + <<else>> + light pink, since _slave1.slaveName's an experienced sex slave + <</if>> + and + <<if (_slave2.vagina == 0)>> + white, since _slave2.slaveName's a virgin. + <<elseif (_slave2.pregKnown == 1)>> + light pink, since _slave2.slaveName's pregnant. + <<elseif (_slave2.vagina < 0) && (_slave2.anus == 0)>> + white, since _slave2.slaveName's an anal virgin. + <<elseif (_slave2.vagina < 0) && (_slave2.boobs > 500)>> + electric blue, since _slave2.slaveName's a shemale. + <<elseif (_slave2.vagina < 0)>> + pale blue, since _slave2.slaveName's a sissy slave. + <<elseif (_slave2.dick > 0)>> + hot pink, since _slave2.slaveName's a futa slave. + <<else>> + light pink, since _slave2.slaveName's an experienced sex slave. + <</if>> + <</if>> + + A filmy veil cover their heads and shoulders, and + <<if (_slave1.boobs > 4000 && _slave2.boobs > 4000) || (_slave1.boobs > 1200 && _slave2.boobs > 1200) || (_slave1.boobs > 400 && _slave2.boobs > 400) || (_slave1.boobs <= 400 && _slave2.boobs <= 400)>> + their lacy bridal bras + <<if (_slave1.boobs > 4000)>> + are a marvel of engineering, discreetly reinforced to support their gigantic udders. + <<elseif (_slave1.boobs > 1200)>> + just barely restrain their huge boobs, leaving the tops of their areolae visible. + <<elseif (_slave1.boobs > 400)>> + flatter their pretty breasts. + <<else>> + flatter their pretty chests. + <</if>> + <<else>> + _slave1.slaveName's lacy bridal bra + <<if (_slave1.boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support $his gigantic udders, + <<elseif (_slave1.boobs > 1200)>> + just barely restrains $his huge boobs, leaving the tops of $his areolae visible, + <<elseif (_slave1.boobs > 400)>> + flatters $his pretty breasts, + <<else>> + flatters $his pretty chest, + <</if>> + while _slave2.slaveName's bra + <<if (_slave1.boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support _his2 gigantic udders. + <<elseif (_slave1.boobs > 1200)>> + just barely restrains _his2 huge boobs, leaving the tops of _his2 areolae visible. + <<elseif (_slave1.boobs > 400)>> + flatters _his2 pretty breasts. + <<else>> + flatters _his2 pretty chest. + <</if>> + <</if>> + + <<if ((_slave1.bellyPreg >= 600000) && (_slave2.bellyPreg >= 600000)) || ((_slave1.bellyPreg >= 1500) && (_slave2.bellyPreg >= 1500)) || ((_slave1.bellyImplant >= 1500) && (_slave2.bellyImplant >= 1500)) || ((_slave1.bellyFluid >= 10000) || (_slave2.bellyFluid >= 10000)) || ((_slave1.bellyFluid >= 5000) && (_slave2.bellyFluid >= 5000)) || ((_slave1.bellyFluid >= 1500) && (_slave2.bellyFluid >= 1500))>> + <<if _slave1.bellyPreg >= 600000>> + Their expansive, squirming pregnant bellies make their bridal wear particularly obscene. + <<elseif (_slave1.bellyPreg >= 1500)>> + Their _belly pregnant bellies protrude out the front of their bridal wear. + <<elseif (_slave1.bellyImplant >= 1500)>> + Their _belly <<print _slave1.bellyImplant>>cc bellies implant protrude their middle out the front of their bridal wear. + <<elseif (_slave1.bellyFluid >= 10000)>> + Their hugely bloated, <<print _slave1.inflationType>>-filled bellies protrude out the front of their bridal wear. + <<elseif (_slave1.bellyFluid >= 5000)>> + Their bloated, <<print _slave1.inflationType>>-stuffed bellies protrude out the front of their bridal wear. + <<elseif (_slave1.bellyFluid >= 1500)>> + Their distended, <<print _slave1.inflationType>>-bellies protrude out the front of their bridal wear. + <</if>> + <<else>> + <<if _slave1.bellyPreg >= 600000>> + _slave1.slaveName's expansive, squirming pregnant belly makes $his bridal wear particularly obscene, + <<elseif (_slave1.bellyPreg >= 1500)>> + _slave1.slaveName's _belly pregnant belly protrudes out the front of $his bridal wear, + <<elseif (_slave1.bellyImplant >= 1500)>> + _slave1.slaveName's _belly <<print _slave1.bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear, + <<elseif (_slave1.bellyFluid >= 10000)>> + _slave1.slaveName's hugely bloated, <<print _slave1.inflationType>>-filled belly protrudes out the front of $his bridal wear, + <<elseif (_slave1.bellyFluid >= 5000)>> + _slave1.slaveName's bloated, <<print _slave1.inflationType>>-stuffed belly protrudes out the front of $his bridal wear, + <<elseif (_slave1.bellyFluid >= 1500)>> + _slave1.slaveName's distended, <<print _slave1.inflationType>>-belly protrudes out the front of $his bridal wear, + <</if>> + while + <<if _slave1.bellyPreg >= 600000>> + _slave2.slaveName's expansive, squirming pregnant belly makes _his2 bridal wear particularly obscene. + <<elseif (_slave2.bellyPreg >= 1500)>> + _slave2.slaveName's _belly2 pregnant belly protrudes out the front of _his2 bridal wear. + <<elseif (_slave2.bellyImplant >= 1500)>> + _slave2.slaveName's _belly2 <<print _slave2.bellyImplant>>cc belly implant protrudes _his2 middle out the front of _his2 bridal wear. + <<elseif (_slave2.bellyFluid >= 10000)>> + _slave2.slaveName's hugely bloated, <<print _slave2.inflationType>>-filled belly protrudes out the front of _his2 bridal wear. + <<elseif (_slave2.bellyFluid >= 5000)>> + _slave2.slaveName's bloated, <<print _slave2.inflationType>>-stuffed belly protrudes out the front of _his2 bridal wear. + <<elseif (_slave2.bellyFluid >= 1500)>> + _slave2.slaveName's distended, <<print _slave2.inflationType>>-belly protrudes out the front of _his2 bridal wear. + <</if>> + <</if>> + + <<if ((_slave1.dickAccessory == ("chastity") || _slave1.dickAccessory == ("combined chastity")) && (_slave2.dickAccessory == "chastity") || _slave2.dickAccessory == ("combined chastity")) || (canAchieveErection(_slave1) && canAchieveErection(_slave2)) || ((_slave1.dick > 0) && (_slave2.dick > 0)) || ((_slave1.clit > 1 && _slave2.clit > 1)) || ((_slave1.clit <= 1) && (_slave2.clit <= 1))>> + <<if _slave1.dickAccessory == ("chastity") || _slave1.dickAccessory == ("combined chastity")>> + Their slave dicks are hidden by their chastity cages. + <<elseif canAchieveErection(_slave1)>> + <<if (_slave1.dick > 4) && (_slave1.belly >= 5000)>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if _slave1.bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif _slave1.dick > 4>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + _slave1.slaveName's erection tents the front of $his lacy g-string. + <</if>> + <<elseif (_slave1.dick > 0)>> + <<if (_slave1.dick > 10) && (_slave2.dick > 10)>> + Their huge soft cocks are allowed to dangle freely as no g-string could hope to contain them. + <<elseif (_slave1.dick > 4) && (_slave2.dick > 4)>> + Their big soft cocks forms a lewd mass, stuffed into their lacy g-strings. + <<elseif (_slave1.dick <= 3) && (_slave2.dick <= 3)>> + Their lacy g-strings perfectly conceals their soft dick. + <<else>> + <<if (_slave1.dick > 10)>> + _slave1.slaveName's huge soft cock dangles free as no g-string could hope to contain it, + <<elseif (_slave1.dick > 4)>> + _slave1.slaveName's big soft cock forms a lewd mass, stuffed into $his lacy g-string, + <<else>> + _slave1.slaveName's lacy g-string perfectly conceals $his soft dick, + <</if>> + while + <<if (_slave2.dick > 10)>> + _slave2.slaveName's huge soft cock dangles free as no g-string could hope to contain it. + <<elseif (_slave2.dick > 4)>> + _slave2.slaveName's big soft cock forms a lewd mass, stuffed into _his2 lacy g-string. + <<else>> + _slave2.slaveName's lacy g-string perfectly conceals _his2 soft dick. + <</if>> + <</if>> + <<else>> + <<if _slave1.clit > 1>> + Their huge clits are quite hard, making them shift uncomfortably as their lacy g-strings stimulate them. + <<else>> + Their lacy g-strings cover their womanhoods demurely. + <</if>> + <</if>> + <<else>> + <<if _slave1.dickAccessory == ("chastity") || _slave1.dickAccessory == ("combined chastity")>> + _slave1's slave dick is hidden by its chastity cage, + <<elseif canAchieveErection(_slave1)>> + <<if (_slave1.dick > 4) && (_slave1.belly >= 5000)>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if _slave1.bellyPreg >= 3000>>pregnant <</if>>belly, + <<elseif _slave1.dick > 4>> + _slave1.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly, + <<else>> + _slave1.slaveName's erection tents the front of $his lacy g-string, + <</if>> + <<elseif (_slave1.dick > 0)>> + <<if _slave1.dick > 10>> + _slave1.slaveName's huge soft cock is allowed to dangle freely as no g-string could hope to contain it, + <<elseif _slave1.dick > 4>> + _slave1.slaveName's big soft cock forms a lewd mass, stuffed into $his lacy g-string, + <<else>> + _slave1.slaveName's lacy g-string perfectly conceals $his soft dick, + <</if>> + <<else>> + <<if _slave1.clit > 1>> + _slave1.slaveName's huge clit is quite hard, making $his shift uncomfortably as $his lacy g-string stimulates it, + <<else>> + _slave1.slaveName's lacy g-string covers $his womanhood demurely, + <</if>> + <</if>> + whereas + <<if _slave2.dickAccessory == ("chastity") || _slave2.dickAccessory == ("combined chastity")>> + _slave2.slaveName' slave dick is hidden by its chastity cage. + <<elseif canAchieveErection(_slave2)>> + <<if (_slave2.dick > 4) && (_slave2.belly >= 5000)>> + _slave2.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly2 <<if _slave2.bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif _slave2.dick > 4>> + _slave2.slaveName's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + _slave2.slaveName' erection tents the front of $his lacy g-string. + <</if>> + <<elseif (_slave2.dick > 0)>> + <<if _slave2.dick > 10>> + _slave2.slaveName' huge soft cock is allowed to dangle freely as no g-string could hope to contain it. + <<elseif _slave2.dick > 4>> + _slave2.slaveName' big soft cock forms a lewd mass, stuffed into $his lacy g-string. + <<else>> + _slave2.slaveName' lacy g-string perfectly conceals $his soft dick. + <</if>> + <<else>> + <<if _slave2.clit > 1>> + _slave2.slaveName' huge clit is quite hard, making $his shift uncomfortably as $his lacy g-string stimulates it. + <<else>> + _slave2.slaveName' lacy g-string covers $his womanhood demurely. + <</if>> + <</if>> + <</if>> + + There is no aisle for them to <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>walk alongside the slaves carrying<<else>>walk<</if>> them there; this symbolizes their submission to you + + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.fetish == "mindbroken">> + despite the fact that both slaves had to be pushed into walking towards you. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + of both slaves' own choice, and they do so with smiles. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + of both slaves' own choice, and they do so with hesitation. + <<elseif _slave1.devotion < -20>> + of both slaves' own (forced) choice, and they do so with wavering steps. + <<else>> + of both slaves' own choice, and they do so willingly. + <</if>> + <<else>> + <<if _slave1.fetish == "mindbroken">> + despite the fact that _slave1.slaveName had to be pushed into walking towards you, + <<elseif _slave1.devotion+_slave1.trust >= 175>> + of _slave1.slaveName's own choice, and $he does so with a smile, + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + of _slave1.slaveName's own choice, and $he does so with hesitation, + <<elseif _slave1.devotion < -20>> + of _slave1.slaveName's own (forced) choice, and $he does so with wavering steps, + <<else>> + of _slave1.slaveName's own choice, and $he does so willingly, + <</if>> + while _slave2.slaveName + <<if _slave2.fetish == "mindbroken">> + has to be pushed into walking towards you. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + does this of $his own choice, and $he does so with a smile. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + does this of $his own choice, and $he does so with hesitation. + <<elseif _slave2.devotion < -20>> + does this of $his own (forced) choice, and $he does so with wavering steps. + <<else>> + does this of $his own choice, and $he does so willingly. + <</if>> + <</if>> + <br><br> + /* good luck trying to read this line */ + When they are in front of you, <<if (_slave1.amp == 1) && (_slave2.amp == 1)>>the slaves carrying their limbless torsos sets them down on the floor in front of you and props them up so their heads are level with your crotch<<else>>they gets down on their knees so their heads are level with your crotch<</if>>. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for them, and you place a simple steel ring <<if (_slave1.amp == 1 && _slave2.amp == 1)>>on a cord around both of their necks, since they lack fingers to wear it on.<<elseif (_slave1.devotion >= -20 && _slave1.trust > 20) && (_slave2.devotion >= -20 && _slave2.trust > 20)>>on both of their middle fingers.<<elseif (_slave1.devotion < -20 && _slave1.trust <= 20) && (_slave1.devotion < -20 && _slave1.trust <= 20)>>on both of their trembling middle fingers.<<else>><<if _slave1.amp == 1>>on a cord around _slave1.slaveName's neck, since $he lacks fingers to wear it on<<else>>on _slave1.slaveName's <<if _slave1.devotion < -20 && _slave1.trust <= 20>>trembling <</if>>finger<</if>>and another ring<<if _slave2.amp == 1>>on a cord around _slave2.slaveName's neck, since $he lacks fingers to wear it on.<<else>>on _slave2.slaveName's <<if _slave2.devotion < -20 && _slave2.trust <= 20>>trembling <</if>>finger.<</if>><</if>> There is no ring for you, since this marriage does not bind you. + <br> + <<if $PC.surname && ((_slave1.slaveSurname != $PC.surname) || (_slave2.slaveSurname != $PC.surname))>> + <br><br><span id="surnaming"> + <<link "Give them both your surname too">> + <<replace "#surnaming">> + <<set _slave1.slaveSurname = $PC.surname, _slave2.slaveSurname = $PC.surname>> + You also proclaim your new slave wives _slave1.slaveName and _slave2.slaveName $PC.surname. + The new Mrs. <<print $PC.surname>>s hear this, of course, and + <<if (_slave1.fetish == "mindbroken" && _slave2.fetish == "mindbroken") || (_slave1.devotion+_slave1.trust >= 175 && _slave2.devotion+_slave2.trust >= 175) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || (_slave1.devotion < -20 && _slave2.devotion < -20)>> + <<if _slave1.fetish == "mindbroken">> + show no reaction. Like many things, names mean nothing to them now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + break down again. Not only are they to be blessed with your children, but they're to take your surname as well. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + scoff audibly. Just another burden for them to carry; like the child soon to be growing in their wombs. + <<elseif _slave1.devotion < -20>> + break down again. Not only are you binding them to you with your children, but with your name as well. + <<else>> + nod acceptingly. Your will is their will, after all. + <</if>> + <<else>> + <<if _slave2.fetish == "mindbroken">> + _slave1.slaveName shows no reaction. Like many things, names mean nothing to _him2 now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + _slave1.slaveName breaks down again. Not only is _he2 to be blessed with your child, but _he2's to take your surname as well. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + _slave1.slaveName scoffs audibly. Just another burden for _him2 to carry; like the child soon to be growing in _his2 womb. + <<elseif _slave2.devotion < -20>> + _slave1.slaveName breaks down again. Not only are you binding _him2 to you with your child, but with your name as well. + <<else>> + _slave1.slaveName nods acceptingly. Your will is _his2 will, after all. + <</if>> + _slave2.slaveName, meanwhile, + <<if _slave2.fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to _him2 now. Your guests, on the other hand, appreciate the gift. + <<elseif _slave2.devotion+_slave2.trust >= 175>> + breaks down again. Not only is _he2 to be blessed with your child, but _he2's to take your surname as well. + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + scoffs audibly. Just another burden for _him2 to carry; like the child soon to be growing in _his2 womb. + <<elseif _slave2.devotion < -20>> + breaks down again. Not only are you binding _him2 to you with your child, but with your name as well. + <<else>> + nods acceptingly. Your will is _his2 will, after all. + <</if>> + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + <br><br> Then, you flip their veils over their heads so they can <<if $PC.dick == 1>>suck your dick<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>eat you out<</if>> in front of your guests, as the ceremony requires. + <<if ((_slave1.fetish == "mindbroken") && (_slave2.fetish == "mindbroken")) || ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + They approach their task + <<if _slave1.fetish == "mindbroken">> + with robotic obedience. You climax promptly, <<if $PC.dick == 1>>shooting your cum down _slave1.slaveName's throat<<else>>covering _slave1.slaveName's face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wives to carry them back into the master bedroom. They absentmindedly rests their head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle them in your arms, gazing up at you with empty eyes. /* TODO: will need a rewrite*/ + <<elseif _slave1.devotion+_slave1.trust >= 175>> + <<if (_slave1.fetish == "cumslut")>>enthusiastically<<else>>with a will<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down _slave1.slaveName's throat<<else>>covering _slave1.slaveName's face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation,@@ or rather, at the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wives to carry them back into the master bedroom. They rest their head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle them in your arms, staring up at you. /* TODO: will need a rewrite*/ + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + with apprehension, so much so that things are taking too long, so you grab _slave1.slaveName's head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wives to carry them back into the master bedroom. They look up at you with fearful, hate-filled eyes, blaming you for everything that has happened so far. /* TODO: will need a rewrite*/ + <<elseif _slave1.devotion < -20>> + with apprehension, so much so that things are taking too long, so you grab _slave1.slaveName's head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wives to carry them back into the master bedroom. They look up at you with fearful, tear-filled eyes as if pleading for you not to do them. /* TODO: will need a rewrite*/ + <<else>> + with a will. They approaches their task <<if (_slave1.fetish == "cumslut")>>enthusiastically<<else>>obediently<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down their throat<<else>>covering their face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wives to carry them back into the master bedroom. They look up at you, their eyes unsure. /* TODO: will need a rewrite*/ + <</if>> + <<else>> + _slave1.slaveName is first. $He approaches $his task + <<if _slave1.fetish == "mindbroken">> + with robotic obedience. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He absentmindedly rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, gazing up at you with empty eyes. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + <<if (_slave1.fetish == "cumslut")>>enthusiastically<<else>>with a will<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation,@@ or rather, at the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, staring up at you. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, hate-filled eyes, blaming you for everything that has happened so far. + <<elseif _slave1.devotion < -20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, tear-filled eyes as if pleading for you not to do this. + <<else>> + with a will. $He approaches $his task <<if (_slave1.fetish == "cumslut")>>enthusiastically<<else>>obediently<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you, $his eyes unsure. + <</if>> + Next, it's _slave2.slaveName's turn. _He2 takes on _his2 task + <<if _slave1.fetish == "mindbroken">> + with robotic obedience. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He absentmindedly rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, gazing up at you with empty eyes. + <<elseif _slave1.devotion+_slave1.trust >= 175>> + <<if (_slave1.fetish == "cumslut")>>enthusiastically<<else>>with a will<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation,@@ or rather, at the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, staring up at you. + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, hate-filled eyes, blaming you for everything that has happened so far. + <<elseif _slave1.devotion < -20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, tear-filled eyes as if pleading for you not to do this. + <<else>> + with a will. $He approaches $his task <<if (_slave1.fetish == "cumslut")>>enthusiastically<<else>>obediently<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation@@, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you, $his eyes unsure. + <</if>> + <</if>> + + <<if _slave1.relationship != 0 && _slave2.relationship != 0>> + <<if _slave1.relationshipTarget == _slave2.ID>> + /* TODO: not sure about these */ + <<if ((_slave1.devotion+_slave1.trust >= 175) && (_slave2.devotion+_slave2.trust >= 175)) || ((_slave1.devotion < -20 && _slave1.trust > 20) && (_slave2.devotion < -20 && _slave2.trust > 20)) || ((_slave1.devotion < -20) && (_slave2.devotion < -20)) || ((_slave1.devotion >= -20 && _slave2.devotion >= -20))>> + <<if _slave1.devotion+_slave1.trust >= 175>> + The fact that their relationship together now involves you @@.hotpink;excites them to no end.@@ + <<set _slave1.devotion += 10>> + <<set _slave2.devotion += 10>> + <<elseif _slave1.devotion < -20>> + The fact that you would allow them to remain together, albeit as your wives, @@.hotpink;causes them to begin to see you in a new light.@@ + <<set _slave1.devotion += 15>> + <<set _slave2.devotion += 15>> + <<elseif _slave1.devotion >= -20>> + The fact that you would allow them to remain together, albeit as your wives, has them @@.hotpink;cautiously optimistic for the future.@@ + <<set _slave1.devotion += 5>> + <<set _slave2.devotion += 5>> + <</if>> + <<else>> + _slave1.slaveName + <<if _slave1.devotion+_slave1.trust >= 175>> + is excited by the fact that their relationship now involves you, and promises to try to get _slave2.slaveName to see you the same way $he does, + <<set _slave1.devotion += 10>> + <<elseif _slave1.devotion < -20>> + is convinced this is some sort of trick, + <<elseif _slave1.devotion >= -20>> + is only @@.hotpink;cautiously optimistic for their future together,@@ + <<set _slave1.devotion += 5>> + <</if>> + while _slave2.slaveName + <<if _slave2.devotion+_slave2.trust >= 175>> + is excited by the fact that their relationship now involves you, and promises to try to get _slave1.slaveName to see you the same way _he2 does. + <<set _slave2.devotion += 10>> + <<elseif _slave2.devotion < -20>> + is convinced this is some sort of trick. + <<elseif _slave2.devotion >= -20>> + is only @@.hotpink;cautiously optimistic for their future together.@@ + <<set _slave2.devotion += 5>> + <</if>> + <</if>> + <<else>> + <<if _slave1.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 40, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 30, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <</if>> + <</if>> + <<else>> + <<if _slave1.relationship != 0>> + <<if _slave1.devotion+_slave1.trust >= 175>> + <<if _slave1.relationship > 0>> + $His <<if _slave1.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave1.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if _slave1.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave1.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave1.devotion < -20>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 40, $slaves[_m].trust -= 40>> + <<set _slave1.devotion -= 40, _slave1.trust -= 40>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave1.devotion -= 30, _slave1.trust -= 30>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <</if>> + <<else>> + <<if _slave1.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave1.devotion -= 20, _slave1.trust -= 20>> + <<elseif _slave1.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave1.devotion -= 10, _slave1.trust -= 10>> + <<elseif _slave1.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave1.devotion -= 5, _slave1.trust -= 5>> + <</if>> + <</if>> + <</if>> + + <<if _slave2.relationship != 0>> + <<if _slave2.devotion+_slave2.trust >= 175>> + <<if _slave2.relationship > 0>> + $His <<if _slave2.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if _slave2.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if _slave2.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif _slave2.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif _slave2.devotion < -20>> + <<if _slave2.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set _slave2.devotion -= 40, _slave2.trust -= 40>> + <<elseif _slave2.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 40, $slaves[_m].trust -= 40>> + <<set _slave2.devotion -= 40, _slave2.trust -= 40>> + <<elseif _slave2.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set _slave2.devotion -= 30, _slave2.trust -= 30>> + <<elseif _slave2.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave2.devotion -= 20, _slave2.trust -= 20>> + <</if>> + <<else>> + <<if _slave2.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set _slave2.devotion -= 10, _slave2.trust -= 10>> + <<elseif _slave2.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set _slave2.devotion -= 20, _slave2.trust -= 20>> + <<elseif _slave2.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set _slave2.devotion -= 10, _slave2.trust -= 10>> + <<elseif _slave2.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set _slave2.devotion -= 5, _slave2.trust -= 5>> + <</if>> + <</if>> + <</if>> + <</if>> + + <<set _slave1.relationship = -3>> + <<set _slave1.oralCount += 1>> + <<set $oralTotal += 1>> + <<set $rep += 750>> + <<if _slave1.fetish == "mindbroken">> + <<set $desc = "a framed shot of your uneventful wedding to the mindbroken " + _slave1.slaveName>> + <<elseif _slave1.devotion+_slave1.trust >= 175>> + <<set $desc = "a framed shot of your romantic wedding to the joyous " + _slave1.slaveName>> + <<elseif _slave1.devotion < -20 && _slave1.trust > 20>> + <<set $desc = "a framed shot of your forced wedding to the hateful " + _slave1.slaveName>> + <<elseif _slave1.devotion < -20>> + <<set $desc = "a framed shot of your forced wedding to the weeping " + _slave1.slaveName>> + <<else>> + <<set $desc = "a framed shot of your wedding to " + _slave1.slaveName>> + <</if>> + <<set $trinkets.push($desc)>> + + <<set _slave2.relationship = -3>> + <<set _slave2.oralCount += 1>> + <<set $oralTotal += 1>> + <<set $rep += 750>> + <<if _slave2.fetish == "mindbroken">> + <<set $desc = "a framed shot of your uneventful wedding to the mindbroken " + _slave2.slaveName>> + <<elseif _slave2.devotion+_slave2.trust >= 175>> + <<set $desc = "a framed shot of your romantic wedding to the joyous " + _slave2.slaveName>> + <<elseif _slave2.devotion < -20 && _slave2.trust > 20>> + <<set $desc = "a framed shot of your forced wedding to the hateful " + _slave2.slaveName>> + <<elseif _slave2.devotion < -20>> + <<set $desc = "a framed shot of your forced wedding to the weeping " + _slave2.slaveName>> + <<else>> + <<set $desc = "a framed shot of your wedding to " + _slave2.slaveName>> + <</if>> + <<set $trinkets.push($desc)>> + +<</if>> \ No newline at end of file diff --git a/src/uncategorized/seWeddingSingle.tw b/src/uncategorized/seWeddingSingle.tw new file mode 100644 index 0000000000000000000000000000000000000000..7e539ff5571021003bdd26737236be7d8ad65dee --- /dev/null +++ b/src/uncategorized/seWeddingSingle.tw @@ -0,0 +1,846 @@ +:: SE wedding single [nobr] + +<<set _s = $slaveIndices[$marrying[0]]>> +<<setLocalPronouns $slaves[_s]>> +<<set _belly = bellyAdjective($slaves[_s])>> + +<<if $slaves[_s].relationship != 0>> + <<if $slaves[_s].relationship > 0>> + <<set _m = $slaveIndices[$slaves[_s].relationshipTarget]>> + <<set $slaves[_s].relationshipTarget = 0>> + <<set $slaves[_m].relationship = 0, $slaves[_m].relationshipTarget = 0>> + <<setLocalPronouns $slaves[_m] 2>> + <</if>> + In the days leading up to your wedding, $slaves[_s].slaveName spent $his time + <<if $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<if $slaves[_s].relationship != 0>> + <<if $slaves[_s].relationship == -1>> + vowing that $he'll be less of a slut. + <<elseif $slaves[_s].relationship == 4>> + breaking up with $his lover, $slaves[_m].slaveName, as painlessly as possible. + <<elseif $slaves[_s].relationship == 3>> + breaking up with $his FWB, $slaves[_m].slaveName, as painlessly as possible. + <<elseif $slaves[_s].relationship > 0>> + promising $slaves[_m].slaveName that they'll still be friends, even if they can't spend time together. + <<else>> + as close to you as $he could. + <</if>> + <</if>> + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + <<if $slaves[_s].relationship == -1>> + sleeping with as many different people as $he could. + <<if !isSlaveAvailable($slaves[_s])>> + Or $he would have, if $he were able. + <<elseif canDoVaginal($slaves[_s]) && canDoAnal($slaves[_s])>> + <<set _randomVag = random(30,60)>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set $slaves[_s].vaginalCount += _randomVag, $slaves[_s].analCount += _randomAnal, $slaves[_s].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed holes. + <<if $slaves[_s].vagina == 0 && $slaves[_s].anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <</if>> + <<if $slaves[_s].vagina < 4>><<set $slaves[_s].vagina = 4>><</if>><<set $slaves[_s].anus = 4>> + <<if canGetPregnant($slaves[_s]) && (random(1,100) > 70) && $slaves[_s].eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoVaginal($slaves[_s])>> + <<set _randomVag = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set $slaves[_s].vaginalCount += _randomVag, $slaves[_s].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed cunt. + <<if $slaves[_s].vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <</if>> + <<if $slaves[_s].vagina < 4>><<set $slaves[_s].vagina = 4>><</if>> + <<if canGetPregnant($slaves[_s]) && (random(1,100) > 70) && $slaves[_s].eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_s])>> + <<set _randomAnal = random(30,60)>> + <<set _randomOral = random(30,60)>> + <<set $slaves[_s].analCount += _randomAnal, $slaves[_s].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + By week's end, $he's managed to ruin $his body out of spite. $He can barely move, trapped on $his back as cum steadily drips from $his prolapsed, gaping, destroyed anus. + <<if $slaves[_s].anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <</if>> + <<set $slaves[_s].anus = 4>> + <<if canGetPregnant($slaves[_s]) && (random(1,100) > 70) && $slaves[_s].eggType == "human">> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<else>> + <<set _randomOral = random(60,100)>> + <<set $slaves[_s].oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from sucking down so much sexual fluid. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif $slaves[_s].relationship == 4>> + fucking $his love, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isSlaveAvailable($slaves[_s])>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal($slaves[_s]) && canDoAnal($slaves[_s])>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_s].vaginalCount += _randomVag, $slaves[_s].analCount += _randomAnal, $slaves[_s].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_s].vagina == 0 && $slaves[_s].anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set $slaves[_s].vagina = 1, $slaves[_s].anus = 1>> + <</if>> + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoVaginal($slaves[_s])>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_s].vaginalCount += _randomVag, $slaves[_s].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if $slaves[_s].vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set $slaves[_s].vagina = 1>> + <</if>> + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_s])>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_s].analCount += _randomAnal, $slaves[_s].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_s].anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set $slaves[_s].anus = 1>> + <</if>> + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set $slaves[_s].oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif $slaves[_s].relationship == 3>> + fucking $his lover, $slaves[_m].slaveName, as often as possible while ignoring you. + <<if !isAvailable($slaves[_s])>> + Or $he would have, if $he were able. + <<elseif !isSlaveAvailable($slaves[_m])>> + Or $he would have, if _he2 were around. + <<elseif canDoVaginal($slaves[_s]) && canDoAnal($slaves[_s])>> + <<set _randomVag = random(3,7)>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_s].vaginalCount += _randomVag, $slaves[_s].analCount += _randomAnal, $slaves[_s].oralCount += _randomOral, $vaginalTotal += _randomVag, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_s].vagina == 0 && $slaves[_s].anus == 0>> + $His actions robbed you of @@.lime;both $his virginities.@@ + <<set $slaves[_s].vagina = 1, $slaves[_s].anus = 1>> + <</if>> + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag+_randomAnal), $penetrativeTotal += (_randomVag+_randomAnal)>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoVaginal($slaves[_s])>> + <<set _randomVag = random(3,7)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_s].vaginalCount += _randomVag, $slaves[_s].oralCount += _randomOral, $vaginalTotal += _randomVag, $oralTotal += _randomOral>> + <<if $slaves[_s].vagina == 0>> + $His actions robbed you of @@.lime;$his virginity.@@ + <<set $slaves[_s].vagina = 1>> + <</if>> + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomVag), $penetrativeTotal += (_randomVag)>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_s])>> + <<set _randomAnal = random(1,4)>> + <<set _randomOral = random(5,10)>> + <<set $slaves[_s].analCount += _randomAnal, $slaves[_s].oralCount += _randomOral, $analTotal += _randomAnal, $oralTotal += _randomOral>> + <<if $slaves[_s].anus == 0>> + $His actions robbed you of @@.lime;$his anal virginity.@@ + <<set $slaves[_s].anus = 1>> + <</if>> + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 70)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals the bitch managed to get knocked up. There is no time before the ceremony to deal with it. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount += (_randomAnal), $penetrativeTotal += (_randomAnal)>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<else>> + <<set _randomOral = random(15,20)>> + <<set $slaves[_s].oralCount += _randomOral, $oralTotal += _randomOral>> + By week's end, $he's managed to make $himself sick from going down on $slaves[_m].slaveName so often. Luckily inducing vomiting will save your wedding from making the tabloids. + <</if>> + <<elseif $slaves[_s].relationship > 0>> + spending time away from you with $slaves[_m].slaveName. + <<else>> + inappropriately planning redecorations. + <</if>> + <<elseif $slaves[_s].devotion < -20>> + <<if $slaves[_s].relationship == -1>> + desperately pleading with you to change your mind. + <<elseif $slaves[_s].relationship == 4>> + with $his love, $slaves[_m].slaveName, weeping. + <<elseif $slaves[_s].relationship == 3>> + with $his lover, $slaves[_m].slaveName, weeping. + <<elseif $slaves[_s].relationship > 0>> + with $his friend, $slaves[_m].slaveName, weeping. + <<else>> + desperately pleading with you to change your mind. + <</if>> + <<else>> + <<if $slaves[_s].relationship == -1>> + trying $his hardest to not sleep with anyone else. + <<elseif $slaves[_s].relationship == 4>> + alongside $his love, $slaves[_m].slaveName. + <<if canDoVaginal($slaves[_s]) && $slaves[_s].vagina != 0>> + <<set $slaves[_s].vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_s].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_s])>> + <<set $slaves[_s].analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_s].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<else>> + <<set $slaves[_s].oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif $slaves[_s].relationship == 3>> + alongside $his lover, $slaves[_m].slaveName. + <<if canDoVaginal($slaves[_s]) && $slaves[_s].vagina != 0>> + <<set $slaves[_s].vaginalCount += 1, $vaginalTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his pussy one last time. + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_s].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<elseif canDoAnal($slaves[_s])>> + <<set $slaves[_s].analCount += 1, $analTotal += 1>> + $He later lets you know $he let $slaves[_m].slaveName enjoy $his butt one last time. + <<if canImpreg($slaves[_s], $slaves[_m]) && (random(1,100) > 90)>> + A pre-wedding checkup following an unusual bout of morning nausea reveals $slaves[_s].slaveName managed to get knocked up. There is no time before the ceremony to deal with it and the distraught $girl is in a panic for making you go through this. + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1, $slaves[_s].pregSource = $slaves[_m].ID, $slaves[_m].penetrativeCount++, $penetrativeTotal++>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, $slaves[_s].pregSource, $slaves[_s].preg)>> + <</if>> + <<else>> + <<set $slaves[_s].oralCount += 1, $oralTotal += 1>> + $He later tells you $he gave $slaves[_m].slaveName <<if $slaves[_m].dick > 0>>one last blow job<<elseif canDoVaginal($slaves[_m])>>cunnilingus one last time<<else>>oral one last time<</if>>. + <</if>> + <<elseif $slaves[_s].relationship > 0>> + with $his friend, $slaves[_m].slaveName. + <<else>> + wearing a very conflicted expression. + <</if>> + <</if>> +<</if>> + +<<if !isFertile($slaves[_s]) && $weddingPlanned == 3>> + $slaves[_s].slaveName can no longer be impregnated as planned for the ceremony, so it has been hurriedly recast as a normal slave wedding. + <<set $weddingPlanned = 1>> + <br><br> +<</if>> + +<<if $weddingPlanned == 3>> + + The ceremony to bind <<= SlaveFullName($slaves[_s])>> to you as your slave wife, and $his womb to you as your private breeding ground, is a polite affair which you host in the lower floor of your penthouse. <<if $arcologies[0].FSRestart != "unset" && ($slaves[_s].breedingMark == 0 || $propOutcome == 0)>>Barely anyone is there, mostly lower-class citizens, several accompanied by their slaves. Many of your other slaves, that is your slaves who are not being married and fucked pregnant tonight, are present to serve your guests, but are dressed more conservatively than usual. There is a distinct air of unrest in the room, as if the absent Elites' distaste of your actions came in their place.<<else>>All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married and fucked pregnant tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering.<</if>> + <br><br> + $slaves[_s].slaveName appears after everyone has had a chance to socialize,<<if ($slaves[_s].amp == 1)>> carried by another slave since $he's a quadruple amputee and $he cannot walk,<</if>> wearing beautiful bridal lingerie in + <<if ($slaves[_s].vagina == 0)>> + white, since $he's a virgin. + <<elseif ($slaves[_s].pregKnown == 1)>> + light pink, since $he's pregnant. + <<elseif ($slaves[_s].vagina < 0) && ($slaves[_s].anus == 0)>> + white, since $he's an anal virgin. + <<elseif ($slaves[_s].vagina < 0) && ($slaves[_s].boobs > 500)>> + electric blue, since $he's a shemale. + <<elseif ($slaves[_s].vagina < 0)>> + pale blue, since $he's a sissy slave. + <<elseif ($slaves[_s].dick > 0)>> + hot pink, since $he's a futa slave. + <<else>> + light pink, since $he's an experienced sex slave. + <</if>> + A filmy veil covers $his head and shoulders. $His lacy bridal bra + <<if ($slaves[_s].boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support $his gigantic udders. + <<elseif ($slaves[_s].boobs > 1200)>> + just barely restrains $his huge boobs, leaving the tops of $his areolae visible. + <<elseif ($slaves[_s].boobs > 400)>> + flatters $his pretty breasts. + <<else>> + flatters $his pretty chest. + <</if>> + <<if $slaves[_s].bellyPreg >= 600000>> + $His expansive, squirming pregnant belly makes $his bridal wear particularly obscene. + <<elseif ($slaves[_s].bellyPreg >= 1500)>> + $His _belly pregnant belly protrudes out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyImplant >= 1500)>> + $His _belly <<print $slaves[_s].bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyFluid >= 10000)>> + $His hugely bloated, <<print $slaves[_s].inflationType>>-filled belly protrudes out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyFluid >= 5000)>> + $His bloated, <<print $slaves[_s].inflationType>>-stuffed belly protrudes out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyFluid >= 1500)>> + $His distended, <<print $slaves[_s].inflationType>>-belly protrudes out the front of $his bridal wear. + <</if>> + <<if $slaves[_s].dickAccessory == ("chastity") || $slaves[_s].dickAccessory == ("combined chastity")>> + $His slave dick is hidden by its chastity cage. + <<elseif canAchieveErection($slaves[_s])>> + <<if ($slaves[_s].dick > 4) && ($slaves[_s].belly >= 5000)>> + $He's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if $slaves[_s].bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif $slaves[_s].dick > 4>> + $He's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + $His erection tents the front of $his lacy g-string. + <</if>> + <<elseif ($slaves[_s].dick > 0)>> + <<if $slaves[_s].dick > 10>> + $His huge soft cock is allowed to dangle freely as no g-string could hope to contain it. + <<elseif $slaves[_s].dick > 4>> + $His big soft cock forms a lewd mass, stuffed into $his lacy g-string. + <<else>> + $His lacy g-string perfectly conceals $his soft dick. + <</if>> + <<else>> + <<if $slaves[_s].clit > 1>> + $His huge clit is quite hard, making $his shift uncomfortably as $his lacy g-string stimulates it. + <<else>> + $His lacy g-string covers $his womanhood demurely. + <</if>> + <</if>> + There is no aisle for $him to <<if $slaves[_s].amp == 1>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if $slaves[_s].amp == 1>>walk alongside the slave carrying<<else>>walk<</if>> $him there; this symbolizes $his submission to you + <<if $slaves[_s].fetish == "mindbroken">> + despite the fact that $he had to be pushed into walking towards you. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + of $his own choice, and $he does so with a smile. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + of $his own choice, and $he does so with hesitation. + <<elseif $slaves[_s].devotion < -20>> + of $his own (forced) choice, and $he does so with wavering steps. + <<else>> + of $his own choice, and $he does so willingly. + <</if>> + <br><br> + When $he's in front of you, + <<if $slaves[_s].amp == 1>> + the slave carrying $his limbless torso sets $him down on the floor in front of you and props $him up so $his head is level with your crotch. + <<else>> + <<if $slaves[_s].fetish == "mindbroken">> + you push $him onto $his knees so $his head + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + $he happily gets down on $his knees so $his head + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + $he slowly lowers $himself onto $his knees so $his head + <<elseif $slaves[_s].devotion < -20>> + $he quickly lowers $himself onto $his knees so $his tear-streaked face + <<else>> + $he gets down on $his knees so $his head + <</if>> + <</if>> + is level with your crotch. + <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring + <<if $slaves[_s].amp == 1>> + on a cord around $his neck, since $he lacks fingers to wear it on. + <<else>> + on $his <<if $slaves[_s].devotion < -20 && $slaves[_s].trust <= 20>>trembling <</if>>finger. + <</if>> + There is no ring for you, since this marriage does not bind you. + <br> + <<if $PC.surname && $slaves[_s].slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give $him your surname too">> + <<replace "#surnaming">> + <<set $slaves[_s].slaveSurname = $PC.surname>> + You also proclaim your new slave wife $slaves[_s].slaveName $slaves[_s].slaveSurname. The new Mrs. $slaves[_s].slaveSurname hears this, of course, and + <<if $slaves[_s].fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to $him now. Your guests, on the other hand, appreciate the gift. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + breaks down again. Not only is $he to be blessed with your child, but $he's to take your surname as well. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + scoffs audibly. Just another burden for $him to carry; like the child soon to be growing in $his womb. + <<elseif $slaves[_s].devotion < -20>> + breaks down again. Not only are you binding $him to you with your child, but with your name as well. + <<else>> + nods acceptingly. Your will is $his will, after all. + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + <br><br> + <<if $slaves[_s].fetish == "mindbroken">> + $slaves[_s].slaveName is mindbroken, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He follows your motions like a ragdoll. You maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>. Then you pull $his knees up to give your guests a good view as you fuck $his fertile <<if $slaves[_s].mpreg == 1>>asshole<<else>>cunt<</if>>. $He is left to face them, staring off into space. Though $he faces the crowd, $his mind is empty; this might as well be any other fucking to $him. $He twitches ever so slightly when your seed flows into $him, orgasming robotically to @@.green;applause from your guests.@@ You'll fuck $him repeatedly over the next few days, ensuring impregnation. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + Then, you <<if $slaves[_s].amp == 1>>gather $him up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take $his hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. $He is left to face your guests, watching raptly as you fuck $his fertile <<if $slaves[_s].mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it's @@.mediumaquamarine;concrete proof that $he's special to you.@@ $He gasps when your seed flows into $him, orgasming $himself to @@.green;applause from your guests.@@ You'll fuck $him repeatedly over the next few days, ensuring impregnation. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + $slaves[_s].slaveName is unwilling, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and tear up in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if $slaves[_s].amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if $slaves[_s].mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, faking an orgasm to @@.green;applause from your guests.@@ At this, $he shoots you a dirty look, blaming you for this indignity. You'll fuck $him repeatedly over the next few days, ensuring impregnation, despite $his efforts to defy you. + <<elseif $slaves[_s].devotion < -20>> + $slaves[_s].slaveName is unwilling, so you gather $him up and hold $him in front of you, pulling $his panties off as you do. $He was crying before, but this causes $him to tremble and sob loudly in anticipation of what's next. Ignoring this, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>.<<if $slaves[_s].amp != 1>> Then you pull $his knees up to give your guests a good view of the consummation.<</if>> $He is left to face them, watching sullenly as you fuck $his fertile <<if $slaves[_s].mpreg == 1>>asshole<<else>>cunt<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, this is torture. $He gasps when your seed flows into $him, orgasming unwillingly @@.green;applause from your guests.@@ At this, $he completely breaks down, blubbering like a child at the unwelcome warmth in $his lower belly. You'll fuck $him repeatedly over the next few days, ensuring impregnation, despite $his protesting. + <<else>> + $slaves[_s].slaveName isn't particularly excited about what's coming, but $he's fully prepared for it and accepted it as a fact of life. There are worse things one can be than the slave-wife of a wealthy arcology owner. You <<if $slaves[_s].amp == 1>>gather $him up and hold $him in front of you, pulling $his panties off as you do. Showing considerable dexterity, you maneuver your dick inside $him while holding $him against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>><<else>>take $his hand and pull $him to $his feet while $he shimmies out of $his panties. $He cocks $his hips for you and you slide your cock inside $him before taking $his knees and drawing them up to hold $him in midair, impaled on you<</if>>. Though $his face is towards the crowd, $his mind is concentrated on your hard cock, pumping in and out of $him at an angle; to $him, it is what it is. $He gasps when your seed flows into $him, orgasming shortly after to @@.green;applause from your guests.@@ You'll fuck $him repeatedly over the next few days, ensuring impregnation. + <</if>> + <<set $slaves[_s].preg = 1, $slaves[_s].pregKnown = 1, $slaves[_s].pregWeek = 1>> + <<set $slaves[_s].pregType = setPregType($slaves[_s])>> + <<set WombImpregnate($slaves[_s], $slaves[_s].pregType, -1, $slaves[_s].preg)>> + <<set $slaves[_s].pregSource = -1>> + <<if ($slaves[_s].vagina == 0) || ($slaves[_s].mpreg == 1 && $slaves[_s].anus == 0)>> + Naturally, the ceremony @@.lime;took $his virginity;@@ + <<if $slaves[_s].fetish == "mindbroken">> + $he didn't notice. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + $he was so happy @@.hotpink;$his first time was with you and so special.@@ + <<set $slaves[_s].devotion += 5>> + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + $he was @@.mediumorchid;saving that for someone special.@@ + <<set $slaves[_s].devotion -= 5>> + <<elseif $slaves[_s].devotion < -20>> + $he wept at the sight of cum pooling from $his @@.mediumorchid;defiled <<if $slaves[_s].mpreg == 1>>asshole<<else>>pussy<</if>>.@@ + <<set $slaves[_s].devotion -= 10>> + <<else>> + you made it @@.hotpink;enjoyable@@ at least. + <<set $slaves[_s].devotion += 2>> + <</if>> + <<if $slaves[_s].mpreg == 1>><<set $slaves[_s].anus = 1>><<else>><<set $slaves[_s].vagina = 1>><</if>> + <</if>> + <<if ($slaves[_s].fetish == "pregnancy") && ($slaves[_s].fetishStrength > 60)>> + <<if $slaves[_s].fetish == "mindbroken">> + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + As a pregnancy fetishist, @@.hotpink;$he confidently believes this wedding will be the high point of $his life.@@ + <<set $slaves[_s].devotion += 20>> + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + As a hateful pregnancy fetishist, @@.hotpink;getting pregnant was the best part of the ceremony.@@ + <<set $slaves[_s].devotion += 1>> + <<elseif $slaves[_s].devotion < -20>> + As a pregnancy fetishist, getting raped pregnant by someone $he hates leaves $him with very mixed feelings. + <<else>> + As a pregnancy fetishist, @@.hotpink;$he thoroughly enjoyed getting knocked up in such an ostentatious fashion.@@ + <<set $slaves[_s].devotion += 10>> + <</if>> + <</if>> + <<if $slaves[_s].relationship != 0>> + <<if $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<if $slaves[_s].relationship > 0>> + $His <<if $slaves[_s].relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $slaves[_s].relationship > 2>>ex<<else>>companion<</if>>'s future. + <<if $slaves[_s].relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif $slaves[_s].relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif $slaves[_s].devotion < -20>> + <<if $slaves[_s].relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set $slaves[_s].devotion -= 40, $slaves[_s].trust -= 40>> + <<elseif $slaves[_s].relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set $slaves[_s].devotion -= 40, $slaves[_s].trust -= 40>> + <<elseif $slaves[_s].relationship == 3>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set $slaves[_s].devotion -= 50, $slaves[_s].trust -= 30>> + <<elseif $slaves[_s].relationship > 0>> + Both $him and $his friend @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $slaves[_s].devotion -= 20, $slaves[_s].trust -= 20>> + <</if>> + <<else>> + <<if $slaves[_s].relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set $slaves[_s].devotion -= 10, $slaves[_s].trust -= 10>> + <<elseif $slaves[_s].relationship == 4>> + Both $him and $his ex @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked pregnant in such a manner. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $slaves[_s].devotion -= 30, $slaves[_s].trust -= 20>> + <<elseif $slaves[_s].relationship == 3>> + Both $him and $his ex are @@.mediumorchid;saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;jealous@@ of you for snagging such catch out from under _him2. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set $slaves[_s].devotion -= 15, $slaves[_s].trust -= 10>> + <<elseif $slaves[_s].relationship > 0>> + Both $him and $his friend are @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set $slaves[_s].devotion -= 5, $slaves[_s].trust -= 5>> + <</if>> + <</if>> + <</if>> + <<set $slaves[_s].relationship = -3>> + <<if $slaves[_s].mpreg == 1>><<set $slaves[_s].analCount += 1, $analTotal += 1>><<else>><<set $slaves[_s].vaginalCount += 1, $vaginalTotal += 1>><</if>> + <<set $rep += 750>> + <<if $slaves[_s].fetish == "mindbroken">> + <<set $desc = "a framed shot of you impregnating the blank-faced " + $slaves[_s].slaveName + " at your wedding">> + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<set $desc = "a framed shot of you impregnating the joyous " + $slaves[_s].slaveName + " at your wedding">> + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + <<set $desc = "a framed shot of you forcefully impregnating the disinterested " + $slaves[_s].slaveName + " at your wedding">> + <<elseif $slaves[_s].devotion < -20>> + <<set $desc = "a framed shot of you forcefully impregnating the tear soaked " + $slaves[_s].slaveName + " at your wedding">> + <<else>> + <<set $desc = "a framed shot of you impregnating " + $slaves[_s].slaveName + " at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + <<if $arcologies[0].FSRestart != "unset" && ($slaves[_s].breedingMark == 0 || $propOutcome == 0) && $eugenicsFullControl != 1>> + You have @@.red;angered@@ the Societal Elite by this public showing of everything they stand against. + <<set $failedElite += 250>> + <</if>> + +<<elseif $weddingPlanned == 2>> + + The ceremony to bind <<= SlaveFullName($slaves[_s])>> to you as your slave wife is an all day affair. + <<if $slaves[_s].fetish == "mindbroken">> + $He spent the day before resting and preparing $himself, if you can call sitting around mindlessly preparing. $He spends most of the daylong party at the center of a nonstop gangbang, occasionally moaning as more of a physical reaction than anything. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter emptiness. Many brought their own slaves to participate, too. $slaves[_s].slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted but otherwise uncaring. $He's naked still, $his skin clean and $slaves[_s].skin, and is led to you for the ceremony by another slave. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He can't conceal $his tiredness, and leans against you subconsciously. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $slaves[_s].amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + $He spent the day before resting and preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, @@.green;your guests take part with enthusiasm,@@ many having brought their own slaves to participate, too. $slaves[_s].slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted but rather proud of $himself for getting through all that. $He's naked still, $his skin clean and $slaves[_s].skin, and comes confidently to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well-traveled, and $his tiredness. $He does $his best to conceal how ready to sleep $he is, but $he leans against you a little. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $slaves[_s].amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + $He spent the day before resting and trying to ready $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. $slaves[_s].slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted and annoyed. $He's naked still, $his skin clean and $slaves[_s].skin, and comes reluctantly to stand by you for the ceremony, glaring at you the whole time. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness and look stronger than $he is, choosing to struggle to stand instead of leaning against you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $slaves[_s].amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new, protesting, slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. $He squirms slightly in $his sleep to the unwelcome feeling of your arm around $him. + <<elseif $slaves[_s].devotion < -20>> + $He spent the day before resting and crying to $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. $slaves[_s].slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted and depressed. $He's naked still, $his skin clean and $slaves[_s].skin, and comes reluctantly to stand by you for the ceremony, just wanting it to be over. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness out of fear of punishment, and $he leans against you for support despite $his feelings on the wedding and you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $slaves[_s].amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<else>> + $He spent the day before resting and reluctantly preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, moaning and wincing as $he takes cock after cock. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's lack of passion. Many brought their own slaves to participate, too. $slaves[_s].slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted. $He's naked still, $his skin clean and $slaves[_s].skin, and comes to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal it, leaning against you despite the lack of love between you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $slaves[_s].amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against you, so tired that $he's grateful for the break from standing. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <</if>> + <br> + <<if $PC.surname && $slaves[_s].slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give $him your surname as well">> + <<replace "#surnaming">> + <<set $slaves[_s].slaveSurname = $PC.surname>> + You also proclaim your new slave wife $slaves[_s].slaveName $slaves[_s].slaveSurname. The new Mrs. $slaves[_s].slaveSurname hears this, of course, and + <<if $slaves[_s].fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to $him now. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + breaks down again. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + scoffs audibly. + <<elseif $slaves[_s].devotion < -20>> + breaks down again. + <<else>> + nods acceptingly. + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + + <<if ndef $slaves[_s].publicCount>> + <<set $slaves[_s].publicCount = 0>> + <</if>> + <<if $slaves[_s].vagina > 0>> + <<set $slaves[_s].vaginalCount += 50>> + <<set $vaginalTotal += 50>> + <<set $slaves[_s].publicCount += 50>> + <</if>> + <<if $slaves[_s].anus < 3>> + <<set $slaves[_s].anus += 1>> + You can feel $his ass, still somewhat gaped from its ordeal. It's been @@.lime;loosened@@ by $his wedding party. + <</if>> + <<if $slaves[_s].relationship != 0>> + <<if $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<if $slaves[_s].relationship > 0>> + $His <<if $slaves[_s].relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $slaves[_s].relationship > 2>>love<<else>>companion<</if>>'s future. + <<if $slaves[_s].relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif $slaves[_s].relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <<elseif $slaves[_s].relationship == -2>> + $He feels like $he betrayed you by getting fucked by so many others and struggles to convince $himself it was what you wanted. + <<elseif $slaves[_s].relationship == -1>> + Judging by the smile on $his sleeping face, today may have been the @@.hotpink;best day of $his life.@@ + <<set $slaves[_s].devotion = 100, $slaves[_s].trust = 100>> + <</if>> + <<elseif $slaves[_s].devotion < -20>> + <<if $slaves[_s].relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only after such a thrilling orgy and @@.gold;fears@@ what will happen if $he strays. + <<set $slaves[_s].devotion -= 40, $slaves[_s].trust -= 40>> + <<elseif $slaves[_s].relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set $slaves[_s].devotion -= 40, $slaves[_s].trust -= 40>> + <<elseif $slaves[_s].relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set $slaves[_s].devotion -= 50, $slaves[_s].trust -= 30>> + <<elseif $slaves[_s].relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $slaves[_s].devotion -= 20, $slaves[_s].trust -= 20>> + <</if>> + <<else>> + <<if $slaves[_s].relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays, especially after such a lovely orgy. + <<set $slaves[_s].devotion -= 10, $slaves[_s].trust -= 10>> + <<elseif $slaves[_s].relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $slaves[_s].devotion -= 30, $slaves[_s].trust -= 20>> + <<elseif $slaves[_s].relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;resentful@@ that you'd treat such a catch that way. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set $slaves[_s].devotion -= 15, $slaves[_s].trust -= 10>> + <<elseif $slaves[_s].relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set $slaves[_s].devotion -= 5, $slaves[_s].trust -= 5>> + <</if>> + <</if>> + <</if>> + <<set $slaves[_s].relationship = -3>> + <<set $slaves[_s].oralCount += 50>> + <<set $oralTotal += 50>> + <<set $slaves[_s].analCount += 50>> + <<set $analTotal += 50>> + <<set $slaves[_s].publicCount += 100>> + <<if canGetPregnant($slaves[_s]) && $slaves[_s].eggType == "human">> + <<= knockMeUp($slaves[_s], 20, 2, -2)>> + <</if>> + <<set $rep += 1000>> + <<if $slaves[_s].fetish == "mindbroken">> + <<set $desc = "a framed shot of the broken " + $slaves[_s].slaveName + " getting gangbanged at your wedding">> + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<set $desc = "a framed shot of the tear and cum soaked " + $slaves[_s].slaveName + " getting gangbanged at your wedding">> + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + <<set $desc = "a framed shot of the glowering " + $slaves[_s].slaveName + " getting gangbanged at your wedding">> + <<elseif $slaves[_s].devotion < -20>> + <<set $desc = "a framed shot of " + $slaves[_s].slaveName + " getting gangbanged and weeping at your wedding">> + <<else>> + <<set $desc = "a framed shot of " + $slaves[_s].slaveName + " getting gangbanged at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + +<<else>> + + The ceremony to bind <<= SlaveFullName($slaves[_s])>> to you as your slave wife is a polite affair which you host in the lower floor of your penthouse. All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering. + <br><br> + $slaves[_s].slaveName appears after everyone has had a chance to socialize,<<if ($slaves[_s].amp == 1)>> carried by another slave since $he's a quadruple amputee and $he cannot walk,<</if>> wearing beautiful bridal lingerie in + <<if ($slaves[_s].vagina == 0)>> + white, since $he's a virgin. + <<elseif ($slaves[_s].pregKnown == 1)>> + light pink, since $he's pregnant. + <<elseif ($slaves[_s].vagina < 0) && ($slaves[_s].anus == 0)>> + white, since $he's an anal virgin. + <<elseif ($slaves[_s].vagina < 0) && ($slaves[_s].boobs > 500)>> + electric blue, since $he's a shemale. + <<elseif ($slaves[_s].vagina < 0)>> + pale blue, since $he's a sissy slave. + <<elseif ($slaves[_s].dick > 0)>> + hot pink, since $he's a futa slave. + <<else>> + light pink, since $he's an experienced sex slave. + <</if>> + A filmy veil covers $his head and shoulders. $His lacy bridal bra + <<if ($slaves[_s].boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support $his gigantic udders. + <<elseif ($slaves[_s].boobs > 1200)>> + just barely restrains $his huge boobs, leaving the tops of $his areolae visible. + <<elseif ($slaves[_s].boobs > 400)>> + flatters $his pretty breasts. + <<else>> + flatters $his pretty chest. + <</if>> + <<if $slaves[_s].bellyPreg >= 600000>> + $His expansive, squirming pregnant belly makes $his bridal wear particularly obscene. + <<elseif ($slaves[_s].bellyPreg >= 1500)>> + $His _belly pregnant belly protrudes out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyImplant >= 1500)>> + $His _belly <<print $slaves[_s].bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyFluid >= 10000)>> + $His hugely bloated, <<print $slaves[_s].inflationType>>-filled belly protrudes out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyFluid >= 5000)>> + $His bloated, <<print $slaves[_s].inflationType>>-stuffed belly protrudes out the front of $his bridal wear. + <<elseif ($slaves[_s].bellyFluid >= 1500)>> + $His distended, <<print $slaves[_s].inflationType>>-belly protrudes out the front of $his bridal wear. + <</if>> + <<if $slaves[_s].dickAccessory == ("chastity") || $slaves[_s].dickAccessory == ("combined chastity")>> + $His slave dick is hidden by its chastity cage. + <<elseif canAchieveErection($slaves[_s])>> + <<if ($slaves[_s].dick > 4) && ($slaves[_s].belly >= 5000)>> + $He's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if $slaves[_s].bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif $slaves[_s].dick > 4>> + $He's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + $His erection tents the front of $his lacy g-string. + <</if>> + <<elseif ($slaves[_s].dick > 0)>> + <<if $slaves[_s].dick > 10>> + $His huge soft cock is allowed to dangle freely as no g-string could hope to contain it. + <<elseif $slaves[_s].dick > 4>> + $His big soft cock forms a lewd mass, stuffed into $his lacy g-string. + <<else>> + $His lacy g-string perfectly conceals $his soft dick. + <</if>> + <<else>> + <<if $slaves[_s].clit > 1>> + $His huge clit is quite hard, making $him shift uncomfortably as $his lacy g-string stimulates it. + <<else>> + $His lacy g-string covers $his womanhood demurely. + <</if>> + <</if>> + There is no aisle for $him to <<if $slaves[_s].amp == 1>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if $slaves[_s].amp == 1>>walk alongside the slave carrying<<else>>walk<</if>> $him there; this symbolizes $his submission to you + <<if $slaves[_s].fetish == "mindbroken">> + despite the fact that $he had to be pushed into walking towards you. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + of $his own choice, and $he does so with a smile. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + of $his own choice, and $he does so with hesitation. + <<elseif $slaves[_s].devotion < -20>> + of $his own (forced) choice, and $he does so with wavering steps. + <<else>> + of $his own choice, and $he does so willingly. + <</if>> + <br><br> + When $he's in front of you, <<if $slaves[_s].amp == 1>>the slave carrying $his limbless torso sets $him down on the floor in front of you and props $him up so $his head is level with your crotch<<else>>$he gets down on $his knees so $his head is level with your crotch<</if>>. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $slaves[_s].amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br> + <<if $PC.surname && $slaves[_s].slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give $him your surname">> + <<replace "#surnaming">> + <<set $slaves[_s].slaveSurname = $PC.surname>> + You also proclaim your new slave wife $slaves[_s].slaveName $slaves[_s].slaveSurname. The new Mrs. $slaves[_s].slaveSurname hears this, of course, and + <<if $slaves[_s].fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to $him now. Your guests, on the other hand, appreciate the gift. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + breaks down again; it's like a dream come true. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + scoffs audibly; just another burden for $him to carry. + <<elseif $slaves[_s].devotion < -20>> + breaks down again; this is nothing more than another unwanted link to you. + <<else>> + nods acceptingly. Your will is $his will, after all. + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + <br><br> Then, you flip $his veil over $his head so $he can <<if $PC.dick == 1>>suck your dick<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>eat you out<</if>> in front of your guests, as the ceremony requires. $He approaches $his task + <<if $slaves[_s].fetish == "mindbroken">> + with robotic obedience. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He absentmindedly rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, gazing up at you with empty eyes. + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<if ($slaves[_s].fetish == "cumslut")>>enthusiastically<<else>>with a will<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation,@@ or rather, at the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, staring up at you. + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, hate-filled eyes, blaming you for everything that has happened so far. + <<elseif $slaves[_s].devotion < -20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, tear-filled eyes as if pleading for you not to do this. + <<else>> + with a will. $He approaches $his task <<if ($slaves[_s].fetish == "cumslut")>>enthusiastically<<else>>obediently<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you, $his eyes unsure. + <</if>> + <<if $slaves[_s].relationship != 0>> + <<if $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<if $slaves[_s].relationship > 0>> + $His <<if $slaves[_s].relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $slaves[_s].relationship > 2>>love<<else>>companion<</if>>'s future. + <<if $slaves[_s].relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif $slaves[_s].relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif $slaves[_s].devotion < -20>> + <<if $slaves[_s].relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set $slaves[_s].devotion -= 40, $slaves[_s].trust -= 40>> + <<elseif $slaves[_s].relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 40, $slaves[_m].trust -= 40>> + <<set $slaves[_s].devotion -= 40, $slaves[_s].trust -= 40>> + <<elseif $slaves[_s].relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set $slaves[_s].devotion -= 30, $slaves[_s].trust -= 30>> + <<elseif $slaves[_s].relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $slaves[_s].devotion -= 20, $slaves[_s].trust -= 20>> + <</if>> + <<else>> + <<if $slaves[_s].relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set $slaves[_s].devotion -= 10, $slaves[_s].trust -= 10>> + <<elseif $slaves[_s].relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $slaves[_s].devotion -= 20, $slaves[_s].trust -= 20>> + <<elseif $slaves[_s].relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set $slaves[_s].devotion -= 10, $slaves[_s].trust -= 10>> + <<elseif $slaves[_s].relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set $slaves[_s].devotion -= 5, $slaves[_s].trust -= 5>> + <</if>> + <</if>> + <</if>> + <<set $slaves[_s].relationship = -3>> + <<set $slaves[_s].oralCount += 1>> + <<set $oralTotal += 1>> + <<set $rep += 750>> + <<if $slaves[_s].fetish == "mindbroken">> + <<set $desc = "a framed shot of your uneventful wedding to the mindbroken " + $slaves[_s].slaveName>> + <<elseif $slaves[_s].devotion+$slaves[_s].trust >= 175>> + <<set $desc = "a framed shot of your romantic wedding to the joyous " + $slaves[_s].slaveName>> + <<elseif $slaves[_s].devotion < -20 && $slaves[_s].trust > 20>> + <<set $desc = "a framed shot of your forced wedding to the hateful " + $slaves[_s].slaveName>> + <<elseif $slaves[_s].devotion < -20>> + <<set $desc = "a framed shot of your forced wedding to the weeping " + $slaves[_s].slaveName>> + <<else>> + <<set $desc = "a framed shot of your wedding to " + $slaves[_s].slaveName>> + <</if>> + <<set $trinkets.push($desc)>> + +<</if>> \ No newline at end of file diff --git a/src/uncategorized/seWeddingTriple.tw b/src/uncategorized/seWeddingTriple.tw new file mode 100644 index 0000000000000000000000000000000000000000..e9da871332232033a64b39d1623b4788ed4da406 --- /dev/null +++ b/src/uncategorized/seWeddingTriple.tw @@ -0,0 +1,380 @@ +:: SE wedding triple [nobr] + +<<set _ML = $marrying.length>> +<<set _slave1 = getSlave($marrying[0])>> +<<set _slave2 = getSlave($marrying[1])>> +<<set _slave3 = getSlave($marrying[2])>> +<<setLocalPronouns _slave1>> +<<setLocalPronouns _slave2 2>> +<<setLocalPronouns _slave3 3>> +<<if _ML > 3>> + <<set _slave4 = getSlave($marrying[3])>> + <<setLocalPronouns _slave4 4>> +<</if>> + +/* TODO: not sure what to put here yet, this is mostly a placeholder */ +In the days leading up to your wedding, your wives-to-be spent their time preparing to join you in matrimony. + +<<if $weddingPlanned == 3>> + <<set _pregWedding = 1>> + <<if (!isFertile(_slave1))>> + <<set _pregWedding = 0>> + <<if (!isFertile(_slave2))>> + <<set _pregWedding = 0>> + <<else>> + <<set _pregWedding = 1>> + <</if>> + <<if (!isFertile(_slave3))>> + <<set _pregWedding = 0>> + <<else>> + <<set _pregWedding = 1>> + <</if>> + <<if _ML == 4>> + <<if (!isFertile(_slave4))>> + <<set _pregWedding = 0>> + <<else>> + <<set _pregWedding = 1>> + <</if>> + <</if>> + <</if>> +<</if>> + +/* TODO: this will need some sort of check or case for if only one slave cannot be impregnated */ + +<<if _pregWedding == 0>> + Your slaves can no longer be impregnated as planned for the ceremony, so it has been hurriedly recast as a normal slave wedding. + <<set $weddingPlanned = 1>> + <br><br> +<</if>> + +<<if $weddingPlanned == 3>> + + /* TODO: write a 3+ slave variant */ + +<<elseif $weddingPlanned == 2>> + + The ceremony to bind <<= SlaveFullName($activeSlave)>> to you as your slave wife is an all day affair. + <<if $activeSlave.fetish == "mindbroken">> + $He spent the day before resting and preparing $himself, if you can call sitting around mindlessly preparing. $He spends most of the daylong party at the center of a nonstop gangbang, occasionally moaning as more of a physical reaction than anything. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter emptiness. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted but otherwise uncaring. $He's naked still, $his skin clean and $activeSlave.skin, and is led to you for the ceremony by another slave. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He can't conceal $his tiredness, and leans against you subconsciously. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + $He spent the day before resting and preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, @@.green;your guests take part with enthusiasm,@@ many having brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted but rather proud of $himself for getting through all that. $He's naked still, $his skin clean and $activeSlave.skin, and comes confidently to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well-traveled, and $his tiredness. $He does $his best to conceal how ready to sleep $he is, but $he leans against you a little. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, and by the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + $He spent the day before resting and trying to ready $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted and annoyed. $He's naked still, $his skin clean and $activeSlave.skin, and comes reluctantly to stand by you for the ceremony, glaring at you the whole time. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness and look stronger than $he is, choosing to struggle to stand instead of leaning against you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new, protesting, slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. $He squirms slightly in $his sleep to the unwelcome feeling of your arm around $him. + <<elseif $activeSlave.devotion < -20>> + $He spent the day before resting and crying to $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, screaming mixed cries of pleasure and horror. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's utter unwillingness. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted and depressed. $He's naked still, $his skin clean and $activeSlave.skin, and comes reluctantly to stand by you for the ceremony, just wanting it to be over. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal $his tiredness out of fear of punishment, and $he leans against you for support despite $his feelings on the wedding and you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>>, simply too tired to care anymore. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <<else>> + $He spent the day before resting and reluctantly preparing $himself, and this was a necessary precaution. $He spends most of the daylong party at the center of a nonstop gangbang, moaning and wincing as $he takes cock after cock. The theory is that $he'll be bound to you as your slave wife from this day onward, so $he must get the promiscuity that is a sex slave's responsibility out of the way now. Whatever their opinions on the idea, your guests take part with enthusiasm, completely unhampered by your slave's lack of passion. Many brought their own slaves to participate, too. $activeSlave.slaveName spends hours with numerous cocks inside $him, with attending slaves using their mouths on any erogenous zones they can reach. When the moment of the ceremony nears, $he's extracted and taken off to be bathed. + <br><br> + $He returns shortly, looking exhausted. $He's naked still, $his skin clean and $activeSlave.skin, and comes to stand by you for the ceremony. The only evident signs that $he's had sex with more than a hundred people today is $his ass, which looks rather well traveled, and $his tiredness. $He does $his best to conceal it, leaning against you despite the lack of love between you. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br><br> + Once the ceremony is complete, you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against you, so tired that $he's grateful for the break from standing. By the time $he's home, $he's fast asleep. You set $him gently down on the bed and curl up behind $him, feeling the animal warmth of $his body as the exhausted slave's chest rises and falls with $his breathing. + <</if>> + <br> + <<if $PC.surname && $activeSlave.slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give $him your surname as well">> + <<replace "#surnaming">> + <<set $activeSlave.slaveSurname = $PC.surname>> + You also proclaim your new slave wife $activeSlave.slaveName $activeSlave.slaveSurname. The new Mrs. $activeSlave.slaveSurname hears this, of course, and + <<if $activeSlave.fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to $him now. + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + breaks down again. + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + scoffs audibly. + <<elseif $activeSlave.devotion < -20>> + breaks down again. + <<else>> + nods acceptingly. + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + + <<if ndef $activeSlave.publicCount>> + <<set $activeSlave.publicCount = 0>> + <</if>> + <<if $activeSlave.vagina > 0>> + <<set $activeSlave.vaginalCount += 50>> + <<set $vaginalTotal += 50>> + <<set $activeSlave.publicCount += 50>> + <</if>> + <<if $activeSlave.anus < 3>> + <<set $activeSlave.anus += 1>> + You can feel $his ass, still somewhat gaped from its ordeal. It's been @@.lime;loosened@@ by $his wedding party. + <</if>> + <<if $activeSlave.relationship != 0>> + <<if $activeSlave.devotion+$activeSlave.trust >= 175>> + <<if $activeSlave.relationship > 0>> + $His <<if $activeSlave.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $activeSlave.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if $activeSlave.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif $activeSlave.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <<elseif $activeSlave.relationship == -2>> + $He feels like $he betrayed you by getting fucked by so many others and struggles to convince $himself it was what you wanted. + <<elseif $activeSlave.relationship == -1>> + Judging by the smile on $his sleeping face, today may have been the @@.hotpink;best day of $his life.@@ + <<set $activeSlave.devotion = 100, $activeSlave.trust = 100>> + <</if>> + <<elseif $activeSlave.devotion < -20>> + <<if $activeSlave.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only after such a thrilling orgy and @@.gold;fears@@ what will happen if $he strays. + <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> + <<elseif $activeSlave.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;furious@@ to watch _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 60, $slaves[_m].trust -= 40>> + <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> + <<elseif $activeSlave.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set $activeSlave.devotion -= 50, $activeSlave.trust -= 30>> + <<elseif $activeSlave.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> + <</if>> + <<else>> + <<if $activeSlave.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays, especially after such a lovely orgy. + <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> + <<elseif $activeSlave.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is especially @@.mediumorchid;hurt@@ after watching _his2 life's love get stolen away and fucked by so many others. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $activeSlave.devotion -= 30, $activeSlave.trust -= 20>> + <<elseif $activeSlave.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. $slaves[_m].slaveName is a little @@.mediumorchid;resentful@@ that you'd treat such a catch that way. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set $activeSlave.devotion -= 15, $activeSlave.trust -= 10>> + <<elseif $activeSlave.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>> + <</if>> + <</if>> + <</if>> + <<set $activeSlave.relationship = -3>> + <<set $activeSlave.oralCount += 50>> + <<set $oralTotal += 50>> + <<set $activeSlave.analCount += 50>> + <<set $analTotal += 50>> + <<set $activeSlave.publicCount += 100>> + <<if canGetPregnant($activeSlave) && $activeSlave.eggType == "human">> + <<= knockMeUp($activeSlave, 20, 2, -2)>> + <</if>> + <<set $rep += 1000>> + <<if $activeSlave.fetish == "mindbroken">> + <<set $desc = "a framed shot of the broken " + $activeSlave.slaveName + " getting gangbanged at your wedding">> + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + <<set $desc = "a framed shot of the tear and cum soaked " + $activeSlave.slaveName + " getting gangbanged at your wedding">> + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + <<set $desc = "a framed shot of the glowering " + $activeSlave.slaveName + " getting gangbanged at your wedding">> + <<elseif $activeSlave.devotion < -20>> + <<set $desc = "a framed shot of " + $activeSlave.slaveName + " getting gangbanged and weeping at your wedding">> + <<else>> + <<set $desc = "a framed shot of " + $activeSlave.slaveName + " getting gangbanged at your wedding">> + <</if>> + <<set $trinkets.push($desc)>> + +<<else>> + + The ceremony to bind the slaves to you as your slave wives is a polite affair which you host in the lower floor of your penthouse. All the arcology's most prominent citizens are there, most with a favored slave or two and some even with their slave wives. Many of your other slaves, that is your slaves who are not being married tonight, are present to serve your guests, but are dressed more conservatively than usual. When assignations between citizen and slave develop, guests are politely encouraged to perform them in side rooms rather than out in view of the main gathering. + <br><br> + Your soon-to-be-brides appear after everyone has had a chance to socialize,<<if ($activeSlave.amp == 1)>> carried by another slave since $he's a quadruple amputee and $he cannot walk,<</if>> wearing beautiful bridal lingerie in + <<if ($activeSlave.vagina == 0)>> + white, since $he's a virgin. + <<elseif ($activeSlave.pregKnown == 1)>> + light pink, since $he's pregnant. + <<elseif ($activeSlave.vagina < 0) && ($activeSlave.anus == 0)>> + white, since $he's an anal virgin. + <<elseif ($activeSlave.vagina < 0) && ($activeSlave.boobs > 500)>> + electric blue, since $he's a shemale. + <<elseif ($activeSlave.vagina < 0)>> + pale blue, since $he's a sissy slave. + <<elseif ($activeSlave.dick > 0)>> + hot pink, since $he's a futa slave. + <<else>> + light pink, since $he's an experienced sex slave. + <</if>> + A filmy veil covers $his head and shoulders. $His lacy bridal bra + <<if ($activeSlave.boobs > 4000)>> + is a marvel of engineering, discreetly reinforced to support $his gigantic udders. + <<elseif ($activeSlave.boobs > 1200)>> + just barely restrains $his huge boobs, leaving the tops of $his areolae visible. + <<elseif ($activeSlave.boobs > 400)>> + flatters $his pretty breasts. + <<else>> + flatters $his pretty chest. + <</if>> + <<if $activeSlave.bellyPreg >= 600000>> + $His expansive, squirming pregnant belly makes $his bridal wear particularly obscene. + <<elseif ($activeSlave.bellyPreg >= 1500)>> + $His _belly pregnant belly protrudes out the front of $his bridal wear. + <<elseif ($activeSlave.bellyImplant >= 1500)>> + $His _belly <<print $activeSlave.bellyImplant>>cc belly implant protrudes $his middle out the front of $his bridal wear. + <<elseif ($activeSlave.bellyFluid >= 10000)>> + $His hugely bloated, <<print $activeSlave.inflationType>>-filled belly protrudes out the front of $his bridal wear. + <<elseif ($activeSlave.bellyFluid >= 5000)>> + $His bloated, <<print $activeSlave.inflationType>>-stuffed belly protrudes out the front of $his bridal wear. + <<elseif ($activeSlave.bellyFluid >= 1500)>> + $His distended, <<print $activeSlave.inflationType>>-belly protrudes out the front of $his bridal wear. + <</if>> + <<if $activeSlave.dickAccessory == ("chastity") || $activeSlave.dickAccessory == ("combined chastity")>> + $His slave dick is hidden by its chastity cage. + <<elseif canAchieveErection($activeSlave)>> + <<if ($activeSlave.dick > 4) && ($activeSlave.belly >= 5000)>> + $He's hugely erect, with $his lacy g-string only serving to hold $his dick agonizingly pressed against the bottom of $his _belly <<if $activeSlave.bellyPreg >= 3000>>pregnant <</if>>belly. + <<elseif $activeSlave.dick > 4>> + $He's hugely erect, with $his lacy g-string only serving to hold $his dick upright along $his belly. + <<else>> + $His erection tents the front of $his lacy g-string. + <</if>> + <<elseif ($activeSlave.dick > 0)>> + <<if $activeSlave.dick > 10>> + $His huge soft cock is allowed to dangle freely as no g-string could hope to contain it. + <<elseif $activeSlave.dick > 4>> + $His big soft cock forms a lewd mass, stuffed into $his lacy g-string. + <<else>> + $His lacy g-string perfectly conceals $his soft dick. + <</if>> + <<else>> + <<if $activeSlave.clit > 1>> + $His huge clit is quite hard, making $him shift uncomfortably as $his lacy g-string stimulates it. + <<else>> + $His lacy g-string covers $his womanhood demurely. + <</if>> + <</if>> + There is no aisle for $him to <<if $activeSlave.amp == 1>>be carried<<else>>walk<</if>> down, just a small space at the head of the room where you're standing alone, and there's no one to <<if $activeSlave.amp == 1>>walk alongside the slave carrying<<else>>walk<</if>> $him there; this symbolizes $his submission to you + <<if $activeSlave.fetish == "mindbroken">> + despite the fact that $he had to be pushed into walking towards you. + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + of $his own choice, and $he does so with a smile. + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + of $his own choice, and $he does so with hesitation. + <<elseif $activeSlave.devotion < -20>> + of $his own (forced) choice, and $he does so with wavering steps. + <<else>> + of $his own choice, and $he does so willingly. + <</if>> + <br><br> + When $he's in front of you, <<if $activeSlave.amp == 1>>the slave carrying $his limbless torso sets $him down on the floor in front of you and props $him up so $his head is level with your crotch<<else>>$he gets down on $his knees so $his head is level with your crotch<</if>>. <<if $assistantName == "your personal assistant">>Your personal assistant<<else>>$assistantName<</if>> reads the short recitation for $him, and you place a simple steel ring <<if $activeSlave.amp == 1>>on a cord around $his neck, since $he lacks fingers to wear it on<<else>>on $his finger<</if>>. There is no ring for you, since this marriage does not bind you. + <br> + <<if $PC.surname && $activeSlave.slaveSurname != $PC.surname>> + <br><br><span id="surnaming"> + <<link "Give $him your surname">> + <<replace "#surnaming">> + <<set $activeSlave.slaveSurname = $PC.surname>> + You also proclaim your new slave wife $activeSlave.slaveName $activeSlave.slaveSurname. The new Mrs. $activeSlave.slaveSurname hears this, of course, and + <<if $activeSlave.fetish == "mindbroken">> + shows no reaction. Like many things, names mean nothing to $him now. Your guests, on the other hand, appreciate the gift. + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + breaks down again; it's like a dream come true. + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + scoffs audibly; just another burden for $him to carry. + <<elseif $activeSlave.devotion < -20>> + breaks down again; this is nothing more than another unwanted link to you. + <<else>> + nods acceptingly. Your will is $his will, after all. + <</if>> + <</replace>> + <</link>> + </span> + <</if>> + <br><br> Then, you flip $his veil over $his head so $he can <<if $PC.dick == 1>>suck your dick<<if $PC.vagina == 1>> and <</if>><</if>><<if $PC.vagina == 1>>eat you out<</if>> in front of your guests, as the ceremony requires. $He approaches $his task + <<if $activeSlave.fetish == "mindbroken">> + with robotic obedience. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He absentmindedly rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, gazing up at you with empty eyes. + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + <<if ($activeSlave.fetish == "cumslut")>>enthusiastically<<else>>with a will<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves @@.green;applaud at the consummation,@@ or rather, at the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He rests $his head against your <<if $PC.boobs == 1>>breasts<<elseif $PC.title == 0>>flat chest<<else>>strong chest<</if>> as you cradle $him in your arms, staring up at you. + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, hate-filled eyes, blaming you for everything that has happened so far. + <<elseif $activeSlave.devotion < -20>> + with apprehension, so much so that things are taking too long, so you grab $his head and facefuck $him instead. $He gags and sputters, tears running down $his cheeks, as you violate $his mouth publicly. You climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you with fearful, tear-filled eyes as if pleading for you not to do this. + <<else>> + with a will. $He approaches $his task <<if ($activeSlave.fetish == "cumslut")>>enthusiastically<<else>>obediently<</if>>, and you climax promptly, <<if $PC.dick == 1>>shooting your cum down $his throat<<else>>covering $his face in girlcum<</if>>. Your guests and their attendant slaves applaud at the consummation, or rather, the first stage of the consummation. The balance will take place privately, however, and you scoop up your new slave wife to carry $him back into the master bedroom. $He looks up at you, $his eyes unsure. + <</if>> + <<if $activeSlave.relationship != 0>> + <<if $activeSlave.devotion+$activeSlave.trust >= 175>> + <<if $activeSlave.relationship > 0>> + $His <<if $activeSlave.relationship > 2>>ex<<else>>friend<</if>> is @@.mediumorchid;disappointed@@ that their relationship had to end and @@.gold;worries@@ for _his2 <<if $activeSlave.relationship > 2>>love<<else>>companion<</if>>'s future. + <<if $activeSlave.relationship == 4>> + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<elseif $activeSlave.relationship == 3>> + <<set $slaves[_m].devotion -= 3, $slaves[_m].trust -= 3>> + <<else>> + <<set $slaves[_m].devotion -= 1, $slaves[_m].trust -= 1>> + <</if>> + <</if>> + <<elseif $activeSlave.devotion < -20>> + <<if $activeSlave.relationship == -1>> + $He @@.mediumorchid;hates@@ that $he has to be yours only and @@.gold;fears@@ what will happen if $he strays. + <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> + <<elseif $activeSlave.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 40, $slaves[_m].trust -= 40>> + <<set $activeSlave.devotion -= 40, $activeSlave.trust -= 40>> + <<elseif $activeSlave.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 30, $slaves[_m].trust -= 30>> + <<set $activeSlave.devotion -= 30, $activeSlave.trust -= 30>> + <<elseif $activeSlave.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;fear@@ for each other's future. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> + <</if>> + <<else>> + <<if $activeSlave.relationship == -1>> + $He @@.mediumorchid;dislikes@@ that $he has to be yours only and @@.gold;worries@@ what will happen if $he strays. + <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> + <<elseif $activeSlave.relationship == 4>> + Both $him and $his ex are @@.mediumorchid;resent@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 20, $slaves[_m].trust -= 20>> + <<set $activeSlave.devotion -= 20, $activeSlave.trust -= 20>> + <<elseif $activeSlave.relationship == 3>> + Both $him and $his ex are @@.mediumorchid;are saddened@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 10, $slaves[_m].trust -= 10>> + <<set $activeSlave.devotion -= 10, $activeSlave.trust -= 10>> + <<elseif $activeSlave.relationship > 0>> + Both $him and $his friend are @@.mediumorchid;are disappointed@@ that their relationship had to end and @@.gold;worry@@ for each other. + <<set $slaves[_m].devotion -= 5, $slaves[_m].trust -= 5>> + <<set $activeSlave.devotion -= 5, $activeSlave.trust -= 5>> + <</if>> + <</if>> + <</if>> + <<set $activeSlave.relationship = -3>> + <<set $activeSlave.oralCount += 1>> + <<set $oralTotal += 1>> + <<set $rep += 750>> + <<if $activeSlave.fetish == "mindbroken">> + <<set $desc = "a framed shot of your uneventful wedding to the mindbroken " + $activeSlave.slaveName>> + <<elseif $activeSlave.devotion+$activeSlave.trust >= 175>> + <<set $desc = "a framed shot of your romantic wedding to the joyous " + $activeSlave.slaveName>> + <<elseif $activeSlave.devotion < -20 && $activeSlave.trust > 20>> + <<set $desc = "a framed shot of your forced wedding to the hateful " + $activeSlave.slaveName>> + <<elseif $activeSlave.devotion < -20>> + <<set $desc = "a framed shot of your forced wedding to the weeping " + $activeSlave.slaveName>> + <<else>> + <<set $desc = "a framed shot of your wedding to " + $activeSlave.slaveName>> + <</if>> + <<set $trinkets.push($desc)>> + +<</if>> \ No newline at end of file diff --git a/src/uncategorized/slaveInteract.tw b/src/uncategorized/slaveInteract.tw index 6544cca1f0a74627d3a166df8c575243a3301c52..90b8a50dec72e2622d41f04e6b5055202168e86b 100644 --- a/src/uncategorized/slaveInteract.tw +++ b/src/uncategorized/slaveInteract.tw @@ -346,11 +346,28 @@ <<if $activeSlave.devotion >= 100 && $activeSlave.relationship < 0 && $activeSlave.relationship > -3>> | <<link "Talk to $him about relationships" "Matchmaking">><<set $subSlave = 0, $eventSlave = $activeSlave>><</link>> <</if>> - <<if $MixedMarriage == 1 && $activeSlave.relationship != 5 && $activeSlave.relationship != -3>> - <<if ($weddingPlanned != 0)>> - | You already have a wedding planned this week. + <<set _ML = $marrying.length>> + <<if (($MixedMarriage == 1 || $cheatMode == 1) && $activeSlave.relationship != 5 && $activeSlave.relationship != -3)>> + <<for _m = 0; _m < _ML; _m++>> + <<if $marrying[_m] == $activeSlave.ID>> + <<set _eligible = 0>> + <<else>> + <<set _eligible = 1>> + <</if>> + <</for>> + <<if _eligible != 0>> + <<if (_ML < 2)>> + <<if ($cheatMode == 1) || (_ML == 0)>> + | <<link "Marry $him" "FMarry">><</link>> + <<else>> + | //You already have a wedding planned for this weekend// + <</if>> + <<else>> + | //You can only marry up to two slaves per week// + <</if>> <<else>> - | <<link "Marry $him" "FMarry">><</link>> + /* FIXME: this message only displays for the last slave being married */ + | //You are already marrying $him this weekend// <</if>> <</if>> <<if $cheatMode == 1>> @@ -388,17 +405,6 @@ <</link>> </span> </span> - /* Old version - <span id="family"> - <<link "Pull up the file on $his family tree.">> - <<replace #family>> - <div id="editFamily"><div id="graph"></div></div> - <<run updateFamilyTree($activeSlave, $slaves, $PC)>> - <script>updateFamilyTree()</script> - <</replace>> - <</link>> - </span> - */ <</if>> <<if $universalRulesImpregnation == "HG" && $seePreg != 0>> @@ -1110,7 +1116,7 @@ | Breasts <</if>> <<if $arcologies[0].FSAssetExpansionistResearch == 1>> - <<if ($activeSlave.boobs < 25000)>> + <<if ($activeSlave.boobs < 48000)>> | <<link "Hyper-Breasts">><<set $activeSlave.drugs = "hyper breast injections">><<SlaveInteractDrugs>><</link>> <<else>> | Hyper Breasts diff --git a/src/uncategorized/slaveShelter.tw b/src/uncategorized/slaveShelter.tw index 3a0eb154dcc8ef7a939c6d96629df9b495276ae6..3e5cea4d830878115fc77d26a4f81fc554a4f04a 100644 --- a/src/uncategorized/slaveShelter.tw +++ b/src/uncategorized/slaveShelter.tw @@ -213,7 +213,7 @@ You contact the Slave Shelter to review the profile of the slave the Shelter is <</if>> <<if $shelterSlave.vagina > -1>> <<set $shelterSlave.vagina = random(1,4)>> - <<set $shelterSlave.vaginaSkill = random(10,25)>> + <<set $shelterSlave.vaginalSkill = random(10,25)>> <<set $shelterSlave.vaginalTat = either("degradation", "rude words", 0)>> <</if>> <<if $shelterSlave.dick > 1>> diff --git a/src/uncategorized/stewardessSelect.tw b/src/uncategorized/stewardessSelect.tw index 021ad7ad5895618cb7a046f3d4f1e87db882b35f..94344364a47b279595d0c714ef258ef7ca19100e 100644 --- a/src/uncategorized/stewardessSelect.tw +++ b/src/uncategorized/stewardessSelect.tw @@ -1,6 +1,6 @@ :: Stewardess Select [nobr] -<<set $nextButton = "Back", $nextLink = "Servants' Quarters", $showEncyclopedia = 1, $encyclopedia = "Stewardesses">> +<<set $nextButton = "Back", $nextLink = "Servants' Quarters", $showEncyclopedia = 1, $encyclopedia = "Stewardess">> <<showallAssignmentFilter>> <<if ($Stewardess != 0)>> <<set $Stewardess = getSlave($Stewardess.ID)>> diff --git a/src/uncategorized/storyCaption.tw b/src/uncategorized/storyCaption.tw index 78cd9cb0b050b9be72ab2ac7c639fda13ebb88f2..c24ff8913cb629b46118b93106e283f5abce936a 100644 --- a/src/uncategorized/storyCaption.tw +++ b/src/uncategorized/storyCaption.tw @@ -127,11 +127,14 @@ <<set $food = Math.trunc($food)>> <<set $foodConsumption = (($lowerClass*$lowerRate) + ($middleClass*$middleRate) + ($upperClass*$upperRate) + ($topClass*$topRate))>> <span id="food"> - <<if $food > $foodConsumption>> /* if there is enough food for the next week */ + <<if $food > $foodConsumption>> /* if there is enough food for the next week */ @@.chocolate;Food@@ <<else>> @@.red;Food@@ <</if>> + <<if $food < 0>> + <<set $food = 0>> + <</if>> | <<print massFormat($food)>> </span> @@ -150,10 +153,10 @@ <<set _TFood1 = $food>> <<textbox "$food" $food>> <<link "Apply">> - <<if $food > 0>> - <<set $food = Math.trunc(Number($food) || _TFood1), $cheater = 1>> - <<else>> + <<if $food < 0>> <<set $food = 0>> + <<else>> + <<set $food = Math.trunc(Number($food) || _TFood1), $cheater = 1>> <</if>> <<replace "#food">> <<if $food > $foodConsumption>> /* if there is enough food for the next week */ @@ -685,7 +688,7 @@ <br><span id="manageArcology"><<link "Manage Arcology">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "Manage Arcology">><</link>></span> @@.cyan;[C]@@ <br><span id="managePenthouse"><<link "Manage Penthouse">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "Manage Penthouse">><</link>></span> @@.cyan;[P]@@ <br><span id="managePerson"><<link "Manage Personal Affairs">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "Manage Personal Affairs">><</link>></span> @@.cyan;[X]@@ - <<if $corpAnnounced == 1>><br><span id="manageCorporation"><<link "Manage Corporation">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "Manage Corporation">><</link>></span><</if>> + <<if $corpAnnounced == 1>><br><span id="manageCorporation"><<link "Manage Corporation">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "Manage Corporation">><</link>><<if ($corpSpecToken > 0)>>@@.yellow;[!]@@<</if>></span><</if>> <<if $secExp == 1>> <<if $propHub == 1>> <br><span id="propHub"><<link "Manage PR">><<set $nextButton = "Back", $nextLink = _Pass>><<goto "propagandaHub">><</link>></span> @@.cyan;[Shift+H]@@ diff --git a/src/uncategorized/surgeryDegradation.tw b/src/uncategorized/surgeryDegradation.tw index 3b0bbbd3113383bd3b3ceaf6c7942e72e17d2490..e2ffcddeee079ca8dc0c0686ebe4ee317d48029a 100644 --- a/src/uncategorized/surgeryDegradation.tw +++ b/src/uncategorized/surgeryDegradation.tw @@ -416,7 +416,7 @@ As the remote surgery's long recovery cycle completes, <</if>> <<set $activeSlave.hears = 0>> -<<case "newEars">> +<<case "earShape">> The implant surgery is @@.red;invasive@@ and $he spends some time in the autosurgery recovering. As soon as the bandages around $his ears are removed, $he initially believes nothing has changed, but soon discovers $his hearing is no longer technologically enhanced. <<case "boobs">> diff --git a/src/uncategorized/wardrobeUse.tw b/src/uncategorized/wardrobeUse.tw index c211d1e7d9339032773377c67af33d9040883119..f24ba56c5a00f4d0f74276caca652b1bb3a42568 100644 --- a/src/uncategorized/wardrobeUse.tw +++ b/src/uncategorized/wardrobeUse.tw @@ -731,6 +731,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <</if>> /* closes fuckdoll check for color picker */ +<<if $activeSlave.fuckdoll != 0 || $activeSlave.clothes == "restrictive latex" || $activeSlave.clothes == "a latex catsuit" || $activeSlave.clothes == "a cybersuit" || $activeSlave.clothes == "a comfortable bodysuit">> <br> //Color:// <<if ($seeImages == 1) && ($imageChoice == 1)>> @@ -761,7 +762,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <<else>> //Custom outfit color is currently only used for embedded vector art by NoX & deepmurk.// <</if>> - +<</if>> <<if $activeSlave.fuckdoll == 0>> /* begin fuckdoll check */ <br> @@ -897,7 +898,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <<replace "#collar">>$activeSlave.collar<</replace>> <<replace "#collarDescription">><br>//<<collarDescription>>//<</replace>> <</link>> - +<<if $activeSlave.eyewear == "corrective glasses" || $activeSlave.eyewear == "glasses" || $activeSlave.eyewear == "blurring glasses" || $activeSlave.collar == "porcelain mask">> <br> //Color:// <<if ($seeImages == 1) && ($imageChoice == 1)>> @@ -918,7 +919,7 @@ Clothes: ''<span id="clothes">$activeSlave.clothes</span>.'' <br> //Note: Only glasses and porcelain masks support a custom color. If both are worn, they will share the same color.// <</if>> - +<</if>> <br> <<if $activeSlave.amp != 1>> diff --git a/src/utility/descriptionWidgetsFlesh.tw b/src/utility/descriptionWidgetsFlesh.tw index ce769c0499d381b1110bac6d781582c4e422a0d9..443f82c5caf2269f4ce3986dc76dfcecaf403c2a 100644 --- a/src/utility/descriptionWidgetsFlesh.tw +++ b/src/utility/descriptionWidgetsFlesh.tw @@ -5321,6 +5321,9 @@ $He's got a <<widget "earDescription">> /* ear shape description here */ +<<if $activeSlave.earShape == "elfin">> + $His $activeSlave.earShape ears are <<print either("elongated, ending in pointed tips that might wiggle when "+$he+"'s particularly pleased with something.", "long and thin, tapering to a point.", " leaf-shaped, and twitch with the slightest touch.")>> +<</if>> <<if $activeSlave.hears < 0>> <<if $activeSlave.hears == -1>> $His hearing is noticeably impaired, diff --git a/src/utility/extendedFamilyWidgets.tw b/src/utility/extendedFamilyWidgets.tw index 791e3546d31b4d1c7d1f66554e5108b67ae3ca9f..bf96b5f826801d071eeaf6c19d2def020ae778f1 100644 --- a/src/utility/extendedFamilyWidgets.tw +++ b/src/utility/extendedFamilyWidgets.tw @@ -1259,9 +1259,6 @@ <span id="familySummary"><<Family>></span> <br> </div> -/*<div id="graph"></div> -<<run updateFamilyTree($activeSlave, $slaves, $PC)>> -<script>updateFamilyTree()</script>*/ <div id="familyTree"></div> <<set _tSlaveList = [$activeSlave]>> <<set _tSlaveList.push.apply(_tSlaveList, $slaves)>> diff --git a/src/utility/slaveCreationWidgets.tw b/src/utility/slaveCreationWidgets.tw index 68295c7bd9438f758bbe024e398f8e5c7e6519b6..b21d6e46cdbfc25bcaa1cdcab523cfada1cb6134 100644 --- a/src/utility/slaveCreationWidgets.tw +++ b/src/utility/slaveCreationWidgets.tw @@ -2075,25 +2075,6 @@ <<else>> The corporation does not use cosmetic surgery to improve its slaves for sale. <</if>> - <<if $corpSpecImplants == 1>> - Slaves are given tasteful breast, butt, and lip implants. - <<set $activeSlave.buttImplant = 1>> - <<set $activeSlave.butt = Math.clamp($activeSlave.butt+$activeSlave.buttImplant, 0, 10)>> - <<set $activeSlave.boobsImplant = 600>> - <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+$activeSlave.boobsImplant, 0, 10000)>> - <<set $activeSlave.lipsImplant = 20>> - <<set $activeSlave.lips = Math.clamp($activeSlave.lips+$activeSlave.lipsImplant, 0, 55)>> - <<elseif $corpSpecImplants == 2>> - Slaves are given absurd breast, butt, and lip implants. - <<set $activeSlave.buttImplant = 4>> - <<set $activeSlave.butt = Math.clamp($activeSlave.butt+$activeSlave.buttImplant, 0, 10, $activeSlave.butt+$activeSlave.buttImplant)>> - <<set $activeSlave.boobsImplant = 2400>> - <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+$activeSlave.boobsImplant, 0, 10000)>> - <<set $activeSlave.lipsImplant = 60>> - <<set $activeSlave.lips = Math.clamp($activeSlave.lipsImplant+$activeSlave.buttImplant, 0, 100)>> - <<else>> - Slaves are not given breast, butt, or lip implants. - <</if>> <<if $corpSpecPussy == 1>> The corporation adds pussies where needed. <<set $activeSlave.vagina = 0, @@ -2218,7 +2199,7 @@ <</if>> <<if $corpSpecInjection > 0>> <<if $corpSpecInjection == 1>> - If anything, hormones are used to reduce assets sizes. + If anything, hormones are used to reduce asset sizes. <<set $activeSlave.lips = random(0, 20), $activeSlave.butt = random(1, 2), $activeSlave.boobs = 10 * random(30, 60), @@ -2281,6 +2262,25 @@ <<else>> Growth hormones are not applied. <</if>> + <<if $corpSpecImplants == 1>> + Slaves are given tasteful breast, butt, and lip implants. + <<set $activeSlave.buttImplant = 1>> + <<set $activeSlave.butt = Math.clamp($activeSlave.butt+$activeSlave.buttImplant, 0, 10)>> + <<set $activeSlave.boobsImplant = 600>> + <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+$activeSlave.boobsImplant, 0, 10000)>> + <<set $activeSlave.lipsImplant = 20>> + <<set $activeSlave.lips = Math.clamp($activeSlave.lips+$activeSlave.lipsImplant, 0, 55)>> + <<elseif $corpSpecImplants == 2>> + Slaves are given absurd breast, butt, and lip implants. + <<set $activeSlave.buttImplant = 4>> + <<set $activeSlave.butt = Math.clamp($activeSlave.butt+$activeSlave.buttImplant, 0, 10, $activeSlave.butt+$activeSlave.buttImplant)>> + <<set $activeSlave.boobsImplant = 2400>> + <<set $activeSlave.boobs = Math.clamp($activeSlave.boobs+$activeSlave.boobsImplant, 0, 10000)>> + <<set $activeSlave.lipsImplant = 60>> + <<set $activeSlave.lips = Math.clamp($activeSlave.lipsImplant+$activeSlave.buttImplant, 0, 100)>> + <<else>> + Slaves are not given breast, butt, or lip implants. + <</if>> <<if $corpSpecAmputee == 1>> The corporation removes all limbs from its slaves. <<set $activeSlave.amp = 1>>