diff --git a/devNotes/usefulJSFunctionDocumentation.md b/devNotes/usefulJSFunctionDocumentation.md index 97a39140864d0532ed904786ef03d6265a032661..854e8597825374db62d5a80abf00575acff804b3 100644 --- a/devNotes/usefulJSFunctionDocumentation.md +++ b/devNotes/usefulJSFunctionDocumentation.md @@ -456,5 +456,5 @@ releaseRestricted // returns true if the slave has some kind of rule limiting th SkillIncrease() // Depreciates the SugarCube functions. - disobedience // Returns a 0-100 value indicating likelihood of a slave ignoring the rules. + disobedience() // Returns a 0-100 value indicating likelihood of a slave ignoring the rules. ``` diff --git a/src/npc/descriptions/genericDescriptions.js b/src/npc/descriptions/genericDescriptions.js index 657742bf2dab0c6ab1ef63b508a6225346c0f1f0..dc7be8724cb87a39f8aaba01bb82df2cbe9b238c 100644 --- a/src/npc/descriptions/genericDescriptions.js +++ b/src/npc/descriptions/genericDescriptions.js @@ -399,7 +399,7 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) { adj.push("bloated"); } else { adj.push("flat"); - noun.push("stomach", "tummy"); + noun = ["stomach", "tummy"]; } } else { if (slave.belly > 750000) { @@ -439,6 +439,7 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) { noun.push("tummy"); } else { adj.push("flat"); + noun = ["tummy"]; } noun.push("stomach"); if (slave.belly > 5000) { @@ -448,5 +449,5 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) { if (withNoun) { return `${jsEither(adj)} ${jsEither(noun)}`; } - return `${surgery}${jsEither(adj)}`; + return `${jsEither(adj)}`; }