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

Merge branch 'fix-birthJS' into 'pregmod-master'

fix birthJS

See merge request !3499
parents 7bcc0e97 53ffefd9
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,7 @@ window.BirthDestinationText = function(choice,slave) { ...@@ -38,7 +38,7 @@ window.BirthDestinationText = function(choice,slave) {
} }
break; break;
case "Orphanage": case "Orphanage":
if (V.slave.burst < 1) { if (slave.burst < 1) {
if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) { if (slave.fetish == "mindbroken" || slave.fuckdoll > 0) {
r += `has few thoughts about the matter.`; r += `has few thoughts about the matter.`;
} else if (slave.devotion > 95) { } else if (slave.devotion > 95) {
...@@ -59,7 +59,7 @@ window.BirthDestinationText = function(choice,slave) { ...@@ -59,7 +59,7 @@ window.BirthDestinationText = function(choice,slave) {
if (T.call !== 1) { if (T.call !== 1) {
r += `citizen schools, to be brought up coequal with the arcology's other young people.`; r += `citizen schools, to be brought up coequal with the arcology's other young people.`;
} }
if (V.slave.burst < 1) { if (slave.burst < 1) {
r += ` ${sn} `; r += ` ${sn} `;
if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) {
r += `has few thoughts about the matter.`; r += `has few thoughts about the matter.`;
...@@ -76,7 +76,7 @@ window.BirthDestinationText = function(choice,slave) { ...@@ -76,7 +76,7 @@ window.BirthDestinationText = function(choice,slave) {
break; break;
case "Private": case "Private":
if (T.call !== 1) r += `${child} ${T.count > 1 ? ' are':' is'} sent to be privately raised, to be brought up as a future high class citizen.`; if (T.call !== 1) r += `${child} ${T.count > 1 ? ' are':' is'} sent to be privately raised, to be brought up as a future high class citizen.`;
if (V.slave.burst < 1) { if (slave.burst < 1) {
r += ` ${sn} `; r += ` ${sn} `;
if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) {
r += `has few thoughts about the matter.`; r += `has few thoughts about the matter.`;
...@@ -107,7 +107,7 @@ window.BirthDestinationText = function(choice,slave) { ...@@ -107,7 +107,7 @@ window.BirthDestinationText = function(choice,slave) {
} }
const cash = cashFormat(T.count*(50+T.babyCost));r += ` <span class='yellowgreen'>${cash}.</span>`; const cash = cashFormat(T.count*(50+T.babyCost));r += ` <span class='yellowgreen'>${cash}.</span>`;
if (slave.prematureBirth > 0) r += ` A low price due to the added costs of caring for ${T.count > 1 ? 'them':'it'}.`; if (slave.prematureBirth > 0) r += ` A low price due to the added costs of caring for ${T.count > 1 ? 'them':'it'}.`;
if (V.slave.burst < 1) { if (slave.burst < 1) {
r += ` ${sn} `; r += ` ${sn} `;
if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) { if (slave.fetish === "mindbroken" || slave.fuckdoll > 0) {
r += `has few thoughts about the matter.`; r += `has few thoughts about the matter.`;
......
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