diff --git a/src/js/pregJS.js b/src/js/pregJS.js index 291ad3753b5724d584ce85df2eae0f743a02f416..641ef7329c818484e4baec887d273b81f071fc89 100644 --- a/src/js/pregJS.js +++ b/src/js/pregJS.js @@ -22,32 +22,31 @@ window.getPregBellySize = function(s) { * @returns {string} */ window.bellyAdjective = function(slave) { - let r = ``; slave = slave || State.variables.activeSlave; if (slave.belly >= 1500) { if (slave.belly >= 1000000) { if (slave.preg > slave.pregData.normalBirth/4) { return 'unfathomably distended, brimming with life'; } else { - r = `unfathomable`; + return `unfathomable`; } } else if (slave.belly >= 750000) { if (slave.preg > slave.pregData.normalBirth/4) { return 'monolithic bulging'; } else { - r = `monolithic`; + return `monolithic`; } } else if (slave.belly >= 600000) { if (slave.preg > slave.pregData.normalBirth/4) { return 'titanic bulging'; } else { - r = `titanic`; + return `titanic`; } } else if (slave.belly >= 450000) { if (slave.preg > slave.pregData.normalBirth/4) { return 'gigantic bulgy'; } else { - r = `gigantic`; + return `gigantic`; } } else if (slave.belly >= 300000) { return 'massive'; @@ -58,10 +57,9 @@ window.bellyAdjective = function(slave) { } else if (slave.belly >= 10000) { return 'big'; } else { - r = `swollen`; + return `swollen`; } } - return r; }; /* calculates and returns expected ovum count during conception*/ @@ -401,7 +399,7 @@ window.knockMeUp = function(target, chance, hole, fatherID, displayOverride) { const V = State.variables; let pronouns; let He; - let r = ""; + let r = ``; if (target.ID !== -1) { pronouns = getPronouns(target); He = capFirstChar(pronouns.pronoun);