From 4828ca1f240e30ba49995f1ae4a945bd08ec2d7f Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Mon, 15 Jun 2020 02:55:42 -0400 Subject: [PATCH] belly fixes --- devNotes/legacy files/walkPast.txt | 34 ++-- src/interaction/main/walkPast.js | 34 ++-- src/npc/descriptions/belly/belly.js | 258 ++++++++++++++-------------- src/npc/descriptions/longSlave.js | 4 +- 4 files changed, 165 insertions(+), 165 deletions(-) diff --git a/devNotes/legacy files/walkPast.txt b/devNotes/legacy files/walkPast.txt index c880e54e583..29599e7c47c 100644 --- a/devNotes/legacy files/walkPast.txt +++ b/devNotes/legacy files/walkPast.txt @@ -1366,7 +1366,7 @@ <<if $activeSlave.inflation == 0>> <<if $activeSlave.bellyImplant < 2000>> <<if $activeSlave.belly >= 600000>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a very tight corset">> $His corset struggles to contain $his enormous belly. @@ -1406,7 +1406,7 @@ $His bare enormous squirming pregnant belly catches your eye. <</switch>> <<elseif $activeSlave.belly >= 300000>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a very tight corset">> $His corset struggles to contain $his giant belly. @@ -1450,7 +1450,7 @@ $His bare giant pregnant belly catches your eye. <</switch>> <<elseif $activeSlave.weight > 190>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His massive gut is alluringly smooth under the tight suit. @@ -1508,7 +1508,7 @@ $His massive bare jiggling gut catches your eye. <</switch>> <<elseif $activeSlave.belly >= 10000 || ($activeSlave.bellyAccessory == "a huge empathy belly") || ($activeSlave.bellyAccessory == "a large empathy belly")>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> $His taut blouse shows off $his huge belly. @@ -1580,7 +1580,7 @@ $His bare huge pregnant belly catches your eye. <</switch>> <<elseif $activeSlave.weight > 160>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His giant gut is alluringly smooth under the tight suit. @@ -1648,7 +1648,7 @@ $His giant bare jiggling gut catches your eye. <</switch>> <<elseif $activeSlave.weight > 130>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His big gut is perfectly smoothed by the tight latex. @@ -1720,7 +1720,7 @@ $His big bare jiggling gut catches your eye. <</switch>> <<elseif $activeSlave.bellyPreg >= 5000 || ($activeSlave.bellyAccessory == "a medium empathy belly")>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "conservative clothing">> $His taut blouse shows off $his big belly. @@ -1792,7 +1792,7 @@ $His bare pregnant belly catches your eye. <</switch>> <<elseif $activeSlave.weight >= 95>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. @@ -1868,7 +1868,7 @@ $His bare, jiggling, fat gut catches your eye. <</switch>> <<elseif $activeSlave.bellyPreg >= 1500 || ($activeSlave.bellyAccessory == "a small empathy belly")>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. @@ -1942,7 +1942,7 @@ $His barely visible pregnancy catches your eye. <</switch>> <<else>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<if $activeSlave.weight >= 30>> Slight jiggling can be seen in $his chubby belly as $he moves. <</if>> @@ -2352,7 +2352,7 @@ $His bare giant belly catches your eye. <</switch>> <<elseif $activeSlave.weight > 190>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His massive gut is alluringly smooth under the tight suit. @@ -2492,7 +2492,7 @@ $His bare huge belly catches your eye. <</switch>> <<elseif $activeSlave.weight > 160>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His giant gut is alluringly smooth under the tight suit. @@ -2566,7 +2566,7 @@ $His giant bare jiggling gut catches your eye. <</switch>> <<elseif $activeSlave.weight > 130>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His big gut is perfectly smoothed by the tight latex. @@ -2875,7 +2875,7 @@ <</if>> <<else>> /* inflation descs */ <<if $activeSlave.weight > 190>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His massive gut is alluringly smooth under the tight suit. @@ -3017,7 +3017,7 @@ $His bare, taut, sloshing belly catches your eye. <</switch>> <<elseif $activeSlave.weight > 160>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His giant gut is alluringly smooth under the tight suit. @@ -3091,7 +3091,7 @@ $His giant bare jiggling gut catches your eye. <</switch>> <<elseif $activeSlave.weight > 130>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> $His big gut is perfectly smoothed by the tight latex. @@ -3243,7 +3243,7 @@ $His bare, rounded, sloshing belly catches your eye. <</switch>> <<elseif $activeSlave.weight >= 95>> - <<= App.Desc.belly($activeSlave)>> + <<= App.Desc.belly({slave: $activeSlave, saleDescription: 0, )>> <<switch $activeSlave.clothes>> <<case "a Fuckdoll suit">> Its suit is expressly designed to encourage use of its holes. diff --git a/src/interaction/main/walkPast.js b/src/interaction/main/walkPast.js index 928b2ebfc5f..595cab90701 100644 --- a/src/interaction/main/walkPast.js +++ b/src/interaction/main/walkPast.js @@ -2855,7 +2855,7 @@ globalThis.walkPast = (function() { if (slave.inflation === 0) { if (slave.bellyImplant < 2000) { if (slave.belly >= 600000) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a very tight corset": @@ -2986,7 +2986,7 @@ globalThis.walkPast = (function() { t += `${His} bare enormous squirming pregnant belly catches your eye.`; } } else if (slave.belly >= 300000) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a very tight corset": @@ -3123,7 +3123,7 @@ globalThis.walkPast = (function() { t += `${His} bare giant pregnant belly catches your eye.`; } } else if (slave.weight > 190) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -3281,7 +3281,7 @@ globalThis.walkPast = (function() { t += `${His} massive bare jiggling gut catches your eye.`; } } else if (slave.belly >= 10000 || (slave.bellyAccessory === "a huge empathy belly") || (slave.bellyAccessory === "a large empathy belly")) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "conservative clothing": @@ -3484,7 +3484,7 @@ globalThis.walkPast = (function() { t += `${His} bare huge pregnant belly catches your eye.`; } } else if (slave.weight > 160) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -3682,7 +3682,7 @@ globalThis.walkPast = (function() { t += `${His} giant bare jiggling gut catches your eye.`; } } else if (slave.weight > 130) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -3886,7 +3886,7 @@ globalThis.walkPast = (function() { t += `${His} big bare jiggling gut catches your eye.`; } } else if (slave.bellyPreg >= 5000 || (slave.bellyAccessory === "a medium empathy belly")) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "conservative clothing": @@ -4089,7 +4089,7 @@ globalThis.walkPast = (function() { t += `${His} bare pregnant belly catches your eye.`; } } else if (slave.weight >= 95) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -4292,7 +4292,7 @@ globalThis.walkPast = (function() { t += `${His} bare, jiggling, fat gut catches your eye.`; } } else if (slave.bellyPreg >= 1500 || (slave.bellyAccessory === "a small empathy belly")) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -4492,7 +4492,7 @@ globalThis.walkPast = (function() { t += `${His} barely visible pregnancy catches your eye.`; } } else { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; if (slave.weight >= 30) { t += `Slight jiggling can be seen in ${his} chubby belly as ${he} moves.`; @@ -4797,7 +4797,7 @@ globalThis.walkPast = (function() { t += `${His} bare giant belly catches your eye.`; } } else if (slave.weight > 190) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -5181,7 +5181,7 @@ globalThis.walkPast = (function() { t += `${His} bare huge belly catches your eye.`; } } else if (slave.weight > 160) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -5388,7 +5388,7 @@ globalThis.walkPast = (function() { t += `${His} giant bare jiggling gut catches your eye.`; } } else if (slave.weight > 130) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -6234,7 +6234,7 @@ globalThis.walkPast = (function() { } } else { /* inflation descs */ if (slave.weight > 190) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -6621,7 +6621,7 @@ globalThis.walkPast = (function() { t += `${His} bare, taut, sloshing belly catches your eye.`; } } else if (slave.weight > 160) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -6828,7 +6828,7 @@ globalThis.walkPast = (function() { t += `${His} giant bare jiggling gut catches your eye.`; } } else if (slave.weight > 130) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": @@ -7248,7 +7248,7 @@ globalThis.walkPast = (function() { t += `${His} bare, rounded, sloshing belly catches your eye.`; } } else if (slave.weight >= 95) { - t += App.Desc.belly(slave); + t += App.Desc.belly({slave: slave, saleDescription: 0}); t += ` `; switch (slave.clothes) { case "a Fuckdoll suit": diff --git a/src/npc/descriptions/belly/belly.js b/src/npc/descriptions/belly/belly.js index f03fdb87d53..c315382f481 100644 --- a/src/npc/descriptions/belly/belly.js +++ b/src/npc/descriptions/belly/belly.js @@ -2,7 +2,7 @@ * @param {App.Entity.SlaveState} slave * @returns {string} */ -App.Desc.belly = function(slave) { +App.Desc.belly = function({slave, saleDescription, eventDescription, applyLaw} = {}) { let heavyBelly; const r = []; const { @@ -37,7 +37,7 @@ App.Desc.belly = function(slave) { r.push(`${He} has a slight curve to ${his} abdomen, unusual for a male slave.`); } - if (V.showClothing === 1 && V.saleDescription === 0) { + if (showClothing === 1 && saleDescription === 0) { if (V.surgeryDescription === 0) { switch (slave.bellyAccessory) { case "an extreme corset": @@ -721,7 +721,7 @@ App.Desc.belly = function(slave) { } r.push(`belly`); } else { - if (V.saleDescription === 1) { + if (saleDescription === 1) { r.push(`${He}'ll have`); } else { r.push(`${He} has`); @@ -769,7 +769,7 @@ App.Desc.belly = function(slave) { r.push(`${He} is swollen beyond any reasonable description,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is lost under the squirming mass of infants that now completely fills ${his} body. ${He} has been reduced to nothing more than a womb with a few trace remnants of a little ${girl} attached.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -826,7 +826,7 @@ App.Desc.belly = function(slave) { r.push(`${He} is far beyond the recommended limit,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is lost under the straining mass of the implant that now fills ${his} body. ${He} has been reduced to nothing more than a balloon with a few trace remnants of a little ${girl} attached.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -895,7 +895,7 @@ App.Desc.belly = function(slave) { r.push(`fill ${his} body.`); } r.push(`${He} has been reduced to nothing more than a womb stretched to its limit.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -908,19 +908,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere`); } } @@ -934,19 +934,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -960,19 +960,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -987,19 +987,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere`); } } @@ -1014,19 +1014,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1073,7 +1073,7 @@ App.Desc.belly = function(slave) { r.push(`thoroughly fills ${his} body.`); } r.push(`${He} has been reduced to nothing more than a balloon stretched to its limit.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1086,19 +1086,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1111,19 +1111,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1137,19 +1137,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1164,19 +1164,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1189,19 +1189,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1228,7 +1228,7 @@ App.Desc.belly = function(slave) { r.push(`${He} is dangerously pregnant,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is lost against the squirming mass of infants that make up the bulk of ${his} body. ${He} has been reduced to nothing more than a straining womb.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1236,19 +1236,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1257,19 +1257,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1278,19 +1278,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1301,19 +1301,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1347,7 +1347,7 @@ App.Desc.belly = function(slave) { r.push(`${He} looks ready to pop,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is lost against the greatly overfilled implant that makes up the bulk of ${his} body. ${He} has been reduced to nothing more than a straining balloon.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1355,19 +1355,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1376,19 +1376,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1397,19 +1397,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1420,19 +1420,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1461,7 +1461,7 @@ App.Desc.belly = function(slave) { r.push(`${He} is immensely pregnant,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is nothing more than a womb with a ${loli} attached. ${He} has to be careful not to get crushed under ${his} own mass.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1469,19 +1469,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1490,19 +1490,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1511,19 +1511,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1534,19 +1534,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1570,7 +1570,7 @@ App.Desc.belly = function(slave) { r.push(`${He} looks immensely pregnant,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is nothing more than an overfilled implant with a ${loli} attached. ${He} has to be careful not to get crushed under ${his} own mass.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1578,19 +1578,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1599,19 +1599,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires multiple slaves to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1620,19 +1620,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1643,19 +1643,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1679,7 +1679,7 @@ App.Desc.belly = function(slave) { r.push(`${He} is massively pregnant, dwarfing any normal pregnancy,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is nearly spherical. ${His} toddlerish form is utterly dwarfed by ${his} pregnancy, all ${he} can do is lean against it.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1687,19 +1687,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1710,19 +1710,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1733,19 +1733,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1767,7 +1767,7 @@ App.Desc.belly = function(slave) { r.push(`${He} looks so massively pregnant that ${he} dwarfs any normal pregnancy,`); if (slave.physicalAge <= 3) { r.push(`and ${he} is nearly spherical. ${His} toddlerish form is utterly dwarfed by ${his} implant, all ${he} can do is lean against it.`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`${He} requires multiple slaves to move ${his} bulk when ${he} must go somewhere.`); } } else if (slave.physicalAge <= 12) { @@ -1775,19 +1775,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1798,19 +1798,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1821,19 +1821,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1858,19 +1858,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1879,19 +1879,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -1942,19 +1942,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -1963,19 +1963,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } } @@ -2008,19 +2008,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -2029,19 +2029,19 @@ App.Desc.belly = function(slave) { if (hasAnyNaturalLegs(slave)) { r.push(`${He} requires assistance to`); if (!hasBothLegs(slave)) { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`stand up,`); } else { r.push(`stand up.`); } } else { - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`get to ${his} feet,`); } else { r.push(`get to ${his} feet.`); } } - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`and uses a wheeled stand to support ${his} pregnancy when ${he} must walk anywhere.`); } } @@ -2088,7 +2088,7 @@ App.Desc.belly = function(slave) { r.push(`and ${his} giant belly is as big as ${he} is.`); if (hasAnyLegs(slave)) { r.push(`${He} requires assistance to get to ${his}`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`feet, and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere`); } else { r.push(`feet.`); @@ -2098,7 +2098,7 @@ App.Desc.belly = function(slave) { r.push(`and ${his} giant belly is nearly as big as ${he} is.`); if (hasAnyLegs(slave)) { r.push(`${He} requires assistance to get to ${his}`); - if (V.saleDescription === 0) { + if (saleDescription === 0) { r.push(`feet, and uses a wheeled stand to support ${his} middle when ${he} must walk anywhere.`); } else { r.push(`feet.`); diff --git a/src/npc/descriptions/longSlave.js b/src/npc/descriptions/longSlave.js index 9f2b3788908..c53822ca2a2 100644 --- a/src/npc/descriptions/longSlave.js +++ b/src/npc/descriptions/longSlave.js @@ -6,7 +6,7 @@ * @param {number} [params.eventDescription] * @returns {string} */ -App.Desc.longSlave = function({ slave = V.activeSlave, saleDescription = V.saleDescription, showClothing = V.showClothing, eventDescription = V.eventDescription } = {}) { +App.Desc.longSlave = function({slave = V.activeSlave, saleDescription = V.saleDescription, eventDescription = V.eventDescription, applyLaw = V.applyLaw} = {}) { const { He, His, him, he, his } = getPronouns(slave); @@ -721,7 +721,7 @@ App.Desc.longSlave = function({ slave = V.activeSlave, saleDescription = V.saleD } else if (slave.bellyImplant >= 2000) { r.push(App.Desc.bellyImplant(slave)); } else { - r.push(App.Desc.belly(slave)); + r.push(App.Desc.belly({slave: slave, saleDescription: saleDescription})); } r.push(App.Desc.mods(slave, "belly")); r.push(App.Desc.butt(slave)); -- GitLab