Skip to content
Snippets Groups Projects
Commit 1137f299 authored by lowercasedonkey's avatar lowercasedonkey
Browse files

height implant with dedupe

parent 8ea9cb7c
No related branches found
No related tags found
No related merge requests found
App.Desc.heightImplant = function(slave) {
let r;
const {
he, him, his, hers, himself, boy, He, His
} = getPronouns(slave);
if (slave.heightImplant > 1) {
r = limbs();
r.push(`are wrong; it's obvious that they have been artificially lengthened.`);
} else if (slave.heightImplant > 0) {
r = limbs();
r.push(` are odd, as though they have been artificially lengthened.`);
} else if (slave.heightImplant < -1) {
r = limbs();
r.push(` are wrong; it's obvious that they have been artificially shortened.`);
} else if (slave.heightImplant < 0) {
r = limbs();
r.push(` are odd, as though they have been artificially shortened.`);
}
function limbs() {
const r = [];
r.push(`The proportions of ${his} `);
if (hasAnyArms(slave)) {
if (hasBothArms(slave)) {
r.push(`arms`);
} else {
r.push(`arm`);
}
if (hasAnyLegs(slave)) {
r.push(` and `);
}
}
if (hasAnyLegs(slave)) {
if (hasBothLegs(slave)) {
r.push(`legs`);
} else {
r.push(`leg`);
}
}
return r;
}
return r.join(" ");
};
...@@ -1658,7 +1658,7 @@ and ...@@ -1658,7 +1658,7 @@ and
<</if>> <</if>>
<</if>> <</if>>
<<heightImplantDescription>> <<= App.Desc.heightImplant($activeSlave)>>
$He is $He is
<<if $activeSlave.muscles > 95>> <<if $activeSlave.muscles > 95>>
......
:: flesh description widgets [widget nobr] :: flesh description widgets [widget nobr]
<<widget "heightImplantDescription">>
<<if $activeSlave.heightImplant > 1>>
The proportions of $his <<if hasAnyArms($activeSlave)>>arm<<if hasBothArms($activeSlave)>>s<</if>><<if hasAnyLegs($activeSlave)>> and <</if>><</if>><<if hasAnyLegs($activeSlave)>>leg<<if hasBothLegs($activeSlave)>>s<</if>><</if>> are wrong; it's obvious that they have been artificially lengthened.
<<elseif $activeSlave.heightImplant > 0>>
The proportions of $his <<if hasAnyArms($activeSlave)>>arm<<if hasBothArms($activeSlave)>>s<</if>><<if hasAnyLegs($activeSlave)>> and <</if>><</if>><<if hasAnyLegs($activeSlave)>>leg<<if hasBothLegs($activeSlave)>>s<</if>><</if>> are odd, as though they have been artificially lengthened.
<<elseif $activeSlave.heightImplant < -1>>
The proportions of $his <<if hasAnyArms($activeSlave)>>arm<<if hasBothArms($activeSlave)>>s<</if>><<if hasAnyLegs($activeSlave)>> and <</if>><</if>><<if hasAnyLegs($activeSlave)>>leg<<if hasBothLegs($activeSlave)>>s<</if>><</if>> are wrong; it's obvious that they have been artificially shortened.
<<elseif $activeSlave.heightImplant < 0>>
The proportions of $his <<if hasAnyArms($activeSlave)>>arm<<if hasBothArms($activeSlave)>>s<</if>><<if hasAnyLegs($activeSlave)>> and <</if>><</if>><<if hasAnyLegs($activeSlave)>>leg<<if hasBothLegs($activeSlave)>>s<</if>><</if>> are odd, as though they have been surgically shortened.
<</if>>
<</widget>>
<<widget "boobsShapeDescription">> <<widget "boobsShapeDescription">>
<<if $showImplantEffects == 1>> <<if $showImplantEffects == 1>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment