@@ -17,64 +17,23 @@ App.Facilities.Nursery.childrenReport = function childrenReport() {
{he,his,He,His}=getPronouns(child);
if (child.growTime>0){
r+=`<br><span class="pink">${child.slaveName}</span> is growing steadily. ${He} will be ready for release in about ${years(child.growTime)}.`;
r.push(`<span class="pink">${child.slaveName}</span> is growing steadily. ${He} will be ready for release in about ${years(child.growTime)}.`);
}else{
r+=`<span class="pink">${child.slaveName}</span> is <span class="lime">ready for release.</span> ${He} will be removed from ${V.nurseryName} upon your approach.`;
r.push(`<span class="pink">${child.slaveName}</span> is <span class="lime">ready for release.</span> ${He} will be removed from ${V.nurseryName} upon your approach.`);
}
// TODO: add Matron and nanny effects
if (child.actualAge>=3){
if (Matron||NL){
letchance=jsRandom(1,100);
if (jsDef(Matron)){
if (Matron.fetish!=="none"){
if (chance>90){
if (child.fetish==="none"){
r.push(`${child.slaveName} has taken a few cues from ${Matron.slaveName}, and ${newChildFetish(child.fetish)}.`);
child.fetish=Matron.fetish;
}else{
if (chance>95){
r.push(`${Matron.slaveName} has rubbed off on ${child.slaveName}, in more ways than one. ${He}${newChildFetish(child.fetish)}.`);
child.fetish=Matron.fetish;
}
}
}
}
}
if (nannies){
for (constslaveofnannies){
if (slave.fetish!=="none"){
if (chance>85){
if (child.fetish==="none"){
r.push(`${slave.slaveName} has left quite an impression on ${child.slaveName}, and ${he}${newChildFetish(child.fetish)}.`);
child.fetish=slave.fetish;
}else{
if (chance>90){
r.push(`${child.slaveName} seems to have taken to ${slave.slaveName}'s example, and ${newChildFetish(child.fetish)}.`);
child.fetish=slave.fetish;
}
}
}
}
}
}
// TODO: expand education system
if (Matron){
matronEducationEffects();
matronFitnessEffects();
}
if (Matron){
matronFetishEffects();
matronEducationEffects();
matronFitnessEffects();
}
if (nannies){
nannyEducationEffects();
nannyFitnessEffects();
}
if (nannies){
nannyEducationEffects();
nannyFitnessEffects();
nannyFetishEffects();
}
// TODO: add friend / rivalry system
...
...
@@ -241,7 +200,28 @@ App.Facilities.Nursery.childrenReport = function childrenReport() {
// MARK: Matron Effects
functionmatronFetishEffects(){
constchance=jsRandom(1,100);
if (Matron.fetish!=="none"){
if (chance>90){
if (child.fetish==="none"){
child.fetish=Matron.fetish;
return`${child.slaveName} has taken a few cues from ${Matron.slaveName}, and ${newChildFetish(child.fetish)}.`;
}else{
if (chance>95){
child.fetish=Matron.fetish;
return`${Matron.slaveName} has rubbed off on ${child.slaveName}, in more ways than one. ${He}${newChildFetish(child.fetish)}.`;