diff --git a/src/js/descriptionWidgets.js b/src/js/descriptionWidgets.js index 0359baa9dd2b5624ec630d98eb8f6b948d32263a..e4fcdb74927e3509bda2573997c46864f9c42cc8 100644 --- a/src/js/descriptionWidgets.js +++ b/src/js/descriptionWidgets.js @@ -34,8 +34,8 @@ App.Desc.eyes = function (slave) { } r += ` and unfocused`; } - } else if (slave.eyes === -3){ - r += `${He} has ${slave.eyeColor} colored glass eyes` + } else if (slave.eyes === -3) { + r += `${He} has ${slave.eyeColor} colored glass eyes`; } else { r += `${His} gaze is empty`; } @@ -241,7 +241,7 @@ App.Desc.eyes = function (slave) { } } return r; -} +}; /** * @param {App.Entity.SlaveState} slave @@ -251,15 +251,15 @@ App.Desc.eyeColor = function (slave) { "use strict"; let r; - if (slave.eyes === -4){ - r = 'empty' + if (slave.eyes === -4) { + r = 'empty'; } else if (hasVisibleHeterochromia(slave)) { - r = `heterochromatic ${slave.eyeColor} and ${slave.geneticQuirks.heterochromatia}`; + r = `heterochromatic ${slave.eyeColor} and ${slave.geneticQuirks.heterochromia}`; } else { r = `${slave.eyeColor}`; } return r; -} +}; /** * @param {App.Entity.SlaveState} slave @@ -442,6 +442,7 @@ App.Desc.ageAndHealth = function (slave) { ** This section replaces the age/therapy texts, giving more details for the NCS condition. */ if (slave.geneMods.NCS) { + let bodyNCS; if (slave.vagina < 0 && slave.dick <= 0) { bodyNCS = "childlike"; } else if (slave.vagina < 0 && slave.dick > 0) { @@ -565,7 +566,7 @@ App.Desc.ageAndHealth = function (slave) { r += ` and ${slave.physicalAge} years old.`; } return r; -} +}; App.Desc.brand = /** @@ -597,7 +598,7 @@ App.Desc.brand = } } return r; - } + }; App.Desc.amputee = /** @@ -637,7 +638,7 @@ App.Desc.amputee = } } return r; - } + }; App.Desc.waist = /** @@ -676,7 +677,6 @@ App.Desc.waist = r += ` despite how thin ${he} is. `; } else { r += `. `; - } if (slave.belly >= 1500) { if (slave.belly >= 750000) { @@ -713,11 +713,11 @@ App.Desc.waist = } } } else if (slave.waist > 40) { - r += `a broad, <span class=red>ugly waist</span> that makes ${him} look mannish` + r += `a broad, <span class=red>ugly waist</span> that makes ${him} look mannish`; if (slave.weight > 30) { - r += ` and exaggerates how fat ${he} is. ` + r += ` and exaggerates how fat ${he} is. `; } else if (slave.weight < -30) { - r += ` despite how thin ${he} is. ` + r += ` despite how thin ${he} is. `; } else { r += `. `; } @@ -756,7 +756,7 @@ App.Desc.waist = } } } else if (slave.waist > 10) { - r += `an <span class=red>unattractive waist</span> that conceals ${his} ` + r += `an <span class=red>unattractive waist</span> that conceals ${his} `; if (slave.visualAge > 25) { r += `girlish`; } else { @@ -809,16 +809,16 @@ App.Desc.waist = } } } else if (slave.waist > -10) { - r += `an average waist for a ` + r += `an average waist for a `; if (slave.visualAge > 25) { r += `${boy}`; } else { r += `${woman}`; } if (slave.weight > 30) { - r += `, though it looks broader since ${he}'s fat. ` + r += `, though it looks broader since ${he}'s fat. `; } else if (slave.weight < -30) { - r += `, though it looks narrower since ${he}'s thin. ` + r += `, though it looks narrower since ${he}'s thin. `; } else { r += `. `; } @@ -861,7 +861,7 @@ App.Desc.waist = } } } else if (slave.waist > -40) { - r += `a nice <span class=pink>feminine waist</span> that gives ${him} a ` + r += `a nice <span class=pink>feminine waist</span> that gives ${him} a `; if (slave.visualAge > 25) { r += `girlish`; } else { @@ -961,7 +961,7 @@ App.Desc.waist = } } } else if (slave.belly < 750000) { - r += `${His} ${belly} belly lewdly bulges to either side of ${his} narrow waist and continues for nearly half a ` + r += `${His} ${belly} belly lewdly bulges to either side of ${his} narrow waist and continues for nearly half a `; if (V.showInches === 2) { r += `yard`; } else { @@ -978,7 +978,7 @@ App.Desc.waist = } } } else { - r += `an <span class=pink>absurdly narrow waist</span> that gives ${him} a cartoonishly hourglass figure` + r += `an <span class=pink>absurdly narrow waist</span> that gives ${him} a cartoonishly hourglass figure`; if (slave.weight > 30) { r += `made even more ludicrous by ${his} extra weight. `; } else if (slave.weight < -30) { @@ -988,7 +988,7 @@ App.Desc.waist = } if (slave.belly >= 1500) { if (slave.belly >= 750000) { - r += `${His} ${belly} belly grotesquely bulges around ${his} narrow waist and continues ` + r += `${His} ${belly} belly grotesquely bulges around ${his} narrow waist and continues `; if (slave.belly >= 1000000) { r += `quite the distance`; } else { @@ -1027,7 +1027,7 @@ App.Desc.waist = } } } else if (slave.belly < 750000) { - r += `${His} ${belly} belly lewdly bulges to either side of ${his} narrow waist and continues for nearly half a ` + r += `${His} ${belly} belly lewdly bulges to either side of ${his} narrow waist and continues for nearly half a `; if (V.showInches === 2) { r += `yard`; } else { @@ -1045,4 +1045,4 @@ App.Desc.waist = } } return r; - } + };