diff --git a/src/js/pregJS.js b/src/js/pregJS.js index 71195f1e2475e784d8660ec7dae35ccebb92d5c5..5e65439bfd51c70466b48f9378d607bb74ab08a0 100644 --- a/src/js/pregJS.js +++ b/src/js/pregJS.js @@ -16,51 +16,6 @@ globalThis.getPregBellySize = function(s) { return ((4 / 3) * (Math.PI) * (phi / 2) * (Math.pow((targetLen / 2), 3)) * fetuses); }; -/** - * @param {FC.HumanState} slave - * @returns {string} - */ -globalThis.bellyAdjective = function(slave) { - if (slave.belly >= 1500) { - if (slave.belly >= 1000000) { - if (slave.preg > slave.pregData.normalBirth / 4) { - return 'unfathomably distended, brimming with life'; - } else { - return `unfathomable`; - } - } else if (slave.belly >= 750000) { - if (slave.preg > slave.pregData.normalBirth / 4) { - return 'monolithic bulging'; - } else { - return `monolithic`; - } - } else if (slave.belly >= 600000) { - if (slave.preg > slave.pregData.normalBirth / 4) { - return 'titanic bulging'; - } else { - return `titanic`; - } - } else if (slave.belly >= 450000) { - if (slave.preg > slave.pregData.normalBirth / 4) { - return 'gigantic bulgy'; - } else { - return `gigantic`; - } - } else if (slave.belly >= 300000) { - return 'massive'; - } else if (slave.belly >= 100000) { - return 'giant'; - } else if (slave.belly >= 15000) { - return 'huge'; - } else if (slave.belly >= 10000) { - return 'big'; - } else { - return `swollen`; - } - } - return ""; -}; - /** calculates and returns expected ovum count during conception * @param {FC.HumanState} actor */ diff --git a/src/npc/descriptions/genericDescriptions.js b/src/npc/descriptions/genericDescriptions.js index c8767a68ffa737b2a90cc0c00fb4b52b89df8a19..45c4fb43537991f6855630ceac0147daf4bea0e6 100644 --- a/src/npc/descriptions/genericDescriptions.js +++ b/src/npc/descriptions/genericDescriptions.js @@ -494,3 +494,48 @@ globalThis.clitDesc = function(slave, withNoun = true) { } return `${jsEither(adj)}`; } + +/** + * @param {FC.HumanState} slave + * @returns {string} + */ +globalThis.bellyAdjective = function(slave) { + if (slave.belly >= 1500) { + if (slave.belly >= 1000000) { + if (slave.preg > slave.pregData.normalBirth / 4) { + return 'unfathomably distended, brimming with life'; + } else { + return `unfathomable`; + } + } else if (slave.belly >= 750000) { + if (slave.preg > slave.pregData.normalBirth / 4) { + return 'monolithic bulging'; + } else { + return `monolithic`; + } + } else if (slave.belly >= 600000) { + if (slave.preg > slave.pregData.normalBirth / 4) { + return 'titanic bulging'; + } else { + return `titanic`; + } + } else if (slave.belly >= 450000) { + if (slave.preg > slave.pregData.normalBirth / 4) { + return 'gigantic bulgy'; + } else { + return `gigantic`; + } + } else if (slave.belly >= 300000) { + return 'massive'; + } else if (slave.belly >= 100000) { + return 'giant'; + } else if (slave.belly >= 15000) { + return 'huge'; + } else if (slave.belly >= 10000) { + return 'big'; + } else { + return `swollen`; + } + } + return ""; +};