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

Basic text work

parent 62d70190
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ App.Entity.Facilities.ArcadeJob = class extends App.Entity.Facilities.FacilitySi
canEmploy(slave) {
let r = super.canEmploy(slave);
if (slave.indentureRestrictions > 0) {
r.push(`${slave.slaveName}'s indenture forbids arcade service`)
r.push(`${slave.slaveName}'s indenture forbids arcade service.`)
}
return r;
}
......
......@@ -49,7 +49,7 @@ App.Entity.Facilities.MadamJob = class extends App.Entity.Facilities.ManagingJob
canEmploy(slave) {
let r = super.canEmploy(slave);
if (slave.intelligence + slave.intelligenceImplant < -50) {
r.push(`${slave.slaveName} must be more intellegent or educated.`);
r.push(`${slave.slaveName} is not intelligent enough to be the Madam.`);
}
return r;
}
......
......@@ -35,7 +35,7 @@ App.Entity.Facilities.CellblockJob = class extends App.Entity.Facilities.Facilit
let r = super.canEmploy(slave);
if ((slave.devotion > -20 || slave.trust < -20) && (slave.devotion >= -50 || slave.trust < -50)) {
r.push(`${slave.slaveName} is sufficiently broken in so that the cellblock would have no effect`);
r.push(`${slave.slaveName} is not defiant enough for ${this.facility.name} to have an effect.`);
}
return r;
......
......@@ -38,7 +38,7 @@ App.Entity.Facilities.ClinicPatientJob = class extends App.Entity.Facilities.Fac
(V.Nurse === 0 || ((slave.chem <= 15 || this.facility.upgrade("Filters") !== 1) &&
(V.bellyImplants !== 1 || slave.bellyImplant <= -1) &&
(slave.pregKnown !== 1 || (this.facility.option("SpeedGestation") <= 0 && slave.pregControl !== "speed up")) && (slave.pregAdaptation * 1000 >= slave.bellyPreg && slave.preg <= slave.pregData.normalBirth / 1.33)))) {
r.push(`${slave.slaveName} cannot benefit from the clinic`);
r.push(`${slave.slaveName} cannot benefit from ${this.facility.name}.`);
}
return r;
......
......@@ -47,7 +47,7 @@ App.Entity.Facilities.ClubDJJob = class extends App.Entity.Facilities.ManagingJo
canEmploy(slave) {
let r = super.canEmploy(slave);
if (slave.intelligence + slave.intelligenceImplant < -50) {
r.push(`${slave.slaveName} must be more intellegent or educated.`);
r.push(`${slave.slaveName} is not intelligent enough to DJ.`);
}
return r;
}
......
......@@ -42,27 +42,27 @@ App.Entity.Facilities.DairyCowJob = class extends App.Entity.Facilities.Facility
r.push(`${slave.slaveName}'s indenture allows only free range milking.`);
}
if (slave.breedingMark === 1 && V.propOutcome === 1 && V.dairyRestraintsSetting > 0) {
r.push(`${slave.slaveName} may only be a free range cow`);
r.push(`${slave.slaveName} may only be a free range cow.`);
}
if ((V.dairyPregSetting > 0) && ((slave.bellyImplant !== -1) || (slave.broodmother !== 0))) {
r.push(`${slave.slaveName}'s womb cannot accommodate current machine settings`);
r.push(`${slave.slaveName}'s womb cannot accommodate current machine settings.`);
}
if ((slave.amp !== 1) && (this.facility.option("RestraintsUpgrade") !== 1) &&
!App.Entity.Facilities.Job._isBrokenEnough(slave, 20, -50, -20, -50)) {
r.push(`${slave.slaveName} must be obedient in order to be milked at ${this.facility.name}`);
r.push(`${slave.slaveName} must be obedient in order to be milked at ${this.facility.name}.`);
}
if ((slave.lactation === 0) && (slave.balls === 0) && ((V.dairySlimMaintainUpgrade !== 1 && V.dairySlimMaintain <= 0) || (slave.boobs <= 300 && slave.balls !== 0 && V.dairyImplantsSetting !== 1) || V.dairyImplantsSetting === 2)) {
if ((V.dairySlimMaintainUpgrade === 1 && V.dairySlimMaintain === 1) || (V.dairyImplantsSetting === 2) || (slave.boobs <= 300 && slave.balls > 0 && (V.dairyImplantsSetting === 0 || V.dairyImplantsSetting === 3))) {
r.push(`${slave.slaveName} is not lactating ` + ((V.seeDicks > 0) ? 'or producing semen ' : '') + `and ${this.facility.name}'s current settings forbid the automatic implantation of lactation inducing drugs or manual stimulation to induce it, so she cannot be a cow`);
r.push(`${slave.slaveName} is not lactating ` + ((V.seeDicks > 0) ? 'or producing semen ' : '') + `and ${this.facility.name}'s current settings forbid the automatic implantation of lactation inducing drugs or manual stimulation to induce it, and thus cannot be a cow.`);
} else {
r.push(`${slave.slaveName} is not lactating ` + ((V.seeDicks > 0) ? 'or producing semen ' : '') + 'and cannot be a cow');
r.push(`${slave.slaveName} is not lactating ` + ((V.seeDicks > 0) ? 'or producing semen ' : '') + 'and cannot be a cow.');
}
} else if ((V.dairyStimulatorsSetting >= 2) && (slave.anus <= 2) && (V.dairyPrepUpgrade !== 1)) {
r.push(`${slave.slaveName}'s anus cannot accommodate current machine settings`);
r.push(`${slave.slaveName}'s anus cannot accommodate current machine settings.`);
} else if ((V.dairyPregSetting >= 2) && (slave.vagina <= 2) && (slave.ovaries !== 0) && (V.dairyPrepUpgrade !== 1)) {
r.push(`${slave.slaveName}'s vagina cannot accommodate current machine settings`);
r.push(`${slave.slaveName}'s vagina cannot accommodate current machine settings.`);
}
return r;
......@@ -79,8 +79,8 @@ App.Entity.Facilities.Dairy = class extends App.Entity.Facilities.Facility {
get hasFreeSpace() {
const V = State.variables;
const _dairySeed = V.bioreactorsXY + V.bioreactorsXX + V.bioreactorsHerm + V.bioreactorsBarren;
return this.capacity > this.hostedSlaves + _dairySeed;
const dairySeed = V.bioreactorsXY + V.bioreactorsXX + V.bioreactorsHerm + V.bioreactorsBarren;
return this.capacity > this.hostedSlaves + dairySeed;
}
}
......
......@@ -25,7 +25,7 @@ App.Data.Facilities.masterSuite = {
}
}
App.Entity.Facilities.MasterSuiteGuckToyJob = class extends App.Entity.Facilities.FacilitySingleJob {
App.Entity.Facilities.MasterSuiteFuckToyJob = class extends App.Entity.Facilities.FacilitySingleJob {
/**
* @param {App.Entity.SlaveState} slave
* @returns {string[]}
......@@ -33,7 +33,7 @@ App.Entity.Facilities.MasterSuiteGuckToyJob = class extends App.Entity.Facilitie
canEmploy(slave) {
let r = super.canEmploy(slave);
if (!App.Entity.Facilities.Job._isBrokenEnough(slave, 20, -51, -21, -50)) {
r.push(`${slave.slaveName} is not sufficiently broken for the master suite`);
r.push(`${slave.slaveName} is not sufficiently broken for ${this.facility.name}.`);
}
return r;
......@@ -44,7 +44,7 @@ App.Entity.Facilities.ConcubineJob = class extends App.Entity.Facilities.Managin
canEmploy(slave) {
let r = super.canEmploy(slave);
if (slave.amp === 1) {
r.push(`${slave.slaveName} can't be your concubine because ${slave.object} is an amputee.`)
r.push(`${slave.slaveName} can't as your Concubine without limbs.`)
}
return r;
}
......@@ -53,7 +53,7 @@ App.Entity.Facilities.ConcubineJob = class extends App.Entity.Facilities.Managin
App.Entity.facilities.masterSuite = new App.Entity.Facilities.Facility(
App.Data.Facilities.masterSuite,
{
fucktoy: new App.Entity.Facilities.MasterSuiteGuckToyJob()
fucktoy: new App.Entity.Facilities.MasterSuiteFuckToyJob()
},
new App.Entity.Facilities.ConcubineJob()
);
......@@ -89,14 +89,14 @@ App.Entity.Facilities.PenthouseJobs = {
canEmploy(slave) {
let r = super.canEmploy(slave);
if (slave.intelligenceImplant >= 15) {
r.push(`${slave.slaveName} already has a basic education`);
r.push(`${slave.slaveName} already has a basic education.`);
}
if (!App.Entity.Facilities.Job._isBrokenEnough(slave, -20, -50, -20, -51)) {
r.push(`${slave.slaveName} is too resistant to learn`);
r.push(`${slave.slaveName} is too resistant to learn.`);
}
if (slave.fetish === "mindbroken") {
r.push(`${capFirstChar(slave.possessive)} mind is fundamentally broken and can't learn`);
r.push(`${capFirstChar(slave.possessive)} mind is fundamentally broken and can't learn.`);
}
return r;
}
......@@ -110,10 +110,10 @@ App.Entity.Facilities.PenthouseJobs = {
}
if (!canWalk(slave)) {
r.push(`${slave.slaveName} can't work as a servant because ${slave.object} can't walk`);
r.push(`${slave.slaveName} can't walk and would be unable to properly clean.`);
}
if (!canSee(slave)) {
r.push(`${slave.slaveName} can't work as a servant because ${slave.object} is blind`);
r.push(`${slave.slaveName} is blind and would be unable to properly clean.`);
}
return r;
......@@ -135,7 +135,7 @@ App.Entity.Facilities.PenthouseJobs = {
let r = super.canEmploy(slave);
if ((slave.lactation <= 0) && (slave.balls <= 0)) {
r.push(`${slave.slaveName} is not lactating` + ((State.variables.seeDicks > 0) ? ' or producing semen' : ''));
r.push(`${slave.slaveName} is not lactating` + ((State.variables.seeDicks > 0) ? ' or producing semen.' : '.'));
}
return r;
}
......
......@@ -34,14 +34,14 @@ App.Entity.Facilities.SchoolroomStudentJob = class extends App.Entity.Facilities
let r = super.canEmploy(slave);
if (!App.Entity.Facilities.Job._isBrokenEnough(slave, -20, -50, -20, -51)) {
r.push(`${slave.slaveName} is too resistant to learn`);
r.push(`${slave.slaveName} is too resistant to learn.`);
}
const maxSkill = 10 + this.facility.upgrade("Skills") * 20; // maximal skill value the scholl can teach
if ((slave.intelligenceImplant >= 30) && (slave.voice === 0 || slave.accent + this.facility.upgrade("Language") <= 2) &&
(slave.skill.oral > maxSkill) && (slave.skill.whoring > maxSkill) && (slave.skill.entertainment > maxSkill) &&
(slave.skill.anal > maxSkill) && ((slave.vagina < 0) || (slave.skill.vaginal > maxSkill))) {
r.push(`${slave.slaveName} already has a basic education`);
r.push(`${slave.slaveName} has nothing left to learn.`);
}
return r;
......
......@@ -37,10 +37,10 @@ App.Entity.Facilities.ServantsQuartersServantJob = class extends App.Entity.Faci
r.push(App.Entity.Facilities.Job._stdBreakageMessage(slave));
}
if (!window.canWalk(slave)) {
r.push(`${slave.slaveName} can't work as a servant because ${slave.pronoun} can't walk`);
r.push(`${slave.slaveName} can't walk and would be unable to properly clean.`);
}
if (!canSee(slave)) {
r.push(`${slave.slaveName} can't work as a servant because ${slave.pronoun} is blind`);
r.push(`${slave.slaveName} is blind and would be unable to properly clean.`);
}
return r;
}
......@@ -54,7 +54,7 @@ App.Entity.Facilities.ServantsQuartersStewardessJob = class extends App.Entity.F
canEmploy(slave) {
let r = super.canEmploy(slave);
if (slave.intelligence + slave.intelligenceImplant < -50) {
r.push(`${slave.slaveName} must be more intellegent or educated.`);
r.push(`${slave.slaveName} is not intellegent enough.`);
}
return r;
}
......
......@@ -34,7 +34,7 @@ App.Entity.Facilities.SpaAssigneeJob = class extends App.Entity.Facilities.Facil
let r = super.canEmploy(slave);
if (((slave.devotion < -20 && slave.fetish !== "mindbroken") || (slave.health >= 20 && slave.trust > 60 && slave.devotion > 60 && slave.fetish !== "mindbroken" && slave.sexualFlaw === "none" && slave.behavioralFlaw === "none"))) {
r.push(`${slave.slaveName} can not benefit from spa procedures`);
r.push(`${slave.slaveName} will not benefit from time at ${this.facility.name}.`);
}
return r;
......
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