Skip to content
Snippets Groups Projects
Commit ce29ffbf authored by Pregmodder's avatar Pregmodder
Browse files

fixed js issues

parent 0c2575d2
No related branches found
No related tags found
1 merge request!4104fixed js issues
/* eslint-disable no-unused-vars */
/* eslint-disable no-undef */
App.Desc.Eyes = /** @param {App.Entity.SlaveState} slave */ function (slave) { App.Desc.Eyes = /** @param {App.Entity.SlaveState} slave */ function (slave) {
"use strict"; "use strict";
const V = State.variables; const V = State.variables;
...@@ -263,6 +261,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl ...@@ -263,6 +261,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl
var boy = pronouns.noun; var boy = pronouns.noun;
var He = capFirstChar(he); var He = capFirstChar(he);
var His = capFirstChar(his); var His = capFirstChar(his);
let boy === "girl" ? woman = "woman" : woman = "man";
if (!slave.fuckdoll) { if (!slave.fuckdoll) {
if (slave.health < -90) { if (slave.health < -90) {
...@@ -400,7 +399,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl ...@@ -400,7 +399,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl
} }
} }
} else if (slave.actualAge < 26) { } else if (slave.actualAge < 26) {
r += `a young V.woman, `; r += `a young ${woman}, `;
if (V.showAgeDetail) { if (V.showAgeDetail) {
r += `${num(slave.actualAge)} years old; `; r += `${num(slave.actualAge)} years old; `;
if (V.seeAge); if (V.seeAge);
...@@ -413,7 +412,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl ...@@ -413,7 +412,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl
r += `in ${his} early twenties.`; r += `in ${his} early twenties.`;
} }
} else if (slave.actualAge < 30) { } else if (slave.actualAge < 30) {
r += `a younger V.woman, `; r += `a younger ${woman}, `;
if (V.showAgeDetail) { if (V.showAgeDetail) {
r += `${num(slave.actualAge)} years old; `; r += `${num(slave.actualAge)} years old; `;
if (V.seeAge); if (V.seeAge);
...@@ -502,6 +501,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl ...@@ -502,6 +501,7 @@ App.Desc.AgeAndHealth = /** @param {App.Entity.SlaveState} slave */ function (sl
** This section replaces the age/therapy texts, giving more details for the NCS condition. ** This section replaces the age/therapy texts, giving more details for the NCS condition.
*/ */
if (slave.geneMods.NCS) { if (slave.geneMods.NCS) {
let bodyNCS;
if ((slave.vagina < 0) && (slave.dick <= 0)) { if ((slave.vagina < 0) && (slave.dick <= 0)) {
bodyNCS = 'childlike' bodyNCS = 'childlike'
} else if ((slave.vagina < 0) && (slave.dick > 0)) { } else if ((slave.vagina < 0) && (slave.dick > 0)) {
......
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