Skip to content
Snippets Groups Projects
Commit 29aed0d4 authored by Trinidad's avatar Trinidad :flag_es:
Browse files

modified: devNotes/usefulJSFunctionDocumentation.md

	modified:   src/npc/descriptions/genericDescriptions.js
parent 2066a1ce
No related branches found
No related tags found
1 merge request!11517Functions for body parts descriptions
...@@ -456,5 +456,5 @@ releaseRestricted // returns true if the slave has some kind of rule limiting th ...@@ -456,5 +456,5 @@ releaseRestricted // returns true if the slave has some kind of rule limiting th
SkillIncrease() // Depreciates the SugarCube functions. 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.
``` ```
...@@ -399,7 +399,7 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) { ...@@ -399,7 +399,7 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) {
adj.push("bloated"); adj.push("bloated");
} else { } else {
adj.push("flat"); adj.push("flat");
noun.push("stomach", "tummy"); noun = ["stomach", "tummy"];
} }
} else { } else {
if (slave.belly > 750000) { if (slave.belly > 750000) {
...@@ -439,6 +439,7 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) { ...@@ -439,6 +439,7 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) {
noun.push("tummy"); noun.push("tummy");
} else { } else {
adj.push("flat"); adj.push("flat");
noun = ["tummy"];
} }
noun.push("stomach"); noun.push("stomach");
if (slave.belly > 5000) { if (slave.belly > 5000) {
...@@ -448,5 +449,5 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) { ...@@ -448,5 +449,5 @@ globalThis.bellyDesc = function(slave, withNoun = true, pregReference = true) {
if (withNoun) { if (withNoun) {
return `${jsEither(adj)} ${jsEither(noun)}`; return `${jsEither(adj)} ${jsEither(noun)}`;
} }
return `${surgery}${jsEither(adj)}`; return `${jsEither(adj)}`;
} }
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